{-# 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.TimecodeBurninFontSize
-- 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.TimecodeBurninFontSize
  ( TimecodeBurninFontSize
      ( ..,
        TimecodeBurninFontSize_EXTRA_SMALL_10,
        TimecodeBurninFontSize_LARGE_48,
        TimecodeBurninFontSize_MEDIUM_32,
        TimecodeBurninFontSize_SMALL_16
      ),
  )
where

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

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

pattern TimecodeBurninFontSize_EXTRA_SMALL_10 :: TimecodeBurninFontSize
pattern $bTimecodeBurninFontSize_EXTRA_SMALL_10 :: TimecodeBurninFontSize
$mTimecodeBurninFontSize_EXTRA_SMALL_10 :: forall {r}.
TimecodeBurninFontSize -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninFontSize_EXTRA_SMALL_10 = TimecodeBurninFontSize' "EXTRA_SMALL_10"

pattern TimecodeBurninFontSize_LARGE_48 :: TimecodeBurninFontSize
pattern $bTimecodeBurninFontSize_LARGE_48 :: TimecodeBurninFontSize
$mTimecodeBurninFontSize_LARGE_48 :: forall {r}.
TimecodeBurninFontSize -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninFontSize_LARGE_48 = TimecodeBurninFontSize' "LARGE_48"

pattern TimecodeBurninFontSize_MEDIUM_32 :: TimecodeBurninFontSize
pattern $bTimecodeBurninFontSize_MEDIUM_32 :: TimecodeBurninFontSize
$mTimecodeBurninFontSize_MEDIUM_32 :: forall {r}.
TimecodeBurninFontSize -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninFontSize_MEDIUM_32 = TimecodeBurninFontSize' "MEDIUM_32"

pattern TimecodeBurninFontSize_SMALL_16 :: TimecodeBurninFontSize
pattern $bTimecodeBurninFontSize_SMALL_16 :: TimecodeBurninFontSize
$mTimecodeBurninFontSize_SMALL_16 :: forall {r}.
TimecodeBurninFontSize -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninFontSize_SMALL_16 = TimecodeBurninFontSize' "SMALL_16"

{-# COMPLETE
  TimecodeBurninFontSize_EXTRA_SMALL_10,
  TimecodeBurninFontSize_LARGE_48,
  TimecodeBurninFontSize_MEDIUM_32,
  TimecodeBurninFontSize_SMALL_16,
  TimecodeBurninFontSize'
  #-}