AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
HeatMapConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AxisDisplayOptions.h>
9#include <aws/quicksight/model/ChartAxisLabelOptions.h>
10#include <aws/quicksight/model/ColorScale.h>
11#include <aws/quicksight/model/DataLabelOptions.h>
12#include <aws/quicksight/model/HeatMapFieldWells.h>
13#include <aws/quicksight/model/HeatMapSortConfiguration.h>
14#include <aws/quicksight/model/LegendOptions.h>
15#include <aws/quicksight/model/TooltipOptions.h>
16#include <aws/quicksight/model/VisualInteractionOptions.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight {
28namespace Model {
29
36 public:
37 AWS_QUICKSIGHT_API HeatMapConfiguration() = default;
38 AWS_QUICKSIGHT_API HeatMapConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const HeatMapFieldWells& GetFieldWells() const { return m_fieldWells; }
47 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
48 template <typename FieldWellsT = HeatMapFieldWells>
49 void SetFieldWells(FieldWellsT&& value) {
50 m_fieldWellsHasBeenSet = true;
51 m_fieldWells = std::forward<FieldWellsT>(value);
52 }
53 template <typename FieldWellsT = HeatMapFieldWells>
54 HeatMapConfiguration& WithFieldWells(FieldWellsT&& value) {
55 SetFieldWells(std::forward<FieldWellsT>(value));
56 return *this;
57 }
59
61
64 inline const HeatMapSortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
65 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
66 template <typename SortConfigurationT = HeatMapSortConfiguration>
67 void SetSortConfiguration(SortConfigurationT&& value) {
68 m_sortConfigurationHasBeenSet = true;
69 m_sortConfiguration = std::forward<SortConfigurationT>(value);
70 }
71 template <typename SortConfigurationT = HeatMapSortConfiguration>
72 HeatMapConfiguration& WithSortConfiguration(SortConfigurationT&& value) {
73 SetSortConfiguration(std::forward<SortConfigurationT>(value));
74 return *this;
75 }
77
79
82 inline const AxisDisplayOptions& GetRowAxisDisplayOptions() const { return m_rowAxisDisplayOptions; }
83 inline bool RowAxisDisplayOptionsHasBeenSet() const { return m_rowAxisDisplayOptionsHasBeenSet; }
84 template <typename RowAxisDisplayOptionsT = AxisDisplayOptions>
85 void SetRowAxisDisplayOptions(RowAxisDisplayOptionsT&& value) {
86 m_rowAxisDisplayOptionsHasBeenSet = true;
87 m_rowAxisDisplayOptions = std::forward<RowAxisDisplayOptionsT>(value);
88 }
89 template <typename RowAxisDisplayOptionsT = AxisDisplayOptions>
90 HeatMapConfiguration& WithRowAxisDisplayOptions(RowAxisDisplayOptionsT&& value) {
91 SetRowAxisDisplayOptions(std::forward<RowAxisDisplayOptionsT>(value));
92 return *this;
93 }
95
97
101 inline const ChartAxisLabelOptions& GetRowLabelOptions() const { return m_rowLabelOptions; }
102 inline bool RowLabelOptionsHasBeenSet() const { return m_rowLabelOptionsHasBeenSet; }
103 template <typename RowLabelOptionsT = ChartAxisLabelOptions>
104 void SetRowLabelOptions(RowLabelOptionsT&& value) {
105 m_rowLabelOptionsHasBeenSet = true;
106 m_rowLabelOptions = std::forward<RowLabelOptionsT>(value);
107 }
108 template <typename RowLabelOptionsT = ChartAxisLabelOptions>
109 HeatMapConfiguration& WithRowLabelOptions(RowLabelOptionsT&& value) {
110 SetRowLabelOptions(std::forward<RowLabelOptionsT>(value));
111 return *this;
112 }
114
116
119 inline const AxisDisplayOptions& GetColumnAxisDisplayOptions() const { return m_columnAxisDisplayOptions; }
120 inline bool ColumnAxisDisplayOptionsHasBeenSet() const { return m_columnAxisDisplayOptionsHasBeenSet; }
121 template <typename ColumnAxisDisplayOptionsT = AxisDisplayOptions>
122 void SetColumnAxisDisplayOptions(ColumnAxisDisplayOptionsT&& value) {
123 m_columnAxisDisplayOptionsHasBeenSet = true;
124 m_columnAxisDisplayOptions = std::forward<ColumnAxisDisplayOptionsT>(value);
125 }
126 template <typename ColumnAxisDisplayOptionsT = AxisDisplayOptions>
127 HeatMapConfiguration& WithColumnAxisDisplayOptions(ColumnAxisDisplayOptionsT&& value) {
128 SetColumnAxisDisplayOptions(std::forward<ColumnAxisDisplayOptionsT>(value));
129 return *this;
130 }
132
134
137 inline const ChartAxisLabelOptions& GetColumnLabelOptions() const { return m_columnLabelOptions; }
138 inline bool ColumnLabelOptionsHasBeenSet() const { return m_columnLabelOptionsHasBeenSet; }
139 template <typename ColumnLabelOptionsT = ChartAxisLabelOptions>
140 void SetColumnLabelOptions(ColumnLabelOptionsT&& value) {
141 m_columnLabelOptionsHasBeenSet = true;
142 m_columnLabelOptions = std::forward<ColumnLabelOptionsT>(value);
143 }
144 template <typename ColumnLabelOptionsT = ChartAxisLabelOptions>
145 HeatMapConfiguration& WithColumnLabelOptions(ColumnLabelOptionsT&& value) {
146 SetColumnLabelOptions(std::forward<ColumnLabelOptionsT>(value));
147 return *this;
148 }
150
152
155 inline const ColorScale& GetColorScale() const { return m_colorScale; }
156 inline bool ColorScaleHasBeenSet() const { return m_colorScaleHasBeenSet; }
157 template <typename ColorScaleT = ColorScale>
158 void SetColorScale(ColorScaleT&& value) {
159 m_colorScaleHasBeenSet = true;
160 m_colorScale = std::forward<ColorScaleT>(value);
161 }
162 template <typename ColorScaleT = ColorScale>
163 HeatMapConfiguration& WithColorScale(ColorScaleT&& value) {
164 SetColorScale(std::forward<ColorScaleT>(value));
165 return *this;
166 }
168
170
173 inline const LegendOptions& GetLegend() const { return m_legend; }
174 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
175 template <typename LegendT = LegendOptions>
176 void SetLegend(LegendT&& value) {
177 m_legendHasBeenSet = true;
178 m_legend = std::forward<LegendT>(value);
179 }
180 template <typename LegendT = LegendOptions>
182 SetLegend(std::forward<LegendT>(value));
183 return *this;
184 }
186
188
191 inline const DataLabelOptions& GetDataLabels() const { return m_dataLabels; }
192 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
193 template <typename DataLabelsT = DataLabelOptions>
194 void SetDataLabels(DataLabelsT&& value) {
195 m_dataLabelsHasBeenSet = true;
196 m_dataLabels = std::forward<DataLabelsT>(value);
197 }
198 template <typename DataLabelsT = DataLabelOptions>
199 HeatMapConfiguration& WithDataLabels(DataLabelsT&& value) {
200 SetDataLabels(std::forward<DataLabelsT>(value));
201 return *this;
202 }
204
206
209 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
210 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
211 template <typename TooltipT = TooltipOptions>
212 void SetTooltip(TooltipT&& value) {
213 m_tooltipHasBeenSet = true;
214 m_tooltip = std::forward<TooltipT>(value);
215 }
216 template <typename TooltipT = TooltipOptions>
218 SetTooltip(std::forward<TooltipT>(value));
219 return *this;
220 }
222
224
227 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
228 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
229 template <typename InteractionsT = VisualInteractionOptions>
230 void SetInteractions(InteractionsT&& value) {
231 m_interactionsHasBeenSet = true;
232 m_interactions = std::forward<InteractionsT>(value);
233 }
234 template <typename InteractionsT = VisualInteractionOptions>
235 HeatMapConfiguration& WithInteractions(InteractionsT&& value) {
236 SetInteractions(std::forward<InteractionsT>(value));
237 return *this;
238 }
240 private:
241 HeatMapFieldWells m_fieldWells;
242
243 HeatMapSortConfiguration m_sortConfiguration;
244
245 AxisDisplayOptions m_rowAxisDisplayOptions;
246
247 ChartAxisLabelOptions m_rowLabelOptions;
248
249 AxisDisplayOptions m_columnAxisDisplayOptions;
250
251 ChartAxisLabelOptions m_columnLabelOptions;
252
253 ColorScale m_colorScale;
254
255 LegendOptions m_legend;
256
257 DataLabelOptions m_dataLabels;
258
259 TooltipOptions m_tooltip;
260
261 VisualInteractionOptions m_interactions;
262 bool m_fieldWellsHasBeenSet = false;
263 bool m_sortConfigurationHasBeenSet = false;
264 bool m_rowAxisDisplayOptionsHasBeenSet = false;
265 bool m_rowLabelOptionsHasBeenSet = false;
266 bool m_columnAxisDisplayOptionsHasBeenSet = false;
267 bool m_columnLabelOptionsHasBeenSet = false;
268 bool m_colorScaleHasBeenSet = false;
269 bool m_legendHasBeenSet = false;
270 bool m_dataLabelsHasBeenSet = false;
271 bool m_tooltipHasBeenSet = false;
272 bool m_interactionsHasBeenSet = false;
273};
274
275} // namespace Model
276} // namespace QuickSight
277} // namespace Aws
HeatMapConfiguration & WithColumnAxisDisplayOptions(ColumnAxisDisplayOptionsT &&value)
HeatMapConfiguration & WithLegend(LegendT &&value)
const VisualInteractionOptions & GetInteractions() const
HeatMapConfiguration & WithDataLabels(DataLabelsT &&value)
const AxisDisplayOptions & GetColumnAxisDisplayOptions() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const ChartAxisLabelOptions & GetColumnLabelOptions() const
HeatMapConfiguration & WithInteractions(InteractionsT &&value)
HeatMapConfiguration & WithRowLabelOptions(RowLabelOptionsT &&value)
HeatMapConfiguration & WithColumnLabelOptions(ColumnLabelOptionsT &&value)
AWS_QUICKSIGHT_API HeatMapConfiguration()=default
HeatMapConfiguration & WithSortConfiguration(SortConfigurationT &&value)
HeatMapConfiguration & WithRowAxisDisplayOptions(RowAxisDisplayOptionsT &&value)
const HeatMapSortConfiguration & GetSortConfiguration() const
HeatMapConfiguration & WithColorScale(ColorScaleT &&value)
void SetRowLabelOptions(RowLabelOptionsT &&value)
void SetColumnLabelOptions(ColumnLabelOptionsT &&value)
const DataLabelOptions & GetDataLabels() const
AWS_QUICKSIGHT_API HeatMapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
HeatMapConfiguration & WithFieldWells(FieldWellsT &&value)
HeatMapConfiguration & WithTooltip(TooltipT &&value)
const HeatMapFieldWells & GetFieldWells() const
void SetSortConfiguration(SortConfigurationT &&value)
void SetRowAxisDisplayOptions(RowAxisDisplayOptionsT &&value)
void SetColumnAxisDisplayOptions(ColumnAxisDisplayOptionsT &&value)
AWS_QUICKSIGHT_API HeatMapConfiguration(Aws::Utils::Json::JsonView jsonValue)
const AxisDisplayOptions & GetRowAxisDisplayOptions() const
const ChartAxisLabelOptions & GetRowLabelOptions() const
Aws::Utils::Json::JsonValue JsonValue