AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
TopBottomMoversComputation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.h>
11#include <aws/quicksight/model/TopBottomComputationType.h>
12#include <aws/quicksight/model/TopBottomSortOrder.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
33 public:
34 AWS_QUICKSIGHT_API TopBottomMoversComputation() = default;
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetComputationId() const { return m_computationId; }
44 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
45 template <typename ComputationIdT = Aws::String>
46 void SetComputationId(ComputationIdT&& value) {
47 m_computationIdHasBeenSet = true;
48 m_computationId = std::forward<ComputationIdT>(value);
49 }
50 template <typename ComputationIdT = Aws::String>
52 SetComputationId(std::forward<ComputationIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template <typename NameT = Aws::String>
64 void SetName(NameT&& value) {
65 m_nameHasBeenSet = true;
66 m_name = std::forward<NameT>(value);
67 }
68 template <typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
71 return *this;
72 }
74
76
79 inline const DimensionField& GetTime() const { return m_time; }
80 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
81 template <typename TimeT = DimensionField>
82 void SetTime(TimeT&& value) {
83 m_timeHasBeenSet = true;
84 m_time = std::forward<TimeT>(value);
85 }
86 template <typename TimeT = DimensionField>
88 SetTime(std::forward<TimeT>(value));
89 return *this;
90 }
92
94
97 inline const DimensionField& GetCategory() const { return m_category; }
98 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
99 template <typename CategoryT = DimensionField>
100 void SetCategory(CategoryT&& value) {
101 m_categoryHasBeenSet = true;
102 m_category = std::forward<CategoryT>(value);
103 }
104 template <typename CategoryT = DimensionField>
106 SetCategory(std::forward<CategoryT>(value));
107 return *this;
108 }
110
112
115 inline const MeasureField& GetValue() const { return m_value; }
116 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
117 template <typename ValueT = MeasureField>
118 void SetValue(ValueT&& value) {
119 m_valueHasBeenSet = true;
120 m_value = std::forward<ValueT>(value);
121 }
122 template <typename ValueT = MeasureField>
124 SetValue(std::forward<ValueT>(value));
125 return *this;
126 }
128
130
133 inline int GetMoverSize() const { return m_moverSize; }
134 inline bool MoverSizeHasBeenSet() const { return m_moverSizeHasBeenSet; }
135 inline void SetMoverSize(int value) {
136 m_moverSizeHasBeenSet = true;
137 m_moverSize = value;
138 }
140 SetMoverSize(value);
141 return *this;
142 }
144
146
149 inline TopBottomSortOrder GetSortOrder() const { return m_sortOrder; }
150 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
151 inline void SetSortOrder(TopBottomSortOrder value) {
152 m_sortOrderHasBeenSet = true;
153 m_sortOrder = value;
154 }
156 SetSortOrder(value);
157 return *this;
158 }
160
162
167 inline TopBottomComputationType GetType() const { return m_type; }
168 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
170 m_typeHasBeenSet = true;
171 m_type = value;
172 }
174 SetType(value);
175 return *this;
176 }
178 private:
179 Aws::String m_computationId;
180
181 Aws::String m_name;
182
183 DimensionField m_time;
184
185 DimensionField m_category;
186
187 MeasureField m_value;
188
189 int m_moverSize{0};
190
192
194 bool m_computationIdHasBeenSet = false;
195 bool m_nameHasBeenSet = false;
196 bool m_timeHasBeenSet = false;
197 bool m_categoryHasBeenSet = false;
198 bool m_valueHasBeenSet = false;
199 bool m_moverSizeHasBeenSet = false;
200 bool m_sortOrderHasBeenSet = false;
201 bool m_typeHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace QuickSight
206} // namespace Aws
TopBottomMoversComputation & WithSortOrder(TopBottomSortOrder value)
TopBottomMoversComputation & WithComputationId(ComputationIdT &&value)
TopBottomMoversComputation & WithTime(TimeT &&value)
TopBottomMoversComputation & WithType(TopBottomComputationType value)
TopBottomMoversComputation & WithCategory(CategoryT &&value)
AWS_QUICKSIGHT_API TopBottomMoversComputation()=default
TopBottomMoversComputation & WithName(NameT &&value)
AWS_QUICKSIGHT_API TopBottomMoversComputation(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopBottomMoversComputation & WithValue(ValueT &&value)
AWS_QUICKSIGHT_API TopBottomMoversComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue