AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
LineChartAggregatedFieldWells.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 LineChartAggregatedFieldWells() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<DimensionField>& GetCategory() const { return m_category; }
42 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
43 template <typename CategoryT = Aws::Vector<DimensionField>>
44 void SetCategory(CategoryT&& value) {
45 m_categoryHasBeenSet = true;
46 m_category = std::forward<CategoryT>(value);
47 }
48 template <typename CategoryT = Aws::Vector<DimensionField>>
50 SetCategory(std::forward<CategoryT>(value));
51 return *this;
52 }
53 template <typename CategoryT = DimensionField>
55 m_categoryHasBeenSet = true;
56 m_category.emplace_back(std::forward<CategoryT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::Vector<MeasureField>& GetValues() const { return m_values; }
67 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
68 template <typename ValuesT = Aws::Vector<MeasureField>>
69 void SetValues(ValuesT&& value) {
70 m_valuesHasBeenSet = true;
71 m_values = std::forward<ValuesT>(value);
72 }
73 template <typename ValuesT = Aws::Vector<MeasureField>>
75 SetValues(std::forward<ValuesT>(value));
76 return *this;
77 }
78 template <typename ValuesT = MeasureField>
80 m_valuesHasBeenSet = true;
81 m_values.emplace_back(std::forward<ValuesT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::Vector<DimensionField>& GetColors() const { return m_colors; }
92 inline bool ColorsHasBeenSet() const { return m_colorsHasBeenSet; }
93 template <typename ColorsT = Aws::Vector<DimensionField>>
94 void SetColors(ColorsT&& value) {
95 m_colorsHasBeenSet = true;
96 m_colors = std::forward<ColorsT>(value);
97 }
98 template <typename ColorsT = Aws::Vector<DimensionField>>
100 SetColors(std::forward<ColorsT>(value));
101 return *this;
102 }
103 template <typename ColorsT = DimensionField>
105 m_colorsHasBeenSet = true;
106 m_colors.emplace_back(std::forward<ColorsT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Vector<DimensionField>& GetSmallMultiples() const { return m_smallMultiples; }
116 inline bool SmallMultiplesHasBeenSet() const { return m_smallMultiplesHasBeenSet; }
117 template <typename SmallMultiplesT = Aws::Vector<DimensionField>>
118 void SetSmallMultiples(SmallMultiplesT&& value) {
119 m_smallMultiplesHasBeenSet = true;
120 m_smallMultiples = std::forward<SmallMultiplesT>(value);
121 }
122 template <typename SmallMultiplesT = Aws::Vector<DimensionField>>
124 SetSmallMultiples(std::forward<SmallMultiplesT>(value));
125 return *this;
126 }
127 template <typename SmallMultiplesT = DimensionField>
129 m_smallMultiplesHasBeenSet = true;
130 m_smallMultiples.emplace_back(std::forward<SmallMultiplesT>(value));
131 return *this;
132 }
134 private:
136
138
140
141 Aws::Vector<DimensionField> m_smallMultiples;
142 bool m_categoryHasBeenSet = false;
143 bool m_valuesHasBeenSet = false;
144 bool m_colorsHasBeenSet = false;
145 bool m_smallMultiplesHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace QuickSight
150} // namespace Aws
AWS_QUICKSIGHT_API LineChartAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API LineChartAggregatedFieldWells()=default
const Aws::Vector< DimensionField > & GetSmallMultiples() const
LineChartAggregatedFieldWells & AddSmallMultiples(SmallMultiplesT &&value)
LineChartAggregatedFieldWells & WithValues(ValuesT &&value)
LineChartAggregatedFieldWells & AddCategory(CategoryT &&value)
LineChartAggregatedFieldWells & AddValues(ValuesT &&value)
AWS_QUICKSIGHT_API LineChartAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
LineChartAggregatedFieldWells & WithColors(ColorsT &&value)
LineChartAggregatedFieldWells & WithSmallMultiples(SmallMultiplesT &&value)
const Aws::Vector< DimensionField > & GetColors() const
LineChartAggregatedFieldWells & AddColors(ColorsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
LineChartAggregatedFieldWells & WithCategory(CategoryT &&value)
const Aws::Vector< DimensionField > & GetCategory() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue