AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ScatterPlotConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AxisDisplayOptions.h>
9#include <aws/quicksight/model/ChartAxisLabelOptions.h>
10#include <aws/quicksight/model/DataLabelOptions.h>
11#include <aws/quicksight/model/LegendOptions.h>
12#include <aws/quicksight/model/ScatterPlotFieldWells.h>
13#include <aws/quicksight/model/ScatterPlotSortConfiguration.h>
14#include <aws/quicksight/model/TooltipOptions.h>
15#include <aws/quicksight/model/VisualInteractionOptions.h>
16#include <aws/quicksight/model/VisualPalette.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight {
28namespace Model {
29
36 public:
37 AWS_QUICKSIGHT_API ScatterPlotConfiguration() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const ScatterPlotFieldWells& GetFieldWells() const { return m_fieldWells; }
47 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
48 template <typename FieldWellsT = ScatterPlotFieldWells>
49 void SetFieldWells(FieldWellsT&& value) {
50 m_fieldWellsHasBeenSet = true;
51 m_fieldWells = std::forward<FieldWellsT>(value);
52 }
53 template <typename FieldWellsT = ScatterPlotFieldWells>
55 SetFieldWells(std::forward<FieldWellsT>(value));
56 return *this;
57 }
59
61
64 inline const ScatterPlotSortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
65 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
66 template <typename SortConfigurationT = ScatterPlotSortConfiguration>
67 void SetSortConfiguration(SortConfigurationT&& value) {
68 m_sortConfigurationHasBeenSet = true;
69 m_sortConfiguration = std::forward<SortConfigurationT>(value);
70 }
71 template <typename SortConfigurationT = ScatterPlotSortConfiguration>
72 ScatterPlotConfiguration& WithSortConfiguration(SortConfigurationT&& value) {
73 SetSortConfiguration(std::forward<SortConfigurationT>(value));
74 return *this;
75 }
77
79
83 inline const ChartAxisLabelOptions& GetXAxisLabelOptions() const { return m_xAxisLabelOptions; }
84 inline bool XAxisLabelOptionsHasBeenSet() const { return m_xAxisLabelOptionsHasBeenSet; }
85 template <typename XAxisLabelOptionsT = ChartAxisLabelOptions>
86 void SetXAxisLabelOptions(XAxisLabelOptionsT&& value) {
87 m_xAxisLabelOptionsHasBeenSet = true;
88 m_xAxisLabelOptions = std::forward<XAxisLabelOptionsT>(value);
89 }
90 template <typename XAxisLabelOptionsT = ChartAxisLabelOptions>
91 ScatterPlotConfiguration& WithXAxisLabelOptions(XAxisLabelOptionsT&& value) {
92 SetXAxisLabelOptions(std::forward<XAxisLabelOptionsT>(value));
93 return *this;
94 }
96
98
102 inline const AxisDisplayOptions& GetXAxisDisplayOptions() const { return m_xAxisDisplayOptions; }
103 inline bool XAxisDisplayOptionsHasBeenSet() const { return m_xAxisDisplayOptionsHasBeenSet; }
104 template <typename XAxisDisplayOptionsT = AxisDisplayOptions>
105 void SetXAxisDisplayOptions(XAxisDisplayOptionsT&& value) {
106 m_xAxisDisplayOptionsHasBeenSet = true;
107 m_xAxisDisplayOptions = std::forward<XAxisDisplayOptionsT>(value);
108 }
109 template <typename XAxisDisplayOptionsT = AxisDisplayOptions>
110 ScatterPlotConfiguration& WithXAxisDisplayOptions(XAxisDisplayOptionsT&& value) {
111 SetXAxisDisplayOptions(std::forward<XAxisDisplayOptionsT>(value));
112 return *this;
113 }
115
117
121 inline const ChartAxisLabelOptions& GetYAxisLabelOptions() const { return m_yAxisLabelOptions; }
122 inline bool YAxisLabelOptionsHasBeenSet() const { return m_yAxisLabelOptionsHasBeenSet; }
123 template <typename YAxisLabelOptionsT = ChartAxisLabelOptions>
124 void SetYAxisLabelOptions(YAxisLabelOptionsT&& value) {
125 m_yAxisLabelOptionsHasBeenSet = true;
126 m_yAxisLabelOptions = std::forward<YAxisLabelOptionsT>(value);
127 }
128 template <typename YAxisLabelOptionsT = ChartAxisLabelOptions>
129 ScatterPlotConfiguration& WithYAxisLabelOptions(YAxisLabelOptionsT&& value) {
130 SetYAxisLabelOptions(std::forward<YAxisLabelOptionsT>(value));
131 return *this;
132 }
134
136
140 inline const AxisDisplayOptions& GetYAxisDisplayOptions() const { return m_yAxisDisplayOptions; }
141 inline bool YAxisDisplayOptionsHasBeenSet() const { return m_yAxisDisplayOptionsHasBeenSet; }
142 template <typename YAxisDisplayOptionsT = AxisDisplayOptions>
143 void SetYAxisDisplayOptions(YAxisDisplayOptionsT&& value) {
144 m_yAxisDisplayOptionsHasBeenSet = true;
145 m_yAxisDisplayOptions = std::forward<YAxisDisplayOptionsT>(value);
146 }
147 template <typename YAxisDisplayOptionsT = AxisDisplayOptions>
148 ScatterPlotConfiguration& WithYAxisDisplayOptions(YAxisDisplayOptionsT&& value) {
149 SetYAxisDisplayOptions(std::forward<YAxisDisplayOptionsT>(value));
150 return *this;
151 }
153
155
158 inline const LegendOptions& GetLegend() const { return m_legend; }
159 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
160 template <typename LegendT = LegendOptions>
161 void SetLegend(LegendT&& value) {
162 m_legendHasBeenSet = true;
163 m_legend = std::forward<LegendT>(value);
164 }
165 template <typename LegendT = LegendOptions>
167 SetLegend(std::forward<LegendT>(value));
168 return *this;
169 }
171
173
176 inline const DataLabelOptions& GetDataLabels() const { return m_dataLabels; }
177 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
178 template <typename DataLabelsT = DataLabelOptions>
179 void SetDataLabels(DataLabelsT&& value) {
180 m_dataLabelsHasBeenSet = true;
181 m_dataLabels = std::forward<DataLabelsT>(value);
182 }
183 template <typename DataLabelsT = DataLabelOptions>
185 SetDataLabels(std::forward<DataLabelsT>(value));
186 return *this;
187 }
189
191
194 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
195 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
196 template <typename TooltipT = TooltipOptions>
197 void SetTooltip(TooltipT&& value) {
198 m_tooltipHasBeenSet = true;
199 m_tooltip = std::forward<TooltipT>(value);
200 }
201 template <typename TooltipT = TooltipOptions>
203 SetTooltip(std::forward<TooltipT>(value));
204 return *this;
205 }
207
209
212 inline const VisualPalette& GetVisualPalette() const { return m_visualPalette; }
213 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
214 template <typename VisualPaletteT = VisualPalette>
215 void SetVisualPalette(VisualPaletteT&& value) {
216 m_visualPaletteHasBeenSet = true;
217 m_visualPalette = std::forward<VisualPaletteT>(value);
218 }
219 template <typename VisualPaletteT = VisualPalette>
221 SetVisualPalette(std::forward<VisualPaletteT>(value));
222 return *this;
223 }
225
227
230 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
231 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
232 template <typename InteractionsT = VisualInteractionOptions>
233 void SetInteractions(InteractionsT&& value) {
234 m_interactionsHasBeenSet = true;
235 m_interactions = std::forward<InteractionsT>(value);
236 }
237 template <typename InteractionsT = VisualInteractionOptions>
239 SetInteractions(std::forward<InteractionsT>(value));
240 return *this;
241 }
243 private:
244 ScatterPlotFieldWells m_fieldWells;
245
246 ScatterPlotSortConfiguration m_sortConfiguration;
247
248 ChartAxisLabelOptions m_xAxisLabelOptions;
249
250 AxisDisplayOptions m_xAxisDisplayOptions;
251
252 ChartAxisLabelOptions m_yAxisLabelOptions;
253
254 AxisDisplayOptions m_yAxisDisplayOptions;
255
256 LegendOptions m_legend;
257
258 DataLabelOptions m_dataLabels;
259
260 TooltipOptions m_tooltip;
261
262 VisualPalette m_visualPalette;
263
264 VisualInteractionOptions m_interactions;
265 bool m_fieldWellsHasBeenSet = false;
266 bool m_sortConfigurationHasBeenSet = false;
267 bool m_xAxisLabelOptionsHasBeenSet = false;
268 bool m_xAxisDisplayOptionsHasBeenSet = false;
269 bool m_yAxisLabelOptionsHasBeenSet = false;
270 bool m_yAxisDisplayOptionsHasBeenSet = false;
271 bool m_legendHasBeenSet = false;
272 bool m_dataLabelsHasBeenSet = false;
273 bool m_tooltipHasBeenSet = false;
274 bool m_visualPaletteHasBeenSet = false;
275 bool m_interactionsHasBeenSet = false;
276};
277
278} // namespace Model
279} // namespace QuickSight
280} // namespace Aws
AWS_QUICKSIGHT_API ScatterPlotConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ChartAxisLabelOptions & GetXAxisLabelOptions() const
AWS_QUICKSIGHT_API ScatterPlotConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ChartAxisLabelOptions & GetYAxisLabelOptions() const
void SetYAxisDisplayOptions(YAxisDisplayOptionsT &&value)
ScatterPlotConfiguration & WithYAxisLabelOptions(YAxisLabelOptionsT &&value)
const AxisDisplayOptions & GetYAxisDisplayOptions() const
const VisualInteractionOptions & GetInteractions() const
const ScatterPlotFieldWells & GetFieldWells() const
ScatterPlotConfiguration & WithSortConfiguration(SortConfigurationT &&value)
const AxisDisplayOptions & GetXAxisDisplayOptions() const
AWS_QUICKSIGHT_API ScatterPlotConfiguration()=default
ScatterPlotConfiguration & WithXAxisDisplayOptions(XAxisDisplayOptionsT &&value)
ScatterPlotConfiguration & WithTooltip(TooltipT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const ScatterPlotSortConfiguration & GetSortConfiguration() const
void SetXAxisDisplayOptions(XAxisDisplayOptionsT &&value)
ScatterPlotConfiguration & WithDataLabels(DataLabelsT &&value)
ScatterPlotConfiguration & WithLegend(LegendT &&value)
ScatterPlotConfiguration & WithVisualPalette(VisualPaletteT &&value)
ScatterPlotConfiguration & WithXAxisLabelOptions(XAxisLabelOptionsT &&value)
ScatterPlotConfiguration & WithInteractions(InteractionsT &&value)
ScatterPlotConfiguration & WithFieldWells(FieldWellsT &&value)
ScatterPlotConfiguration & WithYAxisDisplayOptions(YAxisDisplayOptionsT &&value)
Aws::Utils::Json::JsonValue JsonValue