AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename FieldWellsT = PieChartFieldWells>
58 void SetFieldWells(FieldWellsT&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::forward<FieldWellsT>(value); }
59 template<typename FieldWellsT = PieChartFieldWells>
60 PieChartConfiguration& WithFieldWells(FieldWellsT&& value) { SetFieldWells(std::forward<FieldWellsT>(value)); return *this;}
62
64
67 inline const PieChartSortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
68 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
69 template<typename SortConfigurationT = PieChartSortConfiguration>
70 void SetSortConfiguration(SortConfigurationT&& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::forward<SortConfigurationT>(value); }
71 template<typename SortConfigurationT = PieChartSortConfiguration>
72 PieChartConfiguration& WithSortConfiguration(SortConfigurationT&& value) { SetSortConfiguration(std::forward<SortConfigurationT>(value)); return *this;}
74
76
80 inline const DonutOptions& GetDonutOptions() const { return m_donutOptions; }
81 inline bool DonutOptionsHasBeenSet() const { return m_donutOptionsHasBeenSet; }
82 template<typename DonutOptionsT = DonutOptions>
83 void SetDonutOptions(DonutOptionsT&& value) { m_donutOptionsHasBeenSet = true; m_donutOptions = std::forward<DonutOptionsT>(value); }
84 template<typename DonutOptionsT = DonutOptions>
85 PieChartConfiguration& WithDonutOptions(DonutOptionsT&& value) { SetDonutOptions(std::forward<DonutOptionsT>(value)); return *this;}
87
89
92 inline const SmallMultiplesOptions& GetSmallMultiplesOptions() const { return m_smallMultiplesOptions; }
93 inline bool SmallMultiplesOptionsHasBeenSet() const { return m_smallMultiplesOptionsHasBeenSet; }
94 template<typename SmallMultiplesOptionsT = SmallMultiplesOptions>
95 void SetSmallMultiplesOptions(SmallMultiplesOptionsT&& value) { m_smallMultiplesOptionsHasBeenSet = true; m_smallMultiplesOptions = std::forward<SmallMultiplesOptionsT>(value); }
96 template<typename SmallMultiplesOptionsT = SmallMultiplesOptions>
97 PieChartConfiguration& WithSmallMultiplesOptions(SmallMultiplesOptionsT&& value) { SetSmallMultiplesOptions(std::forward<SmallMultiplesOptionsT>(value)); return *this;}
99
101
104 inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const { return m_categoryLabelOptions; }
105 inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; }
106 template<typename CategoryLabelOptionsT = ChartAxisLabelOptions>
107 void SetCategoryLabelOptions(CategoryLabelOptionsT&& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = std::forward<CategoryLabelOptionsT>(value); }
108 template<typename CategoryLabelOptionsT = ChartAxisLabelOptions>
109 PieChartConfiguration& WithCategoryLabelOptions(CategoryLabelOptionsT&& value) { SetCategoryLabelOptions(std::forward<CategoryLabelOptionsT>(value)); return *this;}
111
113
116 inline const ChartAxisLabelOptions& GetValueLabelOptions() const { return m_valueLabelOptions; }
117 inline bool ValueLabelOptionsHasBeenSet() const { return m_valueLabelOptionsHasBeenSet; }
118 template<typename ValueLabelOptionsT = ChartAxisLabelOptions>
119 void SetValueLabelOptions(ValueLabelOptionsT&& value) { m_valueLabelOptionsHasBeenSet = true; m_valueLabelOptions = std::forward<ValueLabelOptionsT>(value); }
120 template<typename ValueLabelOptionsT = ChartAxisLabelOptions>
121 PieChartConfiguration& WithValueLabelOptions(ValueLabelOptionsT&& value) { SetValueLabelOptions(std::forward<ValueLabelOptionsT>(value)); return *this;}
123
125
128 inline const LegendOptions& GetLegend() const { return m_legend; }
129 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
130 template<typename LegendT = LegendOptions>
131 void SetLegend(LegendT&& value) { m_legendHasBeenSet = true; m_legend = std::forward<LegendT>(value); }
132 template<typename LegendT = LegendOptions>
133 PieChartConfiguration& WithLegend(LegendT&& value) { SetLegend(std::forward<LegendT>(value)); return *this;}
135
137
140 inline const DataLabelOptions& GetDataLabels() const { return m_dataLabels; }
141 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
142 template<typename DataLabelsT = DataLabelOptions>
143 void SetDataLabels(DataLabelsT&& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = std::forward<DataLabelsT>(value); }
144 template<typename DataLabelsT = DataLabelOptions>
145 PieChartConfiguration& WithDataLabels(DataLabelsT&& value) { SetDataLabels(std::forward<DataLabelsT>(value)); return *this;}
147
149
152 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
153 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
154 template<typename TooltipT = TooltipOptions>
155 void SetTooltip(TooltipT&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::forward<TooltipT>(value); }
156 template<typename TooltipT = TooltipOptions>
157 PieChartConfiguration& WithTooltip(TooltipT&& value) { SetTooltip(std::forward<TooltipT>(value)); return *this;}
159
161
164 inline const VisualPalette& GetVisualPalette() const { return m_visualPalette; }
165 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
166 template<typename VisualPaletteT = VisualPalette>
167 void SetVisualPalette(VisualPaletteT&& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = std::forward<VisualPaletteT>(value); }
168 template<typename VisualPaletteT = VisualPalette>
169 PieChartConfiguration& WithVisualPalette(VisualPaletteT&& value) { SetVisualPalette(std::forward<VisualPaletteT>(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 template<typename ContributionAnalysisDefaultsT = Aws::Vector<ContributionAnalysisDefault>>
179 void SetContributionAnalysisDefaults(ContributionAnalysisDefaultsT&& value) { m_contributionAnalysisDefaultsHasBeenSet = true; m_contributionAnalysisDefaults = std::forward<ContributionAnalysisDefaultsT>(value); }
180 template<typename ContributionAnalysisDefaultsT = Aws::Vector<ContributionAnalysisDefault>>
181 PieChartConfiguration& WithContributionAnalysisDefaults(ContributionAnalysisDefaultsT&& value) { SetContributionAnalysisDefaults(std::forward<ContributionAnalysisDefaultsT>(value)); return *this;}
182 template<typename ContributionAnalysisDefaultsT = ContributionAnalysisDefault>
183 PieChartConfiguration& AddContributionAnalysisDefaults(ContributionAnalysisDefaultsT&& value) { m_contributionAnalysisDefaultsHasBeenSet = true; m_contributionAnalysisDefaults.emplace_back(std::forward<ContributionAnalysisDefaultsT>(value)); return *this; }
185
187
190 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
191 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
192 template<typename InteractionsT = VisualInteractionOptions>
193 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
194 template<typename InteractionsT = VisualInteractionOptions>
195 PieChartConfiguration& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(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(ContributionAnalysisDefaultsT &&value)
PieChartConfiguration & WithTooltip(TooltipT &&value)
PieChartConfiguration & WithDataLabels(DataLabelsT &&value)
const PieChartSortConfiguration & GetSortConfiguration() const
PieChartConfiguration & WithValueLabelOptions(ValueLabelOptionsT &&value)
PieChartConfiguration & WithFieldWells(FieldWellsT &&value)
const ChartAxisLabelOptions & GetValueLabelOptions() const
const Aws::Vector< ContributionAnalysisDefault > & GetContributionAnalysisDefaults() const
void SetValueLabelOptions(ValueLabelOptionsT &&value)
const SmallMultiplesOptions & GetSmallMultiplesOptions() const
PieChartConfiguration & WithContributionAnalysisDefaults(ContributionAnalysisDefaultsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PieChartConfiguration & WithVisualPalette(VisualPaletteT &&value)
PieChartConfiguration & WithCategoryLabelOptions(CategoryLabelOptionsT &&value)
PieChartConfiguration & WithLegend(LegendT &&value)
const PieChartFieldWells & GetFieldWells() const
PieChartConfiguration & WithInteractions(InteractionsT &&value)
const ChartAxisLabelOptions & GetCategoryLabelOptions() const
AWS_QUICKSIGHT_API PieChartConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetSortConfiguration(SortConfigurationT &&value)
PieChartConfiguration & AddContributionAnalysisDefaults(ContributionAnalysisDefaultsT &&value)
PieChartConfiguration & WithSortConfiguration(SortConfigurationT &&value)
AWS_QUICKSIGHT_API PieChartConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const VisualInteractionOptions & GetInteractions() const
void SetCategoryLabelOptions(CategoryLabelOptionsT &&value)
void SetSmallMultiplesOptions(SmallMultiplesOptionsT &&value)
AWS_QUICKSIGHT_API PieChartConfiguration()=default
PieChartConfiguration & WithDonutOptions(DonutOptionsT &&value)
PieChartConfiguration & WithSmallMultiplesOptions(SmallMultiplesOptionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue