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