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