{-# 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.ArcThickness
-- 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.ArcThickness
  ( ArcThickness
      ( ..,
        ArcThickness_LARGE,
        ArcThickness_MEDIUM,
        ArcThickness_SMALL,
        ArcThickness_WHOLE
      ),
  )
where

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

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

pattern ArcThickness_LARGE :: ArcThickness
pattern $bArcThickness_LARGE :: ArcThickness
$mArcThickness_LARGE :: forall {r}. ArcThickness -> ((# #) -> r) -> ((# #) -> r) -> r
ArcThickness_LARGE = ArcThickness' "LARGE"

pattern ArcThickness_MEDIUM :: ArcThickness
pattern $bArcThickness_MEDIUM :: ArcThickness
$mArcThickness_MEDIUM :: forall {r}. ArcThickness -> ((# #) -> r) -> ((# #) -> r) -> r
ArcThickness_MEDIUM = ArcThickness' "MEDIUM"

pattern ArcThickness_SMALL :: ArcThickness
pattern $bArcThickness_SMALL :: ArcThickness
$mArcThickness_SMALL :: forall {r}. ArcThickness -> ((# #) -> r) -> ((# #) -> r) -> r
ArcThickness_SMALL = ArcThickness' "SMALL"

pattern ArcThickness_WHOLE :: ArcThickness
pattern $bArcThickness_WHOLE :: ArcThickness
$mArcThickness_WHOLE :: forall {r}. ArcThickness -> ((# #) -> r) -> ((# #) -> r) -> r
ArcThickness_WHOLE = ArcThickness' "WHOLE"

{-# COMPLETE
  ArcThickness_LARGE,
  ArcThickness_MEDIUM,
  ArcThickness_SMALL,
  ArcThickness_WHOLE,
  ArcThickness'
  #-}