{-# 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.ContentShareLayoutOption
-- 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.ContentShareLayoutOption
  ( ContentShareLayoutOption
      ( ..,
        ContentShareLayoutOption_Horizontal,
        ContentShareLayoutOption_PresenterOnly,
        ContentShareLayoutOption_Vertical
      ),
  )
where

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

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

pattern ContentShareLayoutOption_Horizontal :: ContentShareLayoutOption
pattern $bContentShareLayoutOption_Horizontal :: ContentShareLayoutOption
$mContentShareLayoutOption_Horizontal :: forall {r}.
ContentShareLayoutOption -> ((# #) -> r) -> ((# #) -> r) -> r
ContentShareLayoutOption_Horizontal = ContentShareLayoutOption' "Horizontal"

pattern ContentShareLayoutOption_PresenterOnly :: ContentShareLayoutOption
pattern $bContentShareLayoutOption_PresenterOnly :: ContentShareLayoutOption
$mContentShareLayoutOption_PresenterOnly :: forall {r}.
ContentShareLayoutOption -> ((# #) -> r) -> ((# #) -> r) -> r
ContentShareLayoutOption_PresenterOnly = ContentShareLayoutOption' "PresenterOnly"

pattern ContentShareLayoutOption_Vertical :: ContentShareLayoutOption
pattern $bContentShareLayoutOption_Vertical :: ContentShareLayoutOption
$mContentShareLayoutOption_Vertical :: forall {r}.
ContentShareLayoutOption -> ((# #) -> r) -> ((# #) -> r) -> r
ContentShareLayoutOption_Vertical = ContentShareLayoutOption' "Vertical"

{-# COMPLETE
  ContentShareLayoutOption_Horizontal,
  ContentShareLayoutOption_PresenterOnly,
  ContentShareLayoutOption_Vertical,
  ContentShareLayoutOption'
  #-}