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