AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
GeospatialMapState.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/GeospatialCoordinateBounds.h>
9#include <aws/quicksight/model/GeospatialMapNavigation.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API GeospatialMapState() = default;
31 AWS_QUICKSIGHT_API GeospatialMapState(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const GeospatialCoordinateBounds& GetBounds() const { return m_bounds; }
38 inline bool BoundsHasBeenSet() const { return m_boundsHasBeenSet; }
39 template <typename BoundsT = GeospatialCoordinateBounds>
40 void SetBounds(BoundsT&& value) {
41 m_boundsHasBeenSet = true;
42 m_bounds = std::forward<BoundsT>(value);
43 }
44 template <typename BoundsT = GeospatialCoordinateBounds>
45 GeospatialMapState& WithBounds(BoundsT&& value) {
46 SetBounds(std::forward<BoundsT>(value));
47 return *this;
48 }
50
52
55 inline GeospatialMapNavigation GetMapNavigation() const { return m_mapNavigation; }
56 inline bool MapNavigationHasBeenSet() const { return m_mapNavigationHasBeenSet; }
58 m_mapNavigationHasBeenSet = true;
59 m_mapNavigation = value;
60 }
62 SetMapNavigation(value);
63 return *this;
64 }
66 private:
68
70 bool m_boundsHasBeenSet = false;
71 bool m_mapNavigationHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
const GeospatialCoordinateBounds & GetBounds() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GeospatialMapNavigation GetMapNavigation() const
GeospatialMapState & WithBounds(BoundsT &&value)
GeospatialMapState & WithMapNavigation(GeospatialMapNavigation value)
AWS_QUICKSIGHT_API GeospatialMapState(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API GeospatialMapState & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMapNavigation(GeospatialMapNavigation value)
AWS_QUICKSIGHT_API GeospatialMapState()=default
Aws::Utils::Json::JsonValue JsonValue