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