{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype BurnInAlignment = BurnInAlignment'
{ BurnInAlignment -> Text
fromBurnInAlignment ::
Data.Text
}
deriving stock
( Int -> BurnInAlignment -> ShowS
[BurnInAlignment] -> ShowS
BurnInAlignment -> String
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]
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
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
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
Prelude.Ord,
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
( Eq BurnInAlignment
Int -> BurnInAlignment -> Int
BurnInAlignment -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: BurnInAlignment -> ()
$crnf :: BurnInAlignment -> ()
Prelude.NFData,
Text -> Either String BurnInAlignment
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String BurnInAlignment
$cfromText :: Text -> Either String BurnInAlignment
Data.FromText,
BurnInAlignment -> Text
forall a. (a -> Text) -> ToText a
toText :: BurnInAlignment -> Text
$ctoText :: BurnInAlignment -> Text
Data.ToText,
BurnInAlignment -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: BurnInAlignment -> ByteString
$ctoBS :: BurnInAlignment -> ByteString
Data.ToByteString,
BurnInAlignment -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: BurnInAlignment -> ByteStringBuilder
$cbuild :: BurnInAlignment -> ByteStringBuilder
Data.ToLog,
HeaderName -> BurnInAlignment -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> BurnInAlignment -> [Header]
$ctoHeader :: HeaderName -> BurnInAlignment -> [Header]
Data.ToHeader,
BurnInAlignment -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: BurnInAlignment -> QueryString
$ctoQuery :: BurnInAlignment -> QueryString
Data.ToQuery,
Value -> Parser [BurnInAlignment]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [BurnInAlignment]
FromJSONKeyFunction BurnInAlignment
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [BurnInAlignment]
$cfromJSONKeyList :: FromJSONKeyFunction [BurnInAlignment]
fromJSONKey :: FromJSONKeyFunction BurnInAlignment
$cfromJSONKey :: FromJSONKeyFunction BurnInAlignment
Data.FromJSONKey,
[BurnInAlignment] -> Encoding
[BurnInAlignment] -> Value
BurnInAlignment -> Encoding
BurnInAlignment -> Value
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
Data.ToJSON,
ToJSONKeyFunction [BurnInAlignment]
ToJSONKeyFunction BurnInAlignment
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [BurnInAlignment]
$ctoJSONKeyList :: ToJSONKeyFunction [BurnInAlignment]
toJSONKey :: ToJSONKeyFunction BurnInAlignment
$ctoJSONKey :: ToJSONKeyFunction BurnInAlignment
Data.ToJSONKey,
[Node] -> Either String BurnInAlignment
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String BurnInAlignment
$cparseXML :: [Node] -> Either String BurnInAlignment
Data.FromXML,
BurnInAlignment -> XML
forall a. (a -> XML) -> ToXML a
toXML :: BurnInAlignment -> XML
$ctoXML :: BurnInAlignment -> XML
Data.ToXML
)
pattern BurnInAlignment_CENTERED :: BurnInAlignment
pattern $bBurnInAlignment_CENTERED :: BurnInAlignment
$mBurnInAlignment_CENTERED :: forall {r}. BurnInAlignment -> ((# #) -> r) -> ((# #) -> r) -> r
BurnInAlignment_CENTERED = BurnInAlignment' "CENTERED"
pattern BurnInAlignment_LEFT :: BurnInAlignment
pattern $bBurnInAlignment_LEFT :: BurnInAlignment
$mBurnInAlignment_LEFT :: forall {r}. BurnInAlignment -> ((# #) -> r) -> ((# #) -> r) -> r
BurnInAlignment_LEFT = BurnInAlignment' "LEFT"
pattern BurnInAlignment_SMART :: BurnInAlignment
pattern $bBurnInAlignment_SMART :: BurnInAlignment
$mBurnInAlignment_SMART :: forall {r}. BurnInAlignment -> ((# #) -> r) -> ((# #) -> r) -> r
BurnInAlignment_SMART = BurnInAlignment' "SMART"
{-# COMPLETE
BurnInAlignment_CENTERED,
BurnInAlignment_LEFT,
BurnInAlignment_SMART,
BurnInAlignment'
#-}