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