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