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