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