AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableAggregatedFieldWells.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 TableAggregatedFieldWells();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<DimensionField>& GetGroupBy() const{ return m_groupBy; }
48 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
49 inline void SetGroupBy(const Aws::Vector<DimensionField>& value) { m_groupByHasBeenSet = true; m_groupBy = value; }
50 inline void SetGroupBy(Aws::Vector<DimensionField>&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); }
51 inline TableAggregatedFieldWells& WithGroupBy(const Aws::Vector<DimensionField>& value) { SetGroupBy(value); return *this;}
52 inline TableAggregatedFieldWells& WithGroupBy(Aws::Vector<DimensionField>&& value) { SetGroupBy(std::move(value)); return *this;}
53 inline TableAggregatedFieldWells& AddGroupBy(const DimensionField& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(value); return *this; }
54 inline TableAggregatedFieldWells& AddGroupBy(DimensionField&& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::Vector<MeasureField>& GetValues() const{ return m_values; }
63 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
64 inline void SetValues(const Aws::Vector<MeasureField>& value) { m_valuesHasBeenSet = true; m_values = value; }
65 inline void SetValues(Aws::Vector<MeasureField>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
66 inline TableAggregatedFieldWells& WithValues(const Aws::Vector<MeasureField>& value) { SetValues(value); return *this;}
67 inline TableAggregatedFieldWells& WithValues(Aws::Vector<MeasureField>&& value) { SetValues(std::move(value)); return *this;}
68 inline TableAggregatedFieldWells& AddValues(const MeasureField& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
69 inline TableAggregatedFieldWells& AddValues(MeasureField&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
71 private:
72
74 bool m_groupByHasBeenSet = false;
75
77 bool m_valuesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
TableAggregatedFieldWells & AddValues(MeasureField &&value)
TableAggregatedFieldWells & AddValues(const MeasureField &value)
TableAggregatedFieldWells & WithValues(const Aws::Vector< MeasureField > &value)
AWS_QUICKSIGHT_API TableAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MeasureField > & GetValues() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TableAggregatedFieldWells & AddGroupBy(DimensionField &&value)
void SetValues(Aws::Vector< MeasureField > &&value)
void SetValues(const Aws::Vector< MeasureField > &value)
const Aws::Vector< DimensionField > & GetGroupBy() const
TableAggregatedFieldWells & WithGroupBy(const Aws::Vector< DimensionField > &value)
TableAggregatedFieldWells & AddGroupBy(const DimensionField &value)
void SetGroupBy(Aws::Vector< DimensionField > &&value)
TableAggregatedFieldWells & WithValues(Aws::Vector< MeasureField > &&value)
TableAggregatedFieldWells & WithGroupBy(Aws::Vector< DimensionField > &&value)
void SetGroupBy(const Aws::Vector< DimensionField > &value)
AWS_QUICKSIGHT_API TableAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue