AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BarChartConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/BarChartFieldWells.h>
9#include <aws/quicksight/model/BarChartSortConfiguration.h>
10#include <aws/quicksight/model/BarChartOrientation.h>
11#include <aws/quicksight/model/BarsArrangement.h>
12#include <aws/quicksight/model/VisualPalette.h>
13#include <aws/quicksight/model/SmallMultiplesOptions.h>
14#include <aws/quicksight/model/AxisDisplayOptions.h>
15#include <aws/quicksight/model/ChartAxisLabelOptions.h>
16#include <aws/quicksight/model/LegendOptions.h>
17#include <aws/quicksight/model/DataLabelOptions.h>
18#include <aws/quicksight/model/TooltipOptions.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
20#include <aws/quicksight/model/VisualInteractionOptions.h>
21#include <aws/quicksight/model/ReferenceLine.h>
22#include <aws/quicksight/model/ContributionAnalysisDefault.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace QuickSight
36{
37namespace Model
38{
39
47 {
48 public:
49 AWS_QUICKSIGHT_API BarChartConfiguration();
52 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
59 inline const BarChartFieldWells& GetFieldWells() const{ return m_fieldWells; }
60 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
61 inline void SetFieldWells(const BarChartFieldWells& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = value; }
62 inline void SetFieldWells(BarChartFieldWells&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::move(value); }
63 inline BarChartConfiguration& WithFieldWells(const BarChartFieldWells& value) { SetFieldWells(value); return *this;}
64 inline BarChartConfiguration& WithFieldWells(BarChartFieldWells&& value) { SetFieldWells(std::move(value)); return *this;}
66
68
71 inline const BarChartSortConfiguration& GetSortConfiguration() const{ return m_sortConfiguration; }
72 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
73 inline void SetSortConfiguration(const BarChartSortConfiguration& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = value; }
74 inline void SetSortConfiguration(BarChartSortConfiguration&& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::move(value); }
78
80
89 inline const BarChartOrientation& GetOrientation() const{ return m_orientation; }
90 inline bool OrientationHasBeenSet() const { return m_orientationHasBeenSet; }
91 inline void SetOrientation(const BarChartOrientation& value) { m_orientationHasBeenSet = true; m_orientation = value; }
92 inline void SetOrientation(BarChartOrientation&& value) { m_orientationHasBeenSet = true; m_orientation = std::move(value); }
93 inline BarChartConfiguration& WithOrientation(const BarChartOrientation& value) { SetOrientation(value); return *this;}
94 inline BarChartConfiguration& WithOrientation(BarChartOrientation&& value) { SetOrientation(std::move(value)); return *this;}
96
98
102 inline const BarsArrangement& GetBarsArrangement() const{ return m_barsArrangement; }
103 inline bool BarsArrangementHasBeenSet() const { return m_barsArrangementHasBeenSet; }
104 inline void SetBarsArrangement(const BarsArrangement& value) { m_barsArrangementHasBeenSet = true; m_barsArrangement = value; }
105 inline void SetBarsArrangement(BarsArrangement&& value) { m_barsArrangementHasBeenSet = true; m_barsArrangement = std::move(value); }
107 inline BarChartConfiguration& WithBarsArrangement(BarsArrangement&& value) { SetBarsArrangement(std::move(value)); return *this;}
109
111
114 inline const VisualPalette& GetVisualPalette() const{ return m_visualPalette; }
115 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
116 inline void SetVisualPalette(const VisualPalette& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = value; }
117 inline void SetVisualPalette(VisualPalette&& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = std::move(value); }
118 inline BarChartConfiguration& WithVisualPalette(const VisualPalette& value) { SetVisualPalette(value); return *this;}
119 inline BarChartConfiguration& WithVisualPalette(VisualPalette&& value) { SetVisualPalette(std::move(value)); return *this;}
121
123
126 inline const SmallMultiplesOptions& GetSmallMultiplesOptions() const{ return m_smallMultiplesOptions; }
127 inline bool SmallMultiplesOptionsHasBeenSet() const { return m_smallMultiplesOptionsHasBeenSet; }
128 inline void SetSmallMultiplesOptions(const SmallMultiplesOptions& value) { m_smallMultiplesOptionsHasBeenSet = true; m_smallMultiplesOptions = value; }
129 inline void SetSmallMultiplesOptions(SmallMultiplesOptions&& value) { m_smallMultiplesOptionsHasBeenSet = true; m_smallMultiplesOptions = std::move(value); }
133
135
139 inline const AxisDisplayOptions& GetCategoryAxis() const{ return m_categoryAxis; }
140 inline bool CategoryAxisHasBeenSet() const { return m_categoryAxisHasBeenSet; }
141 inline void SetCategoryAxis(const AxisDisplayOptions& value) { m_categoryAxisHasBeenSet = true; m_categoryAxis = value; }
142 inline void SetCategoryAxis(AxisDisplayOptions&& value) { m_categoryAxisHasBeenSet = true; m_categoryAxis = std::move(value); }
143 inline BarChartConfiguration& WithCategoryAxis(const AxisDisplayOptions& value) { SetCategoryAxis(value); return *this;}
144 inline BarChartConfiguration& WithCategoryAxis(AxisDisplayOptions&& value) { SetCategoryAxis(std::move(value)); return *this;}
146
148
152 inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const{ return m_categoryLabelOptions; }
153 inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; }
154 inline void SetCategoryLabelOptions(const ChartAxisLabelOptions& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = value; }
155 inline void SetCategoryLabelOptions(ChartAxisLabelOptions&& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = std::move(value); }
159
161
165 inline const AxisDisplayOptions& GetValueAxis() const{ return m_valueAxis; }
166 inline bool ValueAxisHasBeenSet() const { return m_valueAxisHasBeenSet; }
167 inline void SetValueAxis(const AxisDisplayOptions& value) { m_valueAxisHasBeenSet = true; m_valueAxis = value; }
168 inline void SetValueAxis(AxisDisplayOptions&& value) { m_valueAxisHasBeenSet = true; m_valueAxis = std::move(value); }
169 inline BarChartConfiguration& WithValueAxis(const AxisDisplayOptions& value) { SetValueAxis(value); return *this;}
170 inline BarChartConfiguration& WithValueAxis(AxisDisplayOptions&& value) { SetValueAxis(std::move(value)); return *this;}
172
174
178 inline const ChartAxisLabelOptions& GetValueLabelOptions() const{ return m_valueLabelOptions; }
179 inline bool ValueLabelOptionsHasBeenSet() const { return m_valueLabelOptionsHasBeenSet; }
180 inline void SetValueLabelOptions(const ChartAxisLabelOptions& value) { m_valueLabelOptionsHasBeenSet = true; m_valueLabelOptions = value; }
181 inline void SetValueLabelOptions(ChartAxisLabelOptions&& value) { m_valueLabelOptionsHasBeenSet = true; m_valueLabelOptions = std::move(value); }
185
187
191 inline const ChartAxisLabelOptions& GetColorLabelOptions() const{ return m_colorLabelOptions; }
192 inline bool ColorLabelOptionsHasBeenSet() const { return m_colorLabelOptionsHasBeenSet; }
193 inline void SetColorLabelOptions(const ChartAxisLabelOptions& value) { m_colorLabelOptionsHasBeenSet = true; m_colorLabelOptions = value; }
194 inline void SetColorLabelOptions(ChartAxisLabelOptions&& value) { m_colorLabelOptionsHasBeenSet = true; m_colorLabelOptions = std::move(value); }
198
200
203 inline const LegendOptions& GetLegend() const{ return m_legend; }
204 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
205 inline void SetLegend(const LegendOptions& value) { m_legendHasBeenSet = true; m_legend = value; }
206 inline void SetLegend(LegendOptions&& value) { m_legendHasBeenSet = true; m_legend = std::move(value); }
207 inline BarChartConfiguration& WithLegend(const LegendOptions& value) { SetLegend(value); return *this;}
208 inline BarChartConfiguration& WithLegend(LegendOptions&& value) { SetLegend(std::move(value)); return *this;}
210
212
215 inline const DataLabelOptions& GetDataLabels() const{ return m_dataLabels; }
216 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
217 inline void SetDataLabels(const DataLabelOptions& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = value; }
218 inline void SetDataLabels(DataLabelOptions&& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = std::move(value); }
219 inline BarChartConfiguration& WithDataLabels(const DataLabelOptions& value) { SetDataLabels(value); return *this;}
220 inline BarChartConfiguration& WithDataLabels(DataLabelOptions&& value) { SetDataLabels(std::move(value)); return *this;}
222
224
227 inline const TooltipOptions& GetTooltip() const{ return m_tooltip; }
228 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
229 inline void SetTooltip(const TooltipOptions& value) { m_tooltipHasBeenSet = true; m_tooltip = value; }
230 inline void SetTooltip(TooltipOptions&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::move(value); }
231 inline BarChartConfiguration& WithTooltip(const TooltipOptions& value) { SetTooltip(value); return *this;}
232 inline BarChartConfiguration& WithTooltip(TooltipOptions&& value) { SetTooltip(std::move(value)); return *this;}
234
236
239 inline const Aws::Vector<ReferenceLine>& GetReferenceLines() const{ return m_referenceLines; }
240 inline bool ReferenceLinesHasBeenSet() const { return m_referenceLinesHasBeenSet; }
241 inline void SetReferenceLines(const Aws::Vector<ReferenceLine>& value) { m_referenceLinesHasBeenSet = true; m_referenceLines = value; }
242 inline void SetReferenceLines(Aws::Vector<ReferenceLine>&& value) { m_referenceLinesHasBeenSet = true; m_referenceLines = std::move(value); }
245 inline BarChartConfiguration& AddReferenceLines(const ReferenceLine& value) { m_referenceLinesHasBeenSet = true; m_referenceLines.push_back(value); return *this; }
246 inline BarChartConfiguration& AddReferenceLines(ReferenceLine&& value) { m_referenceLinesHasBeenSet = true; m_referenceLines.push_back(std::move(value)); return *this; }
248
250
253 inline const Aws::Vector<ContributionAnalysisDefault>& GetContributionAnalysisDefaults() const{ return m_contributionAnalysisDefaults; }
254 inline bool ContributionAnalysisDefaultsHasBeenSet() const { return m_contributionAnalysisDefaultsHasBeenSet; }
255 inline void SetContributionAnalysisDefaults(const Aws::Vector<ContributionAnalysisDefault>& value) { m_contributionAnalysisDefaultsHasBeenSet = true; m_contributionAnalysisDefaults = value; }
256 inline void SetContributionAnalysisDefaults(Aws::Vector<ContributionAnalysisDefault>&& value) { m_contributionAnalysisDefaultsHasBeenSet = true; m_contributionAnalysisDefaults = std::move(value); }
259 inline BarChartConfiguration& AddContributionAnalysisDefaults(const ContributionAnalysisDefault& value) { m_contributionAnalysisDefaultsHasBeenSet = true; m_contributionAnalysisDefaults.push_back(value); return *this; }
260 inline BarChartConfiguration& AddContributionAnalysisDefaults(ContributionAnalysisDefault&& value) { m_contributionAnalysisDefaultsHasBeenSet = true; m_contributionAnalysisDefaults.push_back(std::move(value)); return *this; }
262
264
267 inline const VisualInteractionOptions& GetInteractions() const{ return m_interactions; }
268 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
269 inline void SetInteractions(const VisualInteractionOptions& value) { m_interactionsHasBeenSet = true; m_interactions = value; }
270 inline void SetInteractions(VisualInteractionOptions&& value) { m_interactionsHasBeenSet = true; m_interactions = std::move(value); }
272 inline BarChartConfiguration& WithInteractions(VisualInteractionOptions&& value) { SetInteractions(std::move(value)); return *this;}
274 private:
275
276 BarChartFieldWells m_fieldWells;
277 bool m_fieldWellsHasBeenSet = false;
278
279 BarChartSortConfiguration m_sortConfiguration;
280 bool m_sortConfigurationHasBeenSet = false;
281
282 BarChartOrientation m_orientation;
283 bool m_orientationHasBeenSet = false;
284
285 BarsArrangement m_barsArrangement;
286 bool m_barsArrangementHasBeenSet = false;
287
288 VisualPalette m_visualPalette;
289 bool m_visualPaletteHasBeenSet = false;
290
291 SmallMultiplesOptions m_smallMultiplesOptions;
292 bool m_smallMultiplesOptionsHasBeenSet = false;
293
294 AxisDisplayOptions m_categoryAxis;
295 bool m_categoryAxisHasBeenSet = false;
296
297 ChartAxisLabelOptions m_categoryLabelOptions;
298 bool m_categoryLabelOptionsHasBeenSet = false;
299
300 AxisDisplayOptions m_valueAxis;
301 bool m_valueAxisHasBeenSet = false;
302
303 ChartAxisLabelOptions m_valueLabelOptions;
304 bool m_valueLabelOptionsHasBeenSet = false;
305
306 ChartAxisLabelOptions m_colorLabelOptions;
307 bool m_colorLabelOptionsHasBeenSet = false;
308
309 LegendOptions m_legend;
310 bool m_legendHasBeenSet = false;
311
312 DataLabelOptions m_dataLabels;
313 bool m_dataLabelsHasBeenSet = false;
314
315 TooltipOptions m_tooltip;
316 bool m_tooltipHasBeenSet = false;
317
318 Aws::Vector<ReferenceLine> m_referenceLines;
319 bool m_referenceLinesHasBeenSet = false;
320
321 Aws::Vector<ContributionAnalysisDefault> m_contributionAnalysisDefaults;
322 bool m_contributionAnalysisDefaultsHasBeenSet = false;
323
324 VisualInteractionOptions m_interactions;
325 bool m_interactionsHasBeenSet = false;
326 };
327
328} // namespace Model
329} // namespace QuickSight
330} // namespace Aws
BarChartConfiguration & WithLegend(const LegendOptions &value)
BarChartConfiguration & WithInteractions(VisualInteractionOptions &&value)
void SetValueAxis(const AxisDisplayOptions &value)
BarChartConfiguration & WithTooltip(TooltipOptions &&value)
BarChartConfiguration & WithCategoryLabelOptions(const ChartAxisLabelOptions &value)
BarChartConfiguration & WithFieldWells(BarChartFieldWells &&value)
void SetCategoryAxis(const AxisDisplayOptions &value)
BarChartConfiguration & WithOrientation(BarChartOrientation &&value)
const BarChartFieldWells & GetFieldWells() const
AWS_QUICKSIGHT_API BarChartConfiguration(Aws::Utils::Json::JsonView jsonValue)
BarChartConfiguration & WithContributionAnalysisDefaults(const Aws::Vector< ContributionAnalysisDefault > &value)
BarChartConfiguration & WithValueLabelOptions(ChartAxisLabelOptions &&value)
BarChartConfiguration & AddReferenceLines(const ReferenceLine &value)
void SetReferenceLines(Aws::Vector< ReferenceLine > &&value)
BarChartConfiguration & WithSmallMultiplesOptions(SmallMultiplesOptions &&value)
BarChartConfiguration & WithValueLabelOptions(const ChartAxisLabelOptions &value)
BarChartConfiguration & WithReferenceLines(Aws::Vector< ReferenceLine > &&value)
void SetDataLabels(const DataLabelOptions &value)
BarChartConfiguration & WithVisualPalette(const VisualPalette &value)
void SetInteractions(const VisualInteractionOptions &value)
BarChartConfiguration & WithTooltip(const TooltipOptions &value)
BarChartConfiguration & WithSortConfiguration(const BarChartSortConfiguration &value)
BarChartConfiguration & AddContributionAnalysisDefaults(ContributionAnalysisDefault &&value)
const Aws::Vector< ReferenceLine > & GetReferenceLines() const
void SetSmallMultiplesOptions(const SmallMultiplesOptions &value)
void SetFieldWells(const BarChartFieldWells &value)
void SetCategoryLabelOptions(const ChartAxisLabelOptions &value)
void SetVisualPalette(const VisualPalette &value)
AWS_QUICKSIGHT_API BarChartConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
BarChartConfiguration & AddReferenceLines(ReferenceLine &&value)
BarChartConfiguration & WithDataLabels(const DataLabelOptions &value)
BarChartConfiguration & WithCategoryAxis(const AxisDisplayOptions &value)
const AxisDisplayOptions & GetValueAxis() const
BarChartConfiguration & WithColorLabelOptions(const ChartAxisLabelOptions &value)
BarChartConfiguration & WithBarsArrangement(BarsArrangement &&value)
BarChartConfiguration & WithContributionAnalysisDefaults(Aws::Vector< ContributionAnalysisDefault > &&value)
const ChartAxisLabelOptions & GetColorLabelOptions() const
void SetBarsArrangement(const BarsArrangement &value)
BarChartConfiguration & WithReferenceLines(const Aws::Vector< ReferenceLine > &value)
const AxisDisplayOptions & GetCategoryAxis() const
const BarChartOrientation & GetOrientation() const
void SetInteractions(VisualInteractionOptions &&value)
void SetSortConfiguration(BarChartSortConfiguration &&value)
const VisualInteractionOptions & GetInteractions() const
BarChartConfiguration & WithVisualPalette(VisualPalette &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const ChartAxisLabelOptions & GetCategoryLabelOptions() const
BarChartConfiguration & WithDataLabels(DataLabelOptions &&value)
BarChartConfiguration & WithSmallMultiplesOptions(const SmallMultiplesOptions &value)
void SetCategoryLabelOptions(ChartAxisLabelOptions &&value)
const SmallMultiplesOptions & GetSmallMultiplesOptions() const
BarChartConfiguration & WithFieldWells(const BarChartFieldWells &value)
void SetContributionAnalysisDefaults(const Aws::Vector< ContributionAnalysisDefault > &value)
BarChartConfiguration & WithInteractions(const VisualInteractionOptions &value)
void SetOrientation(const BarChartOrientation &value)
BarChartConfiguration & WithColorLabelOptions(ChartAxisLabelOptions &&value)
void SetSmallMultiplesOptions(SmallMultiplesOptions &&value)
const ChartAxisLabelOptions & GetValueLabelOptions() const
void SetSortConfiguration(const BarChartSortConfiguration &value)
const Aws::Vector< ContributionAnalysisDefault > & GetContributionAnalysisDefaults() const
BarChartConfiguration & WithValueAxis(AxisDisplayOptions &&value)
void SetColorLabelOptions(ChartAxisLabelOptions &&value)
void SetContributionAnalysisDefaults(Aws::Vector< ContributionAnalysisDefault > &&value)
void SetColorLabelOptions(const ChartAxisLabelOptions &value)
BarChartConfiguration & WithValueAxis(const AxisDisplayOptions &value)
BarChartConfiguration & WithOrientation(const BarChartOrientation &value)
void SetValueLabelOptions(const ChartAxisLabelOptions &value)
BarChartConfiguration & WithSortConfiguration(BarChartSortConfiguration &&value)
BarChartConfiguration & AddContributionAnalysisDefaults(const ContributionAnalysisDefault &value)
BarChartConfiguration & WithCategoryAxis(AxisDisplayOptions &&value)
BarChartConfiguration & WithBarsArrangement(const BarsArrangement &value)
const BarChartSortConfiguration & GetSortConfiguration() const
void SetReferenceLines(const Aws::Vector< ReferenceLine > &value)
BarChartConfiguration & WithLegend(LegendOptions &&value)
void SetValueLabelOptions(ChartAxisLabelOptions &&value)
void SetOrientation(BarChartOrientation &&value)
BarChartConfiguration & WithCategoryLabelOptions(ChartAxisLabelOptions &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue