AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GeospatialLayerMapConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/LegendOptions.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/GeospatialMapState.h>
11#include <aws/quicksight/model/GeospatialMapStyle.h>
12#include <aws/quicksight/model/VisualInteractionOptions.h>
13#include <aws/quicksight/model/GeospatialLayerItem.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_QUICKSIGHT_API GeospatialLayerMapConfiguration() = default;
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
48 inline const LegendOptions& GetLegend() const { return m_legend; }
49 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
50 template<typename LegendT = LegendOptions>
51 void SetLegend(LegendT&& value) { m_legendHasBeenSet = true; m_legend = std::forward<LegendT>(value); }
52 template<typename LegendT = LegendOptions>
53 GeospatialLayerMapConfiguration& WithLegend(LegendT&& value) { SetLegend(std::forward<LegendT>(value)); return *this;}
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) { m_mapLayersHasBeenSet = true; m_mapLayers = std::forward<MapLayersT>(value); }
64 template<typename MapLayersT = Aws::Vector<GeospatialLayerItem>>
65 GeospatialLayerMapConfiguration& WithMapLayers(MapLayersT&& value) { SetMapLayers(std::forward<MapLayersT>(value)); return *this;}
66 template<typename MapLayersT = GeospatialLayerItem>
67 GeospatialLayerMapConfiguration& AddMapLayers(MapLayersT&& value) { m_mapLayersHasBeenSet = true; m_mapLayers.emplace_back(std::forward<MapLayersT>(value)); return *this; }
69
71
74 inline const GeospatialMapState& GetMapState() const { return m_mapState; }
75 inline bool MapStateHasBeenSet() const { return m_mapStateHasBeenSet; }
76 template<typename MapStateT = GeospatialMapState>
77 void SetMapState(MapStateT&& value) { m_mapStateHasBeenSet = true; m_mapState = std::forward<MapStateT>(value); }
78 template<typename MapStateT = GeospatialMapState>
79 GeospatialLayerMapConfiguration& WithMapState(MapStateT&& value) { SetMapState(std::forward<MapStateT>(value)); return *this;}
81
83
86 inline const GeospatialMapStyle& GetMapStyle() const { return m_mapStyle; }
87 inline bool MapStyleHasBeenSet() const { return m_mapStyleHasBeenSet; }
88 template<typename MapStyleT = GeospatialMapStyle>
89 void SetMapStyle(MapStyleT&& value) { m_mapStyleHasBeenSet = true; m_mapStyle = std::forward<MapStyleT>(value); }
90 template<typename MapStyleT = GeospatialMapStyle>
91 GeospatialLayerMapConfiguration& WithMapStyle(MapStyleT&& value) { SetMapStyle(std::forward<MapStyleT>(value)); return *this;}
93
95
96 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
97 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
98 template<typename InteractionsT = VisualInteractionOptions>
99 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
100 template<typename InteractionsT = VisualInteractionOptions>
101 GeospatialLayerMapConfiguration& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
103 private:
104
105 LegendOptions m_legend;
106 bool m_legendHasBeenSet = false;
107
109 bool m_mapLayersHasBeenSet = false;
110
111 GeospatialMapState m_mapState;
112 bool m_mapStateHasBeenSet = false;
113
114 GeospatialMapStyle m_mapStyle;
115 bool m_mapStyleHasBeenSet = false;
116
117 VisualInteractionOptions m_interactions;
118 bool m_interactionsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace QuickSight
123} // 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