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