{-# 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.LineChartLineStyle
-- 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.LineChartLineStyle
  ( LineChartLineStyle
      ( ..,
        LineChartLineStyle_DASHED,
        LineChartLineStyle_DOTTED,
        LineChartLineStyle_SOLID
      ),
  )
where

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

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

pattern LineChartLineStyle_DASHED :: LineChartLineStyle
pattern $bLineChartLineStyle_DASHED :: LineChartLineStyle
$mLineChartLineStyle_DASHED :: forall {r}. LineChartLineStyle -> ((# #) -> r) -> ((# #) -> r) -> r
LineChartLineStyle_DASHED = LineChartLineStyle' "DASHED"

pattern LineChartLineStyle_DOTTED :: LineChartLineStyle
pattern $bLineChartLineStyle_DOTTED :: LineChartLineStyle
$mLineChartLineStyle_DOTTED :: forall {r}. LineChartLineStyle -> ((# #) -> r) -> ((# #) -> r) -> r
LineChartLineStyle_DOTTED = LineChartLineStyle' "DOTTED"

pattern LineChartLineStyle_SOLID :: LineChartLineStyle
pattern $bLineChartLineStyle_SOLID :: LineChartLineStyle
$mLineChartLineStyle_SOLID :: forall {r}. LineChartLineStyle -> ((# #) -> r) -> ((# #) -> r) -> r
LineChartLineStyle_SOLID = LineChartLineStyle' "SOLID"

{-# COMPLETE
  LineChartLineStyle_DASHED,
  LineChartLineStyle_DOTTED,
  LineChartLineStyle_SOLID,
  LineChartLineStyle'
  #-}