AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HistogramConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/HistogramFieldWells.h>
9#include <aws/quicksight/model/AxisDisplayOptions.h>
10#include <aws/quicksight/model/ChartAxisLabelOptions.h>
11#include <aws/quicksight/model/HistogramBinOptions.h>
12#include <aws/quicksight/model/DataLabelOptions.h>
13#include <aws/quicksight/model/TooltipOptions.h>
14#include <aws/quicksight/model/VisualPalette.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
40 {
41 public:
42 AWS_QUICKSIGHT_API HistogramConfiguration();
45 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const HistogramFieldWells& GetFieldWells() const{ return m_fieldWells; }
53 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
54 inline void SetFieldWells(const HistogramFieldWells& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = value; }
55 inline void SetFieldWells(HistogramFieldWells&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::move(value); }
56 inline HistogramConfiguration& WithFieldWells(const HistogramFieldWells& value) { SetFieldWells(value); return *this;}
57 inline HistogramConfiguration& WithFieldWells(HistogramFieldWells&& value) { SetFieldWells(std::move(value)); return *this;}
59
61
64 inline const AxisDisplayOptions& GetXAxisDisplayOptions() const{ return m_xAxisDisplayOptions; }
65 inline bool XAxisDisplayOptionsHasBeenSet() const { return m_xAxisDisplayOptionsHasBeenSet; }
66 inline void SetXAxisDisplayOptions(const AxisDisplayOptions& value) { m_xAxisDisplayOptionsHasBeenSet = true; m_xAxisDisplayOptions = value; }
67 inline void SetXAxisDisplayOptions(AxisDisplayOptions&& value) { m_xAxisDisplayOptionsHasBeenSet = true; m_xAxisDisplayOptions = std::move(value); }
71
73
76 inline const ChartAxisLabelOptions& GetXAxisLabelOptions() const{ return m_xAxisLabelOptions; }
77 inline bool XAxisLabelOptionsHasBeenSet() const { return m_xAxisLabelOptionsHasBeenSet; }
78 inline void SetXAxisLabelOptions(const ChartAxisLabelOptions& value) { m_xAxisLabelOptionsHasBeenSet = true; m_xAxisLabelOptions = value; }
79 inline void SetXAxisLabelOptions(ChartAxisLabelOptions&& value) { m_xAxisLabelOptionsHasBeenSet = true; m_xAxisLabelOptions = std::move(value); }
83
85
88 inline const AxisDisplayOptions& GetYAxisDisplayOptions() const{ return m_yAxisDisplayOptions; }
89 inline bool YAxisDisplayOptionsHasBeenSet() const { return m_yAxisDisplayOptionsHasBeenSet; }
90 inline void SetYAxisDisplayOptions(const AxisDisplayOptions& value) { m_yAxisDisplayOptionsHasBeenSet = true; m_yAxisDisplayOptions = value; }
91 inline void SetYAxisDisplayOptions(AxisDisplayOptions&& value) { m_yAxisDisplayOptionsHasBeenSet = true; m_yAxisDisplayOptions = std::move(value); }
95
97
100 inline const HistogramBinOptions& GetBinOptions() const{ return m_binOptions; }
101 inline bool BinOptionsHasBeenSet() const { return m_binOptionsHasBeenSet; }
102 inline void SetBinOptions(const HistogramBinOptions& value) { m_binOptionsHasBeenSet = true; m_binOptions = value; }
103 inline void SetBinOptions(HistogramBinOptions&& value) { m_binOptionsHasBeenSet = true; m_binOptions = std::move(value); }
104 inline HistogramConfiguration& WithBinOptions(const HistogramBinOptions& value) { SetBinOptions(value); return *this;}
105 inline HistogramConfiguration& WithBinOptions(HistogramBinOptions&& value) { SetBinOptions(std::move(value)); return *this;}
107
109
112 inline const DataLabelOptions& GetDataLabels() const{ return m_dataLabels; }
113 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
114 inline void SetDataLabels(const DataLabelOptions& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = value; }
115 inline void SetDataLabels(DataLabelOptions&& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = std::move(value); }
116 inline HistogramConfiguration& WithDataLabels(const DataLabelOptions& value) { SetDataLabels(value); return *this;}
117 inline HistogramConfiguration& WithDataLabels(DataLabelOptions&& value) { SetDataLabels(std::move(value)); return *this;}
119
121
124 inline const TooltipOptions& GetTooltip() const{ return m_tooltip; }
125 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
126 inline void SetTooltip(const TooltipOptions& value) { m_tooltipHasBeenSet = true; m_tooltip = value; }
127 inline void SetTooltip(TooltipOptions&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::move(value); }
128 inline HistogramConfiguration& WithTooltip(const TooltipOptions& value) { SetTooltip(value); return *this;}
129 inline HistogramConfiguration& WithTooltip(TooltipOptions&& value) { SetTooltip(std::move(value)); return *this;}
131
133
136 inline const VisualPalette& GetVisualPalette() const{ return m_visualPalette; }
137 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
138 inline void SetVisualPalette(const VisualPalette& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = value; }
139 inline void SetVisualPalette(VisualPalette&& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = std::move(value); }
140 inline HistogramConfiguration& WithVisualPalette(const VisualPalette& value) { SetVisualPalette(value); return *this;}
141 inline HistogramConfiguration& WithVisualPalette(VisualPalette&& value) { SetVisualPalette(std::move(value)); return *this;}
143
145
148 inline const VisualInteractionOptions& GetInteractions() const{ return m_interactions; }
149 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
150 inline void SetInteractions(const VisualInteractionOptions& value) { m_interactionsHasBeenSet = true; m_interactions = value; }
151 inline void SetInteractions(VisualInteractionOptions&& value) { m_interactionsHasBeenSet = true; m_interactions = std::move(value); }
153 inline HistogramConfiguration& WithInteractions(VisualInteractionOptions&& value) { SetInteractions(std::move(value)); return *this;}
155 private:
156
157 HistogramFieldWells m_fieldWells;
158 bool m_fieldWellsHasBeenSet = false;
159
160 AxisDisplayOptions m_xAxisDisplayOptions;
161 bool m_xAxisDisplayOptionsHasBeenSet = false;
162
163 ChartAxisLabelOptions m_xAxisLabelOptions;
164 bool m_xAxisLabelOptionsHasBeenSet = false;
165
166 AxisDisplayOptions m_yAxisDisplayOptions;
167 bool m_yAxisDisplayOptionsHasBeenSet = false;
168
169 HistogramBinOptions m_binOptions;
170 bool m_binOptionsHasBeenSet = false;
171
172 DataLabelOptions m_dataLabels;
173 bool m_dataLabelsHasBeenSet = false;
174
175 TooltipOptions m_tooltip;
176 bool m_tooltipHasBeenSet = false;
177
178 VisualPalette m_visualPalette;
179 bool m_visualPaletteHasBeenSet = false;
180
181 VisualInteractionOptions m_interactions;
182 bool m_interactionsHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace QuickSight
187} // namespace Aws
AWS_QUICKSIGHT_API HistogramConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetInteractions(VisualInteractionOptions &&value)
HistogramConfiguration & WithXAxisDisplayOptions(const AxisDisplayOptions &value)
HistogramConfiguration & WithInteractions(VisualInteractionOptions &&value)
HistogramConfiguration & WithYAxisDisplayOptions(const AxisDisplayOptions &value)
HistogramConfiguration & WithVisualPalette(VisualPalette &&value)
HistogramConfiguration & WithYAxisDisplayOptions(AxisDisplayOptions &&value)
HistogramConfiguration & WithInteractions(const VisualInteractionOptions &value)
const HistogramFieldWells & GetFieldWells() const
HistogramConfiguration & WithBinOptions(const HistogramBinOptions &value)
void SetFieldWells(const HistogramFieldWells &value)
void SetBinOptions(const HistogramBinOptions &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
HistogramConfiguration & WithDataLabels(DataLabelOptions &&value)
const ChartAxisLabelOptions & GetXAxisLabelOptions() const
const VisualInteractionOptions & GetInteractions() const
const AxisDisplayOptions & GetYAxisDisplayOptions() const
HistogramConfiguration & WithXAxisLabelOptions(ChartAxisLabelOptions &&value)
void SetYAxisDisplayOptions(AxisDisplayOptions &&value)
HistogramConfiguration & WithDataLabels(const DataLabelOptions &value)
void SetXAxisDisplayOptions(AxisDisplayOptions &&value)
HistogramConfiguration & WithVisualPalette(const VisualPalette &value)
HistogramConfiguration & WithTooltip(TooltipOptions &&value)
HistogramConfiguration & WithFieldWells(const HistogramFieldWells &value)
void SetXAxisDisplayOptions(const AxisDisplayOptions &value)
HistogramConfiguration & WithTooltip(const TooltipOptions &value)
void SetXAxisLabelOptions(const ChartAxisLabelOptions &value)
HistogramConfiguration & WithXAxisDisplayOptions(AxisDisplayOptions &&value)
void SetDataLabels(const DataLabelOptions &value)
HistogramConfiguration & WithXAxisLabelOptions(const ChartAxisLabelOptions &value)
HistogramConfiguration & WithBinOptions(HistogramBinOptions &&value)
void SetXAxisLabelOptions(ChartAxisLabelOptions &&value)
void SetInteractions(const VisualInteractionOptions &value)
AWS_QUICKSIGHT_API HistogramConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
HistogramConfiguration & WithFieldWells(HistogramFieldWells &&value)
void SetYAxisDisplayOptions(const AxisDisplayOptions &value)
const HistogramBinOptions & GetBinOptions() const
const AxisDisplayOptions & GetXAxisDisplayOptions() const
Aws::Utils::Json::JsonValue JsonValue