{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Omics.Types.StoreStatus
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Omics.Types.StoreStatus
  ( StoreStatus
      ( ..,
        StoreStatus_ACTIVE,
        StoreStatus_CREATING,
        StoreStatus_DELETING,
        StoreStatus_FAILED,
        StoreStatus_UPDATING
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

newtype StoreStatus = StoreStatus'
  { StoreStatus -> Text
fromStoreStatus ::
      Data.Text
  }
  deriving stock
    ( Int -> StoreStatus -> ShowS
[StoreStatus] -> ShowS
StoreStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StoreStatus] -> ShowS
$cshowList :: [StoreStatus] -> ShowS
show :: StoreStatus -> String
$cshow :: StoreStatus -> String
showsPrec :: Int -> StoreStatus -> ShowS
$cshowsPrec :: Int -> StoreStatus -> ShowS
Prelude.Show,
      ReadPrec [StoreStatus]
ReadPrec StoreStatus
Int -> ReadS StoreStatus
ReadS [StoreStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StoreStatus]
$creadListPrec :: ReadPrec [StoreStatus]
readPrec :: ReadPrec StoreStatus
$creadPrec :: ReadPrec StoreStatus
readList :: ReadS [StoreStatus]
$creadList :: ReadS [StoreStatus]
readsPrec :: Int -> ReadS StoreStatus
$creadsPrec :: Int -> ReadS StoreStatus
Prelude.Read,
      StoreStatus -> StoreStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StoreStatus -> StoreStatus -> Bool
$c/= :: StoreStatus -> StoreStatus -> Bool
== :: StoreStatus -> StoreStatus -> Bool
$c== :: StoreStatus -> StoreStatus -> Bool
Prelude.Eq,
      Eq StoreStatus
StoreStatus -> StoreStatus -> Bool
StoreStatus -> StoreStatus -> Ordering
StoreStatus -> StoreStatus -> StoreStatus
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: StoreStatus -> StoreStatus -> StoreStatus
$cmin :: StoreStatus -> StoreStatus -> StoreStatus
max :: StoreStatus -> StoreStatus -> StoreStatus
$cmax :: StoreStatus -> StoreStatus -> StoreStatus
>= :: StoreStatus -> StoreStatus -> Bool
$c>= :: StoreStatus -> StoreStatus -> Bool
> :: StoreStatus -> StoreStatus -> Bool
$c> :: StoreStatus -> StoreStatus -> Bool
<= :: StoreStatus -> StoreStatus -> Bool
$c<= :: StoreStatus -> StoreStatus -> Bool
< :: StoreStatus -> StoreStatus -> Bool
$c< :: StoreStatus -> StoreStatus -> Bool
compare :: StoreStatus -> StoreStatus -> Ordering
$ccompare :: StoreStatus -> StoreStatus -> Ordering
Prelude.Ord,
      forall x. Rep StoreStatus x -> StoreStatus
forall x. StoreStatus -> Rep StoreStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StoreStatus x -> StoreStatus
$cfrom :: forall x. StoreStatus -> Rep StoreStatus x
Prelude.Generic
    )
  deriving newtype
    ( Eq StoreStatus
Int -> StoreStatus -> Int
StoreStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: StoreStatus -> Int
$chash :: StoreStatus -> Int
hashWithSalt :: Int -> StoreStatus -> Int
$chashWithSalt :: Int -> StoreStatus -> Int
Prelude.Hashable,
      StoreStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: StoreStatus -> ()
$crnf :: StoreStatus -> ()
Prelude.NFData,
      Text -> Either String StoreStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String StoreStatus
$cfromText :: Text -> Either String StoreStatus
Data.FromText,
      StoreStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: StoreStatus -> Text
$ctoText :: StoreStatus -> Text
Data.ToText,
      StoreStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: StoreStatus -> ByteString
$ctoBS :: StoreStatus -> ByteString
Data.ToByteString,
      StoreStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: StoreStatus -> ByteStringBuilder
$cbuild :: StoreStatus -> ByteStringBuilder
Data.ToLog,
      HeaderName -> StoreStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> StoreStatus -> [Header]
$ctoHeader :: HeaderName -> StoreStatus -> [Header]
Data.ToHeader,
      StoreStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: StoreStatus -> QueryString
$ctoQuery :: StoreStatus -> QueryString
Data.ToQuery,
      Value -> Parser [StoreStatus]
Value -> Parser StoreStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [StoreStatus]
$cparseJSONList :: Value -> Parser [StoreStatus]
parseJSON :: Value -> Parser StoreStatus
$cparseJSON :: Value -> Parser StoreStatus
Data.FromJSON,
      FromJSONKeyFunction [StoreStatus]
FromJSONKeyFunction StoreStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [StoreStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [StoreStatus]
fromJSONKey :: FromJSONKeyFunction StoreStatus
$cfromJSONKey :: FromJSONKeyFunction StoreStatus
Data.FromJSONKey,
      [StoreStatus] -> Encoding
[StoreStatus] -> Value
StoreStatus -> Encoding
StoreStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [StoreStatus] -> Encoding
$ctoEncodingList :: [StoreStatus] -> Encoding
toJSONList :: [StoreStatus] -> Value
$ctoJSONList :: [StoreStatus] -> Value
toEncoding :: StoreStatus -> Encoding
$ctoEncoding :: StoreStatus -> Encoding
toJSON :: StoreStatus -> Value
$ctoJSON :: StoreStatus -> Value
Data.ToJSON,
      ToJSONKeyFunction [StoreStatus]
ToJSONKeyFunction StoreStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [StoreStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [StoreStatus]
toJSONKey :: ToJSONKeyFunction StoreStatus
$ctoJSONKey :: ToJSONKeyFunction StoreStatus
Data.ToJSONKey,
      [Node] -> Either String StoreStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String StoreStatus
$cparseXML :: [Node] -> Either String StoreStatus
Data.FromXML,
      StoreStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: StoreStatus -> XML
$ctoXML :: StoreStatus -> XML
Data.ToXML
    )

pattern StoreStatus_ACTIVE :: StoreStatus
pattern $bStoreStatus_ACTIVE :: StoreStatus
$mStoreStatus_ACTIVE :: forall {r}. StoreStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StoreStatus_ACTIVE = StoreStatus' "ACTIVE"

pattern StoreStatus_CREATING :: StoreStatus
pattern $bStoreStatus_CREATING :: StoreStatus
$mStoreStatus_CREATING :: forall {r}. StoreStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StoreStatus_CREATING = StoreStatus' "CREATING"

pattern StoreStatus_DELETING :: StoreStatus
pattern $bStoreStatus_DELETING :: StoreStatus
$mStoreStatus_DELETING :: forall {r}. StoreStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StoreStatus_DELETING = StoreStatus' "DELETING"

pattern StoreStatus_FAILED :: StoreStatus
pattern $bStoreStatus_FAILED :: StoreStatus
$mStoreStatus_FAILED :: forall {r}. StoreStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StoreStatus_FAILED = StoreStatus' "FAILED"

pattern StoreStatus_UPDATING :: StoreStatus
pattern $bStoreStatus_UPDATING :: StoreStatus
$mStoreStatus_UPDATING :: forall {r}. StoreStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StoreStatus_UPDATING = StoreStatus' "UPDATING"

{-# COMPLETE
  StoreStatus_ACTIVE,
  StoreStatus_CREATING,
  StoreStatus_DELETING,
  StoreStatus_FAILED,
  StoreStatus_UPDATING,
  StoreStatus'
  #-}