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