AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ComboChartConfiguration.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/AxisDisplayOptions.h>
10#include <aws/quicksight/model/BarsArrangement.h>
11#include <aws/quicksight/model/ChartAxisLabelOptions.h>
12#include <aws/quicksight/model/ComboChartDefaultSeriesSettings.h>
13#include <aws/quicksight/model/ComboChartFieldWells.h>
14#include <aws/quicksight/model/ComboChartSortConfiguration.h>
15#include <aws/quicksight/model/ComboSeriesItem.h>
16#include <aws/quicksight/model/DataLabelOptions.h>
17#include <aws/quicksight/model/LegendOptions.h>
18#include <aws/quicksight/model/ReferenceLine.h>
19#include <aws/quicksight/model/SingleAxisOptions.h>
20#include <aws/quicksight/model/TooltipOptions.h>
21#include <aws/quicksight/model/VisualInteractionOptions.h>
22#include <aws/quicksight/model/VisualPalette.h>
23
24#include <utility>
25
26namespace Aws {
27namespace Utils {
28namespace Json {
29class JsonValue;
30class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace QuickSight {
34namespace Model {
35
43 public:
44 AWS_QUICKSIGHT_API ComboChartConfiguration() = default;
47 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
50
53 inline const ComboChartFieldWells& GetFieldWells() const { return m_fieldWells; }
54 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
55 template <typename FieldWellsT = ComboChartFieldWells>
56 void SetFieldWells(FieldWellsT&& value) {
57 m_fieldWellsHasBeenSet = true;
58 m_fieldWells = std::forward<FieldWellsT>(value);
59 }
60 template <typename FieldWellsT = ComboChartFieldWells>
62 SetFieldWells(std::forward<FieldWellsT>(value));
63 return *this;
64 }
66
68
71 inline const ComboChartSortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
72 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
73 template <typename SortConfigurationT = ComboChartSortConfiguration>
74 void SetSortConfiguration(SortConfigurationT&& value) {
75 m_sortConfigurationHasBeenSet = true;
76 m_sortConfiguration = std::forward<SortConfigurationT>(value);
77 }
78 template <typename SortConfigurationT = ComboChartSortConfiguration>
79 ComboChartConfiguration& WithSortConfiguration(SortConfigurationT&& value) {
80 SetSortConfiguration(std::forward<SortConfigurationT>(value));
81 return *this;
82 }
84
86
93 inline BarsArrangement GetBarsArrangement() const { return m_barsArrangement; }
94 inline bool BarsArrangementHasBeenSet() const { return m_barsArrangementHasBeenSet; }
96 m_barsArrangementHasBeenSet = true;
97 m_barsArrangement = value;
98 }
100 SetBarsArrangement(value);
101 return *this;
102 }
104
106
109 inline const AxisDisplayOptions& GetCategoryAxis() const { return m_categoryAxis; }
110 inline bool CategoryAxisHasBeenSet() const { return m_categoryAxisHasBeenSet; }
111 template <typename CategoryAxisT = AxisDisplayOptions>
112 void SetCategoryAxis(CategoryAxisT&& value) {
113 m_categoryAxisHasBeenSet = true;
114 m_categoryAxis = std::forward<CategoryAxisT>(value);
115 }
116 template <typename CategoryAxisT = AxisDisplayOptions>
118 SetCategoryAxis(std::forward<CategoryAxisT>(value));
119 return *this;
120 }
122
124
128 inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const { return m_categoryLabelOptions; }
129 inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; }
130 template <typename CategoryLabelOptionsT = ChartAxisLabelOptions>
131 void SetCategoryLabelOptions(CategoryLabelOptionsT&& value) {
132 m_categoryLabelOptionsHasBeenSet = true;
133 m_categoryLabelOptions = std::forward<CategoryLabelOptionsT>(value);
134 }
135 template <typename CategoryLabelOptionsT = ChartAxisLabelOptions>
136 ComboChartConfiguration& WithCategoryLabelOptions(CategoryLabelOptionsT&& value) {
137 SetCategoryLabelOptions(std::forward<CategoryLabelOptionsT>(value));
138 return *this;
139 }
141
143
147 inline const AxisDisplayOptions& GetPrimaryYAxisDisplayOptions() const { return m_primaryYAxisDisplayOptions; }
148 inline bool PrimaryYAxisDisplayOptionsHasBeenSet() const { return m_primaryYAxisDisplayOptionsHasBeenSet; }
149 template <typename PrimaryYAxisDisplayOptionsT = AxisDisplayOptions>
150 void SetPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT&& value) {
151 m_primaryYAxisDisplayOptionsHasBeenSet = true;
152 m_primaryYAxisDisplayOptions = std::forward<PrimaryYAxisDisplayOptionsT>(value);
153 }
154 template <typename PrimaryYAxisDisplayOptionsT = AxisDisplayOptions>
155 ComboChartConfiguration& WithPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT&& value) {
156 SetPrimaryYAxisDisplayOptions(std::forward<PrimaryYAxisDisplayOptionsT>(value));
157 return *this;
158 }
160
162
166 inline const ChartAxisLabelOptions& GetPrimaryYAxisLabelOptions() const { return m_primaryYAxisLabelOptions; }
167 inline bool PrimaryYAxisLabelOptionsHasBeenSet() const { return m_primaryYAxisLabelOptionsHasBeenSet; }
168 template <typename PrimaryYAxisLabelOptionsT = ChartAxisLabelOptions>
169 void SetPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT&& value) {
170 m_primaryYAxisLabelOptionsHasBeenSet = true;
171 m_primaryYAxisLabelOptions = std::forward<PrimaryYAxisLabelOptionsT>(value);
172 }
173 template <typename PrimaryYAxisLabelOptionsT = ChartAxisLabelOptions>
174 ComboChartConfiguration& WithPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT&& value) {
175 SetPrimaryYAxisLabelOptions(std::forward<PrimaryYAxisLabelOptionsT>(value));
176 return *this;
177 }
179
181
185 inline const AxisDisplayOptions& GetSecondaryYAxisDisplayOptions() const { return m_secondaryYAxisDisplayOptions; }
186 inline bool SecondaryYAxisDisplayOptionsHasBeenSet() const { return m_secondaryYAxisDisplayOptionsHasBeenSet; }
187 template <typename SecondaryYAxisDisplayOptionsT = AxisDisplayOptions>
188 void SetSecondaryYAxisDisplayOptions(SecondaryYAxisDisplayOptionsT&& value) {
189 m_secondaryYAxisDisplayOptionsHasBeenSet = true;
190 m_secondaryYAxisDisplayOptions = std::forward<SecondaryYAxisDisplayOptionsT>(value);
191 }
192 template <typename SecondaryYAxisDisplayOptionsT = AxisDisplayOptions>
193 ComboChartConfiguration& WithSecondaryYAxisDisplayOptions(SecondaryYAxisDisplayOptionsT&& value) {
194 SetSecondaryYAxisDisplayOptions(std::forward<SecondaryYAxisDisplayOptionsT>(value));
195 return *this;
196 }
198
200
204 inline const ChartAxisLabelOptions& GetSecondaryYAxisLabelOptions() const { return m_secondaryYAxisLabelOptions; }
205 inline bool SecondaryYAxisLabelOptionsHasBeenSet() const { return m_secondaryYAxisLabelOptionsHasBeenSet; }
206 template <typename SecondaryYAxisLabelOptionsT = ChartAxisLabelOptions>
207 void SetSecondaryYAxisLabelOptions(SecondaryYAxisLabelOptionsT&& value) {
208 m_secondaryYAxisLabelOptionsHasBeenSet = true;
209 m_secondaryYAxisLabelOptions = std::forward<SecondaryYAxisLabelOptionsT>(value);
210 }
211 template <typename SecondaryYAxisLabelOptionsT = ChartAxisLabelOptions>
212 ComboChartConfiguration& WithSecondaryYAxisLabelOptions(SecondaryYAxisLabelOptionsT&& value) {
213 SetSecondaryYAxisLabelOptions(std::forward<SecondaryYAxisLabelOptionsT>(value));
214 return *this;
215 }
217
219
220 inline const SingleAxisOptions& GetSingleAxisOptions() const { return m_singleAxisOptions; }
221 inline bool SingleAxisOptionsHasBeenSet() const { return m_singleAxisOptionsHasBeenSet; }
222 template <typename SingleAxisOptionsT = SingleAxisOptions>
223 void SetSingleAxisOptions(SingleAxisOptionsT&& value) {
224 m_singleAxisOptionsHasBeenSet = true;
225 m_singleAxisOptions = std::forward<SingleAxisOptionsT>(value);
226 }
227 template <typename SingleAxisOptionsT = SingleAxisOptions>
228 ComboChartConfiguration& WithSingleAxisOptions(SingleAxisOptionsT&& value) {
229 SetSingleAxisOptions(std::forward<SingleAxisOptionsT>(value));
230 return *this;
231 }
233
235
239 inline const ChartAxisLabelOptions& GetColorLabelOptions() const { return m_colorLabelOptions; }
240 inline bool ColorLabelOptionsHasBeenSet() const { return m_colorLabelOptionsHasBeenSet; }
241 template <typename ColorLabelOptionsT = ChartAxisLabelOptions>
242 void SetColorLabelOptions(ColorLabelOptionsT&& value) {
243 m_colorLabelOptionsHasBeenSet = true;
244 m_colorLabelOptions = std::forward<ColorLabelOptionsT>(value);
245 }
246 template <typename ColorLabelOptionsT = ChartAxisLabelOptions>
247 ComboChartConfiguration& WithColorLabelOptions(ColorLabelOptionsT&& value) {
248 SetColorLabelOptions(std::forward<ColorLabelOptionsT>(value));
249 return *this;
250 }
252
254
258 inline const ComboChartDefaultSeriesSettings& GetDefaultSeriesSettings() const { return m_defaultSeriesSettings; }
259 inline bool DefaultSeriesSettingsHasBeenSet() const { return m_defaultSeriesSettingsHasBeenSet; }
260 template <typename DefaultSeriesSettingsT = ComboChartDefaultSeriesSettings>
261 void SetDefaultSeriesSettings(DefaultSeriesSettingsT&& value) {
262 m_defaultSeriesSettingsHasBeenSet = true;
263 m_defaultSeriesSettings = std::forward<DefaultSeriesSettingsT>(value);
264 }
265 template <typename DefaultSeriesSettingsT = ComboChartDefaultSeriesSettings>
266 ComboChartConfiguration& WithDefaultSeriesSettings(DefaultSeriesSettingsT&& value) {
267 SetDefaultSeriesSettings(std::forward<DefaultSeriesSettingsT>(value));
268 return *this;
269 }
271
273
276 inline const Aws::Vector<ComboSeriesItem>& GetSeries() const { return m_series; }
277 inline bool SeriesHasBeenSet() const { return m_seriesHasBeenSet; }
278 template <typename SeriesT = Aws::Vector<ComboSeriesItem>>
279 void SetSeries(SeriesT&& value) {
280 m_seriesHasBeenSet = true;
281 m_series = std::forward<SeriesT>(value);
282 }
283 template <typename SeriesT = Aws::Vector<ComboSeriesItem>>
285 SetSeries(std::forward<SeriesT>(value));
286 return *this;
287 }
288 template <typename SeriesT = ComboSeriesItem>
290 m_seriesHasBeenSet = true;
291 m_series.emplace_back(std::forward<SeriesT>(value));
292 return *this;
293 }
295
297
300 inline const LegendOptions& GetLegend() const { return m_legend; }
301 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
302 template <typename LegendT = LegendOptions>
303 void SetLegend(LegendT&& value) {
304 m_legendHasBeenSet = true;
305 m_legend = std::forward<LegendT>(value);
306 }
307 template <typename LegendT = LegendOptions>
309 SetLegend(std::forward<LegendT>(value));
310 return *this;
311 }
313
315
319 inline const DataLabelOptions& GetBarDataLabels() const { return m_barDataLabels; }
320 inline bool BarDataLabelsHasBeenSet() const { return m_barDataLabelsHasBeenSet; }
321 template <typename BarDataLabelsT = DataLabelOptions>
322 void SetBarDataLabels(BarDataLabelsT&& value) {
323 m_barDataLabelsHasBeenSet = true;
324 m_barDataLabels = std::forward<BarDataLabelsT>(value);
325 }
326 template <typename BarDataLabelsT = DataLabelOptions>
328 SetBarDataLabels(std::forward<BarDataLabelsT>(value));
329 return *this;
330 }
332
334
338 inline const DataLabelOptions& GetLineDataLabels() const { return m_lineDataLabels; }
339 inline bool LineDataLabelsHasBeenSet() const { return m_lineDataLabelsHasBeenSet; }
340 template <typename LineDataLabelsT = DataLabelOptions>
341 void SetLineDataLabels(LineDataLabelsT&& value) {
342 m_lineDataLabelsHasBeenSet = true;
343 m_lineDataLabels = std::forward<LineDataLabelsT>(value);
344 }
345 template <typename LineDataLabelsT = DataLabelOptions>
346 ComboChartConfiguration& WithLineDataLabels(LineDataLabelsT&& value) {
347 SetLineDataLabels(std::forward<LineDataLabelsT>(value));
348 return *this;
349 }
351
353
356 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
357 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
358 template <typename TooltipT = TooltipOptions>
359 void SetTooltip(TooltipT&& value) {
360 m_tooltipHasBeenSet = true;
361 m_tooltip = std::forward<TooltipT>(value);
362 }
363 template <typename TooltipT = TooltipOptions>
365 SetTooltip(std::forward<TooltipT>(value));
366 return *this;
367 }
369
371
374 inline const Aws::Vector<ReferenceLine>& GetReferenceLines() const { return m_referenceLines; }
375 inline bool ReferenceLinesHasBeenSet() const { return m_referenceLinesHasBeenSet; }
376 template <typename ReferenceLinesT = Aws::Vector<ReferenceLine>>
377 void SetReferenceLines(ReferenceLinesT&& value) {
378 m_referenceLinesHasBeenSet = true;
379 m_referenceLines = std::forward<ReferenceLinesT>(value);
380 }
381 template <typename ReferenceLinesT = Aws::Vector<ReferenceLine>>
382 ComboChartConfiguration& WithReferenceLines(ReferenceLinesT&& value) {
383 SetReferenceLines(std::forward<ReferenceLinesT>(value));
384 return *this;
385 }
386 template <typename ReferenceLinesT = ReferenceLine>
387 ComboChartConfiguration& AddReferenceLines(ReferenceLinesT&& value) {
388 m_referenceLinesHasBeenSet = true;
389 m_referenceLines.emplace_back(std::forward<ReferenceLinesT>(value));
390 return *this;
391 }
393
395
398 inline const VisualPalette& GetVisualPalette() const { return m_visualPalette; }
399 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
400 template <typename VisualPaletteT = VisualPalette>
401 void SetVisualPalette(VisualPaletteT&& value) {
402 m_visualPaletteHasBeenSet = true;
403 m_visualPalette = std::forward<VisualPaletteT>(value);
404 }
405 template <typename VisualPaletteT = VisualPalette>
407 SetVisualPalette(std::forward<VisualPaletteT>(value));
408 return *this;
409 }
411
413
416 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
417 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
418 template <typename InteractionsT = VisualInteractionOptions>
419 void SetInteractions(InteractionsT&& value) {
420 m_interactionsHasBeenSet = true;
421 m_interactions = std::forward<InteractionsT>(value);
422 }
423 template <typename InteractionsT = VisualInteractionOptions>
425 SetInteractions(std::forward<InteractionsT>(value));
426 return *this;
427 }
429 private:
430 ComboChartFieldWells m_fieldWells;
431
432 ComboChartSortConfiguration m_sortConfiguration;
433
434 BarsArrangement m_barsArrangement{BarsArrangement::NOT_SET};
435
436 AxisDisplayOptions m_categoryAxis;
437
438 ChartAxisLabelOptions m_categoryLabelOptions;
439
440 AxisDisplayOptions m_primaryYAxisDisplayOptions;
441
442 ChartAxisLabelOptions m_primaryYAxisLabelOptions;
443
444 AxisDisplayOptions m_secondaryYAxisDisplayOptions;
445
446 ChartAxisLabelOptions m_secondaryYAxisLabelOptions;
447
448 SingleAxisOptions m_singleAxisOptions;
449
450 ChartAxisLabelOptions m_colorLabelOptions;
451
452 ComboChartDefaultSeriesSettings m_defaultSeriesSettings;
453
455
456 LegendOptions m_legend;
457
458 DataLabelOptions m_barDataLabels;
459
460 DataLabelOptions m_lineDataLabels;
461
462 TooltipOptions m_tooltip;
463
464 Aws::Vector<ReferenceLine> m_referenceLines;
465
466 VisualPalette m_visualPalette;
467
468 VisualInteractionOptions m_interactions;
469 bool m_fieldWellsHasBeenSet = false;
470 bool m_sortConfigurationHasBeenSet = false;
471 bool m_barsArrangementHasBeenSet = false;
472 bool m_categoryAxisHasBeenSet = false;
473 bool m_categoryLabelOptionsHasBeenSet = false;
474 bool m_primaryYAxisDisplayOptionsHasBeenSet = false;
475 bool m_primaryYAxisLabelOptionsHasBeenSet = false;
476 bool m_secondaryYAxisDisplayOptionsHasBeenSet = false;
477 bool m_secondaryYAxisLabelOptionsHasBeenSet = false;
478 bool m_singleAxisOptionsHasBeenSet = false;
479 bool m_colorLabelOptionsHasBeenSet = false;
480 bool m_defaultSeriesSettingsHasBeenSet = false;
481 bool m_seriesHasBeenSet = false;
482 bool m_legendHasBeenSet = false;
483 bool m_barDataLabelsHasBeenSet = false;
484 bool m_lineDataLabelsHasBeenSet = false;
485 bool m_tooltipHasBeenSet = false;
486 bool m_referenceLinesHasBeenSet = false;
487 bool m_visualPaletteHasBeenSet = false;
488 bool m_interactionsHasBeenSet = false;
489};
490
491} // namespace Model
492} // namespace QuickSight
493} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCategoryLabelOptions(CategoryLabelOptionsT &&value)
const ComboChartFieldWells & GetFieldWells() const
ComboChartConfiguration & WithDefaultSeriesSettings(DefaultSeriesSettingsT &&value)
void SetPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT &&value)
void SetSecondaryYAxisDisplayOptions(SecondaryYAxisDisplayOptionsT &&value)
ComboChartConfiguration & WithInteractions(InteractionsT &&value)
AWS_QUICKSIGHT_API ComboChartConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const VisualInteractionOptions & GetInteractions() const
const ComboChartDefaultSeriesSettings & GetDefaultSeriesSettings() const
const ComboChartSortConfiguration & GetSortConfiguration() const
ComboChartConfiguration & AddReferenceLines(ReferenceLinesT &&value)
ComboChartConfiguration & WithPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT &&value)
const ChartAxisLabelOptions & GetSecondaryYAxisLabelOptions() const
ComboChartConfiguration & WithColorLabelOptions(ColorLabelOptionsT &&value)
ComboChartConfiguration & WithTooltip(TooltipT &&value)
ComboChartConfiguration & WithCategoryLabelOptions(CategoryLabelOptionsT &&value)
void SetPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT &&value)
ComboChartConfiguration & WithSecondaryYAxisDisplayOptions(SecondaryYAxisDisplayOptionsT &&value)
const Aws::Vector< ReferenceLine > & GetReferenceLines() const
const Aws::Vector< ComboSeriesItem > & GetSeries() const
ComboChartConfiguration & WithFieldWells(FieldWellsT &&value)
ComboChartConfiguration & WithReferenceLines(ReferenceLinesT &&value)
ComboChartConfiguration & WithPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT &&value)
const AxisDisplayOptions & GetSecondaryYAxisDisplayOptions() const
ComboChartConfiguration & WithSeries(SeriesT &&value)
ComboChartConfiguration & WithSecondaryYAxisLabelOptions(SecondaryYAxisLabelOptionsT &&value)
ComboChartConfiguration & WithBarDataLabels(BarDataLabelsT &&value)
ComboChartConfiguration & WithSingleAxisOptions(SingleAxisOptionsT &&value)
ComboChartConfiguration & WithLegend(LegendT &&value)
ComboChartConfiguration & WithVisualPalette(VisualPaletteT &&value)
const ChartAxisLabelOptions & GetCategoryLabelOptions() const
AWS_QUICKSIGHT_API ComboChartConfiguration()=default
AWS_QUICKSIGHT_API ComboChartConfiguration(Aws::Utils::Json::JsonView jsonValue)
const AxisDisplayOptions & GetPrimaryYAxisDisplayOptions() const
ComboChartConfiguration & WithBarsArrangement(BarsArrangement value)
ComboChartConfiguration & AddSeries(SeriesT &&value)
const ChartAxisLabelOptions & GetPrimaryYAxisLabelOptions() const
ComboChartConfiguration & WithSortConfiguration(SortConfigurationT &&value)
const ChartAxisLabelOptions & GetColorLabelOptions() const
void SetDefaultSeriesSettings(DefaultSeriesSettingsT &&value)
ComboChartConfiguration & WithCategoryAxis(CategoryAxisT &&value)
ComboChartConfiguration & WithLineDataLabels(LineDataLabelsT &&value)
void SetSecondaryYAxisLabelOptions(SecondaryYAxisLabelOptionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue