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