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