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