{-# 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.ChimeSdkMediaPipelines.Types.PresenterPosition
-- 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.ChimeSdkMediaPipelines.Types.PresenterPosition
  ( PresenterPosition
      ( ..,
        PresenterPosition_BottomLeft,
        PresenterPosition_BottomRight,
        PresenterPosition_TopLeft,
        PresenterPosition_TopRight
      ),
  )
where

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

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

pattern PresenterPosition_BottomLeft :: PresenterPosition
pattern $bPresenterPosition_BottomLeft :: PresenterPosition
$mPresenterPosition_BottomLeft :: forall {r}. PresenterPosition -> ((# #) -> r) -> ((# #) -> r) -> r
PresenterPosition_BottomLeft = PresenterPosition' "BottomLeft"

pattern PresenterPosition_BottomRight :: PresenterPosition
pattern $bPresenterPosition_BottomRight :: PresenterPosition
$mPresenterPosition_BottomRight :: forall {r}. PresenterPosition -> ((# #) -> r) -> ((# #) -> r) -> r
PresenterPosition_BottomRight = PresenterPosition' "BottomRight"

pattern PresenterPosition_TopLeft :: PresenterPosition
pattern $bPresenterPosition_TopLeft :: PresenterPosition
$mPresenterPosition_TopLeft :: forall {r}. PresenterPosition -> ((# #) -> r) -> ((# #) -> r) -> r
PresenterPosition_TopLeft = PresenterPosition' "TopLeft"

pattern PresenterPosition_TopRight :: PresenterPosition
pattern $bPresenterPosition_TopRight :: PresenterPosition
$mPresenterPosition_TopRight :: forall {r}. PresenterPosition -> ((# #) -> r) -> ((# #) -> r) -> r
PresenterPosition_TopRight = PresenterPosition' "TopRight"

{-# COMPLETE
  PresenterPosition_BottomLeft,
  PresenterPosition_BottomRight,
  PresenterPosition_TopLeft,
  PresenterPosition_TopRight,
  PresenterPosition'
  #-}