AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
TreeMapConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ChartAxisLabelOptions.h>
9#include <aws/quicksight/model/ColorScale.h>
10#include <aws/quicksight/model/DataLabelOptions.h>
11#include <aws/quicksight/model/LegendOptions.h>
12#include <aws/quicksight/model/TooltipOptions.h>
13#include <aws/quicksight/model/TreeMapFieldWells.h>
14#include <aws/quicksight/model/TreeMapSortConfiguration.h>
15#include <aws/quicksight/model/VisualInteractionOptions.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight {
27namespace Model {
28
35 public:
36 AWS_QUICKSIGHT_API TreeMapConfiguration() = default;
37 AWS_QUICKSIGHT_API TreeMapConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const TreeMapFieldWells& GetFieldWells() const { return m_fieldWells; }
46 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
47 template <typename FieldWellsT = TreeMapFieldWells>
48 void SetFieldWells(FieldWellsT&& value) {
49 m_fieldWellsHasBeenSet = true;
50 m_fieldWells = std::forward<FieldWellsT>(value);
51 }
52 template <typename FieldWellsT = TreeMapFieldWells>
53 TreeMapConfiguration& WithFieldWells(FieldWellsT&& value) {
54 SetFieldWells(std::forward<FieldWellsT>(value));
55 return *this;
56 }
58
60
63 inline const TreeMapSortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
64 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
65 template <typename SortConfigurationT = TreeMapSortConfiguration>
66 void SetSortConfiguration(SortConfigurationT&& value) {
67 m_sortConfigurationHasBeenSet = true;
68 m_sortConfiguration = std::forward<SortConfigurationT>(value);
69 }
70 template <typename SortConfigurationT = TreeMapSortConfiguration>
71 TreeMapConfiguration& WithSortConfiguration(SortConfigurationT&& value) {
72 SetSortConfiguration(std::forward<SortConfigurationT>(value));
73 return *this;
74 }
76
78
82 inline const ChartAxisLabelOptions& GetGroupLabelOptions() const { return m_groupLabelOptions; }
83 inline bool GroupLabelOptionsHasBeenSet() const { return m_groupLabelOptionsHasBeenSet; }
84 template <typename GroupLabelOptionsT = ChartAxisLabelOptions>
85 void SetGroupLabelOptions(GroupLabelOptionsT&& value) {
86 m_groupLabelOptionsHasBeenSet = true;
87 m_groupLabelOptions = std::forward<GroupLabelOptionsT>(value);
88 }
89 template <typename GroupLabelOptionsT = ChartAxisLabelOptions>
90 TreeMapConfiguration& WithGroupLabelOptions(GroupLabelOptionsT&& value) {
91 SetGroupLabelOptions(std::forward<GroupLabelOptionsT>(value));
92 return *this;
93 }
95
97
101 inline const ChartAxisLabelOptions& GetSizeLabelOptions() const { return m_sizeLabelOptions; }
102 inline bool SizeLabelOptionsHasBeenSet() const { return m_sizeLabelOptionsHasBeenSet; }
103 template <typename SizeLabelOptionsT = ChartAxisLabelOptions>
104 void SetSizeLabelOptions(SizeLabelOptionsT&& value) {
105 m_sizeLabelOptionsHasBeenSet = true;
106 m_sizeLabelOptions = std::forward<SizeLabelOptionsT>(value);
107 }
108 template <typename SizeLabelOptionsT = ChartAxisLabelOptions>
109 TreeMapConfiguration& WithSizeLabelOptions(SizeLabelOptionsT&& value) {
110 SetSizeLabelOptions(std::forward<SizeLabelOptionsT>(value));
111 return *this;
112 }
114
116
120 inline const ChartAxisLabelOptions& GetColorLabelOptions() const { return m_colorLabelOptions; }
121 inline bool ColorLabelOptionsHasBeenSet() const { return m_colorLabelOptionsHasBeenSet; }
122 template <typename ColorLabelOptionsT = ChartAxisLabelOptions>
123 void SetColorLabelOptions(ColorLabelOptionsT&& value) {
124 m_colorLabelOptionsHasBeenSet = true;
125 m_colorLabelOptions = std::forward<ColorLabelOptionsT>(value);
126 }
127 template <typename ColorLabelOptionsT = ChartAxisLabelOptions>
128 TreeMapConfiguration& WithColorLabelOptions(ColorLabelOptionsT&& value) {
129 SetColorLabelOptions(std::forward<ColorLabelOptionsT>(value));
130 return *this;
131 }
133
135
138 inline const ColorScale& GetColorScale() const { return m_colorScale; }
139 inline bool ColorScaleHasBeenSet() const { return m_colorScaleHasBeenSet; }
140 template <typename ColorScaleT = ColorScale>
141 void SetColorScale(ColorScaleT&& value) {
142 m_colorScaleHasBeenSet = true;
143 m_colorScale = std::forward<ColorScaleT>(value);
144 }
145 template <typename ColorScaleT = ColorScale>
146 TreeMapConfiguration& WithColorScale(ColorScaleT&& value) {
147 SetColorScale(std::forward<ColorScaleT>(value));
148 return *this;
149 }
151
153
156 inline const LegendOptions& GetLegend() const { return m_legend; }
157 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
158 template <typename LegendT = LegendOptions>
159 void SetLegend(LegendT&& value) {
160 m_legendHasBeenSet = true;
161 m_legend = std::forward<LegendT>(value);
162 }
163 template <typename LegendT = LegendOptions>
165 SetLegend(std::forward<LegendT>(value));
166 return *this;
167 }
169
171
174 inline const DataLabelOptions& GetDataLabels() const { return m_dataLabels; }
175 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
176 template <typename DataLabelsT = DataLabelOptions>
177 void SetDataLabels(DataLabelsT&& value) {
178 m_dataLabelsHasBeenSet = true;
179 m_dataLabels = std::forward<DataLabelsT>(value);
180 }
181 template <typename DataLabelsT = DataLabelOptions>
182 TreeMapConfiguration& WithDataLabels(DataLabelsT&& value) {
183 SetDataLabels(std::forward<DataLabelsT>(value));
184 return *this;
185 }
187
189
192 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
193 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
194 template <typename TooltipT = TooltipOptions>
195 void SetTooltip(TooltipT&& value) {
196 m_tooltipHasBeenSet = true;
197 m_tooltip = std::forward<TooltipT>(value);
198 }
199 template <typename TooltipT = TooltipOptions>
201 SetTooltip(std::forward<TooltipT>(value));
202 return *this;
203 }
205
207
210 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
211 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
212 template <typename InteractionsT = VisualInteractionOptions>
213 void SetInteractions(InteractionsT&& value) {
214 m_interactionsHasBeenSet = true;
215 m_interactions = std::forward<InteractionsT>(value);
216 }
217 template <typename InteractionsT = VisualInteractionOptions>
218 TreeMapConfiguration& WithInteractions(InteractionsT&& value) {
219 SetInteractions(std::forward<InteractionsT>(value));
220 return *this;
221 }
223 private:
224 TreeMapFieldWells m_fieldWells;
225
226 TreeMapSortConfiguration m_sortConfiguration;
227
228 ChartAxisLabelOptions m_groupLabelOptions;
229
230 ChartAxisLabelOptions m_sizeLabelOptions;
231
232 ChartAxisLabelOptions m_colorLabelOptions;
233
234 ColorScale m_colorScale;
235
236 LegendOptions m_legend;
237
238 DataLabelOptions m_dataLabels;
239
240 TooltipOptions m_tooltip;
241
242 VisualInteractionOptions m_interactions;
243 bool m_fieldWellsHasBeenSet = false;
244 bool m_sortConfigurationHasBeenSet = false;
245 bool m_groupLabelOptionsHasBeenSet = false;
246 bool m_sizeLabelOptionsHasBeenSet = false;
247 bool m_colorLabelOptionsHasBeenSet = false;
248 bool m_colorScaleHasBeenSet = false;
249 bool m_legendHasBeenSet = false;
250 bool m_dataLabelsHasBeenSet = false;
251 bool m_tooltipHasBeenSet = false;
252 bool m_interactionsHasBeenSet = false;
253};
254
255} // namespace Model
256} // namespace QuickSight
257} // namespace Aws
const VisualInteractionOptions & GetInteractions() const
AWS_QUICKSIGHT_API TreeMapConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ChartAxisLabelOptions & GetSizeLabelOptions() const
const ChartAxisLabelOptions & GetGroupLabelOptions() const
TreeMapConfiguration & WithTooltip(TooltipT &&value)
const DataLabelOptions & GetDataLabels() const
TreeMapConfiguration & WithInteractions(InteractionsT &&value)
const ChartAxisLabelOptions & GetColorLabelOptions() const
TreeMapConfiguration & WithGroupLabelOptions(GroupLabelOptionsT &&value)
void SetColorLabelOptions(ColorLabelOptionsT &&value)
AWS_QUICKSIGHT_API TreeMapConfiguration()=default
TreeMapConfiguration & WithDataLabels(DataLabelsT &&value)
TreeMapConfiguration & WithColorScale(ColorScaleT &&value)
const TreeMapSortConfiguration & GetSortConfiguration() const
void SetSizeLabelOptions(SizeLabelOptionsT &&value)
TreeMapConfiguration & WithColorLabelOptions(ColorLabelOptionsT &&value)
TreeMapConfiguration & WithFieldWells(FieldWellsT &&value)
void SetGroupLabelOptions(GroupLabelOptionsT &&value)
void SetSortConfiguration(SortConfigurationT &&value)
TreeMapConfiguration & WithSizeLabelOptions(SizeLabelOptionsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const TreeMapFieldWells & GetFieldWells() const
TreeMapConfiguration & WithSortConfiguration(SortConfigurationT &&value)
TreeMapConfiguration & WithLegend(LegendT &&value)
AWS_QUICKSIGHT_API TreeMapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue