{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.DevOpsGuru.Types.CostEstimationStatus
( CostEstimationStatus
( ..,
CostEstimationStatus_COMPLETED,
CostEstimationStatus_ONGOING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype CostEstimationStatus = CostEstimationStatus'
{ CostEstimationStatus -> Text
fromCostEstimationStatus ::
Core.Text
}
deriving stock
( Int -> CostEstimationStatus -> ShowS
[CostEstimationStatus] -> ShowS
CostEstimationStatus -> String
(Int -> CostEstimationStatus -> ShowS)
-> (CostEstimationStatus -> String)
-> ([CostEstimationStatus] -> ShowS)
-> Show CostEstimationStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CostEstimationStatus] -> ShowS
$cshowList :: [CostEstimationStatus] -> ShowS
show :: CostEstimationStatus -> String
$cshow :: CostEstimationStatus -> String
showsPrec :: Int -> CostEstimationStatus -> ShowS
$cshowsPrec :: Int -> CostEstimationStatus -> ShowS
Prelude.Show,
ReadPrec [CostEstimationStatus]
ReadPrec CostEstimationStatus
Int -> ReadS CostEstimationStatus
ReadS [CostEstimationStatus]
(Int -> ReadS CostEstimationStatus)
-> ReadS [CostEstimationStatus]
-> ReadPrec CostEstimationStatus
-> ReadPrec [CostEstimationStatus]
-> Read CostEstimationStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CostEstimationStatus]
$creadListPrec :: ReadPrec [CostEstimationStatus]
readPrec :: ReadPrec CostEstimationStatus
$creadPrec :: ReadPrec CostEstimationStatus
readList :: ReadS [CostEstimationStatus]
$creadList :: ReadS [CostEstimationStatus]
readsPrec :: Int -> ReadS CostEstimationStatus
$creadsPrec :: Int -> ReadS CostEstimationStatus
Prelude.Read,
CostEstimationStatus -> CostEstimationStatus -> Bool
(CostEstimationStatus -> CostEstimationStatus -> Bool)
-> (CostEstimationStatus -> CostEstimationStatus -> Bool)
-> Eq CostEstimationStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CostEstimationStatus -> CostEstimationStatus -> Bool
$c/= :: CostEstimationStatus -> CostEstimationStatus -> Bool
== :: CostEstimationStatus -> CostEstimationStatus -> Bool
$c== :: CostEstimationStatus -> CostEstimationStatus -> Bool
Prelude.Eq,
Eq CostEstimationStatus
Eq CostEstimationStatus
-> (CostEstimationStatus -> CostEstimationStatus -> Ordering)
-> (CostEstimationStatus -> CostEstimationStatus -> Bool)
-> (CostEstimationStatus -> CostEstimationStatus -> Bool)
-> (CostEstimationStatus -> CostEstimationStatus -> Bool)
-> (CostEstimationStatus -> CostEstimationStatus -> Bool)
-> (CostEstimationStatus
-> CostEstimationStatus -> CostEstimationStatus)
-> (CostEstimationStatus
-> CostEstimationStatus -> CostEstimationStatus)
-> Ord CostEstimationStatus
CostEstimationStatus -> CostEstimationStatus -> Bool
CostEstimationStatus -> CostEstimationStatus -> Ordering
CostEstimationStatus
-> CostEstimationStatus -> CostEstimationStatus
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 :: CostEstimationStatus
-> CostEstimationStatus -> CostEstimationStatus
$cmin :: CostEstimationStatus
-> CostEstimationStatus -> CostEstimationStatus
max :: CostEstimationStatus
-> CostEstimationStatus -> CostEstimationStatus
$cmax :: CostEstimationStatus
-> CostEstimationStatus -> CostEstimationStatus
>= :: CostEstimationStatus -> CostEstimationStatus -> Bool
$c>= :: CostEstimationStatus -> CostEstimationStatus -> Bool
> :: CostEstimationStatus -> CostEstimationStatus -> Bool
$c> :: CostEstimationStatus -> CostEstimationStatus -> Bool
<= :: CostEstimationStatus -> CostEstimationStatus -> Bool
$c<= :: CostEstimationStatus -> CostEstimationStatus -> Bool
< :: CostEstimationStatus -> CostEstimationStatus -> Bool
$c< :: CostEstimationStatus -> CostEstimationStatus -> Bool
compare :: CostEstimationStatus -> CostEstimationStatus -> Ordering
$ccompare :: CostEstimationStatus -> CostEstimationStatus -> Ordering
$cp1Ord :: Eq CostEstimationStatus
Prelude.Ord,
(forall x. CostEstimationStatus -> Rep CostEstimationStatus x)
-> (forall x. Rep CostEstimationStatus x -> CostEstimationStatus)
-> Generic CostEstimationStatus
forall x. Rep CostEstimationStatus x -> CostEstimationStatus
forall x. CostEstimationStatus -> Rep CostEstimationStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CostEstimationStatus x -> CostEstimationStatus
$cfrom :: forall x. CostEstimationStatus -> Rep CostEstimationStatus x
Prelude.Generic
)
deriving newtype
( Int -> CostEstimationStatus -> Int
CostEstimationStatus -> Int
(Int -> CostEstimationStatus -> Int)
-> (CostEstimationStatus -> Int) -> Hashable CostEstimationStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: CostEstimationStatus -> Int
$chash :: CostEstimationStatus -> Int
hashWithSalt :: Int -> CostEstimationStatus -> Int
$chashWithSalt :: Int -> CostEstimationStatus -> Int
Prelude.Hashable,
CostEstimationStatus -> ()
(CostEstimationStatus -> ()) -> NFData CostEstimationStatus
forall a. (a -> ()) -> NFData a
rnf :: CostEstimationStatus -> ()
$crnf :: CostEstimationStatus -> ()
Prelude.NFData,
Text -> Either String CostEstimationStatus
(Text -> Either String CostEstimationStatus)
-> FromText CostEstimationStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String CostEstimationStatus
$cfromText :: Text -> Either String CostEstimationStatus
Core.FromText,
CostEstimationStatus -> Text
(CostEstimationStatus -> Text) -> ToText CostEstimationStatus
forall a. (a -> Text) -> ToText a
toText :: CostEstimationStatus -> Text
$ctoText :: CostEstimationStatus -> Text
Core.ToText,
CostEstimationStatus -> ByteString
(CostEstimationStatus -> ByteString)
-> ToByteString CostEstimationStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: CostEstimationStatus -> ByteString
$ctoBS :: CostEstimationStatus -> ByteString
Core.ToByteString,
CostEstimationStatus -> ByteStringBuilder
(CostEstimationStatus -> ByteStringBuilder)
-> ToLog CostEstimationStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: CostEstimationStatus -> ByteStringBuilder
$cbuild :: CostEstimationStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> CostEstimationStatus -> [Header]
(HeaderName -> CostEstimationStatus -> [Header])
-> ToHeader CostEstimationStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> CostEstimationStatus -> [Header]
$ctoHeader :: HeaderName -> CostEstimationStatus -> [Header]
Core.ToHeader,
CostEstimationStatus -> QueryString
(CostEstimationStatus -> QueryString)
-> ToQuery CostEstimationStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: CostEstimationStatus -> QueryString
$ctoQuery :: CostEstimationStatus -> QueryString
Core.ToQuery,
Value -> Parser [CostEstimationStatus]
Value -> Parser CostEstimationStatus
(Value -> Parser CostEstimationStatus)
-> (Value -> Parser [CostEstimationStatus])
-> FromJSON CostEstimationStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [CostEstimationStatus]
$cparseJSONList :: Value -> Parser [CostEstimationStatus]
parseJSON :: Value -> Parser CostEstimationStatus
$cparseJSON :: Value -> Parser CostEstimationStatus
Core.FromJSON,
FromJSONKeyFunction [CostEstimationStatus]
FromJSONKeyFunction CostEstimationStatus
FromJSONKeyFunction CostEstimationStatus
-> FromJSONKeyFunction [CostEstimationStatus]
-> FromJSONKey CostEstimationStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [CostEstimationStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [CostEstimationStatus]
fromJSONKey :: FromJSONKeyFunction CostEstimationStatus
$cfromJSONKey :: FromJSONKeyFunction CostEstimationStatus
Core.FromJSONKey,
[CostEstimationStatus] -> Encoding
[CostEstimationStatus] -> Value
CostEstimationStatus -> Encoding
CostEstimationStatus -> Value
(CostEstimationStatus -> Value)
-> (CostEstimationStatus -> Encoding)
-> ([CostEstimationStatus] -> Value)
-> ([CostEstimationStatus] -> Encoding)
-> ToJSON CostEstimationStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [CostEstimationStatus] -> Encoding
$ctoEncodingList :: [CostEstimationStatus] -> Encoding
toJSONList :: [CostEstimationStatus] -> Value
$ctoJSONList :: [CostEstimationStatus] -> Value
toEncoding :: CostEstimationStatus -> Encoding
$ctoEncoding :: CostEstimationStatus -> Encoding
toJSON :: CostEstimationStatus -> Value
$ctoJSON :: CostEstimationStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [CostEstimationStatus]
ToJSONKeyFunction CostEstimationStatus
ToJSONKeyFunction CostEstimationStatus
-> ToJSONKeyFunction [CostEstimationStatus]
-> ToJSONKey CostEstimationStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [CostEstimationStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [CostEstimationStatus]
toJSONKey :: ToJSONKeyFunction CostEstimationStatus
$ctoJSONKey :: ToJSONKeyFunction CostEstimationStatus
Core.ToJSONKey,
[Node] -> Either String CostEstimationStatus
([Node] -> Either String CostEstimationStatus)
-> FromXML CostEstimationStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String CostEstimationStatus
$cparseXML :: [Node] -> Either String CostEstimationStatus
Core.FromXML,
CostEstimationStatus -> XML
(CostEstimationStatus -> XML) -> ToXML CostEstimationStatus
forall a. (a -> XML) -> ToXML a
toXML :: CostEstimationStatus -> XML
$ctoXML :: CostEstimationStatus -> XML
Core.ToXML
)
pattern CostEstimationStatus_COMPLETED :: CostEstimationStatus
pattern $bCostEstimationStatus_COMPLETED :: CostEstimationStatus
$mCostEstimationStatus_COMPLETED :: forall r. CostEstimationStatus -> (Void# -> r) -> (Void# -> r) -> r
CostEstimationStatus_COMPLETED = CostEstimationStatus' "COMPLETED"
pattern CostEstimationStatus_ONGOING :: CostEstimationStatus
pattern $bCostEstimationStatus_ONGOING :: CostEstimationStatus
$mCostEstimationStatus_ONGOING :: forall r. CostEstimationStatus -> (Void# -> r) -> (Void# -> r) -> r
CostEstimationStatus_ONGOING = CostEstimationStatus' "ONGOING"
{-# COMPLETE
CostEstimationStatus_COMPLETED,
CostEstimationStatus_ONGOING,
CostEstimationStatus'
#-}