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