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