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