AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TreeMapConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/TreeMapFieldWells.h>
9#include <aws/quicksight/model/TreeMapSortConfiguration.h>
10#include <aws/quicksight/model/ChartAxisLabelOptions.h>
11#include <aws/quicksight/model/ColorScale.h>
12#include <aws/quicksight/model/LegendOptions.h>
13#include <aws/quicksight/model/DataLabelOptions.h>
14#include <aws/quicksight/model/TooltipOptions.h>
15#include <aws/quicksight/model/VisualInteractionOptions.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace QuickSight
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_QUICKSIGHT_API TreeMapConfiguration() = default;
42 AWS_QUICKSIGHT_API TreeMapConfiguration(Aws::Utils::Json::JsonView jsonValue);
44 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const TreeMapFieldWells& GetFieldWells() const { return m_fieldWells; }
52 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
53 template<typename FieldWellsT = TreeMapFieldWells>
54 void SetFieldWells(FieldWellsT&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::forward<FieldWellsT>(value); }
55 template<typename FieldWellsT = TreeMapFieldWells>
56 TreeMapConfiguration& WithFieldWells(FieldWellsT&& value) { SetFieldWells(std::forward<FieldWellsT>(value)); return *this;}
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) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::forward<SortConfigurationT>(value); }
67 template<typename SortConfigurationT = TreeMapSortConfiguration>
68 TreeMapConfiguration& WithSortConfiguration(SortConfigurationT&& value) { SetSortConfiguration(std::forward<SortConfigurationT>(value)); return *this;}
70
72
76 inline const ChartAxisLabelOptions& GetGroupLabelOptions() const { return m_groupLabelOptions; }
77 inline bool GroupLabelOptionsHasBeenSet() const { return m_groupLabelOptionsHasBeenSet; }
78 template<typename GroupLabelOptionsT = ChartAxisLabelOptions>
79 void SetGroupLabelOptions(GroupLabelOptionsT&& value) { m_groupLabelOptionsHasBeenSet = true; m_groupLabelOptions = std::forward<GroupLabelOptionsT>(value); }
80 template<typename GroupLabelOptionsT = ChartAxisLabelOptions>
81 TreeMapConfiguration& WithGroupLabelOptions(GroupLabelOptionsT&& value) { SetGroupLabelOptions(std::forward<GroupLabelOptionsT>(value)); return *this;}
83
85
89 inline const ChartAxisLabelOptions& GetSizeLabelOptions() const { return m_sizeLabelOptions; }
90 inline bool SizeLabelOptionsHasBeenSet() const { return m_sizeLabelOptionsHasBeenSet; }
91 template<typename SizeLabelOptionsT = ChartAxisLabelOptions>
92 void SetSizeLabelOptions(SizeLabelOptionsT&& value) { m_sizeLabelOptionsHasBeenSet = true; m_sizeLabelOptions = std::forward<SizeLabelOptionsT>(value); }
93 template<typename SizeLabelOptionsT = ChartAxisLabelOptions>
94 TreeMapConfiguration& WithSizeLabelOptions(SizeLabelOptionsT&& value) { SetSizeLabelOptions(std::forward<SizeLabelOptionsT>(value)); return *this;}
96
98
102 inline const ChartAxisLabelOptions& GetColorLabelOptions() const { return m_colorLabelOptions; }
103 inline bool ColorLabelOptionsHasBeenSet() const { return m_colorLabelOptionsHasBeenSet; }
104 template<typename ColorLabelOptionsT = ChartAxisLabelOptions>
105 void SetColorLabelOptions(ColorLabelOptionsT&& value) { m_colorLabelOptionsHasBeenSet = true; m_colorLabelOptions = std::forward<ColorLabelOptionsT>(value); }
106 template<typename ColorLabelOptionsT = ChartAxisLabelOptions>
107 TreeMapConfiguration& WithColorLabelOptions(ColorLabelOptionsT&& value) { SetColorLabelOptions(std::forward<ColorLabelOptionsT>(value)); return *this;}
109
111
114 inline const ColorScale& GetColorScale() const { return m_colorScale; }
115 inline bool ColorScaleHasBeenSet() const { return m_colorScaleHasBeenSet; }
116 template<typename ColorScaleT = ColorScale>
117 void SetColorScale(ColorScaleT&& value) { m_colorScaleHasBeenSet = true; m_colorScale = std::forward<ColorScaleT>(value); }
118 template<typename ColorScaleT = ColorScale>
119 TreeMapConfiguration& WithColorScale(ColorScaleT&& value) { SetColorScale(std::forward<ColorScaleT>(value)); return *this;}
121
123
126 inline const LegendOptions& GetLegend() const { return m_legend; }
127 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
128 template<typename LegendT = LegendOptions>
129 void SetLegend(LegendT&& value) { m_legendHasBeenSet = true; m_legend = std::forward<LegendT>(value); }
130 template<typename LegendT = LegendOptions>
131 TreeMapConfiguration& WithLegend(LegendT&& value) { SetLegend(std::forward<LegendT>(value)); return *this;}
133
135
138 inline const DataLabelOptions& GetDataLabels() const { return m_dataLabels; }
139 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
140 template<typename DataLabelsT = DataLabelOptions>
141 void SetDataLabels(DataLabelsT&& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = std::forward<DataLabelsT>(value); }
142 template<typename DataLabelsT = DataLabelOptions>
143 TreeMapConfiguration& WithDataLabels(DataLabelsT&& value) { SetDataLabels(std::forward<DataLabelsT>(value)); return *this;}
145
147
150 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
151 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
152 template<typename TooltipT = TooltipOptions>
153 void SetTooltip(TooltipT&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::forward<TooltipT>(value); }
154 template<typename TooltipT = TooltipOptions>
155 TreeMapConfiguration& WithTooltip(TooltipT&& value) { SetTooltip(std::forward<TooltipT>(value)); return *this;}
157
159
162 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
163 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
164 template<typename InteractionsT = VisualInteractionOptions>
165 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
166 template<typename InteractionsT = VisualInteractionOptions>
167 TreeMapConfiguration& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
169 private:
170
171 TreeMapFieldWells m_fieldWells;
172 bool m_fieldWellsHasBeenSet = false;
173
174 TreeMapSortConfiguration m_sortConfiguration;
175 bool m_sortConfigurationHasBeenSet = false;
176
177 ChartAxisLabelOptions m_groupLabelOptions;
178 bool m_groupLabelOptionsHasBeenSet = false;
179
180 ChartAxisLabelOptions m_sizeLabelOptions;
181 bool m_sizeLabelOptionsHasBeenSet = false;
182
183 ChartAxisLabelOptions m_colorLabelOptions;
184 bool m_colorLabelOptionsHasBeenSet = false;
185
186 ColorScale m_colorScale;
187 bool m_colorScaleHasBeenSet = false;
188
189 LegendOptions m_legend;
190 bool m_legendHasBeenSet = false;
191
192 DataLabelOptions m_dataLabels;
193 bool m_dataLabelsHasBeenSet = false;
194
195 TooltipOptions m_tooltip;
196 bool m_tooltipHasBeenSet = false;
197
198 VisualInteractionOptions m_interactions;
199 bool m_interactionsHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace QuickSight
204} // 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