{-# 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.SelectedTooltipType
-- 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.SelectedTooltipType
  ( SelectedTooltipType
      ( ..,
        SelectedTooltipType_BASIC,
        SelectedTooltipType_DETAILED
      ),
  )
where

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

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

pattern SelectedTooltipType_BASIC :: SelectedTooltipType
pattern $bSelectedTooltipType_BASIC :: SelectedTooltipType
$mSelectedTooltipType_BASIC :: forall {r}.
SelectedTooltipType -> ((# #) -> r) -> ((# #) -> r) -> r
SelectedTooltipType_BASIC = SelectedTooltipType' "BASIC"

pattern SelectedTooltipType_DETAILED :: SelectedTooltipType
pattern $bSelectedTooltipType_DETAILED :: SelectedTooltipType
$mSelectedTooltipType_DETAILED :: forall {r}.
SelectedTooltipType -> ((# #) -> r) -> ((# #) -> r) -> r
SelectedTooltipType_DETAILED = SelectedTooltipType' "DETAILED"

{-# COMPLETE
  SelectedTooltipType_BASIC,
  SelectedTooltipType_DETAILED,
  SelectedTooltipType'
  #-}