module Stratosphere.QuickSight.Analysis.GeospatialPointStyleOptionsProperty (
        module Exports, GeospatialPointStyleOptionsProperty(..),
        mkGeospatialPointStyleOptionsProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Analysis.ClusterMarkerConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Analysis.GeospatialHeatmapConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data GeospatialPointStyleOptionsProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-geospatialpointstyleoptions.html>
    GeospatialPointStyleOptionsProperty {GeospatialPointStyleOptionsProperty -> ()
haddock_workaround_ :: (),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-geospatialpointstyleoptions.html#cfn-quicksight-analysis-geospatialpointstyleoptions-clustermarkerconfiguration>
                                         GeospatialPointStyleOptionsProperty
-> Maybe ClusterMarkerConfigurationProperty
clusterMarkerConfiguration :: (Prelude.Maybe ClusterMarkerConfigurationProperty),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-geospatialpointstyleoptions.html#cfn-quicksight-analysis-geospatialpointstyleoptions-heatmapconfiguration>
                                         GeospatialPointStyleOptionsProperty
-> Maybe GeospatialHeatmapConfigurationProperty
heatmapConfiguration :: (Prelude.Maybe GeospatialHeatmapConfigurationProperty),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-geospatialpointstyleoptions.html#cfn-quicksight-analysis-geospatialpointstyleoptions-selectedpointstyle>
                                         GeospatialPointStyleOptionsProperty -> Maybe (Value Text)
selectedPointStyle :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty -> Bool
(GeospatialPointStyleOptionsProperty
 -> GeospatialPointStyleOptionsProperty -> Bool)
-> (GeospatialPointStyleOptionsProperty
    -> GeospatialPointStyleOptionsProperty -> Bool)
-> Eq GeospatialPointStyleOptionsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty -> Bool
== :: GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty -> Bool
$c/= :: GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty -> Bool
/= :: GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty -> Bool
Prelude.Eq, Int -> GeospatialPointStyleOptionsProperty -> ShowS
[GeospatialPointStyleOptionsProperty] -> ShowS
GeospatialPointStyleOptionsProperty -> String
(Int -> GeospatialPointStyleOptionsProperty -> ShowS)
-> (GeospatialPointStyleOptionsProperty -> String)
-> ([GeospatialPointStyleOptionsProperty] -> ShowS)
-> Show GeospatialPointStyleOptionsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GeospatialPointStyleOptionsProperty -> ShowS
showsPrec :: Int -> GeospatialPointStyleOptionsProperty -> ShowS
$cshow :: GeospatialPointStyleOptionsProperty -> String
show :: GeospatialPointStyleOptionsProperty -> String
$cshowList :: [GeospatialPointStyleOptionsProperty] -> ShowS
showList :: [GeospatialPointStyleOptionsProperty] -> ShowS
Prelude.Show)
mkGeospatialPointStyleOptionsProperty ::
  GeospatialPointStyleOptionsProperty
mkGeospatialPointStyleOptionsProperty :: GeospatialPointStyleOptionsProperty
mkGeospatialPointStyleOptionsProperty
  = GeospatialPointStyleOptionsProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
clusterMarkerConfiguration = Maybe ClusterMarkerConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
heatmapConfiguration = Maybe GeospatialHeatmapConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       selectedPointStyle :: Maybe (Value Text)
selectedPointStyle = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties GeospatialPointStyleOptionsProperty where
  toResourceProperties :: GeospatialPointStyleOptionsProperty -> ResourceProperties
toResourceProperties GeospatialPointStyleOptionsProperty {Maybe (Value Text)
Maybe GeospatialHeatmapConfigurationProperty
Maybe ClusterMarkerConfigurationProperty
()
haddock_workaround_ :: GeospatialPointStyleOptionsProperty -> ()
clusterMarkerConfiguration :: GeospatialPointStyleOptionsProperty
-> Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: GeospatialPointStyleOptionsProperty
-> Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: GeospatialPointStyleOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QuickSight::Analysis.GeospatialPointStyleOptions",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> ClusterMarkerConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ClusterMarkerConfiguration"
                              (ClusterMarkerConfigurationProperty -> (Key, Value))
-> Maybe ClusterMarkerConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ClusterMarkerConfigurationProperty
clusterMarkerConfiguration,
                            Key -> GeospatialHeatmapConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HeatmapConfiguration" (GeospatialHeatmapConfigurationProperty -> (Key, Value))
-> Maybe GeospatialHeatmapConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe GeospatialHeatmapConfigurationProperty
heatmapConfiguration,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SelectedPointStyle" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
selectedPointStyle])}
instance JSON.ToJSON GeospatialPointStyleOptionsProperty where
  toJSON :: GeospatialPointStyleOptionsProperty -> Value
