AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BarChartAggregatedFieldWells.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 BarChartAggregatedFieldWells();
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 BarChartAggregatedFieldWells& WithCategory(Aws::Vector<DimensionField>&& value) { SetCategory(std::move(value)); return *this;}
52 inline BarChartAggregatedFieldWells& AddCategory(const DimensionField& value) { m_categoryHasBeenSet = true; m_category.push_back(value); return *this; }
53 inline BarChartAggregatedFieldWells& AddCategory(DimensionField&& value) { m_categoryHasBeenSet = true; m_category.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::Vector<MeasureField>& GetValues() const{ return m_values; }
61 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
62 inline void SetValues(const Aws::Vector<MeasureField>& value) { m_valuesHasBeenSet = true; m_values = value; }
63 inline void SetValues(Aws::Vector<MeasureField>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
64 inline BarChartAggregatedFieldWells& WithValues(const Aws::Vector<MeasureField>& value) { SetValues(value); return *this;}
65 inline BarChartAggregatedFieldWells& WithValues(Aws::Vector<MeasureField>&& value) { SetValues(std::move(value)); return *this;}
66 inline BarChartAggregatedFieldWells& AddValues(const MeasureField& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
67 inline BarChartAggregatedFieldWells& AddValues(MeasureField&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
69
71
74 inline const Aws::Vector<DimensionField>& GetColors() const{ return m_colors; }
75 inline bool ColorsHasBeenSet() const { return m_colorsHasBeenSet; }
76 inline void SetColors(const Aws::Vector<DimensionField>& value) { m_colorsHasBeenSet = true; m_colors = value; }
77 inline void SetColors(Aws::Vector<DimensionField>&& value) { m_colorsHasBeenSet = true; m_colors = std::move(value); }
79 inline BarChartAggregatedFieldWells& WithColors(Aws::Vector<DimensionField>&& value) { SetColors(std::move(value)); return *this;}
80 inline BarChartAggregatedFieldWells& AddColors(const DimensionField& value) { m_colorsHasBeenSet = true; m_colors.push_back(value); return *this; }
81 inline BarChartAggregatedFieldWells& AddColors(DimensionField&& value) { m_colorsHasBeenSet = true; m_colors.push_back(std::move(value)); return *this; }
83
85
88 inline const Aws::Vector<DimensionField>& GetSmallMultiples() const{ return m_smallMultiples; }
89 inline bool SmallMultiplesHasBeenSet() const { return m_smallMultiplesHasBeenSet; }
90 inline void SetSmallMultiples(const Aws::Vector<DimensionField>& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples = value; }
91 inline void SetSmallMultiples(Aws::Vector<DimensionField>&& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples = std::move(value); }
94 inline BarChartAggregatedFieldWells& AddSmallMultiples(const DimensionField& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples.push_back(value); return *this; }
95 inline BarChartAggregatedFieldWells& AddSmallMultiples(DimensionField&& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples.push_back(std::move(value)); return *this; }
97 private:
98
100 bool m_categoryHasBeenSet = false;
101
103 bool m_valuesHasBeenSet = false;
104
106 bool m_colorsHasBeenSet = false;
107
108 Aws::Vector<DimensionField> m_smallMultiples;
109 bool m_smallMultiplesHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace QuickSight
114} // namespace Aws
void SetSmallMultiples(Aws::Vector< DimensionField > &&value)
const Aws::Vector< DimensionField > & GetSmallMultiples() const
BarChartAggregatedFieldWells & AddColors(const DimensionField &value)
BarChartAggregatedFieldWells & WithCategory(Aws::Vector< DimensionField > &&value)
BarChartAggregatedFieldWells & AddSmallMultiples(const DimensionField &value)
void SetCategory(Aws::Vector< DimensionField > &&value)
BarChartAggregatedFieldWells & AddValues(MeasureField &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< MeasureField > & GetValues() const
AWS_QUICKSIGHT_API BarChartAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
BarChartAggregatedFieldWells & WithValues(Aws::Vector< MeasureField > &&value)
BarChartAggregatedFieldWells & WithColors(Aws::Vector< DimensionField > &&value)
BarChartAggregatedFieldWells & WithCategory(const Aws::Vector< DimensionField > &value)
const Aws::Vector< DimensionField > & GetCategory() const
void SetCategory(const Aws::Vector< DimensionField > &value)
void SetSmallMultiples(const Aws::Vector< DimensionField > &value)
void SetColors(Aws::Vector< DimensionField > &&value)
BarChartAggregatedFieldWells & WithSmallMultiples(const Aws::Vector< DimensionField > &value)
const Aws::Vector< DimensionField > & GetColors() const
BarChartAggregatedFieldWells & AddColors(DimensionField &&value)
BarChartAggregatedFieldWells & AddValues(const MeasureField &value)
BarChartAggregatedFieldWells & AddCategory(DimensionField &&value)
BarChartAggregatedFieldWells & WithValues(const Aws::Vector< MeasureField > &value)
BarChartAggregatedFieldWells & WithColors(const Aws::Vector< DimensionField > &value)
BarChartAggregatedFieldWells & WithSmallMultiples(Aws::Vector< DimensionField > &&value)
void SetColors(const Aws::Vector< DimensionField > &value)
void SetValues(const Aws::Vector< MeasureField > &value)
BarChartAggregatedFieldWells & AddCategory(const DimensionField &value)
BarChartAggregatedFieldWells & AddSmallMultiples(DimensionField &&value)
AWS_QUICKSIGHT_API BarChartAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue