{-# 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.SettingAttribute
( SettingAttribute
( ..,
SettingAttribute_ALL,
SettingAttribute_DEFAULT_ASSESSMENT_REPORTS_DESTINATION,
SettingAttribute_DEFAULT_PROCESS_OWNERS,
SettingAttribute_IS_AWS_ORG_ENABLED,
SettingAttribute_SNS_TOPIC
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype SettingAttribute = SettingAttribute'
{ SettingAttribute -> Text
fromSettingAttribute ::
Core.Text
}
deriving stock
( Int -> SettingAttribute -> ShowS
[SettingAttribute] -> ShowS
SettingAttribute -> String
(Int -> SettingAttribute -> ShowS)
-> (SettingAttribute -> String)
-> ([SettingAttribute] -> ShowS)
-> Show SettingAttribute
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SettingAttribute] -> ShowS
$cshowList :: [SettingAttribute] -> ShowS
show :: SettingAttribute -> String
$cshow :: SettingAttribute -> String
showsPrec :: Int -> SettingAttribute -> ShowS
$cshowsPrec :: Int -> SettingAttribute -> ShowS
Prelude.Show,
ReadPrec [SettingAttribute]
ReadPrec SettingAttribute
Int -> ReadS SettingAttribute
ReadS [SettingAttribute]
(Int -> ReadS SettingAttribute)
-> ReadS [SettingAttribute]
-> ReadPrec SettingAttribute
-> ReadPrec [SettingAttribute]
-> Read SettingAttribute
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SettingAttribute]
$creadListPrec :: ReadPrec [SettingAttribute]
readPrec :: ReadPrec SettingAttribute
$creadPrec :: ReadPrec SettingAttribute
readList :: ReadS [SettingAttribute]
$creadList :: ReadS [SettingAttribute]
readsPrec :: Int -> ReadS SettingAttribute
$creadsPrec :: Int -> ReadS SettingAttribute
Prelude.Read,
SettingAttribute -> SettingAttribute -> Bool
(SettingAttribute -> SettingAttribute -> Bool)
-> (SettingAttribute -> SettingAttribute -> Bool)
-> Eq SettingAttribute
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SettingAttribute -> SettingAttribute -> Bool
$c/= :: SettingAttribute -> SettingAttribute -> Bool
== :: SettingAttribute -> SettingAttribute -> Bool
$c== :: SettingAttribute -> SettingAttribute -> Bool
Prelude.Eq,
Eq SettingAttribute
Eq SettingAttribute
-> (SettingAttribute -> SettingAttribute -> Ordering)
-> (SettingAttribute -> SettingAttribute -> Bool)
-> (SettingAttribute -> SettingAttribute -> Bool)
-> (SettingAttribute -> SettingAttribute -> Bool)
-> (SettingAttribute -> SettingAttribute -> Bool)
-> (SettingAttribute -> SettingAttribute -> SettingAttribute)
-> (SettingAttribute -> SettingAttribute -> SettingAttribute)
-> Ord SettingAttribute
SettingAttribute -> SettingAttribute -> Bool
SettingAttribute -> SettingAttribute -> Ordering
SettingAttribute -> SettingAttribute -> SettingAttribute
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 :: SettingAttribute -> SettingAttribute -> SettingAttribute
$cmin :: SettingAttribute -> SettingAttribute -> SettingAttribute
max :: SettingAttribute -> SettingAttribute -> SettingAttribute
$cmax :: SettingAttribute -> SettingAttribute -> SettingAttribute
>= :: SettingAttribute -> SettingAttribute -> Bool
$c>= :: SettingAttribute -> SettingAttribute -> Bool
> :: SettingAttribute -> SettingAttribute -> Bool
$c> :: SettingAttribute -> SettingAttribute -> Bool
<= :: SettingAttribute -> SettingAttribute -> Bool
$c<= :: SettingAttribute -> SettingAttribute -> Bool
< :: SettingAttribute -> SettingAttribute -> Bool
$c< :: SettingAttribute -> SettingAttribute -> Bool
compare :: SettingAttribute -> SettingAttribute -> Ordering
$ccompare :: SettingAttribute -> SettingAttribute -> Ordering
$cp1Ord :: Eq SettingAttribute
Prelude.Ord,
(forall x. SettingAttribute -> Rep SettingAttribute x)
-> (forall x. Rep SettingAttribute x -> SettingAttribute)
-> Generic SettingAttribute
forall x. Rep SettingAttribute x -> SettingAttribute
forall x. SettingAttribute -> Rep SettingAttribute x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SettingAttribute x -> SettingAttribute
$cfrom :: forall x. SettingAttribute -> Rep SettingAttribute x
Prelude.Generic
)
deriving newtype
( Int -> SettingAttribute -> Int
SettingAttribute -> Int
(Int -> SettingAttribute -> Int)
-> (SettingAttribute -> Int) -> Hashable SettingAttribute
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: SettingAttribute -> Int
$chash :: SettingAttribute -> Int
hashWithSalt :: Int -> SettingAttribute -> Int
$chashWithSalt :: Int -> SettingAttribute -> Int
Prelude.Hashable,
SettingAttribute -> ()
(SettingAttribute -> ()) -> NFData SettingAttribute
forall a. (a -> ()) -> NFData a
rnf :: SettingAttribute -> ()
$crnf :: SettingAttribute -> ()
Prelude.NFData,
Text -> Either String SettingAttribute
(Text -> Either String SettingAttribute)
-> FromText SettingAttribute
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String SettingAttribute
$cfromText :: Text -> Either String SettingAttribute
Core.FromText,
SettingAttribute -> Text
(SettingAttribute -> Text) -> ToText SettingAttribute
forall a. (a -> Text) -> ToText a
toText :: SettingAttribute -> Text
$ctoText :: SettingAttribute -> Text
Core.ToText,
SettingAttribute -> ByteString
(SettingAttribute -> ByteString) -> ToByteString SettingAttribute
forall a. (a -> ByteString) -> ToByteString a
toBS :: SettingAttribute -> ByteString
$ctoBS :: SettingAttribute -> ByteString
Core.ToByteString,
SettingAttribute -> ByteStringBuilder
(SettingAttribute -> ByteStringBuilder) -> ToLog SettingAttribute
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: SettingAttribute -> ByteStringBuilder
$cbuild :: SettingAttribute -> ByteStringBuilder
Core.ToLog,
HeaderName -> SettingAttribute -> [Header]
(HeaderName -> SettingAttribute -> [Header])
-> ToHeader SettingAttribute
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> SettingAttribute -> [Header]
$ctoHeader :: HeaderName -> SettingAttribute -> [Header]
Core.ToHeader,
SettingAttribute -> QueryString
(SettingAttribute -> QueryString) -> ToQuery SettingAttribute
forall a. (a -> QueryString) -> ToQuery a
toQuery :: SettingAttribute -> QueryString
$ctoQuery :: SettingAttribute -> QueryString
Core.ToQuery,
Value -> Parser [SettingAttribute]
Value -> Parser SettingAttribute
(Value -> Parser SettingAttribute)
-> (Value -> Parser [SettingAttribute])
-> FromJSON SettingAttribute
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [SettingAttribute]
$cparseJSONList :: Value -> Parser [SettingAttribute]
parseJSON :: Value -> Parser SettingAttribute
$cparseJSON :: Value -> Parser SettingAttribute
Core.FromJSON,
FromJSONKeyFunction [SettingAttribute]
FromJSONKeyFunction SettingAttribute
FromJSONKeyFunction SettingAttribute
-> FromJSONKeyFunction [SettingAttribute]
-> FromJSONKey SettingAttribute
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [SettingAttribute]
$cfromJSONKeyList :: FromJSONKeyFunction [SettingAttribute]
fromJSONKey :: FromJSONKeyFunction SettingAttribute
$cfromJSONKey :: FromJSONKeyFunction SettingAttribute
Core.FromJSONKey,
[SettingAttribute] -> Encoding
[SettingAttribute] -> Value
SettingAttribute -> Encoding
SettingAttribute -> Value
(SettingAttribute -> Value)
-> (SettingAttribute -> Encoding)
-> ([SettingAttribute] -> Value)
-> ([SettingAttribute] -> Encoding)
-> ToJSON SettingAttribute
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [SettingAttribute] -> Encoding
$ctoEncodingList :: [SettingAttribute] -> Encoding
toJSONList :: [SettingAttribute] -> Value
$ctoJSONList :: [SettingAttribute] -> Value
toEncoding :: SettingAttribute -> Encoding
$ctoEncoding :: SettingAttribute -> Encoding
toJSON :: SettingAttribute -> Value
$ctoJSON :: SettingAttribute -> Value
Core.ToJSON,
ToJSONKeyFunction [SettingAttribute]
ToJSONKeyFunction SettingAttribute
ToJSONKeyFunction SettingAttribute
-> ToJSONKeyFunction [SettingAttribute]
-> ToJSONKey SettingAttribute
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [SettingAttribute]
$ctoJSONKeyList :: ToJSONKeyFunction [SettingAttribute]
toJSONKey :: ToJSONKeyFunction SettingAttribute
$ctoJSONKey :: ToJSONKeyFunction SettingAttribute
Core.ToJSONKey,
[Node] -> Either String SettingAttribute
([Node] -> Either String SettingAttribute)
-> FromXML SettingAttribute
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String SettingAttribute
$cparseXML :: [Node] -> Either String SettingAttribute
Core.FromXML,
SettingAttribute -> XML
(SettingAttribute -> XML) -> ToXML SettingAttribute
forall a. (a -> XML) -> ToXML a
toXML :: SettingAttribute -> XML
$ctoXML :: SettingAttribute -> XML
Core.ToXML
)
pattern SettingAttribute_ALL :: SettingAttribute
pattern $bSettingAttribute_ALL :: SettingAttribute
$mSettingAttribute_ALL :: forall r. SettingAttribute -> (Void# -> r) -> (Void# -> r) -> r
SettingAttribute_ALL = SettingAttribute' "ALL"
pattern SettingAttribute_DEFAULT_ASSESSMENT_REPORTS_DESTINATION :: SettingAttribute
pattern $bSettingAttribute_DEFAULT_ASSESSMENT_REPORTS_DESTINATION :: SettingAttribute
$mSettingAttribute_DEFAULT_ASSESSMENT_REPORTS_DESTINATION :: forall r. SettingAttribute -> (Void# -> r) -> (Void# -> r) -> r
SettingAttribute_DEFAULT_ASSESSMENT_REPORTS_DESTINATION = SettingAttribute' "DEFAULT_ASSESSMENT_REPORTS_DESTINATION"
pattern SettingAttribute_DEFAULT_PROCESS_OWNERS :: SettingAttribute
pattern $bSettingAttribute_DEFAULT_PROCESS_OWNERS :: SettingAttribute
$mSettingAttribute_DEFAULT_PROCESS_OWNERS :: forall r. SettingAttribute -> (Void# -> r) -> (Void# -> r) -> r
SettingAttribute_DEFAULT_PROCESS_OWNERS = SettingAttribute' "DEFAULT_PROCESS_OWNERS"
pattern SettingAttribute_IS_AWS_ORG_ENABLED :: SettingAttribute
pattern $bSettingAttribute_IS_AWS_ORG_ENABLED :: SettingAttribute
$mSettingAttribute_IS_AWS_ORG_ENABLED :: forall r. SettingAttribute -> (Void# -> r) -> (Void# -> r) -> r
SettingAttribute_IS_AWS_ORG_ENABLED = SettingAttribute' "IS_AWS_ORG_ENABLED"
pattern SettingAttribute_SNS_TOPIC :: SettingAttribute
pattern $bSettingAttribute_SNS_TOPIC :: SettingAttribute
$mSettingAttribute_SNS_TOPIC :: forall r. SettingAttribute -> (Void# -> r) -> (Void# -> r) -> r
SettingAttribute_SNS_TOPIC = SettingAttribute' "SNS_TOPIC"
{-# COMPLETE
SettingAttribute_ALL,
SettingAttribute_DEFAULT_ASSESSMENT_REPORTS_DESTINATION,
SettingAttribute_DEFAULT_PROCESS_OWNERS,
SettingAttribute_IS_AWS_ORG_ENABLED,
SettingAttribute_SNS_TOPIC,
SettingAttribute'
#-}