AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
FunnelChartConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ChartAxisLabelOptions.h>
9#include <aws/quicksight/model/FunnelChartDataLabelOptions.h>
10#include <aws/quicksight/model/FunnelChartFieldWells.h>
11#include <aws/quicksight/model/FunnelChartSortConfiguration.h>
12#include <aws/quicksight/model/TooltipOptions.h>
13#include <aws/quicksight/model/VisualInteractionOptions.h>
14#include <aws/quicksight/model/VisualPalette.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight {
26namespace Model {
27
35 public:
36 AWS_QUICKSIGHT_API FunnelChartConfiguration() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const FunnelChartFieldWells& GetFieldWells() const { return m_fieldWells; }
46 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
47 template <typename FieldWellsT = FunnelChartFieldWells>
48 void SetFieldWells(FieldWellsT&& value) {
49 m_fieldWellsHasBeenSet = true;
50 m_fieldWells = std::forward<FieldWellsT>(value);
51 }
52 template <typename FieldWellsT = FunnelChartFieldWells>
54 SetFieldWells(std::forward<FieldWellsT>(value));
55 return *this;
56 }
58
60
63 inline const FunnelChartSortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
64 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
65 template <typename SortConfigurationT = FunnelChartSortConfiguration>
66 void SetSortConfiguration(SortConfigurationT&& value) {
67 m_sortConfigurationHasBeenSet = true;
68 m_sortConfiguration = std::forward<SortConfigurationT>(value);
69 }
70 template <typename SortConfigurationT = FunnelChartSortConfiguration>
71 FunnelChartConfiguration& WithSortConfiguration(SortConfigurationT&& value) {
72 SetSortConfiguration(std::forward<SortConfigurationT>(value));
73 return *this;
74 }
76
78
82 inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const { return m_categoryLabelOptions; }
83 inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; }
84 template <typename CategoryLabelOptionsT = ChartAxisLabelOptions>
85 void SetCategoryLabelOptions(CategoryLabelOptionsT&& value) {
86 m_categoryLabelOptionsHasBeenSet = true;
87 m_categoryLabelOptions = std::forward<CategoryLabelOptionsT>(value);
88 }
89 template <typename CategoryLabelOptionsT = ChartAxisLabelOptions>
90 FunnelChartConfiguration& WithCategoryLabelOptions(CategoryLabelOptionsT&& value) {
91 SetCategoryLabelOptions(std::forward<CategoryLabelOptionsT>(value));
92 return *this;
93 }
95
97
101 inline const ChartAxisLabelOptions& GetValueLabelOptions() const { return m_valueLabelOptions; }
102 inline bool ValueLabelOptionsHasBeenSet() const { return m_valueLabelOptionsHasBeenSet; }
103 template <typename ValueLabelOptionsT = ChartAxisLabelOptions>
104 void SetValueLabelOptions(ValueLabelOptionsT&& value) {
105 m_valueLabelOptionsHasBeenSet = true;
106 m_valueLabelOptions = std::forward<ValueLabelOptionsT>(value);
107 }
108 template <typename ValueLabelOptionsT = ChartAxisLabelOptions>
109 FunnelChartConfiguration& WithValueLabelOptions(ValueLabelOptionsT&& value) {
110 SetValueLabelOptions(std::forward<ValueLabelOptionsT>(value));
111 return *this;
112 }
114
116
119 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
120 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
121 template <typename TooltipT = TooltipOptions>
122 void SetTooltip(TooltipT&& value) {
123 m_tooltipHasBeenSet = true;
124 m_tooltip = std::forward<TooltipT>(value);
125 }
126 template <typename TooltipT = TooltipOptions>
128 SetTooltip(std::forward<TooltipT>(value));
129 return *this;
130 }
132
134
137 inline const FunnelChartDataLabelOptions& GetDataLabelOptions() const { return m_dataLabelOptions; }
138 inline bool DataLabelOptionsHasBeenSet() const { return m_dataLabelOptionsHasBeenSet; }
139 template <typename DataLabelOptionsT = FunnelChartDataLabelOptions>
140 void SetDataLabelOptions(DataLabelOptionsT&& value) {
141 m_dataLabelOptionsHasBeenSet = true;
142 m_dataLabelOptions = std::forward<DataLabelOptionsT>(value);
143 }
144 template <typename DataLabelOptionsT = FunnelChartDataLabelOptions>
145 FunnelChartConfiguration& WithDataLabelOptions(DataLabelOptionsT&& value) {
146 SetDataLabelOptions(std::forward<DataLabelOptionsT>(value));
147 return *this;
148 }
150
152
155 inline const VisualPalette& GetVisualPalette() const { return m_visualPalette; }
156 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
157 template <typename VisualPaletteT = VisualPalette>
158 void SetVisualPalette(VisualPaletteT&& value) {
159 m_visualPaletteHasBeenSet = true;
160 m_visualPalette = std::forward<VisualPaletteT>(value);
161 }
162 template <typename VisualPaletteT = VisualPalette>
164 SetVisualPalette(std::forward<VisualPaletteT>(value));
165 return *this;
166 }
168
170
173 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
174 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
175 template <typename InteractionsT = VisualInteractionOptions>
176 void SetInteractions(InteractionsT&& value) {
177 m_interactionsHasBeenSet = true;
178 m_interactions = std::forward<InteractionsT>(value);
179 }
180 template <typename InteractionsT = VisualInteractionOptions>
182 SetInteractions(std::forward<InteractionsT>(value));
183 return *this;
184 }
186 private:
187 FunnelChartFieldWells m_fieldWells;
188
189 FunnelChartSortConfiguration m_sortConfiguration;
190
191 ChartAxisLabelOptions m_categoryLabelOptions;
192
193 ChartAxisLabelOptions m_valueLabelOptions;
194
195 TooltipOptions m_tooltip;
196
197 FunnelChartDataLabelOptions m_dataLabelOptions;
198
199 VisualPalette m_visualPalette;
200
201 VisualInteractionOptions m_interactions;
202 bool m_fieldWellsHasBeenSet = false;
203 bool m_sortConfigurationHasBeenSet = false;
204 bool m_categoryLabelOptionsHasBeenSet = false;
205 bool m_valueLabelOptionsHasBeenSet = false;
206 bool m_tooltipHasBeenSet = false;
207 bool m_dataLabelOptionsHasBeenSet = false;
208 bool m_visualPaletteHasBeenSet = false;
209 bool m_interactionsHasBeenSet = false;
210};
211
212} // namespace Model
213} // namespace QuickSight
214} // namespace Aws
const FunnelChartDataLabelOptions & GetDataLabelOptions() const
FunnelChartConfiguration & WithInteractions(InteractionsT &&value)
AWS_QUICKSIGHT_API FunnelChartConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API FunnelChartConfiguration()=default
FunnelChartConfiguration & WithFieldWells(FieldWellsT &&value)
FunnelChartConfiguration & WithTooltip(TooltipT &&value)
const FunnelChartSortConfiguration & GetSortConfiguration() const
FunnelChartConfiguration & WithCategoryLabelOptions(CategoryLabelOptionsT &&value)
const ChartAxisLabelOptions & GetValueLabelOptions() const
const VisualInteractionOptions & GetInteractions() const
FunnelChartConfiguration & WithDataLabelOptions(DataLabelOptionsT &&value)
FunnelChartConfiguration & WithSortConfiguration(SortConfigurationT &&value)
AWS_QUICKSIGHT_API FunnelChartConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCategoryLabelOptions(CategoryLabelOptionsT &&value)
FunnelChartConfiguration & WithValueLabelOptions(ValueLabelOptionsT &&value)
const ChartAxisLabelOptions & GetCategoryLabelOptions() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FunnelChartConfiguration & WithVisualPalette(VisualPaletteT &&value)
const FunnelChartFieldWells & GetFieldWells() const
Aws::Utils::Json::JsonValue JsonValue