AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PivotTableOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/PivotTableMetricPlacement.h>
9#include <aws/quicksight/model/Visibility.h>
10#include <aws/quicksight/model/TableCellStyle.h>
11#include <aws/quicksight/model/RowAlternateColorOptions.h>
12#include <aws/quicksight/model/PivotTableRowsLayout.h>
13#include <aws/quicksight/model/PivotTableRowsLabelOptions.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_QUICKSIGHT_API PivotTableOptions();
41 AWS_QUICKSIGHT_API PivotTableOptions(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const PivotTableMetricPlacement& GetMetricPlacement() const{ return m_metricPlacement; }
51 inline bool MetricPlacementHasBeenSet() const { return m_metricPlacementHasBeenSet; }
52 inline void SetMetricPlacement(const PivotTableMetricPlacement& value) { m_metricPlacementHasBeenSet = true; m_metricPlacement = value; }
53 inline void SetMetricPlacement(PivotTableMetricPlacement&& value) { m_metricPlacementHasBeenSet = true; m_metricPlacement = std::move(value); }
55 inline PivotTableOptions& WithMetricPlacement(PivotTableMetricPlacement&& value) { SetMetricPlacement(std::move(value)); return *this;}
57
59
62 inline const Visibility& GetSingleMetricVisibility() const{ return m_singleMetricVisibility; }
63 inline bool SingleMetricVisibilityHasBeenSet() const { return m_singleMetricVisibilityHasBeenSet; }
64 inline void SetSingleMetricVisibility(const Visibility& value) { m_singleMetricVisibilityHasBeenSet = true; m_singleMetricVisibility = value; }
65 inline void SetSingleMetricVisibility(Visibility&& value) { m_singleMetricVisibilityHasBeenSet = true; m_singleMetricVisibility = std::move(value); }
67 inline PivotTableOptions& WithSingleMetricVisibility(Visibility&& value) { SetSingleMetricVisibility(std::move(value)); return *this;}
69
71
74 inline const Visibility& GetColumnNamesVisibility() const{ return m_columnNamesVisibility; }
75 inline bool ColumnNamesVisibilityHasBeenSet() const { return m_columnNamesVisibilityHasBeenSet; }
76 inline void SetColumnNamesVisibility(const Visibility& value) { m_columnNamesVisibilityHasBeenSet = true; m_columnNamesVisibility = value; }
77 inline void SetColumnNamesVisibility(Visibility&& value) { m_columnNamesVisibilityHasBeenSet = true; m_columnNamesVisibility = std::move(value); }
79 inline PivotTableOptions& WithColumnNamesVisibility(Visibility&& value) { SetColumnNamesVisibility(std::move(value)); return *this;}
81
83
86 inline const Visibility& GetToggleButtonsVisibility() const{ return m_toggleButtonsVisibility; }
87 inline bool ToggleButtonsVisibilityHasBeenSet() const { return m_toggleButtonsVisibilityHasBeenSet; }
88 inline void SetToggleButtonsVisibility(const Visibility& value) { m_toggleButtonsVisibilityHasBeenSet = true; m_toggleButtonsVisibility = value; }
89 inline void SetToggleButtonsVisibility(Visibility&& value) { m_toggleButtonsVisibilityHasBeenSet = true; m_toggleButtonsVisibility = std::move(value); }
91 inline PivotTableOptions& WithToggleButtonsVisibility(Visibility&& value) { SetToggleButtonsVisibility(std::move(value)); return *this;}
93
95
98 inline const TableCellStyle& GetColumnHeaderStyle() const{ return m_columnHeaderStyle; }
99 inline bool ColumnHeaderStyleHasBeenSet() const { return m_columnHeaderStyleHasBeenSet; }
100 inline void SetColumnHeaderStyle(const TableCellStyle& value) { m_columnHeaderStyleHasBeenSet = true; m_columnHeaderStyle = value; }
101 inline void SetColumnHeaderStyle(TableCellStyle&& value) { m_columnHeaderStyleHasBeenSet = true; m_columnHeaderStyle = std::move(value); }
102 inline PivotTableOptions& WithColumnHeaderStyle(const TableCellStyle& value) { SetColumnHeaderStyle(value); return *this;}
103 inline PivotTableOptions& WithColumnHeaderStyle(TableCellStyle&& value) { SetColumnHeaderStyle(std::move(value)); return *this;}
105
107
110 inline const TableCellStyle& GetRowHeaderStyle() const{ return m_rowHeaderStyle; }
111 inline bool RowHeaderStyleHasBeenSet() const { return m_rowHeaderStyleHasBeenSet; }
112 inline void SetRowHeaderStyle(const TableCellStyle& value) { m_rowHeaderStyleHasBeenSet = true; m_rowHeaderStyle = value; }
113 inline void SetRowHeaderStyle(TableCellStyle&& value) { m_rowHeaderStyleHasBeenSet = true; m_rowHeaderStyle = std::move(value); }
114 inline PivotTableOptions& WithRowHeaderStyle(const TableCellStyle& value) { SetRowHeaderStyle(value); return *this;}
115 inline PivotTableOptions& WithRowHeaderStyle(TableCellStyle&& value) { SetRowHeaderStyle(std::move(value)); return *this;}
117
119
122 inline const TableCellStyle& GetCellStyle() const{ return m_cellStyle; }
123 inline bool CellStyleHasBeenSet() const { return m_cellStyleHasBeenSet; }
124 inline void SetCellStyle(const TableCellStyle& value) { m_cellStyleHasBeenSet = true; m_cellStyle = value; }
125 inline void SetCellStyle(TableCellStyle&& value) { m_cellStyleHasBeenSet = true; m_cellStyle = std::move(value); }
126 inline PivotTableOptions& WithCellStyle(const TableCellStyle& value) { SetCellStyle(value); return *this;}
127 inline PivotTableOptions& WithCellStyle(TableCellStyle&& value) { SetCellStyle(std::move(value)); return *this;}
129
131
134 inline const TableCellStyle& GetRowFieldNamesStyle() const{ return m_rowFieldNamesStyle; }
135 inline bool RowFieldNamesStyleHasBeenSet() const { return m_rowFieldNamesStyleHasBeenSet; }
136 inline void SetRowFieldNamesStyle(const TableCellStyle& value) { m_rowFieldNamesStyleHasBeenSet = true; m_rowFieldNamesStyle = value; }
137 inline void SetRowFieldNamesStyle(TableCellStyle&& value) { m_rowFieldNamesStyleHasBeenSet = true; m_rowFieldNamesStyle = std::move(value); }
139 inline PivotTableOptions& WithRowFieldNamesStyle(TableCellStyle&& value) { SetRowFieldNamesStyle(std::move(value)); return *this;}
141
143
146 inline const RowAlternateColorOptions& GetRowAlternateColorOptions() const{ return m_rowAlternateColorOptions; }
147 inline bool RowAlternateColorOptionsHasBeenSet() const { return m_rowAlternateColorOptionsHasBeenSet; }
148 inline void SetRowAlternateColorOptions(const RowAlternateColorOptions& value) { m_rowAlternateColorOptionsHasBeenSet = true; m_rowAlternateColorOptions = value; }
149 inline void SetRowAlternateColorOptions(RowAlternateColorOptions&& value) { m_rowAlternateColorOptionsHasBeenSet = true; m_rowAlternateColorOptions = std::move(value); }
153
155
161 inline const Visibility& GetCollapsedRowDimensionsVisibility() const{ return m_collapsedRowDimensionsVisibility; }
162 inline bool CollapsedRowDimensionsVisibilityHasBeenSet() const { return m_collapsedRowDimensionsVisibilityHasBeenSet; }
163 inline void SetCollapsedRowDimensionsVisibility(const Visibility& value) { m_collapsedRowDimensionsVisibilityHasBeenSet = true; m_collapsedRowDimensionsVisibility = value; }
164 inline void SetCollapsedRowDimensionsVisibility(Visibility&& value) { m_collapsedRowDimensionsVisibilityHasBeenSet = true; m_collapsedRowDimensionsVisibility = std::move(value); }
168
170
178 inline const PivotTableRowsLayout& GetRowsLayout() const{ return m_rowsLayout; }
179 inline bool RowsLayoutHasBeenSet() const { return m_rowsLayoutHasBeenSet; }
180 inline void SetRowsLayout(const PivotTableRowsLayout& value) { m_rowsLayoutHasBeenSet = true; m_rowsLayout = value; }
181 inline void SetRowsLayout(PivotTableRowsLayout&& value) { m_rowsLayoutHasBeenSet = true; m_rowsLayout = std::move(value); }
182 inline PivotTableOptions& WithRowsLayout(const PivotTableRowsLayout& value) { SetRowsLayout(value); return *this;}
183 inline PivotTableOptions& WithRowsLayout(PivotTableRowsLayout&& value) { SetRowsLayout(std::move(value)); return *this;}
185
187
192 inline const PivotTableRowsLabelOptions& GetRowsLabelOptions() const{ return m_rowsLabelOptions; }
193 inline bool RowsLabelOptionsHasBeenSet() const { return m_rowsLabelOptionsHasBeenSet; }
194 inline void SetRowsLabelOptions(const PivotTableRowsLabelOptions& value) { m_rowsLabelOptionsHasBeenSet = true; m_rowsLabelOptions = value; }
195 inline void SetRowsLabelOptions(PivotTableRowsLabelOptions&& value) { m_rowsLabelOptionsHasBeenSet = true; m_rowsLabelOptions = std::move(value); }
199
201
204 inline const Aws::String& GetDefaultCellWidth() const{ return m_defaultCellWidth; }
205 inline bool DefaultCellWidthHasBeenSet() const { return m_defaultCellWidthHasBeenSet; }
206 inline void SetDefaultCellWidth(const Aws::String& value) { m_defaultCellWidthHasBeenSet = true; m_defaultCellWidth = value; }
207 inline void SetDefaultCellWidth(Aws::String&& value) { m_defaultCellWidthHasBeenSet = true; m_defaultCellWidth = std::move(value); }
208 inline void SetDefaultCellWidth(const char* value) { m_defaultCellWidthHasBeenSet = true; m_defaultCellWidth.assign(value); }
209 inline PivotTableOptions& WithDefaultCellWidth(const Aws::String& value) { SetDefaultCellWidth(value); return *this;}
210 inline PivotTableOptions& WithDefaultCellWidth(Aws::String&& value) { SetDefaultCellWidth(std::move(value)); return *this;}
211 inline PivotTableOptions& WithDefaultCellWidth(const char* value) { SetDefaultCellWidth(value); return *this;}
213 private:
214
215 PivotTableMetricPlacement m_metricPlacement;
216 bool m_metricPlacementHasBeenSet = false;
217
218 Visibility m_singleMetricVisibility;
219 bool m_singleMetricVisibilityHasBeenSet = false;
220
221 Visibility m_columnNamesVisibility;
222 bool m_columnNamesVisibilityHasBeenSet = false;
223
224 Visibility m_toggleButtonsVisibility;
225 bool m_toggleButtonsVisibilityHasBeenSet = false;
226
227 TableCellStyle m_columnHeaderStyle;
228 bool m_columnHeaderStyleHasBeenSet = false;
229
230 TableCellStyle m_rowHeaderStyle;
231 bool m_rowHeaderStyleHasBeenSet = false;
232
233 TableCellStyle m_cellStyle;
234 bool m_cellStyleHasBeenSet = false;
235
236 TableCellStyle m_rowFieldNamesStyle;
237 bool m_rowFieldNamesStyleHasBeenSet = false;
238
239 RowAlternateColorOptions m_rowAlternateColorOptions;
240 bool m_rowAlternateColorOptionsHasBeenSet = false;
241
242 Visibility m_collapsedRowDimensionsVisibility;
243 bool m_collapsedRowDimensionsVisibilityHasBeenSet = false;
244
245 PivotTableRowsLayout m_rowsLayout;
246 bool m_rowsLayoutHasBeenSet = false;
247
248 PivotTableRowsLabelOptions m_rowsLabelOptions;
249 bool m_rowsLabelOptionsHasBeenSet = false;
250
251 Aws::String m_defaultCellWidth;
252 bool m_defaultCellWidthHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace QuickSight
257} // namespace Aws
PivotTableOptions & WithSingleMetricVisibility(const Visibility &value)
void SetCellStyle(TableCellStyle &&value)
void SetCollapsedRowDimensionsVisibility(Visibility &&value)
AWS_QUICKSIGHT_API PivotTableOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSingleMetricVisibility(Visibility &&value)
PivotTableOptions & WithSingleMetricVisibility(Visibility &&value)
PivotTableOptions & WithRowsLayout(const PivotTableRowsLayout &value)
const RowAlternateColorOptions & GetRowAlternateColorOptions() const
PivotTableOptions & WithRowFieldNamesStyle(TableCellStyle &&value)
PivotTableOptions & WithDefaultCellWidth(const Aws::String &value)
void SetColumnNamesVisibility(Visibility &&value)
void SetCollapsedRowDimensionsVisibility(const Visibility &value)
PivotTableOptions & WithRowsLabelOptions(PivotTableRowsLabelOptions &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PivotTableOptions & WithRowAlternateColorOptions(RowAlternateColorOptions &&value)
void SetMetricPlacement(const PivotTableMetricPlacement &value)
void SetColumnHeaderStyle(TableCellStyle &&value)
PivotTableOptions & WithCellStyle(const TableCellStyle &value)
void SetRowsLayout(PivotTableRowsLayout &&value)
void SetMetricPlacement(PivotTableMetricPlacement &&value)
PivotTableOptions & WithRowHeaderStyle(const TableCellStyle &value)
const TableCellStyle & GetRowFieldNamesStyle() const
void SetRowsLabelOptions(const PivotTableRowsLabelOptions &value)
const TableCellStyle & GetRowHeaderStyle() const
const Visibility & GetCollapsedRowDimensionsVisibility() const
const TableCellStyle & GetCellStyle() const
PivotTableOptions & WithToggleButtonsVisibility(Visibility &&value)
void SetSingleMetricVisibility(const Visibility &value)
void SetToggleButtonsVisibility(Visibility &&value)
void SetRowFieldNamesStyle(const TableCellStyle &value)
PivotTableOptions & WithCellStyle(TableCellStyle &&value)
void SetRowsLayout(const PivotTableRowsLayout &value)
void SetColumnHeaderStyle(const TableCellStyle &value)
const PivotTableRowsLabelOptions & GetRowsLabelOptions() const
PivotTableOptions & WithRowsLabelOptions(const PivotTableRowsLabelOptions &value)
PivotTableOptions & WithColumnNamesVisibility(Visibility &&value)
const Visibility & GetColumnNamesVisibility() const
AWS_QUICKSIGHT_API PivotTableOptions(Aws::Utils::Json::JsonView jsonValue)
void SetRowAlternateColorOptions(const RowAlternateColorOptions &value)
PivotTableOptions & WithDefaultCellWidth(Aws::String &&value)
void SetDefaultCellWidth(const Aws::String &value)
PivotTableOptions & WithRowAlternateColorOptions(const RowAlternateColorOptions &value)
void SetCellStyle(const TableCellStyle &value)
PivotTableOptions & WithMetricPlacement(PivotTableMetricPlacement &&value)
PivotTableOptions & WithColumnHeaderStyle(TableCellStyle &&value)
PivotTableOptions & WithColumnNamesVisibility(const Visibility &value)
PivotTableOptions & WithToggleButtonsVisibility(const Visibility &value)
const Aws::String & GetDefaultCellWidth() const
void SetRowsLabelOptions(PivotTableRowsLabelOptions &&value)
PivotTableOptions & WithCollapsedRowDimensionsVisibility(Visibility &&value)
void SetColumnNamesVisibility(const Visibility &value)
PivotTableOptions & WithRowsLayout(PivotTableRowsLayout &&value)
PivotTableOptions & WithColumnHeaderStyle(const TableCellStyle &value)
PivotTableOptions & WithDefaultCellWidth(const char *value)
void SetRowFieldNamesStyle(TableCellStyle &&value)
const PivotTableMetricPlacement & GetMetricPlacement() const
PivotTableOptions & WithMetricPlacement(const PivotTableMetricPlacement &value)
PivotTableOptions & WithRowFieldNamesStyle(const TableCellStyle &value)
const Visibility & GetSingleMetricVisibility() const
void SetRowAlternateColorOptions(RowAlternateColorOptions &&value)
const TableCellStyle & GetColumnHeaderStyle() const
void SetRowHeaderStyle(TableCellStyle &&value)
const PivotTableRowsLayout & GetRowsLayout() const
void SetToggleButtonsVisibility(const Visibility &value)
const Visibility & GetToggleButtonsVisibility() const
PivotTableOptions & WithCollapsedRowDimensionsVisibility(const Visibility &value)
void SetRowHeaderStyle(const TableCellStyle &value)
PivotTableOptions & WithRowHeaderStyle(TableCellStyle &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue