{-# 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.GeospatialSelectedPointStyle
-- 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.GeospatialSelectedPointStyle
  ( GeospatialSelectedPointStyle
      ( ..,
        GeospatialSelectedPointStyle_CLUSTER,
        GeospatialSelectedPointStyle_POINT
      ),
  )
where

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

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

pattern GeospatialSelectedPointStyle_CLUSTER :: GeospatialSelectedPointStyle
pattern $bGeospatialSelectedPointStyle_CLUSTER :: GeospatialSelectedPointStyle
$mGeospatialSelectedPointStyle_CLUSTER :: forall {r}.
GeospatialSelectedPointStyle -> ((# #) -> r) -> ((# #) -> r) -> r
GeospatialSelectedPointStyle_CLUSTER = GeospatialSelectedPointStyle' "CLUSTER"

pattern GeospatialSelectedPointStyle_POINT :: GeospatialSelectedPointStyle
pattern $bGeospatialSelectedPointStyle_POINT :: GeospatialSelectedPointStyle
$mGeospatialSelectedPointStyle_POINT :: forall {r}.
GeospatialSelectedPointStyle -> ((# #) -> r) -> ((# #) -> r) -> r
GeospatialSelectedPointStyle_POINT = GeospatialSelectedPointStyle' "POINT"

{-# COMPLETE
  GeospatialSelectedPointStyle_CLUSTER,
  GeospatialSelectedPointStyle_POINT,
  GeospatialSelectedPointStyle'
  #-}