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