AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GeospatialLayerItem.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/GeospatialLayerType.h>
10#include <aws/quicksight/model/GeospatialDataSourceItem.h>
11#include <aws/quicksight/model/Visibility.h>
12#include <aws/quicksight/model/GeospatialLayerDefinition.h>
13#include <aws/quicksight/model/TooltipOptions.h>
14#include <aws/quicksight/model/GeospatialLayerJoinDefinition.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/quicksight/model/LayerCustomAction.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace QuickSight
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_QUICKSIGHT_API GeospatialLayerItem() = default;
43 AWS_QUICKSIGHT_API GeospatialLayerItem(Aws::Utils::Json::JsonView jsonValue);
45 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetLayerId() const { return m_layerId; }
53 inline bool LayerIdHasBeenSet() const { return m_layerIdHasBeenSet; }
54 template<typename LayerIdT = Aws::String>
55 void SetLayerId(LayerIdT&& value) { m_layerIdHasBeenSet = true; m_layerId = std::forward<LayerIdT>(value); }
56 template<typename LayerIdT = Aws::String>
57 GeospatialLayerItem& WithLayerId(LayerIdT&& value) { SetLayerId(std::forward<LayerIdT>(value)); return *this;}
59
61
64 inline GeospatialLayerType GetLayerType() const { return m_layerType; }
65 inline bool LayerTypeHasBeenSet() const { return m_layerTypeHasBeenSet; }
66 inline void SetLayerType(GeospatialLayerType value) { m_layerTypeHasBeenSet = true; m_layerType = value; }
67 inline GeospatialLayerItem& WithLayerType(GeospatialLayerType value) { SetLayerType(value); return *this;}
69
71
74 inline const GeospatialDataSourceItem& GetDataSource() const { return m_dataSource; }
75 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
76 template<typename DataSourceT = GeospatialDataSourceItem>
77 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
78 template<typename DataSourceT = GeospatialDataSourceItem>
79 GeospatialLayerItem& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
81
83
86 inline const Aws::String& GetLabel() const { return m_label; }
87 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
88 template<typename LabelT = Aws::String>
89 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
90 template<typename LabelT = Aws::String>
91 GeospatialLayerItem& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
93
95
98 inline Visibility GetVisibility() const { return m_visibility; }
99 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
100 inline void SetVisibility(Visibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
101 inline GeospatialLayerItem& WithVisibility(Visibility value) { SetVisibility(value); return *this;}
103
105
108 inline const GeospatialLayerDefinition& GetLayerDefinition() const { return m_layerDefinition; }
109 inline bool LayerDefinitionHasBeenSet() const { return m_layerDefinitionHasBeenSet; }
110 template<typename LayerDefinitionT = GeospatialLayerDefinition>
111 void SetLayerDefinition(LayerDefinitionT&& value) { m_layerDefinitionHasBeenSet = true; m_layerDefinition = std::forward<LayerDefinitionT>(value); }
112 template<typename LayerDefinitionT = GeospatialLayerDefinition>
113 GeospatialLayerItem& WithLayerDefinition(LayerDefinitionT&& value) { SetLayerDefinition(std::forward<LayerDefinitionT>(value)); return *this;}
115
117
118 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
119 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
120 template<typename TooltipT = TooltipOptions>
121 void SetTooltip(TooltipT&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::forward<TooltipT>(value); }
122 template<typename TooltipT = TooltipOptions>
123 GeospatialLayerItem& WithTooltip(TooltipT&& value) { SetTooltip(std::forward<TooltipT>(value)); return *this;}
125
127
130 inline const GeospatialLayerJoinDefinition& GetJoinDefinition() const { return m_joinDefinition; }
131 inline bool JoinDefinitionHasBeenSet() const { return m_joinDefinitionHasBeenSet; }
132 template<typename JoinDefinitionT = GeospatialLayerJoinDefinition>
133 void SetJoinDefinition(JoinDefinitionT&& value) { m_joinDefinitionHasBeenSet = true; m_joinDefinition = std::forward<JoinDefinitionT>(value); }
134 template<typename JoinDefinitionT = GeospatialLayerJoinDefinition>
135 GeospatialLayerItem& WithJoinDefinition(JoinDefinitionT&& value) { SetJoinDefinition(std::forward<JoinDefinitionT>(value)); return *this;}
137
139
142 inline const Aws::Vector<LayerCustomAction>& GetActions() const { return m_actions; }
143 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
144 template<typename ActionsT = Aws::Vector<LayerCustomAction>>
145 void SetActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions = std::forward<ActionsT>(value); }
146 template<typename ActionsT = Aws::Vector<LayerCustomAction>>
147 GeospatialLayerItem& WithActions(ActionsT&& value) { SetActions(std::forward<ActionsT>(value)); return *this;}
148 template<typename ActionsT = LayerCustomAction>
149 GeospatialLayerItem& AddActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions.emplace_back(std::forward<ActionsT>(value)); return *this; }
151 private:
152
153 Aws::String m_layerId;
154 bool m_layerIdHasBeenSet = false;
155
157 bool m_layerTypeHasBeenSet = false;
158
159 GeospatialDataSourceItem m_dataSource;
160 bool m_dataSourceHasBeenSet = false;
161
162 Aws::String m_label;
163 bool m_labelHasBeenSet = false;
164
165 Visibility m_visibility{Visibility::NOT_SET};
166 bool m_visibilityHasBeenSet = false;
167
168 GeospatialLayerDefinition m_layerDefinition;
169 bool m_layerDefinitionHasBeenSet = false;
170
171 TooltipOptions m_tooltip;
172 bool m_tooltipHasBeenSet = false;
173
174 GeospatialLayerJoinDefinition m_joinDefinition;
175 bool m_joinDefinitionHasBeenSet = false;
176
178 bool m_actionsHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace QuickSight
183} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GeospatialLayerItem & WithDataSource(DataSourceT &&value)
AWS_QUICKSIGHT_API GeospatialLayerItem()=default
GeospatialLayerItem & WithLayerDefinition(LayerDefinitionT &&value)
void SetJoinDefinition(JoinDefinitionT &&value)
const GeospatialLayerDefinition & GetLayerDefinition() const
void SetLayerDefinition(LayerDefinitionT &&value)
const GeospatialDataSourceItem & GetDataSource() const
GeospatialLayerItem & WithJoinDefinition(JoinDefinitionT &&value)
GeospatialLayerItem & WithActions(ActionsT &&value)
GeospatialLayerItem & WithTooltip(TooltipT &&value)
const GeospatialLayerJoinDefinition & GetJoinDefinition() const
GeospatialLayerItem & WithLayerId(LayerIdT &&value)
GeospatialLayerItem & WithLayerType(GeospatialLayerType value)
AWS_QUICKSIGHT_API GeospatialLayerItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLayerType(GeospatialLayerType value)
GeospatialLayerItem & WithLabel(LabelT &&value)
AWS_QUICKSIGHT_API GeospatialLayerItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LayerCustomAction > & GetActions() const
GeospatialLayerItem & AddActions(ActionsT &&value)
GeospatialLayerItem & WithVisibility(Visibility value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue