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