AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
ComboChartAggregatedFieldWells.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 ComboChartAggregatedFieldWells() = 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>& GetBarValues() const { return m_barValues; }
65 inline bool BarValuesHasBeenSet() const { return m_barValuesHasBeenSet; }
66 template <typename BarValuesT = Aws::Vector<MeasureField>>
67 void SetBarValues(BarValuesT&& value) {
68 m_barValuesHasBeenSet = true;
69 m_barValues = std::forward<BarValuesT>(value);
70 }
71 template <typename BarValuesT = Aws::Vector<MeasureField>>
73 SetBarValues(std::forward<BarValuesT>(value));
74 return *this;
75 }
76 template <typename BarValuesT = MeasureField>
78 m_barValuesHasBeenSet = true;
79 m_barValues.emplace_back(std::forward<BarValuesT>(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<MeasureField>& GetLineValues() const { return m_lineValues; }
113 inline bool LineValuesHasBeenSet() const { return m_lineValuesHasBeenSet; }
114 template <typename LineValuesT = Aws::Vector<MeasureField>>
115 void SetLineValues(LineValuesT&& value) {
116 m_lineValuesHasBeenSet = true;
117 m_lineValues = std::forward<LineValuesT>(value);
118 }
119 template <typename LineValuesT = Aws::Vector<MeasureField>>
121 SetLineValues(std::forward<LineValuesT>(value));
122 return *this;
123 }
124 template <typename LineValuesT = MeasureField>
126 m_lineValuesHasBeenSet = true;
127 m_lineValues.emplace_back(std::forward<LineValuesT>(value));
128 return *this;
129 }
131 private:
133
134 Aws::Vector<MeasureField> m_barValues;
135
137
138 Aws::Vector<MeasureField> m_lineValues;
139 bool m_categoryHasBeenSet = false;
140 bool m_barValuesHasBeenSet = false;
141 bool m_colorsHasBeenSet = false;
142 bool m_lineValuesHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace QuickSight
147} // namespace Aws
ComboChartAggregatedFieldWells & AddColors(ColorsT &&value)
AWS_QUICKSIGHT_API ComboChartAggregatedFieldWells()=default
ComboChartAggregatedFieldWells & WithColors(ColorsT &&value)
ComboChartAggregatedFieldWells & WithCategory(CategoryT &&value)
AWS_QUICKSIGHT_API ComboChartAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
ComboChartAggregatedFieldWells & WithLineValues(LineValuesT &&value)
AWS_QUICKSIGHT_API ComboChartAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
ComboChartAggregatedFieldWells & AddBarValues(BarValuesT &&value)
ComboChartAggregatedFieldWells & AddCategory(CategoryT &&value)
ComboChartAggregatedFieldWells & AddLineValues(LineValuesT &&value)
const Aws::Vector< DimensionField > & GetCategory() const
ComboChartAggregatedFieldWells & WithBarValues(BarValuesT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue