AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename FieldWellsT = ComboChartFieldWells>
60 void SetFieldWells(FieldWellsT&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::forward<FieldWellsT>(value); }
61 template<typename FieldWellsT = ComboChartFieldWells>
62 ComboChartConfiguration& WithFieldWells(FieldWellsT&& value) { SetFieldWells(std::forward<FieldWellsT>(value)); return *this;}
64
66
69 inline const ComboChartSortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
70 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
71 template<typename SortConfigurationT = ComboChartSortConfiguration>
72 void SetSortConfiguration(SortConfigurationT&& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::forward<SortConfigurationT>(value); }
73 template<typename SortConfigurationT = ComboChartSortConfiguration>
74 ComboChartConfiguration& WithSortConfiguration(SortConfigurationT&& value) { SetSortConfiguration(std::forward<SortConfigurationT>(value)); return *this;}
76
78
85 inline BarsArrangement GetBarsArrangement() const { return m_barsArrangement; }
86 inline bool BarsArrangementHasBeenSet() const { return m_barsArrangementHasBeenSet; }
87 inline void SetBarsArrangement(BarsArrangement value) { m_barsArrangementHasBeenSet = true; m_barsArrangement = value; }
90
92
95 inline const AxisDisplayOptions& GetCategoryAxis() const { return m_categoryAxis; }
96 inline bool CategoryAxisHasBeenSet() const { return m_categoryAxisHasBeenSet; }
97 template<typename CategoryAxisT = AxisDisplayOptions>
98 void SetCategoryAxis(CategoryAxisT&& value) { m_categoryAxisHasBeenSet = true; m_categoryAxis = std::forward<CategoryAxisT>(value); }
99 template<typename CategoryAxisT = AxisDisplayOptions>
100 ComboChartConfiguration& WithCategoryAxis(CategoryAxisT&& value) { SetCategoryAxis(std::forward<CategoryAxisT>(value)); return *this;}
102
104
108 inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const { return m_categoryLabelOptions; }
109 inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; }
110 template<typename CategoryLabelOptionsT = ChartAxisLabelOptions>
111 void SetCategoryLabelOptions(CategoryLabelOptionsT&& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = std::forward<CategoryLabelOptionsT>(value); }
112 template<typename CategoryLabelOptionsT = ChartAxisLabelOptions>
113 ComboChartConfiguration& WithCategoryLabelOptions(CategoryLabelOptionsT&& value) { SetCategoryLabelOptions(std::forward<CategoryLabelOptionsT>(value)); return *this;}
115
117
121 inline const AxisDisplayOptions& GetPrimaryYAxisDisplayOptions() const { return m_primaryYAxisDisplayOptions; }
122 inline bool PrimaryYAxisDisplayOptionsHasBeenSet() const { return m_primaryYAxisDisplayOptionsHasBeenSet; }
123 template<typename PrimaryYAxisDisplayOptionsT = AxisDisplayOptions>
124 void SetPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT&& value) { m_primaryYAxisDisplayOptionsHasBeenSet = true; m_primaryYAxisDisplayOptions = std::forward<PrimaryYAxisDisplayOptionsT>(value); }
125 template<typename PrimaryYAxisDisplayOptionsT = AxisDisplayOptions>
126 ComboChartConfiguration& WithPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT&& value) { SetPrimaryYAxisDisplayOptions(std::forward<PrimaryYAxisDisplayOptionsT>(value)); return *this;}
128
130
134 inline const ChartAxisLabelOptions& GetPrimaryYAxisLabelOptions() const { return m_primaryYAxisLabelOptions; }
135 inline bool PrimaryYAxisLabelOptionsHasBeenSet() const { return m_primaryYAxisLabelOptionsHasBeenSet; }
136 template<typename PrimaryYAxisLabelOptionsT = ChartAxisLabelOptions>
137 void SetPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT&& value) { m_primaryYAxisLabelOptionsHasBeenSet = true; m_primaryYAxisLabelOptions = std::forward<PrimaryYAxisLabelOptionsT>(value); }
138 template<typename PrimaryYAxisLabelOptionsT = ChartAxisLabelOptions>
139 ComboChartConfiguration& WithPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT&& value) { SetPrimaryYAxisLabelOptions(std::forward<PrimaryYAxisLabelOptionsT>(value)); return *this;}
141
143
147 inline const AxisDisplayOptions& GetSecondaryYAxisDisplayOptions() const { return m_secondaryYAxisDisplayOptions; }
148 inline bool SecondaryYAxisDisplayOptionsHasBeenSet() const { return m_secondaryYAxisDisplayOptionsHasBeenSet; }
149 template<typename SecondaryYAxisDisplayOptionsT = AxisDisplayOptions>
150 void SetSecondaryYAxisDisplayOptions(SecondaryYAxisDisplayOptionsT&& value) { m_secondaryYAxisDisplayOptionsHasBeenSet = true; m_secondaryYAxisDisplayOptions = std::forward<SecondaryYAxisDisplayOptionsT>(value); }
151 template<typename SecondaryYAxisDisplayOptionsT = AxisDisplayOptions>
152 ComboChartConfiguration& WithSecondaryYAxisDisplayOptions(SecondaryYAxisDisplayOptionsT&& value) { SetSecondaryYAxisDisplayOptions(std::forward<SecondaryYAxisDisplayOptionsT>(value)); return *this;}
154
156
160 inline const ChartAxisLabelOptions& GetSecondaryYAxisLabelOptions() const { return m_secondaryYAxisLabelOptions; }
161 inline bool SecondaryYAxisLabelOptionsHasBeenSet() const { return m_secondaryYAxisLabelOptionsHasBeenSet; }
162 template<typename SecondaryYAxisLabelOptionsT = ChartAxisLabelOptions>
163 void SetSecondaryYAxisLabelOptions(SecondaryYAxisLabelOptionsT&& value) { m_secondaryYAxisLabelOptionsHasBeenSet = true; m_secondaryYAxisLabelOptions = std::forward<SecondaryYAxisLabelOptionsT>(value); }
164 template<typename SecondaryYAxisLabelOptionsT = ChartAxisLabelOptions>
165 ComboChartConfiguration& WithSecondaryYAxisLabelOptions(SecondaryYAxisLabelOptionsT&& value) { SetSecondaryYAxisLabelOptions(std::forward<SecondaryYAxisLabelOptionsT>(value)); return *this;}
167
169
170 inline const SingleAxisOptions& GetSingleAxisOptions() const { return m_singleAxisOptions; }
171 inline bool SingleAxisOptionsHasBeenSet() const { return m_singleAxisOptionsHasBeenSet; }
172 template<typename SingleAxisOptionsT = SingleAxisOptions>
173 void SetSingleAxisOptions(SingleAxisOptionsT&& value) { m_singleAxisOptionsHasBeenSet = true; m_singleAxisOptions = std::forward<SingleAxisOptionsT>(value); }
174 template<typename SingleAxisOptionsT = SingleAxisOptions>
175 ComboChartConfiguration& WithSingleAxisOptions(SingleAxisOptionsT&& value) { SetSingleAxisOptions(std::forward<SingleAxisOptionsT>(value)); return *this;}
177
179
183 inline const ChartAxisLabelOptions& GetColorLabelOptions() const { return m_colorLabelOptions; }
184 inline bool ColorLabelOptionsHasBeenSet() const { return m_colorLabelOptionsHasBeenSet; }
185 template<typename ColorLabelOptionsT = ChartAxisLabelOptions>
186 void SetColorLabelOptions(ColorLabelOptionsT&& value) { m_colorLabelOptionsHasBeenSet = true; m_colorLabelOptions = std::forward<ColorLabelOptionsT>(value); }
187 template<typename ColorLabelOptionsT = ChartAxisLabelOptions>
188 ComboChartConfiguration& WithColorLabelOptions(ColorLabelOptionsT&& value) { SetColorLabelOptions(std::forward<ColorLabelOptionsT>(value)); return *this;}
190
192
195 inline const LegendOptions& GetLegend() const { return m_legend; }
196 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
197 template<typename LegendT = LegendOptions>
198 void SetLegend(LegendT&& value) { m_legendHasBeenSet = true; m_legend = std::forward<LegendT>(value); }
199 template<typename LegendT = LegendOptions>
200 ComboChartConfiguration& WithLegend(LegendT&& value) { SetLegend(std::forward<LegendT>(value)); return *this;}
202
204
208 inline const DataLabelOptions& GetBarDataLabels() const { return m_barDataLabels; }
209 inline bool BarDataLabelsHasBeenSet() const { return m_barDataLabelsHasBeenSet; }
210 template<typename BarDataLabelsT = DataLabelOptions>
211 void SetBarDataLabels(BarDataLabelsT&& value) { m_barDataLabelsHasBeenSet = true; m_barDataLabels = std::forward<BarDataLabelsT>(value); }
212 template<typename BarDataLabelsT = DataLabelOptions>
213 ComboChartConfiguration& WithBarDataLabels(BarDataLabelsT&& value) { SetBarDataLabels(std::forward<BarDataLabelsT>(value)); return *this;}
215
217
221 inline const DataLabelOptions& GetLineDataLabels() const { return m_lineDataLabels; }
222 inline bool LineDataLabelsHasBeenSet() const { return m_lineDataLabelsHasBeenSet; }
223 template<typename LineDataLabelsT = DataLabelOptions>
224 void SetLineDataLabels(LineDataLabelsT&& value) { m_lineDataLabelsHasBeenSet = true; m_lineDataLabels = std::forward<LineDataLabelsT>(value); }
225 template<typename LineDataLabelsT = DataLabelOptions>
226 ComboChartConfiguration& WithLineDataLabels(LineDataLabelsT&& value) { SetLineDataLabels(std::forward<LineDataLabelsT>(value)); return *this;}
228
230
233 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
234 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
235 template<typename TooltipT = TooltipOptions>
236 void SetTooltip(TooltipT&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::forward<TooltipT>(value); }
237 template<typename TooltipT = TooltipOptions>
238 ComboChartConfiguration& WithTooltip(TooltipT&& value) { SetTooltip(std::forward<TooltipT>(value)); return *this;}
240
242
245 inline const Aws::Vector<ReferenceLine>& GetReferenceLines() const { return m_referenceLines; }
246 inline bool ReferenceLinesHasBeenSet() const { return m_referenceLinesHasBeenSet; }
247 template<typename ReferenceLinesT = Aws::Vector<ReferenceLine>>
248 void SetReferenceLines(ReferenceLinesT&& value) { m_referenceLinesHasBeenSet = true; m_referenceLines = std::forward<ReferenceLinesT>(value); }
249 template<typename ReferenceLinesT = Aws::Vector<ReferenceLine>>
250 ComboChartConfiguration& WithReferenceLines(ReferenceLinesT&& value) { SetReferenceLines(std::forward<ReferenceLinesT>(value)); return *this;}
251 template<typename ReferenceLinesT = ReferenceLine>
252 ComboChartConfiguration& AddReferenceLines(ReferenceLinesT&& value) { m_referenceLinesHasBeenSet = true; m_referenceLines.emplace_back(std::forward<ReferenceLinesT>(value)); return *this; }
254
256
259 inline const VisualPalette& GetVisualPalette() const { return m_visualPalette; }
260 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
261 template<typename VisualPaletteT = VisualPalette>
262 void SetVisualPalette(VisualPaletteT&& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = std::forward<VisualPaletteT>(value); }
263 template<typename VisualPaletteT = VisualPalette>
264 ComboChartConfiguration& WithVisualPalette(VisualPaletteT&& value) { SetVisualPalette(std::forward<VisualPaletteT>(value)); return *this;}
266
268
271 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
272 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
273 template<typename InteractionsT = VisualInteractionOptions>
274 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
275 template<typename InteractionsT = VisualInteractionOptions>
276 ComboChartConfiguration& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
278 private:
279
280 ComboChartFieldWells m_fieldWells;
281 bool m_fieldWellsHasBeenSet = false;
282
283 ComboChartSortConfiguration m_sortConfiguration;
284 bool m_sortConfigurationHasBeenSet = false;
285
286 BarsArrangement m_barsArrangement{BarsArrangement::NOT_SET};
287 bool m_barsArrangementHasBeenSet = false;
288
289 AxisDisplayOptions m_categoryAxis;
290 bool m_categoryAxisHasBeenSet = false;
291
292 ChartAxisLabelOptions m_categoryLabelOptions;
293 bool m_categoryLabelOptionsHasBeenSet = false;
294
295 AxisDisplayOptions m_primaryYAxisDisplayOptions;
296 bool m_primaryYAxisDisplayOptionsHasBeenSet = false;
297
298 ChartAxisLabelOptions m_primaryYAxisLabelOptions;
299 bool m_primaryYAxisLabelOptionsHasBeenSet = false;
300
301 AxisDisplayOptions m_secondaryYAxisDisplayOptions;
302 bool m_secondaryYAxisDisplayOptionsHasBeenSet = false;
303
304 ChartAxisLabelOptions m_secondaryYAxisLabelOptions;
305 bool m_secondaryYAxisLabelOptionsHasBeenSet = false;
306
307 SingleAxisOptions m_singleAxisOptions;
308 bool m_singleAxisOptionsHasBeenSet = false;
309
310 ChartAxisLabelOptions m_colorLabelOptions;
311 bool m_colorLabelOptionsHasBeenSet = false;
312
313 LegendOptions m_legend;
314 bool m_legendHasBeenSet = false;
315
316 DataLabelOptions m_barDataLabels;
317 bool m_barDataLabelsHasBeenSet = false;
318
319 DataLabelOptions m_lineDataLabels;
320 bool m_lineDataLabelsHasBeenSet = false;
321
322 TooltipOptions m_tooltip;
323 bool m_tooltipHasBeenSet = false;
324
325 Aws::Vector<ReferenceLine> m_referenceLines;
326 bool m_referenceLinesHasBeenSet = false;
327
328 VisualPalette m_visualPalette;
329 bool m_visualPaletteHasBeenSet = false;
330
331 VisualInteractionOptions m_interactions;
332 bool m_interactionsHasBeenSet = false;
333 };
334
335} // namespace Model
336} // namespace QuickSight
337} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCategoryLabelOptions(CategoryLabelOptionsT &&value)
const ComboChartFieldWells & GetFieldWells() const
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 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
ComboChartConfiguration & WithFieldWells(FieldWellsT &&value)
ComboChartConfiguration & WithReferenceLines(ReferenceLinesT &&value)
ComboChartConfiguration & WithPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT &&value)
const AxisDisplayOptions & GetSecondaryYAxisDisplayOptions() const
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)
const ChartAxisLabelOptions & GetPrimaryYAxisLabelOptions() const
ComboChartConfiguration & WithSortConfiguration(SortConfigurationT &&value)
const ChartAxisLabelOptions & GetColorLabelOptions() const
ComboChartConfiguration & WithCategoryAxis(CategoryAxisT &&value)
ComboChartConfiguration & WithLineDataLabels(LineDataLabelsT &&value)
void SetSecondaryYAxisLabelOptions(SecondaryYAxisLabelOptionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue