{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaConvert.Types.TimedMetadata
( TimedMetadata
( ..,
TimedMetadata_NONE,
TimedMetadata_PASSTHROUGH
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype TimedMetadata = TimedMetadata'
{ TimedMetadata -> Text
fromTimedMetadata ::
Core.Text
}
deriving stock
( Int -> TimedMetadata -> ShowS
[TimedMetadata] -> ShowS
TimedMetadata -> String
(Int -> TimedMetadata -> ShowS)
-> (TimedMetadata -> String)
-> ([TimedMetadata] -> ShowS)
-> Show TimedMetadata
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TimedMetadata] -> ShowS
$cshowList :: [TimedMetadata] -> ShowS
show :: TimedMetadata -> String
$cshow :: TimedMetadata -> String
showsPrec :: Int -> TimedMetadata -> ShowS
$cshowsPrec :: Int -> TimedMetadata -> ShowS
Prelude.Show,
ReadPrec [TimedMetadata]
ReadPrec TimedMetadata
Int -> ReadS TimedMetadata
ReadS [TimedMetadata]
(Int -> ReadS TimedMetadata)
-> ReadS [TimedMetadata]
-> ReadPrec TimedMetadata
-> ReadPrec [TimedMetadata]
-> Read TimedMetadata
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TimedMetadata]
$creadListPrec :: ReadPrec [TimedMetadata]
readPrec :: ReadPrec TimedMetadata
$creadPrec :: ReadPrec TimedMetadata
readList :: ReadS [TimedMetadata]
$creadList :: ReadS [TimedMetadata]
readsPrec :: Int -> ReadS TimedMetadata
$creadsPrec :: Int -> ReadS TimedMetadata
Prelude.Read,
TimedMetadata -> TimedMetadata -> Bool
(TimedMetadata -> TimedMetadata -> Bool)
-> (TimedMetadata -> TimedMetadata -> Bool) -> Eq TimedMetadata
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TimedMetadata -> TimedMetadata -> Bool
$c/= :: TimedMetadata -> TimedMetadata -> Bool
== :: TimedMetadata -> TimedMetadata -> Bool
$c== :: TimedMetadata -> TimedMetadata -> Bool
Prelude.Eq,
Eq TimedMetadata
Eq TimedMetadata
-> (TimedMetadata -> TimedMetadata -> Ordering)
-> (TimedMetadata -> TimedMetadata -> Bool)
-> (TimedMetadata -> TimedMetadata -> Bool)
-> (TimedMetadata -> TimedMetadata -> Bool)
-> (TimedMetadata -> TimedMetadata -> Bool)
-> (TimedMetadata -> TimedMetadata -> TimedMetadata)
-> (TimedMetadata -> TimedMetadata -> TimedMetadata)
-> Ord TimedMetadata
TimedMetadata -> TimedMetadata -> Bool
TimedMetadata -> TimedMetadata -> Ordering
TimedMetadata -> TimedMetadata -> TimedMetadata
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 :: TimedMetadata -> TimedMetadata -> TimedMetadata
$cmin :: TimedMetadata -> TimedMetadata -> TimedMetadata
max :: TimedMetadata -> TimedMetadata -> TimedMetadata
$cmax :: TimedMetadata -> TimedMetadata -> TimedMetadata
>= :: TimedMetadata -> TimedMetadata -> Bool
$c>= :: TimedMetadata -> TimedMetadata -> Bool
> :: TimedMetadata -> TimedMetadata -> Bool
$c> :: TimedMetadata -> TimedMetadata -> Bool
<= :: TimedMetadata -> TimedMetadata -> Bool
$c<= :: TimedMetadata -> TimedMetadata -> Bool
< :: TimedMetadata -> TimedMetadata -> Bool
$c< :: TimedMetadata -> TimedMetadata -> Bool
compare :: TimedMetadata -> TimedMetadata -> Ordering
$ccompare :: TimedMetadata -> TimedMetadata -> Ordering
$cp1Ord :: Eq TimedMetadata
Prelude.Ord,
(forall x. TimedMetadata -> Rep TimedMetadata x)
-> (forall x. Rep TimedMetadata x -> TimedMetadata)
-> Generic TimedMetadata
forall x. Rep TimedMetadata x -> TimedMetadata
forall x. TimedMetadata -> Rep TimedMetadata x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TimedMetadata x -> TimedMetadata
$cfrom :: forall x. TimedMetadata -> Rep TimedMetadata x
Prelude.Generic
)
deriving newtype
( Int -> TimedMetadata -> Int
TimedMetadata -> Int
(Int -> TimedMetadata -> Int)
-> (TimedMetadata -> Int) -> Hashable TimedMetadata
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: TimedMetadata -> Int
$chash :: TimedMetadata -> Int
hashWithSalt :: Int -> TimedMetadata -> Int
$chashWithSalt :: Int -> TimedMetadata -> Int
Prelude.Hashable,
TimedMetadata -> ()
(TimedMetadata -> ()) -> NFData TimedMetadata
forall a. (a -> ()) -> NFData a
rnf :: TimedMetadata -> ()
$crnf :: TimedMetadata -> ()
Prelude.NFData,
Text -> Either String TimedMetadata
(Text -> Either String TimedMetadata) -> FromText TimedMetadata
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String TimedMetadata
$cfromText :: Text -> Either String TimedMetadata
Core.FromText,
TimedMetadata -> Text
(TimedMetadata -> Text) -> ToText TimedMetadata
forall a. (a -> Text) -> ToText a
toText :: TimedMetadata -> Text
$ctoText :: TimedMetadata -> Text
Core.ToText,
TimedMetadata -> ByteString
(TimedMetadata -> ByteString) -> ToByteString TimedMetadata
forall a. (a -> ByteString) -> ToByteString a
toBS :: TimedMetadata -> ByteString
$ctoBS :: TimedMetadata -> ByteString
Core.ToByteString,
TimedMetadata -> ByteStringBuilder
(TimedMetadata -> ByteStringBuilder) -> ToLog TimedMetadata
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: TimedMetadata -> ByteStringBuilder
$cbuild :: TimedMetadata -> ByteStringBuilder
Core.ToLog,
HeaderName -> TimedMetadata -> [Header]
(HeaderName -> TimedMetadata -> [Header]) -> ToHeader TimedMetadata
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> TimedMetadata -> [Header]
$ctoHeader :: HeaderName -> TimedMetadata -> [Header]
Core.ToHeader,
TimedMetadata -> QueryString
(TimedMetadata -> QueryString) -> ToQuery TimedMetadata
forall a. (a -> QueryString) -> ToQuery a
toQuery :: TimedMetadata -> QueryString
$ctoQuery :: TimedMetadata -> QueryString
Core.ToQuery,
Value -> Parser [TimedMetadata]
Value -> Parser TimedMetadata
(Value -> Parser TimedMetadata)
-> (Value -> Parser [TimedMetadata]) -> FromJSON TimedMetadata
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [TimedMetadata]
$cparseJSONList :: Value -> Parser [TimedMetadata]
parseJSON :: Value -> Parser TimedMetadata
$cparseJSON :: Value -> Parser TimedMetadata
Core.FromJSON,
FromJSONKeyFunction [TimedMetadata]
FromJSONKeyFunction TimedMetadata
FromJSONKeyFunction TimedMetadata
-> FromJSONKeyFunction [TimedMetadata] -> FromJSONKey TimedMetadata
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [TimedMetadata]
$cfromJSONKeyList :: FromJSONKeyFunction [TimedMetadata]
fromJSONKey :: FromJSONKeyFunction TimedMetadata
$cfromJSONKey :: FromJSONKeyFunction TimedMetadata
Core.FromJSONKey,
[TimedMetadata] -> Encoding
[TimedMetadata] -> Value
TimedMetadata -> Encoding
TimedMetadata -> Value
(TimedMetadata -> Value)
-> (TimedMetadata -> Encoding)
-> ([TimedMetadata] -> Value)
-> ([TimedMetadata] -> Encoding)
-> ToJSON TimedMetadata
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [TimedMetadata] -> Encoding
$ctoEncodingList :: [TimedMetadata] -> Encoding
toJSONList :: [TimedMetadata] -> Value
$ctoJSONList :: [TimedMetadata] -> Value
toEncoding :: TimedMetadata -> Encoding
$ctoEncoding :: TimedMetadata -> Encoding
toJSON :: TimedMetadata -> Value
$ctoJSON :: TimedMetadata -> Value
Core.ToJSON,
ToJSONKeyFunction [TimedMetadata]
ToJSONKeyFunction TimedMetadata
ToJSONKeyFunction TimedMetadata
-> ToJSONKeyFunction [TimedMetadata] -> ToJSONKey TimedMetadata
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [TimedMetadata]
$ctoJSONKeyList :: ToJSONKeyFunction [TimedMetadata]
toJSONKey :: ToJSONKeyFunction TimedMetadata
$ctoJSONKey :: ToJSONKeyFunction TimedMetadata
Core.ToJSONKey,
[Node] -> Either String TimedMetadata
([Node] -> Either String TimedMetadata) -> FromXML TimedMetadata
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String TimedMetadata
$cparseXML :: [Node] -> Either String TimedMetadata
Core.FromXML,
TimedMetadata -> XML
(TimedMetadata -> XML) -> ToXML TimedMetadata
forall a. (a -> XML) -> ToXML a
toXML :: TimedMetadata -> XML
$ctoXML :: TimedMetadata -> XML
Core.ToXML
)
pattern TimedMetadata_NONE :: TimedMetadata
pattern $bTimedMetadata_NONE :: TimedMetadata
$mTimedMetadata_NONE :: forall r. TimedMetadata -> (Void# -> r) -> (Void# -> r) -> r
TimedMetadata_NONE = TimedMetadata' "NONE"
pattern TimedMetadata_PASSTHROUGH :: TimedMetadata
pattern $bTimedMetadata_PASSTHROUGH :: TimedMetadata
$mTimedMetadata_PASSTHROUGH :: forall r. TimedMetadata -> (Void# -> r) -> (Void# -> r) -> r
TimedMetadata_PASSTHROUGH = TimedMetadata' "PASSTHROUGH"
{-# COMPLETE
TimedMetadata_NONE,
TimedMetadata_PASSTHROUGH,
TimedMetadata'
#-}