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