AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
BoxPlotChartConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/AxisDisplayOptions.h>
10#include <aws/quicksight/model/BoxPlotFieldWells.h>
11#include <aws/quicksight/model/BoxPlotOptions.h>
12#include <aws/quicksight/model/BoxPlotSortConfiguration.h>
13#include <aws/quicksight/model/ChartAxisLabelOptions.h>
14#include <aws/quicksight/model/LegendOptions.h>
15#include <aws/quicksight/model/ReferenceLine.h>
16#include <aws/quicksight/model/TooltipOptions.h>
17#include <aws/quicksight/model/VisualInteractionOptions.h>
18#include <aws/quicksight/model/VisualPalette.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace QuickSight {
30namespace Model {
31
39 public:
40 AWS_QUICKSIGHT_API BoxPlotChartConfiguration() = default;
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
49 inline const BoxPlotFieldWells& GetFieldWells() const { return m_fieldWells; }
50 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
51 template <typename FieldWellsT = BoxPlotFieldWells>
52 void SetFieldWells(FieldWellsT&& value) {
53 m_fieldWellsHasBeenSet = true;
54 m_fieldWells = std::forward<FieldWellsT>(value);
55 }
56 template <typename FieldWellsT = BoxPlotFieldWells>
58 SetFieldWells(std::forward<FieldWellsT>(value));
59 return *this;
60 }
62
64
67 inline const BoxPlotSortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
68 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
69 template <typename SortConfigurationT = BoxPlotSortConfiguration>
70 void SetSortConfiguration(SortConfigurationT&& value) {
71 m_sortConfigurationHasBeenSet = true;
72 m_sortConfiguration = std::forward<SortConfigurationT>(value);
73 }
74 template <typename SortConfigurationT = BoxPlotSortConfiguration>
75 BoxPlotChartConfiguration& WithSortConfiguration(SortConfigurationT&& value) {
76 SetSortConfiguration(std::forward<SortConfigurationT>(value));
77 return *this;
78 }
80
82
85 inline const BoxPlotOptions& GetBoxPlotOptions() const { return m_boxPlotOptions; }
86 inline bool BoxPlotOptionsHasBeenSet() const { return m_boxPlotOptionsHasBeenSet; }
87 template <typename BoxPlotOptionsT = BoxPlotOptions>
88 void SetBoxPlotOptions(BoxPlotOptionsT&& value) {
89 m_boxPlotOptionsHasBeenSet = true;
90 m_boxPlotOptions = std::forward<BoxPlotOptionsT>(value);
91 }
92 template <typename BoxPlotOptionsT = BoxPlotOptions>
94 SetBoxPlotOptions(std::forward<BoxPlotOptionsT>(value));
95 return *this;
96 }
98
100
104 inline const AxisDisplayOptions& GetCategoryAxis() const { return m_categoryAxis; }
105 inline bool CategoryAxisHasBeenSet() const { return m_categoryAxisHasBeenSet; }
106 template <typename CategoryAxisT = AxisDisplayOptions>
107 void SetCategoryAxis(CategoryAxisT&& value) {
108 m_categoryAxisHasBeenSet = true;
109 m_categoryAxis = std::forward<CategoryAxisT>(value);
110 }
111 template <typename CategoryAxisT = AxisDisplayOptions>
113 SetCategoryAxis(std::forward<CategoryAxisT>(value));
114 return *this;
115 }
117
119
123 inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const { return m_categoryLabelOptions; }
124 inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; }
125 template <typename CategoryLabelOptionsT = ChartAxisLabelOptions>
126 void SetCategoryLabelOptions(CategoryLabelOptionsT&& value) {
127 m_categoryLabelOptionsHasBeenSet = true;
128 m_categoryLabelOptions = std::forward<CategoryLabelOptionsT>(value);
129 }
130 template <typename CategoryLabelOptionsT = ChartAxisLabelOptions>
131 BoxPlotChartConfiguration& WithCategoryLabelOptions(CategoryLabelOptionsT&& value) {
132 SetCategoryLabelOptions(std::forward<CategoryLabelOptionsT>(value));
133 return *this;
134 }
136
138
142 inline const AxisDisplayOptions& GetPrimaryYAxisDisplayOptions() const { return m_primaryYAxisDisplayOptions; }
143 inline bool PrimaryYAxisDisplayOptionsHasBeenSet() const { return m_primaryYAxisDisplayOptionsHasBeenSet; }
144 template <typename PrimaryYAxisDisplayOptionsT = AxisDisplayOptions>
145 void SetPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT&& value) {
146 m_primaryYAxisDisplayOptionsHasBeenSet = true;
147 m_primaryYAxisDisplayOptions = std::forward<PrimaryYAxisDisplayOptionsT>(value);
148 }
149 template <typename PrimaryYAxisDisplayOptionsT = AxisDisplayOptions>
150 BoxPlotChartConfiguration& WithPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT&& value) {
151 SetPrimaryYAxisDisplayOptions(std::forward<PrimaryYAxisDisplayOptionsT>(value));
152 return *this;
153 }
155
157
161 inline const ChartAxisLabelOptions& GetPrimaryYAxisLabelOptions() const { return m_primaryYAxisLabelOptions; }
162 inline bool PrimaryYAxisLabelOptionsHasBeenSet() const { return m_primaryYAxisLabelOptionsHasBeenSet; }
163 template <typename PrimaryYAxisLabelOptionsT = ChartAxisLabelOptions>
164 void SetPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT&& value) {
165 m_primaryYAxisLabelOptionsHasBeenSet = true;
166 m_primaryYAxisLabelOptions = std::forward<PrimaryYAxisLabelOptionsT>(value);
167 }
168 template <typename PrimaryYAxisLabelOptionsT = ChartAxisLabelOptions>
169 BoxPlotChartConfiguration& WithPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT&& value) {
170 SetPrimaryYAxisLabelOptions(std::forward<PrimaryYAxisLabelOptionsT>(value));
171 return *this;
172 }
174
176
177 inline const LegendOptions& GetLegend() const { return m_legend; }
178 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
179 template <typename LegendT = LegendOptions>
180 void SetLegend(LegendT&& value) {
181 m_legendHasBeenSet = true;
182 m_legend = std::forward<LegendT>(value);
183 }
184 template <typename LegendT = LegendOptions>
186 SetLegend(std::forward<LegendT>(value));
187 return *this;
188 }
190
192
195 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
196 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
197 template <typename TooltipT = TooltipOptions>
198 void SetTooltip(TooltipT&& value) {
199 m_tooltipHasBeenSet = true;
200 m_tooltip = std::forward<TooltipT>(value);
201 }
202 template <typename TooltipT = TooltipOptions>
204 SetTooltip(std::forward<TooltipT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::Vector<ReferenceLine>& GetReferenceLines() const { return m_referenceLines; }
214 inline bool ReferenceLinesHasBeenSet() const { return m_referenceLinesHasBeenSet; }
215 template <typename ReferenceLinesT = Aws::Vector<ReferenceLine>>
216 void SetReferenceLines(ReferenceLinesT&& value) {
217 m_referenceLinesHasBeenSet = true;
218 m_referenceLines = std::forward<ReferenceLinesT>(value);
219 }
220 template <typename ReferenceLinesT = Aws::Vector<ReferenceLine>>
222 SetReferenceLines(std::forward<ReferenceLinesT>(value));
223 return *this;
224 }
225 template <typename ReferenceLinesT = ReferenceLine>
227 m_referenceLinesHasBeenSet = true;
228 m_referenceLines.emplace_back(std::forward<ReferenceLinesT>(value));
229 return *this;
230 }
232
234
237 inline const VisualPalette& GetVisualPalette() const { return m_visualPalette; }
238 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
239 template <typename VisualPaletteT = VisualPalette>
240 void SetVisualPalette(VisualPaletteT&& value) {
241 m_visualPaletteHasBeenSet = true;
242 m_visualPalette = std::forward<VisualPaletteT>(value);
243 }
244 template <typename VisualPaletteT = VisualPalette>
246 SetVisualPalette(std::forward<VisualPaletteT>(value));
247 return *this;
248 }
250
252
255 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
256 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
257 template <typename InteractionsT = VisualInteractionOptions>
258 void SetInteractions(InteractionsT&& value) {
259 m_interactionsHasBeenSet = true;
260 m_interactions = std::forward<InteractionsT>(value);
261 }
262 template <typename InteractionsT = VisualInteractionOptions>
264 SetInteractions(std::forward<InteractionsT>(value));
265 return *this;
266 }
268 private:
269 BoxPlotFieldWells m_fieldWells;
270
271 BoxPlotSortConfiguration m_sortConfiguration;
272
273 BoxPlotOptions m_boxPlotOptions;
274
275 AxisDisplayOptions m_categoryAxis;
276
277 ChartAxisLabelOptions m_categoryLabelOptions;
278
279 AxisDisplayOptions m_primaryYAxisDisplayOptions;
280
281 ChartAxisLabelOptions m_primaryYAxisLabelOptions;
282
283 LegendOptions m_legend;
284
285 TooltipOptions m_tooltip;
286
287 Aws::Vector<ReferenceLine> m_referenceLines;
288
289 VisualPalette m_visualPalette;
290
291 VisualInteractionOptions m_interactions;
292 bool m_fieldWellsHasBeenSet = false;
293 bool m_sortConfigurationHasBeenSet = false;
294 bool m_boxPlotOptionsHasBeenSet = false;
295 bool m_categoryAxisHasBeenSet = false;
296 bool m_categoryLabelOptionsHasBeenSet = false;
297 bool m_primaryYAxisDisplayOptionsHasBeenSet = false;
298 bool m_primaryYAxisLabelOptionsHasBeenSet = false;
299 bool m_legendHasBeenSet = false;
300 bool m_tooltipHasBeenSet = false;
301 bool m_referenceLinesHasBeenSet = false;
302 bool m_visualPaletteHasBeenSet = false;
303 bool m_interactionsHasBeenSet = false;
304};
305
306} // namespace Model
307} // namespace QuickSight
308} // namespace Aws
BoxPlotChartConfiguration & WithFieldWells(FieldWellsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT &&value)
BoxPlotChartConfiguration & WithReferenceLines(ReferenceLinesT &&value)
void SetCategoryLabelOptions(CategoryLabelOptionsT &&value)
AWS_QUICKSIGHT_API BoxPlotChartConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT &&value)
const Aws::Vector< ReferenceLine > & GetReferenceLines() const
BoxPlotChartConfiguration & WithLegend(LegendT &&value)
BoxPlotChartConfiguration & WithInteractions(InteractionsT &&value)
AWS_QUICKSIGHT_API BoxPlotChartConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
BoxPlotChartConfiguration & AddReferenceLines(ReferenceLinesT &&value)
const ChartAxisLabelOptions & GetCategoryLabelOptions() const
const VisualInteractionOptions & GetInteractions() const
BoxPlotChartConfiguration & WithBoxPlotOptions(BoxPlotOptionsT &&value)
BoxPlotChartConfiguration & WithVisualPalette(VisualPaletteT &&value)
BoxPlotChartConfiguration & WithCategoryLabelOptions(CategoryLabelOptionsT &&value)
AWS_QUICKSIGHT_API BoxPlotChartConfiguration()=default
const AxisDisplayOptions & GetPrimaryYAxisDisplayOptions() const
BoxPlotChartConfiguration & WithCategoryAxis(CategoryAxisT &&value)
BoxPlotChartConfiguration & WithPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT &&value)
const BoxPlotSortConfiguration & GetSortConfiguration() const
BoxPlotChartConfiguration & WithSortConfiguration(SortConfigurationT &&value)
const ChartAxisLabelOptions & GetPrimaryYAxisLabelOptions() const
BoxPlotChartConfiguration & WithPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT &&value)
BoxPlotChartConfiguration & WithTooltip(TooltipT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue