{-# 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.ArcThicknessOptions
-- 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.ArcThicknessOptions
  ( ArcThicknessOptions
      ( ..,
        ArcThicknessOptions_LARGE,
        ArcThicknessOptions_MEDIUM,
        ArcThicknessOptions_SMALL
      ),
  )
where

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

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

pattern ArcThicknessOptions_LARGE :: ArcThicknessOptions
pattern $bArcThicknessOptions_LARGE :: ArcThicknessOptions
$mArcThicknessOptions_LARGE :: forall {r}.
ArcThicknessOptions -> ((# #) -> r) -> ((# #) -> r) -> r
ArcThicknessOptions_LARGE = ArcThicknessOptions' "LARGE"

pattern ArcThicknessOptions_MEDIUM :: ArcThicknessOptions
pattern $bArcThicknessOptions_MEDIUM :: ArcThicknessOptions
$mArcThicknessOptions_MEDIUM :: forall {r}.
ArcThicknessOptions -> ((# #) -> r) -> ((# #) -> r) -> r
ArcThicknessOptions_MEDIUM = ArcThicknessOptions' "MEDIUM"

pattern ArcThicknessOptions_SMALL :: ArcThicknessOptions
pattern $bArcThicknessOptions_SMALL :: ArcThicknessOptions
$mArcThicknessOptions_SMALL :: forall {r}.
ArcThicknessOptions -> ((# #) -> r) -> ((# #) -> r) -> r
ArcThicknessOptions_SMALL = ArcThicknessOptions' "SMALL"

{-# COMPLETE
  ArcThicknessOptions_LARGE,
  ArcThicknessOptions_MEDIUM,
  ArcThicknessOptions_SMALL,
  ArcThicknessOptions'
  #-}