{-# 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.CategoryFilterSelectAllOptions
-- 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.CategoryFilterSelectAllOptions
  ( CategoryFilterSelectAllOptions
      ( ..,
        CategoryFilterSelectAllOptions_FILTER_ALL_VALUES
      ),
  )
where

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

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

pattern CategoryFilterSelectAllOptions_FILTER_ALL_VALUES :: CategoryFilterSelectAllOptions
pattern $bCategoryFilterSelectAllOptions_FILTER_ALL_VALUES :: CategoryFilterSelectAllOptions
$mCategoryFilterSelectAllOptions_FILTER_ALL_VALUES :: forall {r}.
CategoryFilterSelectAllOptions -> ((# #) -> r) -> ((# #) -> r) -> r
CategoryFilterSelectAllOptions_FILTER_ALL_VALUES = CategoryFilterSelectAllOptions' "FILTER_ALL_VALUES"

{-# COMPLETE
  CategoryFilterSelectAllOptions_FILTER_ALL_VALUES,
  CategoryFilterSelectAllOptions'
  #-}