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