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