{-# 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.Prelude as Prelude
newtype H265TimecodeInsertionBehavior = H265TimecodeInsertionBehavior'
{ H265TimecodeInsertionBehavior -> Text
fromH265TimecodeInsertionBehavior ::
Core.Text
}
deriving stock
( Int -> H265TimecodeInsertionBehavior -> ShowS
[H265TimecodeInsertionBehavior] -> ShowS
H265TimecodeInsertionBehavior -> String
(Int -> H265TimecodeInsertionBehavior -> ShowS)
-> (H265TimecodeInsertionBehavior -> String)
-> ([H265TimecodeInsertionBehavior] -> ShowS)
-> Show H265TimecodeInsertionBehavior
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]
(Int -> ReadS H265TimecodeInsertionBehavior)
-> ReadS [H265TimecodeInsertionBehavior]
-> ReadPrec H265TimecodeInsertionBehavior
-> ReadPrec [H265TimecodeInsertionBehavior]
-> Read 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
(H265TimecodeInsertionBehavior
-> H265TimecodeInsertionBehavior -> Bool)
-> (H265TimecodeInsertionBehavior
-> H265TimecodeInsertionBehavior -> Bool)
-> Eq H265TimecodeInsertionBehavior
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
Eq H265TimecodeInsertionBehavior
-> (H265TimecodeInsertionBehavior
-> H265TimecodeInsertionBehavior -> Ordering)
-> (H265TimecodeInsertionBehavior
-> H265TimecodeInsertionBehavior -> Bool)
-> (H265TimecodeInsertionBehavior
-> H265TimecodeInsertionBehavior -> Bool)
-> (H265TimecodeInsertionBehavior
-> H265TimecodeInsertionBehavior -> Bool)
-> (H265TimecodeInsertionBehavior
-> H265TimecodeInsertionBehavior -> Bool)
-> (H265TimecodeInsertionBehavior
-> H265TimecodeInsertionBehavior -> H265TimecodeInsertionBehavior)
-> (H265TimecodeInsertionBehavior
-> H265TimecodeInsertionBehavior -> H265TimecodeInsertionBehavior)
-> Ord 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
$cp1Ord :: Eq H265TimecodeInsertionBehavior
Prelude.Ord,
(forall x.
H265TimecodeInsertionBehavior
-> Rep H265TimecodeInsertionBehavior x)
-> (forall x.
Rep H265TimecodeInsertionBehavior x
-> H265TimecodeInsertionBehavior)
-> Generic H265TimecodeInsertionBehavior
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
( Int -> H265TimecodeInsertionBehavior -> Int
H265TimecodeInsertionBehavior -> Int
(Int -> H265TimecodeInsertionBehavior -> Int)
-> (H265TimecodeInsertionBehavior -> Int)
-> Hashable H265TimecodeInsertionBehavior
forall 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 -> ()
(H265TimecodeInsertionBehavior -> ())
-> NFData H265TimecodeInsertionBehavior
forall a. (a -> ()) -> NFData a
rnf :: H265TimecodeInsertionBehavior -> ()
$crnf :: H265TimecodeInsertionBehavior -> ()
Prelude.NFData,
Text -> Either String H265TimecodeInsertionBehavior
(Text -> Either String H265TimecodeInsertionBehavior)
-> FromText H265TimecodeInsertionBehavior
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H265TimecodeInsertionBehavior
$cfromText :: Text -> Either String H265TimecodeInsertionBehavior
Core.FromText,
H265TimecodeInsertionBehavior -> Text
(H265TimecodeInsertionBehavior -> Text)
-> ToText H265TimecodeInsertionBehavior
forall a. (a -> Text) -> ToText a
toText :: H265TimecodeInsertionBehavior -> Text
$ctoText :: H265TimecodeInsertionBehavior -> Text
Core.ToText,
H265TimecodeInsertionBehavior -> ByteString
(H265TimecodeInsertionBehavior -> ByteString)
-> ToByteString H265TimecodeInsertionBehavior
forall a. (a -> ByteString) -> ToByteString a
toBS :: H265TimecodeInsertionBehavior -> ByteString
$ctoBS :: H265TimecodeInsertionBehavior -> ByteString
Core.ToByteString,
H265TimecodeInsertionBehavior -> ByteStringBuilder
(H265TimecodeInsertionBehavior -> ByteStringBuilder)
-> ToLog H265TimecodeInsertionBehavior
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H265TimecodeInsertionBehavior -> ByteStringBuilder
$cbuild :: H265TimecodeInsertionBehavior -> ByteStringBuilder
Core.ToLog,
HeaderName -> H265TimecodeInsertionBehavior -> [Header]
(HeaderName -> H265TimecodeInsertionBehavior -> [Header])
-> ToHeader H265TimecodeInsertionBehavior
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H265TimecodeInsertionBehavior -> [Header]
$ctoHeader :: HeaderName -> H265TimecodeInsertionBehavior -> [Header]
Core.ToHeader,
H265TimecodeInsertionBehavior -> QueryString
(H265TimecodeInsertionBehavior -> QueryString)
-> ToQuery H265TimecodeInsertionBehavior
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H265TimecodeInsertionBehavior -> QueryString
$ctoQuery :: H265TimecodeInsertionBehavior -> QueryString
Core.ToQuery,
Value -> Parser [H265TimecodeInsertionBehavior]
Value -> Parser H265TimecodeInsertionBehavior
(Value -> Parser H265TimecodeInsertionBehavior)
-> (Value -> Parser [H265TimecodeInsertionBehavior])
-> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [H265TimecodeInsertionBehavior]
FromJSONKeyFunction H265TimecodeInsertionBehavior
FromJSONKeyFunction H265TimecodeInsertionBehavior
-> FromJSONKeyFunction [H265TimecodeInsertionBehavior]
-> FromJSONKey H265TimecodeInsertionBehavior
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H265TimecodeInsertionBehavior]
$cfromJSONKeyList :: FromJSONKeyFunction [H265TimecodeInsertionBehavior]
fromJSONKey :: FromJSONKeyFunction H265TimecodeInsertionBehavior
$cfromJSONKey :: FromJSONKeyFunction H265TimecodeInsertionBehavior
Core.FromJSONKey,
[H265TimecodeInsertionBehavior] -> Encoding
[H265TimecodeInsertionBehavior] -> Value
H265TimecodeInsertionBehavior -> Encoding
H265TimecodeInsertionBehavior -> Value
(H265TimecodeInsertionBehavior -> Value)
-> (H265TimecodeInsertionBehavior -> Encoding)
-> ([H265TimecodeInsertionBehavior] -> Value)
-> ([H265TimecodeInsertionBehavior] -> Encoding)
-> ToJSON H265TimecodeInsertionBehavior
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
Core.ToJSON,
ToJSONKeyFunction [H265TimecodeInsertionBehavior]
ToJSONKeyFunction H265TimecodeInsertionBehavior
ToJSONKeyFunction H265TimecodeInsertionBehavior
-> ToJSONKeyFunction [H265TimecodeInsertionBehavior]
-> ToJSONKey H265TimecodeInsertionBehavior
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H265TimecodeInsertionBehavior]
$ctoJSONKeyList :: ToJSONKeyFunction [H265TimecodeInsertionBehavior]
toJSONKey :: ToJSONKeyFunction H265TimecodeInsertionBehavior
$ctoJSONKey :: ToJSONKeyFunction H265TimecodeInsertionBehavior
Core.ToJSONKey,
[Node] -> Either String H265TimecodeInsertionBehavior
([Node] -> Either String H265TimecodeInsertionBehavior)
-> FromXML H265TimecodeInsertionBehavior
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H265TimecodeInsertionBehavior
$cparseXML :: [Node] -> Either String H265TimecodeInsertionBehavior
Core.FromXML,
H265TimecodeInsertionBehavior -> XML
(H265TimecodeInsertionBehavior -> XML)
-> ToXML H265TimecodeInsertionBehavior
forall a. (a -> XML) -> ToXML a
toXML :: H265TimecodeInsertionBehavior -> XML
$ctoXML :: H265TimecodeInsertionBehavior -> XML
Core.ToXML
)
pattern H265TimecodeInsertionBehavior_DISABLED :: H265TimecodeInsertionBehavior
pattern $bH265TimecodeInsertionBehavior_DISABLED :: H265TimecodeInsertionBehavior
$mH265TimecodeInsertionBehavior_DISABLED :: forall r.
H265TimecodeInsertionBehavior -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> r) -> r
H265TimecodeInsertionBehavior_PIC_TIMING_SEI = H265TimecodeInsertionBehavior' "PIC_TIMING_SEI"
{-# COMPLETE
H265TimecodeInsertionBehavior_DISABLED,
H265TimecodeInsertionBehavior_PIC_TIMING_SEI,
H265TimecodeInsertionBehavior'
#-}