AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PieChartConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/PieChartFieldWells.h>
9#include <aws/quicksight/model/PieChartSortConfiguration.h>
10#include <aws/quicksight/model/DonutOptions.h>
11#include <aws/quicksight/model/SmallMultiplesOptions.h>
12#include <aws/quicksight/model/ChartAxisLabelOptions.h>
13#include <aws/quicksight/model/LegendOptions.h>
14#include <aws/quicksight/model/DataLabelOptions.h>
15#include <aws/quicksight/model/TooltipOptions.h>
16#include <aws/quicksight/model/VisualPalette.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/quicksight/model/VisualInteractionOptions.h>
19#include <aws/quicksight/model/ContributionAnalysisDefault.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace QuickSight
33{
34namespace Model
35{
36
43 {
44 public:
45 AWS_QUICKSIGHT_API PieChartConfiguration();
48 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const PieChartFieldWells& GetFieldWells() const{ return m_fieldWells; }
56 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
57 inline void SetFieldWells(const PieChartFieldWells& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = value; }
58 inline void SetFieldWells(PieChartFieldWells&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::move(value); }
59 inline PieChartConfiguration& WithFieldWells(const PieChartFieldWells& value) { SetFieldWells(value); return *this;}
60 inline PieChartConfiguration& WithFieldWells(PieChartFieldWells&& value) { SetFieldWells(std::move(value)); return *this;}
62
64
67 inline const PieChartSortConfiguration& GetSortConfiguration() const{ return m_sortConfiguration; }
68 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
69 inline void SetSortConfiguration(const PieChartSortConfiguration& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = value; }
70 inline void SetSortConfiguration(PieChartSortConfiguration&& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::move(value); }
74
76
80 inline const DonutOptions& GetDonutOptions() const{ return m_donutOptions; }
81 inline bool DonutOptionsHasBeenSet() const { return m_donutOptionsHasBeenSet; }
82 inline void SetDonutOptions(const DonutOptions& value) { m_donutOptionsHasBeenSet = true; m_donutOptions = value; }
83 inline void SetDonutOptions(DonutOptions&& value) { m_donutOptionsHasBeenSet = true; m_donutOptions = std::move(value); }
84 inline PieChartConfiguration& WithDonutOptions(const DonutOptions& value) { SetDonutOptions(value); return *this;}
85 inline PieChartConfiguration& WithDonutOptions(DonutOptions&& value) { SetDonutOptions(std::move(value)); return *this;}
87
89
92 inline const SmallMultiplesOptions& GetSmallMultiplesOptions() const{ return m_smallMultiplesOptions; }
93 inline bool SmallMultiplesOptionsHasBeenSet() const { return m_smallMultiplesOptionsHasBeenSet; }
94 inline void SetSmallMultiplesOptions(const SmallMultiplesOptions& value) { m_smallMultiplesOptionsHasBeenSet = true; m_smallMultiplesOptions = value; }
95 inline void SetSmallMultiplesOptions(SmallMultiplesOptions&& value) { m_smallMultiplesOptionsHasBeenSet = true; m_smallMultiplesOptions = std::move(value); }
99
101
104 inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const{ return m_categoryLabelOptions; }
105 inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; }
106 inline void SetCategoryLabelOptions(const ChartAxisLabelOptions& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = value; }
107 inline void SetCategoryLabelOptions(ChartAxisLabelOptions&& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = std::move(value); }
111
113
116 inline const ChartAxisLabelOptions& GetValueLabelOptions() const{ return m_valueLabelOptions; }
117 inline bool ValueLabelOptionsHasBeenSet() const { return m_valueLabelOptionsHasBeenSet; }
118 inline void SetValueLabelOptions(const ChartAxisLabelOptions& value) { m_valueLabelOptionsHasBeenSet = true; m_valueLabelOptions = value; }
119 inline void SetValueLabelOptions(ChartAxisLabelOptions&& value) { m_valueLabelOptionsHasBeenSet = true; m_valueLabelOptions = std::move(value); }
123
125
128 inline const LegendOptions& GetLegend() const{ return m_legend; }
129 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
130 inline void SetLegend(const LegendOptions& value) { m_legendHasBeenSet = true; m_legend = value; }
131 inline void SetLegend(LegendOptions&& value) { m_legendHasBeenSet = true; m_legend = std::move(value); }
132 inline PieChartConfiguration& WithLegend(const LegendOptions& value) { SetLegend(value); return *this;}
133 inline PieChartConfiguration& WithLegend(LegendOptions&& value) { SetLegend(std::move(value)); return *this;}
135
137
140 inline const DataLabelOptions& GetDataLabels() const{ return m_dataLabels; }
141 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
142 inline void SetDataLabels(const DataLabelOptions& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = value; }
143 inline void SetDataLabels(DataLabelOptions&& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = std::move(value); }
144 inline PieChartConfiguration& WithDataLabels(const DataLabelOptions& value) { SetDataLabels(value); return *this;}
145 inline PieChartConfiguration& WithDataLabels(DataLabelOptions&& value) { SetDataLabels(std::move(value)); return *this;}
147
149
152 inline const TooltipOptions& GetTooltip() const{ return m_tooltip; }
153 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
154 inline void SetTooltip(const TooltipOptions& value) { m_tooltipHasBeenSet = true; m_tooltip = value; }
155 inline void SetTooltip(TooltipOptions&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::move(value); }
156 inline PieChartConfiguration& WithTooltip(const TooltipOptions& value) { SetTooltip(value); return *this;}
157 inline PieChartConfiguration& WithTooltip(TooltipOptions&& value) { SetTooltip(std::move(value)); return *this;}
159
161
164 inline const VisualPalette& GetVisualPalette() const{ return m_visualPalette; }
165 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
166 inline void SetVisualPalette(const VisualPalette& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = value; }
167 inline void SetVisualPalette(VisualPalette&& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = std::move(value); }
168 inline PieChartConfiguration& WithVisualPalette(const VisualPalette& value) { SetVisualPalette(value); return *this;}
169 inline PieChartConfiguration& WithVisualPalette(VisualPalette&& value) { SetVisualPalette(std::move(value)); return *this;}
171
173
176 inline const Aws::Vector<ContributionAnalysisDefault>& GetContributionAnalysisDefaults() const{ return m_contributionAnalysisDefaults; }
177 inline bool ContributionAnalysisDefaultsHasBeenSet() const { return m_contributionAnalysisDefaultsHasBeenSet; }
178 inline void SetContributionAnalysisDefaults(const Aws::Vector<ContributionAnalysisDefault>& value) { m_contributionAnalysisDefaultsHasBeenSet = true; m_contributionAnalysisDefaults = value; }
179 inline void SetContributionAnalysisDefaults(Aws::Vector<ContributionAnalysisDefault>&& value) { m_contributionAnalysisDefaultsHasBeenSet = true; m_contributionAnalysisDefaults = std::move(value); }
182 inline PieChartConfiguration& AddContributionAnalysisDefaults(const ContributionAnalysisDefault& value) { m_contributionAnalysisDefaultsHasBeenSet = true; m_contributionAnalysisDefaults.push_back(value); return *this; }
183 inline PieChartConfiguration& AddContributionAnalysisDefaults(ContributionAnalysisDefault&& value) { m_contributionAnalysisDefaultsHasBeenSet = true; m_contributionAnalysisDefaults.push_back(std::move(value)); return *this; }
185
187
190 inline const VisualInteractionOptions& GetInteractions() const{ return m_interactions; }
191 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
192 inline void SetInteractions(const VisualInteractionOptions& value) { m_interactionsHasBeenSet = true; m_interactions = value; }
193 inline void SetInteractions(VisualInteractionOptions&& value) { m_interactionsHasBeenSet = true; m_interactions = std::move(value); }
195 inline PieChartConfiguration& WithInteractions(VisualInteractionOptions&& value) { SetInteractions(std::move(value)); return *this;}
197 private:
198
199 PieChartFieldWells m_fieldWells;
200 bool m_fieldWellsHasBeenSet = false;
201
202 PieChartSortConfiguration m_sortConfiguration;
203 bool m_sortConfigurationHasBeenSet = false;
204
205 DonutOptions m_donutOptions;
206 bool m_donutOptionsHasBeenSet = false;
207
208 SmallMultiplesOptions m_smallMultiplesOptions;
209 bool m_smallMultiplesOptionsHasBeenSet = false;
210
211 ChartAxisLabelOptions m_categoryLabelOptions;
212 bool m_categoryLabelOptionsHasBeenSet = false;
213
214 ChartAxisLabelOptions m_valueLabelOptions;
215 bool m_valueLabelOptionsHasBeenSet = false;
216
217 LegendOptions m_legend;
218 bool m_legendHasBeenSet = false;
219
220 DataLabelOptions m_dataLabels;
221 bool m_dataLabelsHasBeenSet = false;
222
223 TooltipOptions m_tooltip;
224 bool m_tooltipHasBeenSet = false;
225
226 VisualPalette m_visualPalette;
227 bool m_visualPaletteHasBeenSet = false;
228
229 Aws::Vector<ContributionAnalysisDefault> m_contributionAnalysisDefaults;
230 bool m_contributionAnalysisDefaultsHasBeenSet = false;
231
232 VisualInteractionOptions m_interactions;
233 bool m_interactionsHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace QuickSight
238} // namespace Aws
void SetContributionAnalysisDefaults(Aws::Vector< ContributionAnalysisDefault > &&value)
PieChartConfiguration & WithSmallMultiplesOptions(SmallMultiplesOptions &&value)
PieChartConfiguration & WithCategoryLabelOptions(ChartAxisLabelOptions &&value)
PieChartConfiguration & WithInteractions(VisualInteractionOptions &&value)
void SetContributionAnalysisDefaults(const Aws::Vector< ContributionAnalysisDefault > &value)
void SetFieldWells(const PieChartFieldWells &value)
void SetSortConfiguration(PieChartSortConfiguration &&value)
PieChartConfiguration & WithCategoryLabelOptions(const ChartAxisLabelOptions &value)
void SetCategoryLabelOptions(const ChartAxisLabelOptions &value)
PieChartConfiguration & WithFieldWells(const PieChartFieldWells &value)
const PieChartSortConfiguration & GetSortConfiguration() const
PieChartConfiguration & WithDonutOptions(const DonutOptions &value)
PieChartConfiguration & WithSortConfiguration(PieChartSortConfiguration &&value)
PieChartConfiguration & AddContributionAnalysisDefaults(const ContributionAnalysisDefault &value)
const ChartAxisLabelOptions & GetValueLabelOptions() const
void SetSmallMultiplesOptions(SmallMultiplesOptions &&value)
PieChartConfiguration & WithTooltip(const TooltipOptions &value)
const Aws::Vector< ContributionAnalysisDefault > & GetContributionAnalysisDefaults() const
PieChartConfiguration & WithDataLabels(const DataLabelOptions &value)
void SetSortConfiguration(const PieChartSortConfiguration &value)
PieChartConfiguration & WithFieldWells(PieChartFieldWells &&value)
PieChartConfiguration & WithInteractions(const VisualInteractionOptions &value)
PieChartConfiguration & WithValueLabelOptions(ChartAxisLabelOptions &&value)
void SetDataLabels(const DataLabelOptions &value)
PieChartConfiguration & WithTooltip(TooltipOptions &&value)
const SmallMultiplesOptions & GetSmallMultiplesOptions() const
PieChartConfiguration & WithDataLabels(DataLabelOptions &&value)
void SetVisualPalette(const VisualPalette &value)
PieChartConfiguration & WithDonutOptions(DonutOptions &&value)
PieChartConfiguration & WithValueLabelOptions(const ChartAxisLabelOptions &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSmallMultiplesOptions(const SmallMultiplesOptions &value)
void SetValueLabelOptions(const ChartAxisLabelOptions &value)
void SetInteractions(const VisualInteractionOptions &value)
void SetCategoryLabelOptions(ChartAxisLabelOptions &&value)
void SetInteractions(VisualInteractionOptions &&value)
PieChartConfiguration & WithSortConfiguration(const PieChartSortConfiguration &value)
const PieChartFieldWells & GetFieldWells() const
PieChartConfiguration & WithVisualPalette(const VisualPalette &value)
PieChartConfiguration & WithLegend(const LegendOptions &value)
const ChartAxisLabelOptions & GetCategoryLabelOptions() const
PieChartConfiguration & WithContributionAnalysisDefaults(const Aws::Vector< ContributionAnalysisDefault > &value)
AWS_QUICKSIGHT_API PieChartConfiguration(Aws::Utils::Json::JsonView jsonValue)
PieChartConfiguration & AddContributionAnalysisDefaults(ContributionAnalysisDefault &&value)
PieChartConfiguration & WithContributionAnalysisDefaults(Aws::Vector< ContributionAnalysisDefault > &&value)
PieChartConfiguration & WithVisualPalette(VisualPalette &&value)
void SetValueLabelOptions(ChartAxisLabelOptions &&value)
AWS_QUICKSIGHT_API PieChartConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const VisualInteractionOptions & GetInteractions() const
PieChartConfiguration & WithSmallMultiplesOptions(const SmallMultiplesOptions &value)
PieChartConfiguration & WithLegend(LegendOptions &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue