module Stratosphere.QuickSight.Dashboard.GeospatialCoordinateBoundsProperty (
        GeospatialCoordinateBoundsProperty(..),
        mkGeospatialCoordinateBoundsProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data GeospatialCoordinateBoundsProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html>
    GeospatialCoordinateBoundsProperty {GeospatialCoordinateBoundsProperty -> ()
haddock_workaround_ :: (),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-east>
                                        GeospatialCoordinateBoundsProperty -> Value Double
east :: (Value Prelude.Double),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-north>
                                        GeospatialCoordinateBoundsProperty -> Value Double
north :: (Value Prelude.Double),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-south>
                                        GeospatialCoordinateBoundsProperty -> Value Double
south :: (Value Prelude.Double),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-geospatialcoordinatebounds.html#cfn-quicksight-dashboard-geospatialcoordinatebounds-west>
                                        GeospatialCoordinateBoundsProperty -> Value Double
west :: (Value Prelude.Double)}
  deriving stock (GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty -> Bool
(GeospatialCoordinateBoundsProperty
 -> GeospatialCoordinateBoundsProperty -> Bool)
-> (GeospatialCoordinateBoundsProperty
    -> GeospatialCoordinateBoundsProperty -> Bool)
-> Eq GeospatialCoordinateBoundsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty -> Bool
== :: GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty -> Bool
$c/= :: GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty -> Bool
/= :: GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty -> Bool
Prelude.Eq, Int -> GeospatialCoordinateBoundsProperty -> ShowS
[GeospatialCoordinateBoundsProperty] -> ShowS
GeospatialCoordinateBoundsProperty -> String
(Int -> GeospatialCoordinateBoundsProperty -> ShowS)
-> (GeospatialCoordinateBoundsProperty -> String)
-> ([GeospatialCoordinateBoundsProperty] -> ShowS)
-> Show GeospatialCoordinateBoundsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GeospatialCoordinateBoundsProperty -> ShowS
showsPrec :: Int -> GeospatialCoordinateBoundsProperty -> ShowS
$cshow :: GeospatialCoordinateBoundsProperty -> String
show :: GeospatialCoordinateBoundsProperty -> String
$cshowList :: [GeospatialCoordinateBoundsProperty] -> ShowS
showList :: [GeospatialCoordinateBoundsProperty] -> ShowS
Prelude.Show)
mkGeospatialCoordinateBoundsProperty ::
  Value Prelude.Double
  -> Value Prelude.Double
     -> Value Prelude.Double
        -> Value Prelude.Double -> GeospatialCoordinateBoundsProperty
mkGeospatialCoordinateBoundsProperty :: Value Double
-> Value Double
-> Value Double
-> Value Double
-> GeospatialCoordinateBoundsProperty
mkGeospatialCoordinateBoundsProperty Value Double
east Value Double
north Value Double
south Value Double
west
  = GeospatialCoordinateBoundsProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), east :: Value Double
east = Value Double
east, north :: Value Double
north = Value Double
north,
       south :: Value Double
south = Value Double
south, west :: Value Double
west = Value Double
west}
instance ToResourceProperties GeospatialCoordinateBoundsProperty where
  toResourceProperties :: GeospatialCoordinateBoundsProperty -> ResourceProperties
toResourceProperties GeospatialCoordinateBoundsProperty {()
Value Double
haddock_workaround_ :: GeospatialCoordinateBoundsProperty -> ()
east :: GeospatialCoordinateBoundsProperty -> Value Double
north :: GeospatialCoordinateBoundsProperty -> Value Double
south :: GeospatialCoordinateBoundsProperty -> Value Double
west :: GeospatialCoordinateBoundsProperty -> Value Double
haddock_workaround_ :: ()
east :: Value Double
north :: Value Double
south :: Value Double
west :: Value Double
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QuickSight::Dashboard.GeospatialCoordinateBounds",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"East" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
east, Key
"North" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
north,
                       Key
"South" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
south, Key
"West" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
west]}
instance JSON.ToJSON GeospatialCoordinateBoundsProperty where
  toJSON :: GeospatialCoordinateBoundsProperty -> Value
toJSON GeospatialCoordinateBoundsProperty {()
Value Double
haddock_workaround_ :: GeospatialCoordinateBoundsProperty -> ()
east :: GeospatialCoordinateBoundsProperty -> Value Double
north :: GeospatialCoordinateBoundsProperty -> Value Double
south :: GeospatialCoordinateBoundsProperty -> Value Double
west :: GeospatialCoordinateBoundsProperty -> Value Double
haddock_workaround_ :: ()
east :: Value Double
north :: Value Double
south :: Value Double
west :: Value Double
..}
    = [(Key, Value)] -> Value
