{-# 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.TargetVisualOptions
-- 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.TargetVisualOptions
  ( TargetVisualOptions
      ( ..,
        TargetVisualOptions_ALL_VISUALS
      ),
  )
where

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

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

pattern TargetVisualOptions_ALL_VISUALS :: TargetVisualOptions
pattern $bTargetVisualOptions_ALL_VISUALS :: TargetVisualOptions
$mTargetVisualOptions_ALL_VISUALS :: forall {r}.
TargetVisualOptions -> ((# #) -> r) -> ((# #) -> r) -> r
TargetVisualOptions_ALL_VISUALS = TargetVisualOptions' "ALL_VISUALS"

{-# COMPLETE
  TargetVisualOptions_ALL_VISUALS,
  TargetVisualOptions'
  #-}