AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GeospatialWindowOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/GeospatialCoordinateBounds.h>
9#include <aws/quicksight/model/MapZoomMode.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
30 public:
31 AWS_QUICKSIGHT_API GeospatialWindowOptions() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const GeospatialCoordinateBounds& GetBounds() const { return m_bounds; }
42 inline bool BoundsHasBeenSet() const { return m_boundsHasBeenSet; }
43 template <typename BoundsT = GeospatialCoordinateBounds>
44 void SetBounds(BoundsT&& value) {
45 m_boundsHasBeenSet = true;
46 m_bounds = std::forward<BoundsT>(value);
47 }
48 template <typename BoundsT = GeospatialCoordinateBounds>
50 SetBounds(std::forward<BoundsT>(value));
51 return *this;
52 }
54
56
59 inline MapZoomMode GetMapZoomMode() const { return m_mapZoomMode; }
60 inline bool MapZoomModeHasBeenSet() const { return m_mapZoomModeHasBeenSet; }
61 inline void SetMapZoomMode(MapZoomMode value) {
62 m_mapZoomModeHasBeenSet = true;
63 m_mapZoomMode = value;
64 }
66 SetMapZoomMode(value);
67 return *this;
68 }
70 private:
72
73 MapZoomMode m_mapZoomMode{MapZoomMode::NOT_SET};
74 bool m_boundsHasBeenSet = false;
75 bool m_mapZoomModeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
const GeospatialCoordinateBounds & GetBounds() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GeospatialWindowOptions & WithBounds(BoundsT &&value)
AWS_QUICKSIGHT_API GeospatialWindowOptions()=default
AWS_QUICKSIGHT_API GeospatialWindowOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
GeospatialWindowOptions & WithMapZoomMode(MapZoomMode value)
AWS_QUICKSIGHT_API GeospatialWindowOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue