AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PieChartAggregatedFieldWells.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 PieChartAggregatedFieldWells();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<DimensionField>& GetCategory() const{ return m_category; }
47 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
48 inline void SetCategory(const Aws::Vector<DimensionField>& value) { m_categoryHasBeenSet = true; m_category = value; }
49 inline void SetCategory(Aws::Vector<DimensionField>&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
51 inline PieChartAggregatedFieldWells& WithCategory(Aws::Vector<DimensionField>&& value) { SetCategory(std::move(value)); return *this;}
52 inline PieChartAggregatedFieldWells& AddCategory(const DimensionField& value) { m_categoryHasBeenSet = true; m_category.push_back(value); return *this; }
53 inline PieChartAggregatedFieldWells& AddCategory(DimensionField&& value) { m_categoryHasBeenSet = true; m_category.push_back(std::move(value)); return *this; }
55
57
61 inline const Aws::Vector<MeasureField>& GetValues() const{ return m_values; }
62 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
63 inline void SetValues(const Aws::Vector<MeasureField>& value) { m_valuesHasBeenSet = true; m_values = value; }
64 inline void SetValues(Aws::Vector<MeasureField>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
65 inline PieChartAggregatedFieldWells& WithValues(const Aws::Vector<MeasureField>& value) { SetValues(value); return *this;}
66 inline PieChartAggregatedFieldWells& WithValues(Aws::Vector<MeasureField>&& value) { SetValues(std::move(value)); return *this;}
67 inline PieChartAggregatedFieldWells& AddValues(const MeasureField& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
68 inline PieChartAggregatedFieldWells& AddValues(MeasureField&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
70
72
75 inline const Aws::Vector<DimensionField>& GetSmallMultiples() const{ return m_smallMultiples; }
76 inline bool SmallMultiplesHasBeenSet() const { return m_smallMultiplesHasBeenSet; }
77 inline void SetSmallMultiples(const Aws::Vector<DimensionField>& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples = value; }
78 inline void SetSmallMultiples(Aws::Vector<DimensionField>&& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples = std::move(value); }
81 inline PieChartAggregatedFieldWells& AddSmallMultiples(const DimensionField& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples.push_back(value); return *this; }
82 inline PieChartAggregatedFieldWells& AddSmallMultiples(DimensionField&& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples.push_back(std::move(value)); return *this; }
84 private:
85
87 bool m_categoryHasBeenSet = false;
88
90 bool m_valuesHasBeenSet = false;
91
92 Aws::Vector<DimensionField> m_smallMultiples;
93 bool m_smallMultiplesHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace QuickSight
98} // namespace Aws
PieChartAggregatedFieldWells & WithCategory(Aws::Vector< DimensionField > &&value)
PieChartAggregatedFieldWells & AddCategory(const DimensionField &value)
PieChartAggregatedFieldWells & WithCategory(const Aws::Vector< DimensionField > &value)
void SetValues(const Aws::Vector< MeasureField > &value)
PieChartAggregatedFieldWells & WithSmallMultiples(Aws::Vector< DimensionField > &&value)
PieChartAggregatedFieldWells & WithValues(const Aws::Vector< MeasureField > &value)
PieChartAggregatedFieldWells & AddCategory(DimensionField &&value)
void SetSmallMultiples(Aws::Vector< DimensionField > &&value)
void SetCategory(Aws::Vector< DimensionField > &&value)
AWS_QUICKSIGHT_API PieChartAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCategory(const Aws::Vector< DimensionField > &value)
PieChartAggregatedFieldWells & AddSmallMultiples(const DimensionField &value)
const Aws::Vector< MeasureField > & GetValues() const
PieChartAggregatedFieldWells & WithSmallMultiples(const Aws::Vector< DimensionField > &value)
void SetSmallMultiples(const Aws::Vector< DimensionField > &value)
const Aws::Vector< DimensionField > & GetCategory() const
const Aws::Vector< DimensionField > & GetSmallMultiples() const
AWS_QUICKSIGHT_API PieChartAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
PieChartAggregatedFieldWells & WithValues(Aws::Vector< MeasureField > &&value)
PieChartAggregatedFieldWells & AddValues(MeasureField &&value)
PieChartAggregatedFieldWells & AddValues(const MeasureField &value)
PieChartAggregatedFieldWells & AddSmallMultiples(DimensionField &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue