/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The window options of the geospatial map visual.

See Also:

* AWS * API Reference

*/ class GeospatialWindowOptions { public: AWS_QUICKSIGHT_API GeospatialWindowOptions(); AWS_QUICKSIGHT_API GeospatialWindowOptions(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API GeospatialWindowOptions& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The bounds options (north, south, west, east) of the geospatial window * options.

*/ inline const GeospatialCoordinateBounds& GetBounds() const{ return m_bounds; } /** *

The bounds options (north, south, west, east) of the geospatial window * options.

*/ inline bool BoundsHasBeenSet() const { return m_boundsHasBeenSet; } /** *

The bounds options (north, south, west, east) of the geospatial window * options.

*/ inline void SetBounds(const GeospatialCoordinateBounds& value) { m_boundsHasBeenSet = true; m_bounds = value; } /** *

The bounds options (north, south, west, east) of the geospatial window * options.

*/ inline void SetBounds(GeospatialCoordinateBounds&& value) { m_boundsHasBeenSet = true; m_bounds = std::move(value); } /** *

The bounds options (north, south, west, east) of the geospatial window * options.

*/ inline GeospatialWindowOptions& WithBounds(const GeospatialCoordinateBounds& value) { SetBounds(value); return *this;} /** *

The bounds options (north, south, west, east) of the geospatial window * options.

*/ inline GeospatialWindowOptions& WithBounds(GeospatialCoordinateBounds&& value) { SetBounds(std::move(value)); return *this;} /** *

The map zoom modes (manual, auto) of the geospatial window options.

*/ inline const MapZoomMode& GetMapZoomMode() const{ return m_mapZoomMode; } /** *

The map zoom modes (manual, auto) of the geospatial window options.

*/ inline bool MapZoomModeHasBeenSet() const { return m_mapZoomModeHasBeenSet; } /** *

The map zoom modes (manual, auto) of the geospatial window options.

*/ inline void SetMapZoomMode(const MapZoomMode& value) { m_mapZoomModeHasBeenSet = true; m_mapZoomMode = value; } /** *

The map zoom modes (manual, auto) of the geospatial window options.

*/ inline void SetMapZoomMode(MapZoomMode&& value) { m_mapZoomModeHasBeenSet = true; m_mapZoomMode = std::move(value); } /** *

The map zoom modes (manual, auto) of the geospatial window options.

*/ inline GeospatialWindowOptions& WithMapZoomMode(const MapZoomMode& value) { SetMapZoomMode(value); return *this;} /** *

The map zoom modes (manual, auto) of the geospatial window options.

*/ inline GeospatialWindowOptions& WithMapZoomMode(MapZoomMode&& value) { SetMapZoomMode(std::move(value)); return *this;} private: GeospatialCoordinateBounds m_bounds; bool m_boundsHasBeenSet = false; MapZoomMode m_mapZoomMode; bool m_mapZoomModeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws