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