{-# 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.TableFieldIconSetType
-- 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.TableFieldIconSetType
  ( TableFieldIconSetType
      ( ..,
        TableFieldIconSetType_LINK
      ),
  )
where

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

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

pattern TableFieldIconSetType_LINK :: TableFieldIconSetType
pattern $bTableFieldIconSetType_LINK :: TableFieldIconSetType
$mTableFieldIconSetType_LINK :: forall {r}.
TableFieldIconSetType -> ((# #) -> r) -> ((# #) -> r) -> r
TableFieldIconSetType_LINK = TableFieldIconSetType' "LINK"

{-# COMPLETE
  TableFieldIconSetType_LINK,
  TableFieldIconSetType'
  #-}