{-# 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.TimecodeBurninPosition
-- 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.TimecodeBurninPosition
  ( TimecodeBurninPosition
      ( ..,
        TimecodeBurninPosition_BOTTOM_CENTER,
        TimecodeBurninPosition_BOTTOM_LEFT,
        TimecodeBurninPosition_BOTTOM_RIGHT,
        TimecodeBurninPosition_MIDDLE_CENTER,
        TimecodeBurninPosition_MIDDLE_LEFT,
        TimecodeBurninPosition_MIDDLE_RIGHT,
        TimecodeBurninPosition_TOP_CENTER,
        TimecodeBurninPosition_TOP_LEFT,
        TimecodeBurninPosition_TOP_RIGHT
      ),
  )
where

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

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

pattern TimecodeBurninPosition_BOTTOM_CENTER :: TimecodeBurninPosition
pattern $bTimecodeBurninPosition_BOTTOM_CENTER :: TimecodeBurninPosition
$mTimecodeBurninPosition_BOTTOM_CENTER :: forall {r}.
TimecodeBurninPosition -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninPosition_BOTTOM_CENTER = TimecodeBurninPosition' "BOTTOM_CENTER"

pattern TimecodeBurninPosition_BOTTOM_LEFT :: TimecodeBurninPosition
pattern $bTimecodeBurninPosition_BOTTOM_LEFT :: TimecodeBurninPosition
$mTimecodeBurninPosition_BOTTOM_LEFT :: forall {r}.
TimecodeBurninPosition -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninPosition_BOTTOM_LEFT = TimecodeBurninPosition' "BOTTOM_LEFT"

pattern TimecodeBurninPosition_BOTTOM_RIGHT :: TimecodeBurninPosition
pattern $bTimecodeBurninPosition_BOTTOM_RIGHT :: TimecodeBurninPosition
$mTimecodeBurninPosition_BOTTOM_RIGHT :: forall {r}.
TimecodeBurninPosition -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninPosition_BOTTOM_RIGHT = TimecodeBurninPosition' "BOTTOM_RIGHT"

pattern TimecodeBurninPosition_MIDDLE_CENTER :: TimecodeBurninPosition
pattern $bTimecodeBurninPosition_MIDDLE_CENTER :: TimecodeBurninPosition
$mTimecodeBurninPosition_MIDDLE_CENTER :: forall {r}.
TimecodeBurninPosition -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninPosition_MIDDLE_CENTER = TimecodeBurninPosition' "MIDDLE_CENTER"

pattern TimecodeBurninPosition_MIDDLE_LEFT :: TimecodeBurninPosition
pattern $bTimecodeBurninPosition_MIDDLE_LEFT :: TimecodeBurninPosition
$mTimecodeBurninPosition_MIDDLE_LEFT :: forall {r}.
TimecodeBurninPosition -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninPosition_MIDDLE_LEFT = TimecodeBurninPosition' "MIDDLE_LEFT"

pattern TimecodeBurninPosition_MIDDLE_RIGHT :: TimecodeBurninPosition
pattern $bTimecodeBurninPosition_MIDDLE_RIGHT :: TimecodeBurninPosition
$mTimecodeBurninPosition_MIDDLE_RIGHT :: forall {r}.
TimecodeBurninPosition -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninPosition_MIDDLE_RIGHT = TimecodeBurninPosition' "MIDDLE_RIGHT"

pattern TimecodeBurninPosition_TOP_CENTER :: TimecodeBurninPosition
pattern $bTimecodeBurninPosition_TOP_CENTER :: TimecodeBurninPosition
$mTimecodeBurninPosition_TOP_CENTER :: forall {r}.
TimecodeBurninPosition -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninPosition_TOP_CENTER = TimecodeBurninPosition' "TOP_CENTER"

pattern TimecodeBurninPosition_TOP_LEFT :: TimecodeBurninPosition
pattern $bTimecodeBurninPosition_TOP_LEFT :: TimecodeBurninPosition
$mTimecodeBurninPosition_TOP_LEFT :: forall {r}.
TimecodeBurninPosition -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninPosition_TOP_LEFT = TimecodeBurninPosition' "TOP_LEFT"

pattern TimecodeBurninPosition_TOP_RIGHT :: TimecodeBurninPosition
pattern $bTimecodeBurninPosition_TOP_RIGHT :: TimecodeBurninPosition
$mTimecodeBurninPosition_TOP_RIGHT :: forall {r}.
TimecodeBurninPosition -> ((# #) -> r) -> ((# #) -> r) -> r
TimecodeBurninPosition_TOP_RIGHT = TimecodeBurninPosition' "TOP_RIGHT"

{-# COMPLETE
  TimecodeBurninPosition_BOTTOM_CENTER,
  TimecodeBurninPosition_BOTTOM_LEFT,
  TimecodeBurninPosition_BOTTOM_RIGHT,
  TimecodeBurninPosition_MIDDLE_CENTER,
  TimecodeBurninPosition_MIDDLE_LEFT,
  TimecodeBurninPosition_MIDDLE_RIGHT,
  TimecodeBurninPosition_TOP_CENTER,
  TimecodeBurninPosition_TOP_LEFT,
  TimecodeBurninPosition_TOP_RIGHT,
  TimecodeBurninPosition'
  #-}