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