AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ScatterPlotConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ScatterPlotFieldWells.h>
9#include <aws/quicksight/model/ScatterPlotSortConfiguration.h>
10#include <aws/quicksight/model/ChartAxisLabelOptions.h>
11#include <aws/quicksight/model/AxisDisplayOptions.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/VisualPalette.h>
16#include <aws/quicksight/model/VisualInteractionOptions.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace QuickSight
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_QUICKSIGHT_API ScatterPlotConfiguration() = default;
45 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const ScatterPlotFieldWells& GetFieldWells() const { return m_fieldWells; }
53 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
54 template<typename FieldWellsT = ScatterPlotFieldWells>
55 void SetFieldWells(FieldWellsT&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::forward<FieldWellsT>(value); }
56 template<typename FieldWellsT = ScatterPlotFieldWells>
57 ScatterPlotConfiguration& WithFieldWells(FieldWellsT&& value) { SetFieldWells(std::forward<FieldWellsT>(value)); return *this;}
59
61
64 inline const ScatterPlotSortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
65 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
66 template<typename SortConfigurationT = ScatterPlotSortConfiguration>
67 void SetSortConfiguration(SortConfigurationT&& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::forward<SortConfigurationT>(value); }
68 template<typename SortConfigurationT = ScatterPlotSortConfiguration>
69 ScatterPlotConfiguration& WithSortConfiguration(SortConfigurationT&& value) { SetSortConfiguration(std::forward<SortConfigurationT>(value)); return *this;}
71
73
77 inline const ChartAxisLabelOptions& GetXAxisLabelOptions() const { return m_xAxisLabelOptions; }
78 inline bool XAxisLabelOptionsHasBeenSet() const { return m_xAxisLabelOptionsHasBeenSet; }
79 template<typename XAxisLabelOptionsT = ChartAxisLabelOptions>
80 void SetXAxisLabelOptions(XAxisLabelOptionsT&& value) { m_xAxisLabelOptionsHasBeenSet = true; m_xAxisLabelOptions = std::forward<XAxisLabelOptionsT>(value); }
81 template<typename XAxisLabelOptionsT = ChartAxisLabelOptions>
82 ScatterPlotConfiguration& WithXAxisLabelOptions(XAxisLabelOptionsT&& value) { SetXAxisLabelOptions(std::forward<XAxisLabelOptionsT>(value)); return *this;}
84
86
90 inline const AxisDisplayOptions& GetXAxisDisplayOptions() const { return m_xAxisDisplayOptions; }
91 inline bool XAxisDisplayOptionsHasBeenSet() const { return m_xAxisDisplayOptionsHasBeenSet; }
92 template<typename XAxisDisplayOptionsT = AxisDisplayOptions>
93 void SetXAxisDisplayOptions(XAxisDisplayOptionsT&& value) { m_xAxisDisplayOptionsHasBeenSet = true; m_xAxisDisplayOptions = std::forward<XAxisDisplayOptionsT>(value); }
94 template<typename XAxisDisplayOptionsT = AxisDisplayOptions>
95 ScatterPlotConfiguration& WithXAxisDisplayOptions(XAxisDisplayOptionsT&& value) { SetXAxisDisplayOptions(std::forward<XAxisDisplayOptionsT>(value)); return *this;}
97
99
103 inline const ChartAxisLabelOptions& GetYAxisLabelOptions() const { return m_yAxisLabelOptions; }
104 inline bool YAxisLabelOptionsHasBeenSet() const { return m_yAxisLabelOptionsHasBeenSet; }
105 template<typename YAxisLabelOptionsT = ChartAxisLabelOptions>
106 void SetYAxisLabelOptions(YAxisLabelOptionsT&& value) { m_yAxisLabelOptionsHasBeenSet = true; m_yAxisLabelOptions = std::forward<YAxisLabelOptionsT>(value); }
107 template<typename YAxisLabelOptionsT = ChartAxisLabelOptions>
108 ScatterPlotConfiguration& WithYAxisLabelOptions(YAxisLabelOptionsT&& value) { SetYAxisLabelOptions(std::forward<YAxisLabelOptionsT>(value)); return *this;}
110
112
116 inline const AxisDisplayOptions& GetYAxisDisplayOptions() const { return m_yAxisDisplayOptions; }
117 inline bool YAxisDisplayOptionsHasBeenSet() const { return m_yAxisDisplayOptionsHasBeenSet; }
118 template<typename YAxisDisplayOptionsT = AxisDisplayOptions>
119 void SetYAxisDisplayOptions(YAxisDisplayOptionsT&& value) { m_yAxisDisplayOptionsHasBeenSet = true; m_yAxisDisplayOptions = std::forward<YAxisDisplayOptionsT>(value); }
120 template<typename YAxisDisplayOptionsT = AxisDisplayOptions>
121 ScatterPlotConfiguration& WithYAxisDisplayOptions(YAxisDisplayOptionsT&& value) { SetYAxisDisplayOptions(std::forward<YAxisDisplayOptionsT>(value)); return *this;}
123
125
128 inline const LegendOptions& GetLegend() const { return m_legend; }
129 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
130 template<typename LegendT = LegendOptions>
131 void SetLegend(LegendT&& value) { m_legendHasBeenSet = true; m_legend = std::forward<LegendT>(value); }
132 template<typename LegendT = LegendOptions>
133 ScatterPlotConfiguration& WithLegend(LegendT&& value) { SetLegend(std::forward<LegendT>(value)); return *this;}
135
137
140 inline const DataLabelOptions& GetDataLabels() const { return m_dataLabels; }
141 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
142 template<typename DataLabelsT = DataLabelOptions>
143 void SetDataLabels(DataLabelsT&& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = std::forward<DataLabelsT>(value); }
144 template<typename DataLabelsT = DataLabelOptions>
145 ScatterPlotConfiguration& WithDataLabels(DataLabelsT&& value) { SetDataLabels(std::forward<DataLabelsT>(value)); return *this;}
147
149
152 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
153 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
154 template<typename TooltipT = TooltipOptions>
155 void SetTooltip(TooltipT&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::forward<TooltipT>(value); }
156 template<typename TooltipT = TooltipOptions>
157 ScatterPlotConfiguration& WithTooltip(TooltipT&& value) { SetTooltip(std::forward<TooltipT>(value)); return *this;}
159
161
164 inline const VisualPalette& GetVisualPalette() const { return m_visualPalette; }
165 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
166 template<typename VisualPaletteT = VisualPalette>
167 void SetVisualPalette(VisualPaletteT&& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = std::forward<VisualPaletteT>(value); }
168 template<typename VisualPaletteT = VisualPalette>
169 ScatterPlotConfiguration& WithVisualPalette(VisualPaletteT&& value) { SetVisualPalette(std::forward<VisualPaletteT>(value)); return *this;}
171
173
176 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
177 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
178 template<typename InteractionsT = VisualInteractionOptions>
179 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
180 template<typename InteractionsT = VisualInteractionOptions>
181 ScatterPlotConfiguration& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
183 private:
184
185 ScatterPlotFieldWells m_fieldWells;
186 bool m_fieldWellsHasBeenSet = false;
187
188 ScatterPlotSortConfiguration m_sortConfiguration;
189 bool m_sortConfigurationHasBeenSet = false;
190
191 ChartAxisLabelOptions m_xAxisLabelOptions;
192 bool m_xAxisLabelOptionsHasBeenSet = false;
193
194 AxisDisplayOptions m_xAxisDisplayOptions;
195 bool m_xAxisDisplayOptionsHasBeenSet = false;
196
197 ChartAxisLabelOptions m_yAxisLabelOptions;
198 bool m_yAxisLabelOptionsHasBeenSet = false;
199
200 AxisDisplayOptions m_yAxisDisplayOptions;
201 bool m_yAxisDisplayOptionsHasBeenSet = false;
202
203 LegendOptions m_legend;
204 bool m_legendHasBeenSet = false;
205
206 DataLabelOptions m_dataLabels;
207 bool m_dataLabelsHasBeenSet = false;
208
209 TooltipOptions m_tooltip;
210 bool m_tooltipHasBeenSet = false;
211
212 VisualPalette m_visualPalette;
213 bool m_visualPaletteHasBeenSet = false;
214
215 VisualInteractionOptions m_interactions;
216 bool m_interactionsHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace QuickSight
221} // namespace Aws
AWS_QUICKSIGHT_API ScatterPlotConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ChartAxisLabelOptions & GetXAxisLabelOptions() const
AWS_QUICKSIGHT_API ScatterPlotConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ChartAxisLabelOptions & GetYAxisLabelOptions() const
void SetYAxisDisplayOptions(YAxisDisplayOptionsT &&value)
ScatterPlotConfiguration & WithYAxisLabelOptions(YAxisLabelOptionsT &&value)
const AxisDisplayOptions & GetYAxisDisplayOptions() const
const VisualInteractionOptions & GetInteractions() const
const ScatterPlotFieldWells & GetFieldWells() const
ScatterPlotConfiguration & WithSortConfiguration(SortConfigurationT &&value)
const AxisDisplayOptions & GetXAxisDisplayOptions() const
AWS_QUICKSIGHT_API ScatterPlotConfiguration()=default
ScatterPlotConfiguration & WithXAxisDisplayOptions(XAxisDisplayOptionsT &&value)
ScatterPlotConfiguration & WithTooltip(TooltipT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const ScatterPlotSortConfiguration & GetSortConfiguration() const
void SetXAxisDisplayOptions(XAxisDisplayOptionsT &&value)
ScatterPlotConfiguration & WithDataLabels(DataLabelsT &&value)
ScatterPlotConfiguration & WithLegend(LegendT &&value)
ScatterPlotConfiguration & WithVisualPalette(VisualPaletteT &&value)
ScatterPlotConfiguration & WithXAxisLabelOptions(XAxisLabelOptionsT &&value)
ScatterPlotConfiguration & WithInteractions(InteractionsT &&value)
ScatterPlotConfiguration & WithFieldWells(FieldWellsT &&value)
ScatterPlotConfiguration & WithYAxisDisplayOptions(YAxisDisplayOptionsT &&value)
Aws::Utils::Json::JsonValue JsonValue