toJSON GeospatialPointStyleOptionsProperty {Maybe (Value Text)
Maybe GeospatialHeatmapConfigurationProperty
Maybe ClusterMarkerConfigurationProperty
()
haddock_workaround_ :: GeospatialPointStyleOptionsProperty -> ()
clusterMarkerConfiguration :: GeospatialPointStyleOptionsProperty
-> Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: GeospatialPointStyleOptionsProperty
-> Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: GeospatialPointStyleOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> ClusterMarkerConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ClusterMarkerConfiguration"
                 (ClusterMarkerConfigurationProperty -> (Key, Value))
-> Maybe ClusterMarkerConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ClusterMarkerConfigurationProperty
clusterMarkerConfiguration,
               Key -> GeospatialHeatmapConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HeatmapConfiguration" (GeospatialHeatmapConfigurationProperty -> (Key, Value))
-> Maybe GeospatialHeatmapConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe GeospatialHeatmapConfigurationProperty
heatmapConfiguration,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SelectedPointStyle" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
selectedPointStyle]))
instance Property "ClusterMarkerConfiguration" GeospatialPointStyleOptionsProperty where
  type PropertyType "ClusterMarkerConfiguration" GeospatialPointStyleOptionsProperty = ClusterMarkerConfigurationProperty
  set :: PropertyType
  "ClusterMarkerConfiguration" GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty
set PropertyType
  "ClusterMarkerConfiguration" GeospatialPointStyleOptionsProperty
newValue GeospatialPointStyleOptionsProperty {Maybe (Value Text)
Maybe GeospatialHeatmapConfigurationProperty
Maybe ClusterMarkerConfigurationProperty
()
haddock_workaround_ :: GeospatialPointStyleOptionsProperty -> ()
clusterMarkerConfiguration :: GeospatialPointStyleOptionsProperty
-> Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: GeospatialPointStyleOptionsProperty
-> Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: GeospatialPointStyleOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: Maybe (Value Text)
..}
    = GeospatialPointStyleOptionsProperty
        {clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
clusterMarkerConfiguration = ClusterMarkerConfigurationProperty
-> Maybe ClusterMarkerConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ClusterMarkerConfiguration" GeospatialPointStyleOptionsProperty
ClusterMarkerConfigurationProperty
newValue, Maybe (Value Text)
Maybe GeospatialHeatmapConfigurationProperty
()
haddock_workaround_ :: ()
heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: Maybe (Value Text)
haddock_workaround_ :: ()
heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: Maybe (Value Text)
..}
instance Property "HeatmapConfiguration" GeospatialPointStyleOptionsProperty where
  type PropertyType "HeatmapConfiguration" GeospatialPointStyleOptionsProperty = GeospatialHeatmapConfigurationProperty
  set :: PropertyType
  "HeatmapConfiguration" GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty
set PropertyType
  "HeatmapConfiguration" GeospatialPointStyleOptionsProperty
newValue GeospatialPointStyleOptionsProperty {Maybe (Value Text)
Maybe GeospatialHeatmapConfigurationProperty
Maybe ClusterMarkerConfigurationProperty
()
haddock_workaround_ :: GeospatialPointStyleOptionsProperty -> ()
clusterMarkerConfiguration :: GeospatialPointStyleOptionsProperty
-> Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: GeospatialPointStyleOptionsProperty
-> Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: GeospatialPointStyleOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: Maybe (Value Text)
..}
    = GeospatialPointStyleOptionsProperty
        {heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
heatmapConfiguration = GeospatialHeatmapConfigurationProperty
-> Maybe GeospatialHeatmapConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "HeatmapConfiguration" GeospatialPointStyleOptionsProperty
GeospatialHeatmapConfigurationProperty
newValue, Maybe (Value Text)
Maybe ClusterMarkerConfigurationProperty
()
haddock_workaround_ :: ()
clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
selectedPointStyle :: Maybe (Value Text)
haddock_workaround_ :: ()
clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
selectedPointStyle :: Maybe (Value Text)
..}
instance Property "SelectedPointStyle" GeospatialPointStyleOptionsProperty where
  type PropertyType "SelectedPointStyle" GeospatialPointStyleOptionsProperty = Value Prelude.Text
  set :: PropertyType
  "SelectedPointStyle" GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty
-> GeospatialPointStyleOptionsProperty
set PropertyType
  "SelectedPointStyle" GeospatialPointStyleOptionsProperty
newValue GeospatialPointStyleOptionsProperty {Maybe (Value Text)
Maybe GeospatialHeatmapConfigurationProperty
Maybe ClusterMarkerConfigurationProperty
()
haddock_workaround_ :: GeospatialPointStyleOptionsProperty -> ()
clusterMarkerConfiguration :: GeospatialPointStyleOptionsProperty
-> Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: GeospatialPointStyleOptionsProperty
-> Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: GeospatialPointStyleOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
selectedPointStyle :: Maybe (Value Text)
..}
    = GeospatialPointStyleOptionsProperty
        {selectedPointStyle :: Maybe (Value Text)
selectedPointStyle = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "SelectedPointStyle" GeospatialPointStyleOptionsProperty
Value Text
newValue, Maybe GeospatialHeatmapConfigurationProperty
Maybe ClusterMarkerConfigurationProperty
()
haddock_workaround_ :: ()
clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
haddock_workaround_ :: ()
clusterMarkerConfiguration :: Maybe ClusterMarkerConfigurationProperty
heatmapConfiguration :: Maybe GeospatialHeatmapConfigurationProperty
..}