{-# 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.QuickSight.Types.SelectAllValueOptions
-- 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.QuickSight.Types.SelectAllValueOptions
  ( SelectAllValueOptions
      ( ..,
        SelectAllValueOptions_ALL_VALUES
      ),
  )
where

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

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

pattern SelectAllValueOptions_ALL_VALUES :: SelectAllValueOptions
pattern $bSelectAllValueOptions_ALL_VALUES :: SelectAllValueOptions
$mSelectAllValueOptions_ALL_VALUES :: forall {r}.
SelectAllValueOptions -> ((# #) -> r) -> ((# #) -> r) -> r
SelectAllValueOptions_ALL_VALUES = SelectAllValueOptions' "ALL_VALUES"

{-# COMPLETE
  SelectAllValueOptions_ALL_VALUES,
  SelectAllValueOptions'
  #-}