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