AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComboChartConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ComboChartFieldWells.h>
9#include <aws/quicksight/model/ComboChartSortConfiguration.h>
10#include <aws/quicksight/model/BarsArrangement.h>
11#include <aws/quicksight/model/AxisDisplayOptions.h>
12#include <aws/quicksight/model/ChartAxisLabelOptions.h>
13#include <aws/quicksight/model/SingleAxisOptions.h>
14#include <aws/quicksight/model/LegendOptions.h>
15#include <aws/quicksight/model/DataLabelOptions.h>
16#include <aws/quicksight/model/TooltipOptions.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/quicksight/model/VisualPalette.h>
19#include <aws/quicksight/model/VisualInteractionOptions.h>
20#include <aws/quicksight/model/ReferenceLine.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace QuickSight
34{
35namespace Model
36{
37
45 {
46 public:
47 AWS_QUICKSIGHT_API ComboChartConfiguration();
50 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
57 inline const ComboChartFieldWells& GetFieldWells() const{ return m_fieldWells; }
58 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
59 inline void SetFieldWells(const ComboChartFieldWells& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = value; }
60 inline void SetFieldWells(ComboChartFieldWells&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::move(value); }
61 inline ComboChartConfiguration& WithFieldWells(const ComboChartFieldWells& value) { SetFieldWells(value); return *this;}
62 inline ComboChartConfiguration& WithFieldWells(ComboChartFieldWells&& value) { SetFieldWells(std::move(value)); return *this;}
64
66
69 inline const ComboChartSortConfiguration& GetSortConfiguration() const{ return m_sortConfiguration; }
70 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
71 inline void SetSortConfiguration(const ComboChartSortConfiguration& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = value; }
72 inline void SetSortConfiguration(ComboChartSortConfiguration&& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::move(value); }
76
78
85 inline const BarsArrangement& GetBarsArrangement() const{ return m_barsArrangement; }
86 inline bool BarsArrangementHasBeenSet() const { return m_barsArrangementHasBeenSet; }
87 inline void SetBarsArrangement(const BarsArrangement& value) { m_barsArrangementHasBeenSet = true; m_barsArrangement = value; }
88 inline void SetBarsArrangement(BarsArrangement&& value) { m_barsArrangementHasBeenSet = true; m_barsArrangement = std::move(value); }
90 inline ComboChartConfiguration& WithBarsArrangement(BarsArrangement&& value) { SetBarsArrangement(std::move(value)); return *this;}
92
94
97 inline const AxisDisplayOptions& GetCategoryAxis() const{ return m_categoryAxis; }
98 inline bool CategoryAxisHasBeenSet() const { return m_categoryAxisHasBeenSet; }
99 inline void SetCategoryAxis(const AxisDisplayOptions& value) { m_categoryAxisHasBeenSet = true; m_categoryAxis = value; }
100 inline void SetCategoryAxis(AxisDisplayOptions&& value) { m_categoryAxisHasBeenSet = true; m_categoryAxis = std::move(value); }
101 inline ComboChartConfiguration& WithCategoryAxis(const AxisDisplayOptions& value) { SetCategoryAxis(value); return *this;}
102 inline ComboChartConfiguration& WithCategoryAxis(AxisDisplayOptions&& value) { SetCategoryAxis(std::move(value)); return *this;}
104
106
110 inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const{ return m_categoryLabelOptions; }
111 inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; }
112 inline void SetCategoryLabelOptions(const ChartAxisLabelOptions& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = value; }
113 inline void SetCategoryLabelOptions(ChartAxisLabelOptions&& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = std::move(value); }
117
119
123 inline const AxisDisplayOptions& GetPrimaryYAxisDisplayOptions() const{ return m_primaryYAxisDisplayOptions; }
124 inline bool PrimaryYAxisDisplayOptionsHasBeenSet() const { return m_primaryYAxisDisplayOptionsHasBeenSet; }
125 inline void SetPrimaryYAxisDisplayOptions(const AxisDisplayOptions& value) { m_primaryYAxisDisplayOptionsHasBeenSet = true; m_primaryYAxisDisplayOptions = value; }
126 inline void SetPrimaryYAxisDisplayOptions(AxisDisplayOptions&& value) { m_primaryYAxisDisplayOptionsHasBeenSet = true; m_primaryYAxisDisplayOptions = std::move(value); }
130
132
136 inline const ChartAxisLabelOptions& GetPrimaryYAxisLabelOptions() const{ return m_primaryYAxisLabelOptions; }
137 inline bool PrimaryYAxisLabelOptionsHasBeenSet() const { return m_primaryYAxisLabelOptionsHasBeenSet; }
138 inline void SetPrimaryYAxisLabelOptions(const ChartAxisLabelOptions& value) { m_primaryYAxisLabelOptionsHasBeenSet = true; m_primaryYAxisLabelOptions = value; }
139 inline void SetPrimaryYAxisLabelOptions(ChartAxisLabelOptions&& value) { m_primaryYAxisLabelOptionsHasBeenSet = true; m_primaryYAxisLabelOptions = std::move(value); }
143
145
149 inline const AxisDisplayOptions& GetSecondaryYAxisDisplayOptions() const{ return m_secondaryYAxisDisplayOptions; }
150 inline bool SecondaryYAxisDisplayOptionsHasBeenSet() const { return m_secondaryYAxisDisplayOptionsHasBeenSet; }
151 inline void SetSecondaryYAxisDisplayOptions(const AxisDisplayOptions& value) { m_secondaryYAxisDisplayOptionsHasBeenSet = true; m_secondaryYAxisDisplayOptions = value; }
152 inline void SetSecondaryYAxisDisplayOptions(AxisDisplayOptions&& value) { m_secondaryYAxisDisplayOptionsHasBeenSet = true; m_secondaryYAxisDisplayOptions = std::move(value); }
156
158
162 inline const ChartAxisLabelOptions& GetSecondaryYAxisLabelOptions() const{ return m_secondaryYAxisLabelOptions; }
163 inline bool SecondaryYAxisLabelOptionsHasBeenSet() const { return m_secondaryYAxisLabelOptionsHasBeenSet; }
164 inline void SetSecondaryYAxisLabelOptions(const ChartAxisLabelOptions& value) { m_secondaryYAxisLabelOptionsHasBeenSet = true; m_secondaryYAxisLabelOptions = value; }
165 inline void SetSecondaryYAxisLabelOptions(ChartAxisLabelOptions&& value) { m_secondaryYAxisLabelOptionsHasBeenSet = true; m_secondaryYAxisLabelOptions = std::move(value); }
169
171
172 inline const SingleAxisOptions& GetSingleAxisOptions() const{ return m_singleAxisOptions; }
173 inline bool SingleAxisOptionsHasBeenSet() const { return m_singleAxisOptionsHasBeenSet; }
174 inline void SetSingleAxisOptions(const SingleAxisOptions& value) { m_singleAxisOptionsHasBeenSet = true; m_singleAxisOptions = value; }
175 inline void SetSingleAxisOptions(SingleAxisOptions&& value) { m_singleAxisOptionsHasBeenSet = true; m_singleAxisOptions = std::move(value); }
177 inline ComboChartConfiguration& WithSingleAxisOptions(SingleAxisOptions&& value) { SetSingleAxisOptions(std::move(value)); return *this;}
179
181
185 inline const ChartAxisLabelOptions& GetColorLabelOptions() const{ return m_colorLabelOptions; }
186 inline bool ColorLabelOptionsHasBeenSet() const { return m_colorLabelOptionsHasBeenSet; }
187 inline void SetColorLabelOptions(const ChartAxisLabelOptions& value) { m_colorLabelOptionsHasBeenSet = true; m_colorLabelOptions = value; }
188 inline void SetColorLabelOptions(ChartAxisLabelOptions&& value) { m_colorLabelOptionsHasBeenSet = true; m_colorLabelOptions = std::move(value); }
192
194
197 inline const LegendOptions& GetLegend() const{ return m_legend; }
198 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
199 inline void SetLegend(const LegendOptions& value) { m_legendHasBeenSet = true; m_legend = value; }
200 inline void SetLegend(LegendOptions&& value) { m_legendHasBeenSet = true; m_legend = std::move(value); }
201 inline ComboChartConfiguration& WithLegend(const LegendOptions& value) { SetLegend(value); return *this;}
202 inline ComboChartConfiguration& WithLegend(LegendOptions&& value) { SetLegend(std::move(value)); return *this;}
204
206
210 inline const DataLabelOptions& GetBarDataLabels() const{ return m_barDataLabels; }
211 inline bool BarDataLabelsHasBeenSet() const { return m_barDataLabelsHasBeenSet; }
212 inline void SetBarDataLabels(const DataLabelOptions& value) { m_barDataLabelsHasBeenSet = true; m_barDataLabels = value; }
213 inline void SetBarDataLabels(DataLabelOptions&& value) { m_barDataLabelsHasBeenSet = true; m_barDataLabels = std::move(value); }
214 inline ComboChartConfiguration& WithBarDataLabels(const DataLabelOptions& value) { SetBarDataLabels(value); return *this;}
215 inline ComboChartConfiguration& WithBarDataLabels(DataLabelOptions&& value) { SetBarDataLabels(std::move(value)); return *this;}
217
219
223 inline const DataLabelOptions& GetLineDataLabels() const{ return m_lineDataLabels; }
224 inline bool LineDataLabelsHasBeenSet() const { return m_lineDataLabelsHasBeenSet; }
225 inline void SetLineDataLabels(const DataLabelOptions& value) { m_lineDataLabelsHasBeenSet = true; m_lineDataLabels = value; }
226 inline void SetLineDataLabels(DataLabelOptions&& value) { m_lineDataLabelsHasBeenSet = true; m_lineDataLabels = std::move(value); }
228 inline ComboChartConfiguration& WithLineDataLabels(DataLabelOptions&& value) { SetLineDataLabels(std::move(value)); return *this;}
230
232
235 inline const TooltipOptions& GetTooltip() const{ return m_tooltip; }
236 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
237 inline void SetTooltip(const TooltipOptions& value) { m_tooltipHasBeenSet = true; m_tooltip = value; }
238 inline void SetTooltip(TooltipOptions&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::move(value); }
239 inline ComboChartConfiguration& WithTooltip(const TooltipOptions& value) { SetTooltip(value); return *this;}
240 inline ComboChartConfiguration& WithTooltip(TooltipOptions&& value) { SetTooltip(std::move(value)); return *this;}
242
244
247 inline const Aws::Vector<ReferenceLine>& GetReferenceLines() const{ return m_referenceLines; }
248 inline bool ReferenceLinesHasBeenSet() const { return m_referenceLinesHasBeenSet; }
249 inline void SetReferenceLines(const Aws::Vector<ReferenceLine>& value) { m_referenceLinesHasBeenSet = true; m_referenceLines = value; }
250 inline void SetReferenceLines(Aws::Vector<ReferenceLine>&& value) { m_referenceLinesHasBeenSet = true; m_referenceLines = std::move(value); }
253 inline ComboChartConfiguration& AddReferenceLines(const ReferenceLine& value) { m_referenceLinesHasBeenSet = true; m_referenceLines.push_back(value); return *this; }
254 inline ComboChartConfiguration& AddReferenceLines(ReferenceLine&& value) { m_referenceLinesHasBeenSet = true; m_referenceLines.push_back(std::move(value)); return *this; }
256
258
261 inline const VisualPalette& GetVisualPalette() const{ return m_visualPalette; }
262 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
263 inline void SetVisualPalette(const VisualPalette& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = value; }
264 inline void SetVisualPalette(VisualPalette&& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = std::move(value); }
265 inline ComboChartConfiguration& WithVisualPalette(const VisualPalette& value) { SetVisualPalette(value); return *this;}
266 inline ComboChartConfiguration& WithVisualPalette(VisualPalette&& value) { SetVisualPalette(std::move(value)); return *this;}
268
270
273 inline const VisualInteractionOptions& GetInteractions() const{ return m_interactions; }
274 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
275 inline void SetInteractions(const VisualInteractionOptions& value) { m_interactionsHasBeenSet = true; m_interactions = value; }
276 inline void SetInteractions(VisualInteractionOptions&& value) { m_interactionsHasBeenSet = true; m_interactions = std::move(value); }
278 inline ComboChartConfiguration& WithInteractions(VisualInteractionOptions&& value) { SetInteractions(std::move(value)); return *this;}
280 private:
281
282 ComboChartFieldWells m_fieldWells;
283 bool m_fieldWellsHasBeenSet = false;
284
285 ComboChartSortConfiguration m_sortConfiguration;
286 bool m_sortConfigurationHasBeenSet = false;
287
288 BarsArrangement m_barsArrangement;
289 bool m_barsArrangementHasBeenSet = false;
290
291 AxisDisplayOptions m_categoryAxis;
292 bool m_categoryAxisHasBeenSet = false;
293
294 ChartAxisLabelOptions m_categoryLabelOptions;
295 bool m_categoryLabelOptionsHasBeenSet = false;
296
297 AxisDisplayOptions m_primaryYAxisDisplayOptions;
298 bool m_primaryYAxisDisplayOptionsHasBeenSet = false;
299
300 ChartAxisLabelOptions m_primaryYAxisLabelOptions;
301 bool m_primaryYAxisLabelOptionsHasBeenSet = false;
302
303 AxisDisplayOptions m_secondaryYAxisDisplayOptions;
304 bool m_secondaryYAxisDisplayOptionsHasBeenSet = false;
305
306 ChartAxisLabelOptions m_secondaryYAxisLabelOptions;
307 bool m_secondaryYAxisLabelOptionsHasBeenSet = false;
308
309 SingleAxisOptions m_singleAxisOptions;
310 bool m_singleAxisOptionsHasBeenSet = false;
311
312 ChartAxisLabelOptions m_colorLabelOptions;
313 bool m_colorLabelOptionsHasBeenSet = false;
314
315 LegendOptions m_legend;
316 bool m_legendHasBeenSet = false;
317
318 DataLabelOptions m_barDataLabels;
319 bool m_barDataLabelsHasBeenSet = false;
320
321 DataLabelOptions m_lineDataLabels;
322 bool m_lineDataLabelsHasBeenSet = false;
323
324 TooltipOptions m_tooltip;
325 bool m_tooltipHasBeenSet = false;
326
327 Aws::Vector<ReferenceLine> m_referenceLines;
328 bool m_referenceLinesHasBeenSet = false;
329
330 VisualPalette m_visualPalette;
331 bool m_visualPaletteHasBeenSet = false;
332
333 VisualInteractionOptions m_interactions;
334 bool m_interactionsHasBeenSet = false;
335 };
336
337} // namespace Model
338} // namespace QuickSight
339} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ComboChartConfiguration & WithLegend(LegendOptions &&value)
const ComboChartFieldWells & GetFieldWells() const
ComboChartConfiguration & WithSingleAxisOptions(const SingleAxisOptions &value)
void SetPrimaryYAxisDisplayOptions(AxisDisplayOptions &&value)
ComboChartConfiguration & WithSortConfiguration(const ComboChartSortConfiguration &value)
void SetCategoryAxis(const AxisDisplayOptions &value)
void SetPrimaryYAxisLabelOptions(ChartAxisLabelOptions &&value)
void SetReferenceLines(Aws::Vector< ReferenceLine > &&value)
AWS_QUICKSIGHT_API ComboChartConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCategoryLabelOptions(const ChartAxisLabelOptions &value)
ComboChartConfiguration & WithSecondaryYAxisLabelOptions(ChartAxisLabelOptions &&value)
ComboChartConfiguration & WithPrimaryYAxisDisplayOptions(const AxisDisplayOptions &value)
void SetSortConfiguration(ComboChartSortConfiguration &&value)
ComboChartConfiguration & WithBarDataLabels(DataLabelOptions &&value)
ComboChartConfiguration & WithSecondaryYAxisDisplayOptions(const AxisDisplayOptions &value)
const VisualInteractionOptions & GetInteractions() const
ComboChartConfiguration & WithColorLabelOptions(ChartAxisLabelOptions &&value)
const ComboChartSortConfiguration & GetSortConfiguration() const
ComboChartConfiguration & WithColorLabelOptions(const ChartAxisLabelOptions &value)
const ChartAxisLabelOptions & GetSecondaryYAxisLabelOptions() const
ComboChartConfiguration & WithLineDataLabels(const DataLabelOptions &value)
ComboChartConfiguration & WithTooltip(const TooltipOptions &value)
void SetInteractions(VisualInteractionOptions &&value)
void SetSingleAxisOptions(const SingleAxisOptions &value)
ComboChartConfiguration & WithInteractions(const VisualInteractionOptions &value)
ComboChartConfiguration & WithLegend(const LegendOptions &value)
ComboChartConfiguration & WithVisualPalette(const VisualPalette &value)
ComboChartConfiguration & WithPrimaryYAxisLabelOptions(const ChartAxisLabelOptions &value)
void SetInteractions(const VisualInteractionOptions &value)
ComboChartConfiguration & AddReferenceLines(const ReferenceLine &value)
const Aws::Vector< ReferenceLine > & GetReferenceLines() const
ComboChartConfiguration & WithPrimaryYAxisDisplayOptions(AxisDisplayOptions &&value)
ComboChartConfiguration & WithVisualPalette(VisualPalette &&value)
void SetColorLabelOptions(ChartAxisLabelOptions &&value)
void SetBarDataLabels(const DataLabelOptions &value)
void SetFieldWells(const ComboChartFieldWells &value)
void SetSecondaryYAxisLabelOptions(ChartAxisLabelOptions &&value)
ComboChartConfiguration & WithFieldWells(ComboChartFieldWells &&value)
ComboChartConfiguration & WithSecondaryYAxisDisplayOptions(AxisDisplayOptions &&value)
ComboChartConfiguration & WithBarDataLabels(const DataLabelOptions &value)
void SetCategoryLabelOptions(ChartAxisLabelOptions &&value)
ComboChartConfiguration & WithFieldWells(const ComboChartFieldWells &value)
ComboChartConfiguration & WithReferenceLines(const Aws::Vector< ReferenceLine > &value)
ComboChartConfiguration & WithCategoryLabelOptions(ChartAxisLabelOptions &&value)
const AxisDisplayOptions & GetSecondaryYAxisDisplayOptions() const
void SetColorLabelOptions(const ChartAxisLabelOptions &value)
ComboChartConfiguration & WithBarsArrangement(BarsArrangement &&value)
ComboChartConfiguration & WithCategoryAxis(const AxisDisplayOptions &value)
const ChartAxisLabelOptions & GetCategoryLabelOptions() const
ComboChartConfiguration & WithLineDataLabels(DataLabelOptions &&value)
void SetPrimaryYAxisLabelOptions(const ChartAxisLabelOptions &value)
AWS_QUICKSIGHT_API ComboChartConfiguration(Aws::Utils::Json::JsonView jsonValue)
const AxisDisplayOptions & GetPrimaryYAxisDisplayOptions() const
ComboChartConfiguration & WithReferenceLines(Aws::Vector< ReferenceLine > &&value)
void SetSecondaryYAxisDisplayOptions(AxisDisplayOptions &&value)
ComboChartConfiguration & AddReferenceLines(ReferenceLine &&value)
ComboChartConfiguration & WithBarsArrangement(const BarsArrangement &value)
void SetReferenceLines(const Aws::Vector< ReferenceLine > &value)
ComboChartConfiguration & WithCategoryLabelOptions(const ChartAxisLabelOptions &value)
void SetBarsArrangement(const BarsArrangement &value)
ComboChartConfiguration & WithSortConfiguration(ComboChartSortConfiguration &&value)
ComboChartConfiguration & WithPrimaryYAxisLabelOptions(ChartAxisLabelOptions &&value)
const ChartAxisLabelOptions & GetPrimaryYAxisLabelOptions() const
ComboChartConfiguration & WithSecondaryYAxisLabelOptions(const ChartAxisLabelOptions &value)
ComboChartConfiguration & WithSingleAxisOptions(SingleAxisOptions &&value)
const ChartAxisLabelOptions & GetColorLabelOptions() const
void SetPrimaryYAxisDisplayOptions(const AxisDisplayOptions &value)
void SetSecondaryYAxisDisplayOptions(const AxisDisplayOptions &value)
ComboChartConfiguration & WithCategoryAxis(AxisDisplayOptions &&value)
ComboChartConfiguration & WithTooltip(TooltipOptions &&value)
void SetSortConfiguration(const ComboChartSortConfiguration &value)
void SetLineDataLabels(const DataLabelOptions &value)
void SetSecondaryYAxisLabelOptions(const ChartAxisLabelOptions &value)
ComboChartConfiguration & WithInteractions(VisualInteractionOptions &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue