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