{-# 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.LineChartMarkerShape
-- 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.LineChartMarkerShape
  ( LineChartMarkerShape
      ( ..,
        LineChartMarkerShape_CIRCLE,
        LineChartMarkerShape_DIAMOND,
        LineChartMarkerShape_ROUNDED_SQUARE,
        LineChartMarkerShape_SQUARE,
        LineChartMarkerShape_TRIANGLE
      ),
  )
where

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

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

pattern LineChartMarkerShape_CIRCLE :: LineChartMarkerShape
pattern $bLineChartMarkerShape_CIRCLE :: LineChartMarkerShape
$mLineChartMarkerShape_CIRCLE :: forall {r}.
LineChartMarkerShape -> ((# #) -> r) -> ((# #) -> r) -> r
LineChartMarkerShape_CIRCLE = LineChartMarkerShape' "CIRCLE"

pattern LineChartMarkerShape_DIAMOND :: LineChartMarkerShape
pattern $bLineChartMarkerShape_DIAMOND :: LineChartMarkerShape
$mLineChartMarkerShape_DIAMOND :: forall {r}.
LineChartMarkerShape -> ((# #) -> r) -> ((# #) -> r) -> r
LineChartMarkerShape_DIAMOND = LineChartMarkerShape' "DIAMOND"

pattern LineChartMarkerShape_ROUNDED_SQUARE :: LineChartMarkerShape
pattern $bLineChartMarkerShape_ROUNDED_SQUARE :: LineChartMarkerShape
$mLineChartMarkerShape_ROUNDED_SQUARE :: forall {r}.
LineChartMarkerShape -> ((# #) -> r) -> ((# #) -> r) -> r
LineChartMarkerShape_ROUNDED_SQUARE = LineChartMarkerShape' "ROUNDED_SQUARE"

pattern LineChartMarkerShape_SQUARE :: LineChartMarkerShape
pattern $bLineChartMarkerShape_SQUARE :: LineChartMarkerShape
$mLineChartMarkerShape_SQUARE :: forall {r}.
LineChartMarkerShape -> ((# #) -> r) -> ((# #) -> r) -> r
LineChartMarkerShape_SQUARE = LineChartMarkerShape' "SQUARE"

pattern LineChartMarkerShape_TRIANGLE :: LineChartMarkerShape
pattern $bLineChartMarkerShape_TRIANGLE :: LineChartMarkerShape
$mLineChartMarkerShape_TRIANGLE :: forall {r}.
LineChartMarkerShape -> ((# #) -> r) -> ((# #) -> r) -> r
LineChartMarkerShape_TRIANGLE = LineChartMarkerShape' "TRIANGLE"

{-# COMPLETE
  LineChartMarkerShape_CIRCLE,
  LineChartMarkerShape_DIAMOND,
  LineChartMarkerShape_ROUNDED_SQUARE,
  LineChartMarkerShape_SQUARE,
  LineChartMarkerShape_TRIANGLE,
  LineChartMarkerShape'
  #-}