AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
GeospatialLayerMapConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/GeospatialLayerItem.h>
10#include <aws/quicksight/model/GeospatialMapState.h>
11#include <aws/quicksight/model/GeospatialMapStyle.h>
12#include <aws/quicksight/model/LegendOptions.h>
13#include <aws/quicksight/model/VisualInteractionOptions.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
26
34 public:
35 AWS_QUICKSIGHT_API GeospatialLayerMapConfiguration() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
42 inline const LegendOptions& GetLegend() const { return m_legend; }
43 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
44 template <typename LegendT = LegendOptions>
45 void SetLegend(LegendT&& value) {
46 m_legendHasBeenSet = true;
47 m_legend = std::forward<LegendT>(value);
48 }
49 template <typename LegendT = LegendOptions>
51 SetLegend(std::forward<LegendT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<GeospatialLayerItem>& GetMapLayers() const { return m_mapLayers; }
61 inline bool MapLayersHasBeenSet() const { return m_mapLayersHasBeenSet; }
62 template <typename MapLayersT = Aws::Vector<GeospatialLayerItem>>
63 void SetMapLayers(MapLayersT&& value) {
64 m_mapLayersHasBeenSet = true;
65 m_mapLayers = std::forward<MapLayersT>(value);
66 }
67 template <typename MapLayersT = Aws::Vector<GeospatialLayerItem>>
69 SetMapLayers(std::forward<MapLayersT>(value));
70 return *this;
71 }
72 template <typename MapLayersT = GeospatialLayerItem>
74 m_mapLayersHasBeenSet = true;
75 m_mapLayers.emplace_back(std::forward<MapLayersT>(value));
76 return *this;
77 }
79
81
84 inline const GeospatialMapState& GetMapState() const { return m_mapState; }
85 inline bool MapStateHasBeenSet() const { return m_mapStateHasBeenSet; }
86 template <typename MapStateT = GeospatialMapState>
87 void SetMapState(MapStateT&& value) {
88 m_mapStateHasBeenSet = true;
89 m_mapState = std::forward<MapStateT>(value);
90 }
91 template <typename MapStateT = GeospatialMapState>
93 SetMapState(std::forward<MapStateT>(value));
94 return *this;
95 }
97
99
102 inline const GeospatialMapStyle& GetMapStyle() const { return m_mapStyle; }
103 inline bool MapStyleHasBeenSet() const { return m_mapStyleHasBeenSet; }
104 template <typename MapStyleT = GeospatialMapStyle>
105 void SetMapStyle(MapStyleT&& value) {
106 m_mapStyleHasBeenSet = true;
107 m_mapStyle = std::forward<MapStyleT>(value);
108 }
109 template <typename MapStyleT = GeospatialMapStyle>
111 SetMapStyle(std::forward<MapStyleT>(value));
112 return *this;
113 }
115
117
118 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
119 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
120 template <typename InteractionsT = VisualInteractionOptions>
121 void SetInteractions(InteractionsT&& value) {
122 m_interactionsHasBeenSet = true;
123 m_interactions = std::forward<InteractionsT>(value);
124 }
125 template <typename InteractionsT = VisualInteractionOptions>
127 SetInteractions(std::forward<InteractionsT>(value));
128 return *this;
129 }
131 private:
132 LegendOptions m_legend;
133
135
136 GeospatialMapState m_mapState;
137
138 GeospatialMapStyle m_mapStyle;
139
140 VisualInteractionOptions m_interactions;
141 bool m_legendHasBeenSet = false;
142 bool m_mapLayersHasBeenSet = false;
143 bool m_mapStateHasBeenSet = false;
144 bool m_mapStyleHasBeenSet = false;
145 bool m_interactionsHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace QuickSight
150} // namespace Aws
AWS_QUICKSIGHT_API GeospatialLayerMapConfiguration(Aws::Utils::Json::JsonView jsonValue)
GeospatialLayerMapConfiguration & WithMapLayers(MapLayersT &&value)
GeospatialLayerMapConfiguration & WithLegend(LegendT &&value)
AWS_QUICKSIGHT_API GeospatialLayerMapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GeospatialLayerMapConfiguration & WithMapStyle(MapStyleT &&value)
GeospatialLayerMapConfiguration & WithMapState(MapStateT &&value)
GeospatialLayerMapConfiguration & AddMapLayers(MapLayersT &&value)
AWS_QUICKSIGHT_API GeospatialLayerMapConfiguration()=default
const Aws::Vector< GeospatialLayerItem > & GetMapLayers() const
GeospatialLayerMapConfiguration & WithInteractions(InteractionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue