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