{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.ChimeSdkMediaPipelines.Types.LayoutOption
( LayoutOption
( ..,
LayoutOption_GridView
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype LayoutOption = LayoutOption'
{ LayoutOption -> Text
fromLayoutOption ::
Data.Text
}
deriving stock
( Int -> LayoutOption -> ShowS
[LayoutOption] -> ShowS
LayoutOption -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LayoutOption] -> ShowS
$cshowList :: [LayoutOption] -> ShowS
show :: LayoutOption -> String
$cshow :: LayoutOption -> String
showsPrec :: Int -> LayoutOption -> ShowS
$cshowsPrec :: Int -> LayoutOption -> ShowS
Prelude.Show,
ReadPrec [LayoutOption]
ReadPrec LayoutOption
Int -> ReadS LayoutOption
ReadS [LayoutOption]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LayoutOption]
$creadListPrec :: ReadPrec [LayoutOption]
readPrec :: ReadPrec LayoutOption
$creadPrec :: ReadPrec LayoutOption
readList :: ReadS [LayoutOption]
$creadList :: ReadS [LayoutOption]
readsPrec :: Int -> ReadS LayoutOption
$creadsPrec :: Int -> ReadS LayoutOption
Prelude.Read,
LayoutOption -> LayoutOption -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LayoutOption -> LayoutOption -> Bool
$c/= :: LayoutOption -> LayoutOption -> Bool
== :: LayoutOption -> LayoutOption -> Bool
$c== :: LayoutOption -> LayoutOption -> Bool
Prelude.Eq,
Eq LayoutOption
LayoutOption -> LayoutOption -> Bool
LayoutOption -> LayoutOption -> Ordering
LayoutOption -> LayoutOption -> LayoutOption
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 :: LayoutOption -> LayoutOption -> LayoutOption
$cmin :: LayoutOption -> LayoutOption -> LayoutOption
max :: LayoutOption -> LayoutOption -> LayoutOption
$cmax :: LayoutOption -> LayoutOption -> LayoutOption
>= :: LayoutOption -> LayoutOption -> Bool
$c>= :: LayoutOption -> LayoutOption -> Bool
> :: LayoutOption -> LayoutOption -> Bool
$c> :: LayoutOption -> LayoutOption -> Bool
<= :: LayoutOption -> LayoutOption -> Bool
$c<= :: LayoutOption -> LayoutOption -> Bool
< :: LayoutOption -> LayoutOption -> Bool
$c< :: LayoutOption -> LayoutOption -> Bool
compare :: LayoutOption -> LayoutOption -> Ordering
$ccompare :: LayoutOption -> LayoutOption -> Ordering
Prelude.Ord,
forall x. Rep LayoutOption x -> LayoutOption
forall x. LayoutOption -> Rep LayoutOption x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LayoutOption x -> LayoutOption
$cfrom :: forall x. LayoutOption -> Rep LayoutOption x
Prelude.Generic
)
deriving newtype
( Eq LayoutOption
Int -> LayoutOption -> Int
LayoutOption -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: LayoutOption -> Int
$chash :: LayoutOption -> Int
hashWithSalt :: Int -> LayoutOption -> Int
$chashWithSalt :: Int -> LayoutOption -> Int
Prelude.Hashable,
LayoutOption -> ()
forall a. (a -> ()) -> NFData a
rnf :: LayoutOption -> ()
$crnf :: LayoutOption -> ()
Prelude.NFData,
Text -> Either String LayoutOption
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String LayoutOption
$cfromText :: Text -> Either String LayoutOption
Data.FromText,
LayoutOption -> Text
forall a. (a -> Text) -> ToText a
toText :: LayoutOption -> Text
$ctoText :: LayoutOption -> Text
Data.ToText,
LayoutOption -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: LayoutOption -> ByteString
$ctoBS :: LayoutOption -> ByteString
Data.ToByteString,
LayoutOption -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: LayoutOption -> ByteStringBuilder
$cbuild :: LayoutOption -> ByteStringBuilder
Data.ToLog,
HeaderName -> LayoutOption -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> LayoutOption -> [Header]
$ctoHeader :: HeaderName -> LayoutOption -> [Header]
Data.ToHeader,
LayoutOption -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: LayoutOption -> QueryString
$ctoQuery :: LayoutOption -> QueryString
Data.ToQuery,
Value -> Parser [LayoutOption]
Value -> Parser LayoutOption
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [LayoutOption]
$cparseJSONList :: Value -> Parser [LayoutOption]
parseJSON :: Value -> Parser LayoutOption
$cparseJSON :: Value -> Parser LayoutOption
Data.FromJSON,
FromJSONKeyFunction [LayoutOption]
FromJSONKeyFunction LayoutOption
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [LayoutOption]
$cfromJSONKeyList :: FromJSONKeyFunction [LayoutOption]
fromJSONKey :: FromJSONKeyFunction LayoutOption
$cfromJSONKey :: FromJSONKeyFunction LayoutOption
Data.FromJSONKey,
[LayoutOption] -> Encoding
[LayoutOption] -> Value
LayoutOption -> Encoding
LayoutOption -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [LayoutOption] -> Encoding
$ctoEncodingList :: [LayoutOption] -> Encoding
toJSONList :: [LayoutOption] -> Value
$ctoJSONList :: [LayoutOption] -> Value
toEncoding :: LayoutOption -> Encoding
$ctoEncoding :: LayoutOption -> Encoding
toJSON :: LayoutOption -> Value
$ctoJSON :: LayoutOption -> Value
Data.ToJSON,
ToJSONKeyFunction [LayoutOption]
ToJSONKeyFunction LayoutOption
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [LayoutOption]
$ctoJSONKeyList :: ToJSONKeyFunction [LayoutOption]
toJSONKey :: ToJSONKeyFunction LayoutOption
$ctoJSONKey :: ToJSONKeyFunction LayoutOption
Data.ToJSONKey,
[Node] -> Either String LayoutOption
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String LayoutOption
$cparseXML :: [Node] -> Either String LayoutOption
Data.FromXML,
LayoutOption -> XML
forall a. (a -> XML) -> ToXML a
toXML :: LayoutOption -> XML
$ctoXML :: LayoutOption -> XML
Data.ToXML
)
pattern LayoutOption_GridView :: LayoutOption
pattern $bLayoutOption_GridView :: LayoutOption
$mLayoutOption_GridView :: forall {r}. LayoutOption -> ((# #) -> r) -> ((# #) -> r) -> r
LayoutOption_GridView = LayoutOption' "GridView"
{-# COMPLETE
LayoutOption_GridView,
LayoutOption'
#-}