JSON.object
        [Key
"East" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
east, Key
"North" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
north, Key
"South" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
south,
         Key
"West" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
west]
instance Property "East" GeospatialCoordinateBoundsProperty where
  type PropertyType "East" GeospatialCoordinateBoundsProperty = Value Prelude.Double
  set :: PropertyType "East" GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty
set PropertyType "East" GeospatialCoordinateBoundsProperty
newValue GeospatialCoordinateBoundsProperty {()
Value Double
haddock_workaround_ :: GeospatialCoordinateBoundsProperty -> ()
east :: GeospatialCoordinateBoundsProperty -> Value Double
north :: GeospatialCoordinateBoundsProperty -> Value Double
south :: GeospatialCoordinateBoundsProperty -> Value Double
west :: GeospatialCoordinateBoundsProperty -> Value Double
haddock_workaround_ :: ()
east :: Value Double
north :: Value Double
south :: Value Double
west :: Value Double
..}
    = GeospatialCoordinateBoundsProperty {east :: Value Double
east = PropertyType "East" GeospatialCoordinateBoundsProperty
Value Double
newValue, ()
Value Double
haddock_workaround_ :: ()
north :: Value Double
south :: Value Double
west :: Value Double
haddock_workaround_ :: ()
north :: Value Double
south :: Value Double
west :: Value Double
..}
instance Property "North" GeospatialCoordinateBoundsProperty where
  type PropertyType "North" GeospatialCoordinateBoundsProperty = Value Prelude.Double
  set :: PropertyType "North" GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty
set PropertyType "North" GeospatialCoordinateBoundsProperty
newValue GeospatialCoordinateBoundsProperty {()
Value Double
haddock_workaround_ :: GeospatialCoordinateBoundsProperty -> ()
east :: GeospatialCoordinateBoundsProperty -> Value Double
north :: GeospatialCoordinateBoundsProperty -> Value Double
south :: GeospatialCoordinateBoundsProperty -> Value Double
west :: GeospatialCoordinateBoundsProperty -> Value Double
haddock_workaround_ :: ()
east :: Value Double
north :: Value Double
south :: Value Double
west :: Value Double
..}
    = GeospatialCoordinateBoundsProperty {north :: Value Double
north = PropertyType "North" GeospatialCoordinateBoundsProperty
Value Double
newValue, ()
Value Double
haddock_workaround_ :: ()
east :: Value Double
south :: Value Double
west :: Value Double
haddock_workaround_ :: ()
east :: Value Double
south :: Value Double
west :: Value Double
..}
instance Property "South" GeospatialCoordinateBoundsProperty where
  type PropertyType "South" GeospatialCoordinateBoundsProperty = Value Prelude.Double
  set :: PropertyType "South" GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty
set PropertyType "South" GeospatialCoordinateBoundsProperty
newValue GeospatialCoordinateBoundsProperty {()
Value Double
haddock_workaround_ :: GeospatialCoordinateBoundsProperty -> ()
east :: GeospatialCoordinateBoundsProperty -> Value Double
north :: GeospatialCoordinateBoundsProperty -> Value Double
south :: GeospatialCoordinateBoundsProperty -> Value Double
west :: GeospatialCoordinateBoundsProperty -> Value Double
haddock_workaround_ :: ()
east :: Value Double
north :: Value Double
south :: Value Double
west :: Value Double
..}
    = GeospatialCoordinateBoundsProperty {south :: Value Double
south = PropertyType "South" GeospatialCoordinateBoundsProperty
Value Double
newValue, ()
Value Double
haddock_workaround_ :: ()
east :: Value Double
north :: Value Double
west :: Value Double
haddock_workaround_ :: ()
east :: Value Double
north :: Value Double
west :: Value Double
..}
instance Property "West" GeospatialCoordinateBoundsProperty where
  type PropertyType "West" GeospatialCoordinateBoundsProperty = Value Prelude.Double
  set :: PropertyType "West" GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty
-> GeospatialCoordinateBoundsProperty
set PropertyType "West" GeospatialCoordinateBoundsProperty
newValue GeospatialCoordinateBoundsProperty {()
Value Double
haddock_workaround_ :: GeospatialCoordinateBoundsProperty -> ()
east :: GeospatialCoordinateBoundsProperty -> Value Double
north :: GeospatialCoordinateBoundsProperty -> Value Double
south :: GeospatialCoordinateBoundsProperty -> Value Double
west :: GeospatialCoordinateBoundsProperty -> Value Double
haddock_workaround_ :: ()
east :: Value Double
north :: Value Double
south :: Value Double
west :: Value Double
..}
    = GeospatialCoordinateBoundsProperty {west :: Value Double
west = PropertyType "West" GeospatialCoordinateBoundsProperty
Value Double
newValue, ()
Value Double
haddock_workaround_ :: ()
east :: Value Double
north :: Value Double
south :: Value Double
haddock_workaround_ :: ()
east :: Value Double
north :: Value Double
south :: Value Double
..}