{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.MediaLive.Types.BurnInTeletextGridControl
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaLive.Types.BurnInTeletextGridControl
  ( BurnInTeletextGridControl
      ( ..,
        BurnInTeletextGridControl_FIXED,
        BurnInTeletextGridControl_SCALED
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

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

pattern BurnInTeletextGridControl_FIXED :: BurnInTeletextGridControl
pattern $bBurnInTeletextGridControl_FIXED :: BurnInTeletextGridControl
$mBurnInTeletextGridControl_FIXED :: forall {r}.
BurnInTeletextGridControl -> ((# #) -> r) -> ((# #) -> r) -> r
BurnInTeletextGridControl_FIXED = BurnInTeletextGridControl' "FIXED"

pattern BurnInTeletextGridControl_SCALED :: BurnInTeletextGridControl
pattern $bBurnInTeletextGridControl_SCALED :: BurnInTeletextGridControl
$mBurnInTeletextGridControl_SCALED :: forall {r}.
BurnInTeletextGridControl -> ((# #) -> r) -> ((# #) -> r) -> r
BurnInTeletextGridControl_SCALED = BurnInTeletextGridControl' "SCALED"

{-# COMPLETE
  BurnInTeletextGridControl_FIXED,
  BurnInTeletextGridControl_SCALED,
  BurnInTeletextGridControl'
  #-}