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