AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BoxPlotChartConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/BoxPlotFieldWells.h>
9#include <aws/quicksight/model/BoxPlotSortConfiguration.h>
10#include <aws/quicksight/model/BoxPlotOptions.h>
11#include <aws/quicksight/model/AxisDisplayOptions.h>
12#include <aws/quicksight/model/ChartAxisLabelOptions.h>
13#include <aws/quicksight/model/LegendOptions.h>
14#include <aws/quicksight/model/TooltipOptions.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/quicksight/model/VisualPalette.h>
17#include <aws/quicksight/model/VisualInteractionOptions.h>
18#include <aws/quicksight/model/ReferenceLine.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace QuickSight
32{
33namespace Model
34{
35
43 {
44 public:
45 AWS_QUICKSIGHT_API BoxPlotChartConfiguration() = default;
48 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const BoxPlotFieldWells& GetFieldWells() const { return m_fieldWells; }
56 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
57 template<typename FieldWellsT = BoxPlotFieldWells>
58 void SetFieldWells(FieldWellsT&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::forward<FieldWellsT>(value); }
59 template<typename FieldWellsT = BoxPlotFieldWells>
60 BoxPlotChartConfiguration& WithFieldWells(FieldWellsT&& value) { SetFieldWells(std::forward<FieldWellsT>(value)); return *this;}
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) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::forward<SortConfigurationT>(value); }
71 template<typename SortConfigurationT = BoxPlotSortConfiguration>
72 BoxPlotChartConfiguration& WithSortConfiguration(SortConfigurationT&& value) { SetSortConfiguration(std::forward<SortConfigurationT>(value)); return *this;}
74
76
79 inline const BoxPlotOptions& GetBoxPlotOptions() const { return m_boxPlotOptions; }
80 inline bool BoxPlotOptionsHasBeenSet() const { return m_boxPlotOptionsHasBeenSet; }
81 template<typename BoxPlotOptionsT = BoxPlotOptions>
82 void SetBoxPlotOptions(BoxPlotOptionsT&& value) { m_boxPlotOptionsHasBeenSet = true; m_boxPlotOptions = std::forward<BoxPlotOptionsT>(value); }
83 template<typename BoxPlotOptionsT = BoxPlotOptions>
84 BoxPlotChartConfiguration& WithBoxPlotOptions(BoxPlotOptionsT&& value) { SetBoxPlotOptions(std::forward<BoxPlotOptionsT>(value)); return *this;}
86
88
92 inline const AxisDisplayOptions& GetCategoryAxis() const { return m_categoryAxis; }
93 inline bool CategoryAxisHasBeenSet() const { return m_categoryAxisHasBeenSet; }
94 template<typename CategoryAxisT = AxisDisplayOptions>
95 void SetCategoryAxis(CategoryAxisT&& value) { m_categoryAxisHasBeenSet = true; m_categoryAxis = std::forward<CategoryAxisT>(value); }
96 template<typename CategoryAxisT = AxisDisplayOptions>
97 BoxPlotChartConfiguration& WithCategoryAxis(CategoryAxisT&& value) { SetCategoryAxis(std::forward<CategoryAxisT>(value)); return *this;}
99
101
105 inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const { return m_categoryLabelOptions; }
106 inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; }
107 template<typename CategoryLabelOptionsT = ChartAxisLabelOptions>
108 void SetCategoryLabelOptions(CategoryLabelOptionsT&& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = std::forward<CategoryLabelOptionsT>(value); }
109 template<typename CategoryLabelOptionsT = ChartAxisLabelOptions>
110 BoxPlotChartConfiguration& WithCategoryLabelOptions(CategoryLabelOptionsT&& value) { SetCategoryLabelOptions(std::forward<CategoryLabelOptionsT>(value)); return *this;}
112
114
118 inline const AxisDisplayOptions& GetPrimaryYAxisDisplayOptions() const { return m_primaryYAxisDisplayOptions; }
119 inline bool PrimaryYAxisDisplayOptionsHasBeenSet() const { return m_primaryYAxisDisplayOptionsHasBeenSet; }
120 template<typename PrimaryYAxisDisplayOptionsT = AxisDisplayOptions>
121 void SetPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT&& value) { m_primaryYAxisDisplayOptionsHasBeenSet = true; m_primaryYAxisDisplayOptions = std::forward<PrimaryYAxisDisplayOptionsT>(value); }
122 template<typename PrimaryYAxisDisplayOptionsT = AxisDisplayOptions>
123 BoxPlotChartConfiguration& WithPrimaryYAxisDisplayOptions(PrimaryYAxisDisplayOptionsT&& value) { SetPrimaryYAxisDisplayOptions(std::forward<PrimaryYAxisDisplayOptionsT>(value)); return *this;}
125
127
131 inline const ChartAxisLabelOptions& GetPrimaryYAxisLabelOptions() const { return m_primaryYAxisLabelOptions; }
132 inline bool PrimaryYAxisLabelOptionsHasBeenSet() const { return m_primaryYAxisLabelOptionsHasBeenSet; }
133 template<typename PrimaryYAxisLabelOptionsT = ChartAxisLabelOptions>
134 void SetPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT&& value) { m_primaryYAxisLabelOptionsHasBeenSet = true; m_primaryYAxisLabelOptions = std::forward<PrimaryYAxisLabelOptionsT>(value); }
135 template<typename PrimaryYAxisLabelOptionsT = ChartAxisLabelOptions>
136 BoxPlotChartConfiguration& WithPrimaryYAxisLabelOptions(PrimaryYAxisLabelOptionsT&& value) { SetPrimaryYAxisLabelOptions(std::forward<PrimaryYAxisLabelOptionsT>(value)); return *this;}
138
140
141 inline const LegendOptions& GetLegend() const { return m_legend; }
142 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
143 template<typename LegendT = LegendOptions>
144 void SetLegend(LegendT&& value) { m_legendHasBeenSet = true; m_legend = std::forward<LegendT>(value); }
145 template<typename LegendT = LegendOptions>
146 BoxPlotChartConfiguration& WithLegend(LegendT&& value) { SetLegend(std::forward<LegendT>(value)); return *this;}
148
150
153 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
154 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
155 template<typename TooltipT = TooltipOptions>
156 void SetTooltip(TooltipT&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::forward<TooltipT>(value); }
157 template<typename TooltipT = TooltipOptions>
158 BoxPlotChartConfiguration& WithTooltip(TooltipT&& value) { SetTooltip(std::forward<TooltipT>(value)); return *this;}
160
162
165 inline const Aws::Vector<ReferenceLine>& GetReferenceLines() const { return m_referenceLines; }
166 inline bool ReferenceLinesHasBeenSet() const { return m_referenceLinesHasBeenSet; }
167 template<typename ReferenceLinesT = Aws::Vector<ReferenceLine>>
168 void SetReferenceLines(ReferenceLinesT&& value) { m_referenceLinesHasBeenSet = true; m_referenceLines = std::forward<ReferenceLinesT>(value); }
169 template<typename ReferenceLinesT = Aws::Vector<ReferenceLine>>
170 BoxPlotChartConfiguration& WithReferenceLines(ReferenceLinesT&& value) { SetReferenceLines(std::forward<ReferenceLinesT>(value)); return *this;}
171 template<typename ReferenceLinesT = ReferenceLine>
172 BoxPlotChartConfiguration& AddReferenceLines(ReferenceLinesT&& value) { m_referenceLinesHasBeenSet = true; m_referenceLines.emplace_back(std::forward<ReferenceLinesT>(value)); return *this; }
174
176
179 inline const VisualPalette& GetVisualPalette() const { return m_visualPalette; }
180 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
181 template<typename VisualPaletteT = VisualPalette>
182 void SetVisualPalette(VisualPaletteT&& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = std::forward<VisualPaletteT>(value); }
183 template<typename VisualPaletteT = VisualPalette>
184 BoxPlotChartConfiguration& WithVisualPalette(VisualPaletteT&& value) { SetVisualPalette(std::forward<VisualPaletteT>(value)); return *this;}
186
188
191 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
192 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
193 template<typename InteractionsT = VisualInteractionOptions>
194 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
195 template<typename InteractionsT = VisualInteractionOptions>
196 BoxPlotChartConfiguration& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
198 private:
199
200 BoxPlotFieldWells m_fieldWells;
201 bool m_fieldWellsHasBeenSet = false;
202
203 BoxPlotSortConfiguration m_sortConfiguration;
204 bool m_sortConfigurationHasBeenSet = false;
205
206 BoxPlotOptions m_boxPlotOptions;
207 bool m_boxPlotOptionsHasBeenSet = false;
208
209 AxisDisplayOptions m_categoryAxis;
210 bool m_categoryAxisHasBeenSet = false;
211
212 ChartAxisLabelOptions m_categoryLabelOptions;
213 bool m_categoryLabelOptionsHasBeenSet = false;
214
215 AxisDisplayOptions m_primaryYAxisDisplayOptions;
216 bool m_primaryYAxisDisplayOptionsHasBeenSet = false;
217
218 ChartAxisLabelOptions m_primaryYAxisLabelOptions;
219 bool m_primaryYAxisLabelOptionsHasBeenSet = false;
220
221 LegendOptions m_legend;
222 bool m_legendHasBeenSet = false;
223
224 TooltipOptions m_tooltip;
225 bool m_tooltipHasBeenSet = false;
226
227 Aws::Vector<ReferenceLine> m_referenceLines;
228 bool m_referenceLinesHasBeenSet = false;
229
230 VisualPalette m_visualPalette;
231 bool m_visualPaletteHasBeenSet = false;
232
233 VisualInteractionOptions m_interactions;
234 bool m_interactionsHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace QuickSight
239} // 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