AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
HeatMapConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/HeatMapFieldWells.h>
9#include <aws/quicksight/model/HeatMapSortConfiguration.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 HeatMapConfiguration() = default;
42 AWS_QUICKSIGHT_API HeatMapConfiguration(Aws::Utils::Json::JsonView jsonValue);
44 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const HeatMapFieldWells& GetFieldWells() const { return m_fieldWells; }
52 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
53 template<typename FieldWellsT = HeatMapFieldWells>
54 void SetFieldWells(FieldWellsT&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::forward<FieldWellsT>(value); }
55 template<typename FieldWellsT = HeatMapFieldWells>
56 HeatMapConfiguration& WithFieldWells(FieldWellsT&& value) { SetFieldWells(std::forward<FieldWellsT>(value)); return *this;}
58
60
63 inline const HeatMapSortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
64 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
65 template<typename SortConfigurationT = HeatMapSortConfiguration>
66 void SetSortConfiguration(SortConfigurationT&& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::forward<SortConfigurationT>(value); }
67 template<typename SortConfigurationT = HeatMapSortConfiguration>
68 HeatMapConfiguration& WithSortConfiguration(SortConfigurationT&& value) { SetSortConfiguration(std::forward<SortConfigurationT>(value)); return *this;}
70
72
76 inline const ChartAxisLabelOptions& GetRowLabelOptions() const { return m_rowLabelOptions; }
77 inline bool RowLabelOptionsHasBeenSet() const { return m_rowLabelOptionsHasBeenSet; }
78 template<typename RowLabelOptionsT = ChartAxisLabelOptions>
79 void SetRowLabelOptions(RowLabelOptionsT&& value) { m_rowLabelOptionsHasBeenSet = true; m_rowLabelOptions = std::forward<RowLabelOptionsT>(value); }
80 template<typename RowLabelOptionsT = ChartAxisLabelOptions>
81 HeatMapConfiguration& WithRowLabelOptions(RowLabelOptionsT&& value) { SetRowLabelOptions(std::forward<RowLabelOptionsT>(value)); return *this;}
83
85
88 inline const ChartAxisLabelOptions& GetColumnLabelOptions() const { return m_columnLabelOptions; }
89 inline bool ColumnLabelOptionsHasBeenSet() const { return m_columnLabelOptionsHasBeenSet; }
90 template<typename ColumnLabelOptionsT = ChartAxisLabelOptions>
91 void SetColumnLabelOptions(ColumnLabelOptionsT&& value) { m_columnLabelOptionsHasBeenSet = true; m_columnLabelOptions = std::forward<ColumnLabelOptionsT>(value); }
92 template<typename ColumnLabelOptionsT = ChartAxisLabelOptions>
93 HeatMapConfiguration& WithColumnLabelOptions(ColumnLabelOptionsT&& value) { SetColumnLabelOptions(std::forward<ColumnLabelOptionsT>(value)); return *this;}
95
97
100 inline const ColorScale& GetColorScale() const { return m_colorScale; }
101 inline bool ColorScaleHasBeenSet() const { return m_colorScaleHasBeenSet; }
102 template<typename ColorScaleT = ColorScale>
103 void SetColorScale(ColorScaleT&& value) { m_colorScaleHasBeenSet = true; m_colorScale = std::forward<ColorScaleT>(value); }
104 template<typename ColorScaleT = ColorScale>
105 HeatMapConfiguration& WithColorScale(ColorScaleT&& value) { SetColorScale(std::forward<ColorScaleT>(value)); return *this;}
107
109
112 inline const LegendOptions& GetLegend() const { return m_legend; }
113 inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; }
114 template<typename LegendT = LegendOptions>
115 void SetLegend(LegendT&& value) { m_legendHasBeenSet = true; m_legend = std::forward<LegendT>(value); }
116 template<typename LegendT = LegendOptions>
117 HeatMapConfiguration& WithLegend(LegendT&& value) { SetLegend(std::forward<LegendT>(value)); return *this;}
119
121
124 inline const DataLabelOptions& GetDataLabels() const { return m_dataLabels; }
125 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
126 template<typename DataLabelsT = DataLabelOptions>
127 void SetDataLabels(DataLabelsT&& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = std::forward<DataLabelsT>(value); }
128 template<typename DataLabelsT = DataLabelOptions>
129 HeatMapConfiguration& WithDataLabels(DataLabelsT&& value) { SetDataLabels(std::forward<DataLabelsT>(value)); return *this;}
131
133
136 inline const TooltipOptions& GetTooltip() const { return m_tooltip; }
137 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
138 template<typename TooltipT = TooltipOptions>
139 void SetTooltip(TooltipT&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::forward<TooltipT>(value); }
140 template<typename TooltipT = TooltipOptions>
141 HeatMapConfiguration& WithTooltip(TooltipT&& value) { SetTooltip(std::forward<TooltipT>(value)); return *this;}
143
145
148 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
149 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
150 template<typename InteractionsT = VisualInteractionOptions>
151 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
152 template<typename InteractionsT = VisualInteractionOptions>
153 HeatMapConfiguration& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
155 private:
156
157 HeatMapFieldWells m_fieldWells;
158 bool m_fieldWellsHasBeenSet = false;
159
160 HeatMapSortConfiguration m_sortConfiguration;
161 bool m_sortConfigurationHasBeenSet = false;
162
163 ChartAxisLabelOptions m_rowLabelOptions;
164 bool m_rowLabelOptionsHasBeenSet = false;
165
166 ChartAxisLabelOptions m_columnLabelOptions;
167 bool m_columnLabelOptionsHasBeenSet = false;
168
169 ColorScale m_colorScale;
170 bool m_colorScaleHasBeenSet = false;
171
172 LegendOptions m_legend;
173 bool m_legendHasBeenSet = false;
174
175 DataLabelOptions m_dataLabels;
176 bool m_dataLabelsHasBeenSet = false;
177
178 TooltipOptions m_tooltip;
179 bool m_tooltipHasBeenSet = false;
180
181 VisualInteractionOptions m_interactions;
182 bool m_interactionsHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace QuickSight
187} // namespace Aws
HeatMapConfiguration & WithLegend(LegendT &&value)
const VisualInteractionOptions & GetInteractions() const
HeatMapConfiguration & WithDataLabels(DataLabelsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const ChartAxisLabelOptions & GetColumnLabelOptions() const
HeatMapConfiguration & WithInteractions(InteractionsT &&value)
HeatMapConfiguration & WithRowLabelOptions(RowLabelOptionsT &&value)
HeatMapConfiguration & WithColumnLabelOptions(ColumnLabelOptionsT &&value)
AWS_QUICKSIGHT_API HeatMapConfiguration()=default
HeatMapConfiguration & WithSortConfiguration(SortConfigurationT &&value)
const HeatMapSortConfiguration & GetSortConfiguration() const
HeatMapConfiguration & WithColorScale(ColorScaleT &&value)
void SetRowLabelOptions(RowLabelOptionsT &&value)
void SetColumnLabelOptions(ColumnLabelOptionsT &&value)
const DataLabelOptions & GetDataLabels() const
AWS_QUICKSIGHT_API HeatMapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
HeatMapConfiguration & WithFieldWells(FieldWellsT &&value)
HeatMapConfiguration & WithTooltip(TooltipT &&value)
const HeatMapFieldWells & GetFieldWells() const
void SetSortConfiguration(SortConfigurationT &&value)
AWS_QUICKSIGHT_API HeatMapConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ChartAxisLabelOptions & GetRowLabelOptions() const
Aws::Utils::Json::JsonValue JsonValue