AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API GeospatialWindowOptions() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const GeospatialCoordinateBounds& GetBounds() const { return m_bounds; }
48 inline bool BoundsHasBeenSet() const { return m_boundsHasBeenSet; }
49 template<typename BoundsT = GeospatialCoordinateBounds>
50 void SetBounds(BoundsT&& value) { m_boundsHasBeenSet = true; m_bounds = std::forward<BoundsT>(value); }
51 template<typename BoundsT = GeospatialCoordinateBounds>
52 GeospatialWindowOptions& WithBounds(BoundsT&& value) { SetBounds(std::forward<BoundsT>(value)); return *this;}
54
56
59 inline MapZoomMode GetMapZoomMode() const { return m_mapZoomMode; }
60 inline bool MapZoomModeHasBeenSet() const { return m_mapZoomModeHasBeenSet; }
61 inline void SetMapZoomMode(MapZoomMode value) { m_mapZoomModeHasBeenSet = true; m_mapZoomMode = value; }
62 inline GeospatialWindowOptions& WithMapZoomMode(MapZoomMode value) { SetMapZoomMode(value); return *this;}
64 private:
65
67 bool m_boundsHasBeenSet = false;
68
69 MapZoomMode m_mapZoomMode{MapZoomMode::NOT_SET};
70 bool m_mapZoomModeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace QuickSight
75} // 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