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