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