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