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