AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PivotTableAggregatedFieldWells.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API PivotTableAggregatedFieldWells();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<DimensionField>& GetRows() const{ return m_rows; }
47 inline bool RowsHasBeenSet() const { return m_rowsHasBeenSet; }
48 inline void SetRows(const Aws::Vector<DimensionField>& value) { m_rowsHasBeenSet = true; m_rows = value; }
49 inline void SetRows(Aws::Vector<DimensionField>&& value) { m_rowsHasBeenSet = true; m_rows = std::move(value); }
50 inline PivotTableAggregatedFieldWells& WithRows(const Aws::Vector<DimensionField>& value) { SetRows(value); return *this;}
51 inline PivotTableAggregatedFieldWells& WithRows(Aws::Vector<DimensionField>&& value) { SetRows(std::move(value)); return *this;}
52 inline PivotTableAggregatedFieldWells& AddRows(const DimensionField& value) { m_rowsHasBeenSet = true; m_rows.push_back(value); return *this; }
53 inline PivotTableAggregatedFieldWells& AddRows(DimensionField&& value) { m_rowsHasBeenSet = true; m_rows.push_back(std::move(value)); return *this; }
55
57
61 inline const Aws::Vector<DimensionField>& GetColumns() const{ return m_columns; }
62 inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
63 inline void SetColumns(const Aws::Vector<DimensionField>& value) { m_columnsHasBeenSet = true; m_columns = value; }
64 inline void SetColumns(Aws::Vector<DimensionField>&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); }
66 inline PivotTableAggregatedFieldWells& WithColumns(Aws::Vector<DimensionField>&& value) { SetColumns(std::move(value)); return *this;}
67 inline PivotTableAggregatedFieldWells& AddColumns(const DimensionField& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
68 inline PivotTableAggregatedFieldWells& AddColumns(DimensionField&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; }
70
72
76 inline const Aws::Vector<MeasureField>& GetValues() const{ return m_values; }
77 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
78 inline void SetValues(const Aws::Vector<MeasureField>& value) { m_valuesHasBeenSet = true; m_values = value; }
79 inline void SetValues(Aws::Vector<MeasureField>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
81 inline PivotTableAggregatedFieldWells& WithValues(Aws::Vector<MeasureField>&& value) { SetValues(std::move(value)); return *this;}
82 inline PivotTableAggregatedFieldWells& AddValues(const MeasureField& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
83 inline PivotTableAggregatedFieldWells& AddValues(MeasureField&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
85 private:
86
88 bool m_rowsHasBeenSet = false;
89
91 bool m_columnsHasBeenSet = false;
92
94 bool m_valuesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace QuickSight
99} // namespace Aws
void SetColumns(const Aws::Vector< DimensionField > &value)
PivotTableAggregatedFieldWells & WithValues(Aws::Vector< MeasureField > &&value)
PivotTableAggregatedFieldWells & WithRows(const Aws::Vector< DimensionField > &value)
PivotTableAggregatedFieldWells & AddValues(MeasureField &&value)
AWS_QUICKSIGHT_API PivotTableAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
PivotTableAggregatedFieldWells & WithRows(Aws::Vector< DimensionField > &&value)
PivotTableAggregatedFieldWells & WithValues(const Aws::Vector< MeasureField > &value)
void SetRows(const Aws::Vector< DimensionField > &value)
PivotTableAggregatedFieldWells & AddValues(const MeasureField &value)
AWS_QUICKSIGHT_API PivotTableAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
PivotTableAggregatedFieldWells & WithColumns(const Aws::Vector< DimensionField > &value)
PivotTableAggregatedFieldWells & AddRows(const DimensionField &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PivotTableAggregatedFieldWells & AddColumns(DimensionField &&value)
void SetValues(const Aws::Vector< MeasureField > &value)
PivotTableAggregatedFieldWells & AddRows(DimensionField &&value)
PivotTableAggregatedFieldWells & WithColumns(Aws::Vector< DimensionField > &&value)
PivotTableAggregatedFieldWells & AddColumns(const DimensionField &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue