AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
BarChartAggregatedFieldWells.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
30 public:
31 AWS_QUICKSIGHT_API BarChartAggregatedFieldWells() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<DimensionField>& GetCategory() const { return m_category; }
41 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
42 template <typename CategoryT = Aws::Vector<DimensionField>>
43 void SetCategory(CategoryT&& value) {
44 m_categoryHasBeenSet = true;
45 m_category = std::forward<CategoryT>(value);
46 }
47 template <typename CategoryT = Aws::Vector<DimensionField>>
49 SetCategory(std::forward<CategoryT>(value));
50 return *this;
51 }
52 template <typename CategoryT = DimensionField>
54 m_categoryHasBeenSet = true;
55 m_category.emplace_back(std::forward<CategoryT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<MeasureField>& GetValues() const { return m_values; }
65 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
66 template <typename ValuesT = Aws::Vector<MeasureField>>
67 void SetValues(ValuesT&& value) {
68 m_valuesHasBeenSet = true;
69 m_values = std::forward<ValuesT>(value);
70 }
71 template <typename ValuesT = Aws::Vector<MeasureField>>
73 SetValues(std::forward<ValuesT>(value));
74 return *this;
75 }
76 template <typename ValuesT = MeasureField>
78 m_valuesHasBeenSet = true;
79 m_values.emplace_back(std::forward<ValuesT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Vector<DimensionField>& GetColors() const { return m_colors; }
89 inline bool ColorsHasBeenSet() const { return m_colorsHasBeenSet; }
90 template <typename ColorsT = Aws::Vector<DimensionField>>
91 void SetColors(ColorsT&& value) {
92 m_colorsHasBeenSet = true;
93 m_colors = std::forward<ColorsT>(value);
94 }
95 template <typename ColorsT = Aws::Vector<DimensionField>>
97 SetColors(std::forward<ColorsT>(value));
98 return *this;
99 }
100 template <typename ColorsT = DimensionField>
102 m_colorsHasBeenSet = true;
103 m_colors.emplace_back(std::forward<ColorsT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Vector<DimensionField>& GetSmallMultiples() const { return m_smallMultiples; }
113 inline bool SmallMultiplesHasBeenSet() const { return m_smallMultiplesHasBeenSet; }
114 template <typename SmallMultiplesT = Aws::Vector<DimensionField>>
115 void SetSmallMultiples(SmallMultiplesT&& value) {
116 m_smallMultiplesHasBeenSet = true;
117 m_smallMultiples = std::forward<SmallMultiplesT>(value);
118 }
119 template <typename SmallMultiplesT = Aws::Vector<DimensionField>>
121 SetSmallMultiples(std::forward<SmallMultiplesT>(value));
122 return *this;
123 }
124 template <typename SmallMultiplesT = DimensionField>
126 m_smallMultiplesHasBeenSet = true;
127 m_smallMultiples.emplace_back(std::forward<SmallMultiplesT>(value));
128 return *this;
129 }
131 private:
133
135
137
138 Aws::Vector<DimensionField> m_smallMultiples;
139 bool m_categoryHasBeenSet = false;
140 bool m_valuesHasBeenSet = false;
141 bool m_colorsHasBeenSet = false;
142 bool m_smallMultiplesHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace QuickSight
147} // namespace Aws
const Aws::Vector< DimensionField > & GetSmallMultiples() const
AWS_QUICKSIGHT_API BarChartAggregatedFieldWells()=default
BarChartAggregatedFieldWells & AddColors(ColorsT &&value)
BarChartAggregatedFieldWells & WithValues(ValuesT &&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 & AddValues(ValuesT &&value)
const Aws::Vector< DimensionField > & GetCategory() const
BarChartAggregatedFieldWells & WithColors(ColorsT &&value)
BarChartAggregatedFieldWells & WithSmallMultiples(SmallMultiplesT &&value)
const Aws::Vector< DimensionField > & GetColors() const
BarChartAggregatedFieldWells & WithCategory(CategoryT &&value)
BarChartAggregatedFieldWells & AddCategory(CategoryT &&value)
BarChartAggregatedFieldWells & AddSmallMultiples(SmallMultiplesT &&value)
AWS_QUICKSIGHT_API BarChartAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue