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