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