AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
TransformStep.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AggregateOperation.h>
9#include <aws/quicksight/model/AppendOperation.h>
10#include <aws/quicksight/model/CastColumnTypesOperation.h>
11#include <aws/quicksight/model/CreateColumnsOperation.h>
12#include <aws/quicksight/model/FiltersOperation.h>
13#include <aws/quicksight/model/ImportTableOperation.h>
14#include <aws/quicksight/model/JoinOperation.h>
15#include <aws/quicksight/model/PivotOperation.h>
16#include <aws/quicksight/model/ProjectOperation.h>
17#include <aws/quicksight/model/RenameColumnsOperation.h>
18#include <aws/quicksight/model/UnpivotOperation.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace QuickSight {
30namespace Model {
31
39 public:
40 AWS_QUICKSIGHT_API TransformStep() = default;
41 AWS_QUICKSIGHT_API TransformStep(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API TransformStep& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
49 inline const ImportTableOperation& GetImportTableStep() const { return m_importTableStep; }
50 inline bool ImportTableStepHasBeenSet() const { return m_importTableStepHasBeenSet; }
51 template <typename ImportTableStepT = ImportTableOperation>
52 void SetImportTableStep(ImportTableStepT&& value) {
53 m_importTableStepHasBeenSet = true;
54 m_importTableStep = std::forward<ImportTableStepT>(value);
55 }
56 template <typename ImportTableStepT = ImportTableOperation>
57 TransformStep& WithImportTableStep(ImportTableStepT&& value) {
58 SetImportTableStep(std::forward<ImportTableStepT>(value));
59 return *this;
60 }
62
64
65 inline const ProjectOperation& GetProjectStep() const { return m_projectStep; }
66 inline bool ProjectStepHasBeenSet() const { return m_projectStepHasBeenSet; }
67 template <typename ProjectStepT = ProjectOperation>
68 void SetProjectStep(ProjectStepT&& value) {
69 m_projectStepHasBeenSet = true;
70 m_projectStep = std::forward<ProjectStepT>(value);
71 }
72 template <typename ProjectStepT = ProjectOperation>
73 TransformStep& WithProjectStep(ProjectStepT&& value) {
74 SetProjectStep(std::forward<ProjectStepT>(value));
75 return *this;
76 }
78
80
83 inline const FiltersOperation& GetFiltersStep() const { return m_filtersStep; }
84 inline bool FiltersStepHasBeenSet() const { return m_filtersStepHasBeenSet; }
85 template <typename FiltersStepT = FiltersOperation>
86 void SetFiltersStep(FiltersStepT&& value) {
87 m_filtersStepHasBeenSet = true;
88 m_filtersStep = std::forward<FiltersStepT>(value);
89 }
90 template <typename FiltersStepT = FiltersOperation>
91 TransformStep& WithFiltersStep(FiltersStepT&& value) {
92 SetFiltersStep(std::forward<FiltersStepT>(value));
93 return *this;
94 }
96
98
99 inline const CreateColumnsOperation& GetCreateColumnsStep() const { return m_createColumnsStep; }
100 inline bool CreateColumnsStepHasBeenSet() const { return m_createColumnsStepHasBeenSet; }
101 template <typename CreateColumnsStepT = CreateColumnsOperation>
102 void SetCreateColumnsStep(CreateColumnsStepT&& value) {
103 m_createColumnsStepHasBeenSet = true;
104 m_createColumnsStep = std::forward<CreateColumnsStepT>(value);
105 }
106 template <typename CreateColumnsStepT = CreateColumnsOperation>
107 TransformStep& WithCreateColumnsStep(CreateColumnsStepT&& value) {
108 SetCreateColumnsStep(std::forward<CreateColumnsStepT>(value));
109 return *this;
110 }
112
114
117 inline const RenameColumnsOperation& GetRenameColumnsStep() const { return m_renameColumnsStep; }
118 inline bool RenameColumnsStepHasBeenSet() const { return m_renameColumnsStepHasBeenSet; }
119 template <typename RenameColumnsStepT = RenameColumnsOperation>
120 void SetRenameColumnsStep(RenameColumnsStepT&& value) {
121 m_renameColumnsStepHasBeenSet = true;
122 m_renameColumnsStep = std::forward<RenameColumnsStepT>(value);
123 }
124 template <typename RenameColumnsStepT = RenameColumnsOperation>
125 TransformStep& WithRenameColumnsStep(RenameColumnsStepT&& value) {
126 SetRenameColumnsStep(std::forward<RenameColumnsStepT>(value));
127 return *this;
128 }
130
132
135 inline const CastColumnTypesOperation& GetCastColumnTypesStep() const { return m_castColumnTypesStep; }
136 inline bool CastColumnTypesStepHasBeenSet() const { return m_castColumnTypesStepHasBeenSet; }
137 template <typename CastColumnTypesStepT = CastColumnTypesOperation>
138 void SetCastColumnTypesStep(CastColumnTypesStepT&& value) {
139 m_castColumnTypesStepHasBeenSet = true;
140 m_castColumnTypesStep = std::forward<CastColumnTypesStepT>(value);
141 }
142 template <typename CastColumnTypesStepT = CastColumnTypesOperation>
143 TransformStep& WithCastColumnTypesStep(CastColumnTypesStepT&& value) {
144 SetCastColumnTypesStep(std::forward<CastColumnTypesStepT>(value));
145 return *this;
146 }
148
150
154 inline const JoinOperation& GetJoinStep() const { return m_joinStep; }
155 inline bool JoinStepHasBeenSet() const { return m_joinStepHasBeenSet; }
156 template <typename JoinStepT = JoinOperation>
157 void SetJoinStep(JoinStepT&& value) {
158 m_joinStepHasBeenSet = true;
159 m_joinStep = std::forward<JoinStepT>(value);
160 }
161 template <typename JoinStepT = JoinOperation>
162 TransformStep& WithJoinStep(JoinStepT&& value) {
163 SetJoinStep(std::forward<JoinStepT>(value));
164 return *this;
165 }
167
169
173 inline const AggregateOperation& GetAggregateStep() const { return m_aggregateStep; }
174 inline bool AggregateStepHasBeenSet() const { return m_aggregateStepHasBeenSet; }
175 template <typename AggregateStepT = AggregateOperation>
176 void SetAggregateStep(AggregateStepT&& value) {
177 m_aggregateStepHasBeenSet = true;
178 m_aggregateStep = std::forward<AggregateStepT>(value);
179 }
180 template <typename AggregateStepT = AggregateOperation>
181 TransformStep& WithAggregateStep(AggregateStepT&& value) {
182 SetAggregateStep(std::forward<AggregateStepT>(value));
183 return *this;
184 }
186
188
192 inline const PivotOperation& GetPivotStep() const { return m_pivotStep; }
193 inline bool PivotStepHasBeenSet() const { return m_pivotStepHasBeenSet; }
194 template <typename PivotStepT = PivotOperation>
195 void SetPivotStep(PivotStepT&& value) {
196 m_pivotStepHasBeenSet = true;
197 m_pivotStep = std::forward<PivotStepT>(value);
198 }
199 template <typename PivotStepT = PivotOperation>
200 TransformStep& WithPivotStep(PivotStepT&& value) {
201 SetPivotStep(std::forward<PivotStepT>(value));
202 return *this;
203 }
205
207
211 inline const UnpivotOperation& GetUnpivotStep() const { return m_unpivotStep; }
212 inline bool UnpivotStepHasBeenSet() const { return m_unpivotStepHasBeenSet; }
213 template <typename UnpivotStepT = UnpivotOperation>
214 void SetUnpivotStep(UnpivotStepT&& value) {
215 m_unpivotStepHasBeenSet = true;
216 m_unpivotStep = std::forward<UnpivotStepT>(value);
217 }
218 template <typename UnpivotStepT = UnpivotOperation>
219 TransformStep& WithUnpivotStep(UnpivotStepT&& value) {
220 SetUnpivotStep(std::forward<UnpivotStepT>(value));
221 return *this;
222 }
224
226
230 inline const AppendOperation& GetAppendStep() const { return m_appendStep; }
231 inline bool AppendStepHasBeenSet() const { return m_appendStepHasBeenSet; }
232 template <typename AppendStepT = AppendOperation>
233 void SetAppendStep(AppendStepT&& value) {
234 m_appendStepHasBeenSet = true;
235 m_appendStep = std::forward<AppendStepT>(value);
236 }
237 template <typename AppendStepT = AppendOperation>
238 TransformStep& WithAppendStep(AppendStepT&& value) {
239 SetAppendStep(std::forward<AppendStepT>(value));
240 return *this;
241 }
243 private:
244 ImportTableOperation m_importTableStep;
245
246 ProjectOperation m_projectStep;
247
248 FiltersOperation m_filtersStep;
249
250 CreateColumnsOperation m_createColumnsStep;
251
252 RenameColumnsOperation m_renameColumnsStep;
253
254 CastColumnTypesOperation m_castColumnTypesStep;
255
256 JoinOperation m_joinStep;
257
258 AggregateOperation m_aggregateStep;
259
260 PivotOperation m_pivotStep;
261
262 UnpivotOperation m_unpivotStep;
263
264 AppendOperation m_appendStep;
265 bool m_importTableStepHasBeenSet = false;
266 bool m_projectStepHasBeenSet = false;
267 bool m_filtersStepHasBeenSet = false;
268 bool m_createColumnsStepHasBeenSet = false;
269 bool m_renameColumnsStepHasBeenSet = false;
270 bool m_castColumnTypesStepHasBeenSet = false;
271 bool m_joinStepHasBeenSet = false;
272 bool m_aggregateStepHasBeenSet = false;
273 bool m_pivotStepHasBeenSet = false;
274 bool m_unpivotStepHasBeenSet = false;
275 bool m_appendStepHasBeenSet = false;
276};
277
278} // namespace Model
279} // namespace QuickSight
280} // namespace Aws
void SetImportTableStep(ImportTableStepT &&value)
TransformStep & WithAggregateStep(AggregateStepT &&value)
const RenameColumnsOperation & GetRenameColumnsStep() const
const UnpivotOperation & GetUnpivotStep() const
void SetCastColumnTypesStep(CastColumnTypesStepT &&value)
void SetAggregateStep(AggregateStepT &&value)
TransformStep & WithImportTableStep(ImportTableStepT &&value)
const CreateColumnsOperation & GetCreateColumnsStep() const
TransformStep & WithFiltersStep(FiltersStepT &&value)
TransformStep & WithJoinStep(JoinStepT &&value)
const JoinOperation & GetJoinStep() const
AWS_QUICKSIGHT_API TransformStep(Aws::Utils::Json::JsonView jsonValue)
void SetRenameColumnsStep(RenameColumnsStepT &&value)
TransformStep & WithUnpivotStep(UnpivotStepT &&value)
const AggregateOperation & GetAggregateStep() const
const CastColumnTypesOperation & GetCastColumnTypesStep() const
void SetFiltersStep(FiltersStepT &&value)
void SetCreateColumnsStep(CreateColumnsStepT &&value)
const PivotOperation & GetPivotStep() const
void SetProjectStep(ProjectStepT &&value)
void SetAppendStep(AppendStepT &&value)
AWS_QUICKSIGHT_API TransformStep & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPivotStep(PivotStepT &&value)
TransformStep & WithCreateColumnsStep(CreateColumnsStepT &&value)
TransformStep & WithRenameColumnsStep(RenameColumnsStepT &&value)
void SetJoinStep(JoinStepT &&value)
const AppendOperation & GetAppendStep() const
const ImportTableOperation & GetImportTableStep() const
const FiltersOperation & GetFiltersStep() const
TransformStep & WithCastColumnTypesStep(CastColumnTypesStepT &&value)
AWS_QUICKSIGHT_API TransformStep()=default
TransformStep & WithPivotStep(PivotStepT &&value)
const ProjectOperation & GetProjectStep() const
void SetUnpivotStep(UnpivotStepT &&value)
TransformStep & WithAppendStep(AppendStepT &&value)
TransformStep & WithProjectStep(ProjectStepT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue