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