AWS SDK for C++

AWS SDK for C++ Version 1.11.856

Loading...
Searching...
No Matches
DataQualityRulesetEvaluationRun.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/DataQualityEvaluationRunAdditionalRunOptions.h>
13#include <aws/glue/model/DataSource.h>
14#include <aws/glue/model/TaskStatusType.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue {
26namespace Model {
27
35 public:
36 AWS_GLUE_API DataQualityRulesetEvaluationRun() = default;
40
42
45 inline const Aws::String& GetRunId() const { return m_runId; }
46 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
47 template <typename RunIdT = Aws::String>
48 void SetRunId(RunIdT&& value) {
49 m_runIdHasBeenSet = true;
50 m_runId = std::forward<RunIdT>(value);
51 }
52 template <typename RunIdT = Aws::String>
54 SetRunId(std::forward<RunIdT>(value));
55 return *this;
56 }
58
60
61 inline const DataSource& GetDataSource() const { return m_dataSource; }
62 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
63 template <typename DataSourceT = DataSource>
64 void SetDataSource(DataSourceT&& value) {
65 m_dataSourceHasBeenSet = true;
66 m_dataSource = std::forward<DataSourceT>(value);
67 }
68 template <typename DataSourceT = DataSource>
70 SetDataSource(std::forward<DataSourceT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetRole() const { return m_role; }
80 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
81 template <typename RoleT = Aws::String>
82 void SetRole(RoleT&& value) {
83 m_roleHasBeenSet = true;
84 m_role = std::forward<RoleT>(value);
85 }
86 template <typename RoleT = Aws::String>
88 SetRole(std::forward<RoleT>(value));
89 return *this;
90 }
92
94
98 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
99 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
100 inline void SetNumberOfWorkers(int value) {
101 m_numberOfWorkersHasBeenSet = true;
102 m_numberOfWorkers = value;
103 }
105 SetNumberOfWorkers(value);
106 return *this;
107 }
109
111
116 inline int GetTimeout() const { return m_timeout; }
117 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
118 inline void SetTimeout(int value) {
119 m_timeoutHasBeenSet = true;
120 m_timeout = value;
121 }
123 SetTimeout(value);
124 return *this;
125 }
127
129
130 inline const DataQualityEvaluationRunAdditionalRunOptions& GetAdditionalRunOptions() const { return m_additionalRunOptions; }
131 inline bool AdditionalRunOptionsHasBeenSet() const { return m_additionalRunOptionsHasBeenSet; }
132 template <typename AdditionalRunOptionsT = DataQualityEvaluationRunAdditionalRunOptions>
133 void SetAdditionalRunOptions(AdditionalRunOptionsT&& value) {
134 m_additionalRunOptionsHasBeenSet = true;
135 m_additionalRunOptions = std::forward<AdditionalRunOptionsT>(value);
136 }
137 template <typename AdditionalRunOptionsT = DataQualityEvaluationRunAdditionalRunOptions>
139 SetAdditionalRunOptions(std::forward<AdditionalRunOptionsT>(value));
140 return *this;
141 }
143
145
148 inline TaskStatusType GetStatus() const { return m_status; }
149 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
150 inline void SetStatus(TaskStatusType value) {
151 m_statusHasBeenSet = true;
152 m_status = value;
153 }
155 SetStatus(value);
156 return *this;
157 }
159
161
164 inline const Aws::String& GetErrorString() const { return m_errorString; }
165 inline bool ErrorStringHasBeenSet() const { return m_errorStringHasBeenSet; }
166 template <typename ErrorStringT = Aws::String>
167 void SetErrorString(ErrorStringT&& value) {
168 m_errorStringHasBeenSet = true;
169 m_errorString = std::forward<ErrorStringT>(value);
170 }
171 template <typename ErrorStringT = Aws::String>
173 SetErrorString(std::forward<ErrorStringT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::Utils::DateTime& GetStartedOn() const { return m_startedOn; }
183 inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; }
184 template <typename StartedOnT = Aws::Utils::DateTime>
185 void SetStartedOn(StartedOnT&& value) {
186 m_startedOnHasBeenSet = true;
187 m_startedOn = std::forward<StartedOnT>(value);
188 }
189 template <typename StartedOnT = Aws::Utils::DateTime>
191 SetStartedOn(std::forward<StartedOnT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
201 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
202 template <typename LastModifiedOnT = Aws::Utils::DateTime>
203 void SetLastModifiedOn(LastModifiedOnT&& value) {
204 m_lastModifiedOnHasBeenSet = true;
205 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
206 }
207 template <typename LastModifiedOnT = Aws::Utils::DateTime>
209 SetLastModifiedOn(std::forward<LastModifiedOnT>(value));
210 return *this;
211 }
213
215
218 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
219 inline bool CompletedOnHasBeenSet() const { return m_completedOnHasBeenSet; }
220 template <typename CompletedOnT = Aws::Utils::DateTime>
221 void SetCompletedOn(CompletedOnT&& value) {
222 m_completedOnHasBeenSet = true;
223 m_completedOn = std::forward<CompletedOnT>(value);
224 }
225 template <typename CompletedOnT = Aws::Utils::DateTime>
227 SetCompletedOn(std::forward<CompletedOnT>(value));
228 return *this;
229 }
231
233
236 inline int GetExecutionTime() const { return m_executionTime; }
237 inline bool ExecutionTimeHasBeenSet() const { return m_executionTimeHasBeenSet; }
238 inline void SetExecutionTime(int value) {
239 m_executionTimeHasBeenSet = true;
240 m_executionTime = value;
241 }
243 SetExecutionTime(value);
244 return *this;
245 }
247
249
252 inline const Aws::Vector<Aws::String>& GetRulesetNames() const { return m_rulesetNames; }
253 inline bool RulesetNamesHasBeenSet() const { return m_rulesetNamesHasBeenSet; }
254 template <typename RulesetNamesT = Aws::Vector<Aws::String>>
255 void SetRulesetNames(RulesetNamesT&& value) {
256 m_rulesetNamesHasBeenSet = true;
257 m_rulesetNames = std::forward<RulesetNamesT>(value);
258 }
259 template <typename RulesetNamesT = Aws::Vector<Aws::String>>
261 SetRulesetNames(std::forward<RulesetNamesT>(value));
262 return *this;
263 }
264 template <typename RulesetNamesT = Aws::String>
266 m_rulesetNamesHasBeenSet = true;
267 m_rulesetNames.emplace_back(std::forward<RulesetNamesT>(value));
268 return *this;
269 }
271
273
276 inline const Aws::Vector<Aws::String>& GetResultIds() const { return m_resultIds; }
277 inline bool ResultIdsHasBeenSet() const { return m_resultIdsHasBeenSet; }
278 template <typename ResultIdsT = Aws::Vector<Aws::String>>
279 void SetResultIds(ResultIdsT&& value) {
280 m_resultIdsHasBeenSet = true;
281 m_resultIds = std::forward<ResultIdsT>(value);
282 }
283 template <typename ResultIdsT = Aws::Vector<Aws::String>>
285 SetResultIds(std::forward<ResultIdsT>(value));
286 return *this;
287 }
288 template <typename ResultIdsT = Aws::String>
290 m_resultIdsHasBeenSet = true;
291 m_resultIds.emplace_back(std::forward<ResultIdsT>(value));
292 return *this;
293 }
295
297
301 inline const Aws::Map<Aws::String, DataSource>& GetAdditionalDataSources() const { return m_additionalDataSources; }
302 inline bool AdditionalDataSourcesHasBeenSet() const { return m_additionalDataSourcesHasBeenSet; }
303 template <typename AdditionalDataSourcesT = Aws::Map<Aws::String, DataSource>>
304 void SetAdditionalDataSources(AdditionalDataSourcesT&& value) {
305 m_additionalDataSourcesHasBeenSet = true;
306 m_additionalDataSources = std::forward<AdditionalDataSourcesT>(value);
307 }
308 template <typename AdditionalDataSourcesT = Aws::Map<Aws::String, DataSource>>
310 SetAdditionalDataSources(std::forward<AdditionalDataSourcesT>(value));
311 return *this;
312 }
313 template <typename AdditionalDataSourcesKeyT = Aws::String, typename AdditionalDataSourcesValueT = DataSource>
314 DataQualityRulesetEvaluationRun& AddAdditionalDataSources(AdditionalDataSourcesKeyT&& key, AdditionalDataSourcesValueT&& value) {
315 m_additionalDataSourcesHasBeenSet = true;
316 m_additionalDataSources.emplace(std::forward<AdditionalDataSourcesKeyT>(key), std::forward<AdditionalDataSourcesValueT>(value));
317 return *this;
318 }
320 private:
321 Aws::String m_runId;
322
323 DataSource m_dataSource;
324
325 Aws::String m_role;
326
327 int m_numberOfWorkers{0};
328
329 int m_timeout{0};
330
331 DataQualityEvaluationRunAdditionalRunOptions m_additionalRunOptions;
332
334
335 Aws::String m_errorString;
336
337 Aws::Utils::DateTime m_startedOn{};
338
339 Aws::Utils::DateTime m_lastModifiedOn{};
340
341 Aws::Utils::DateTime m_completedOn{};
342
343 int m_executionTime{0};
344
345 Aws::Vector<Aws::String> m_rulesetNames;
346
347 Aws::Vector<Aws::String> m_resultIds;
348
349 Aws::Map<Aws::String, DataSource> m_additionalDataSources;
350 bool m_runIdHasBeenSet = false;
351 bool m_dataSourceHasBeenSet = false;
352 bool m_roleHasBeenSet = false;
353 bool m_numberOfWorkersHasBeenSet = false;
354 bool m_timeoutHasBeenSet = false;
355 bool m_additionalRunOptionsHasBeenSet = false;
356 bool m_statusHasBeenSet = false;
357 bool m_errorStringHasBeenSet = false;
358 bool m_startedOnHasBeenSet = false;
359 bool m_lastModifiedOnHasBeenSet = false;
360 bool m_completedOnHasBeenSet = false;
361 bool m_executionTimeHasBeenSet = false;
362 bool m_rulesetNamesHasBeenSet = false;
363 bool m_resultIdsHasBeenSet = false;
364 bool m_additionalDataSourcesHasBeenSet = false;
365};
366
367} // namespace Model
368} // namespace Glue
369} // namespace Aws
AWS_GLUE_API DataQualityRulesetEvaluationRun(Aws::Utils::Json::JsonView jsonValue)
DataQualityRulesetEvaluationRun & WithStartedOn(StartedOnT &&value)
const DataQualityEvaluationRunAdditionalRunOptions & GetAdditionalRunOptions() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DataQualityRulesetEvaluationRun & WithRole(RoleT &&value)
DataQualityRulesetEvaluationRun & WithResultIds(ResultIdsT &&value)
DataQualityRulesetEvaluationRun & WithAdditionalRunOptions(AdditionalRunOptionsT &&value)
DataQualityRulesetEvaluationRun & WithRunId(RunIdT &&value)
DataQualityRulesetEvaluationRun & AddAdditionalDataSources(AdditionalDataSourcesKeyT &&key, AdditionalDataSourcesValueT &&value)
const Aws::Map< Aws::String, DataSource > & GetAdditionalDataSources() const
DataQualityRulesetEvaluationRun & AddResultIds(ResultIdsT &&value)
DataQualityRulesetEvaluationRun & WithNumberOfWorkers(int value)
DataQualityRulesetEvaluationRun & WithCompletedOn(CompletedOnT &&value)
DataQualityRulesetEvaluationRun & AddRulesetNames(RulesetNamesT &&value)
AWS_GLUE_API DataQualityRulesetEvaluationRun & operator=(Aws::Utils::Json::JsonView jsonValue)
DataQualityRulesetEvaluationRun & WithAdditionalDataSources(AdditionalDataSourcesT &&value)
DataQualityRulesetEvaluationRun & WithErrorString(ErrorStringT &&value)
DataQualityRulesetEvaluationRun & WithTimeout(int value)
DataQualityRulesetEvaluationRun & WithRulesetNames(RulesetNamesT &&value)
DataQualityRulesetEvaluationRun & WithLastModifiedOn(LastModifiedOnT &&value)
DataQualityRulesetEvaluationRun & WithDataSource(DataSourceT &&value)
DataQualityRulesetEvaluationRun & WithStatus(TaskStatusType value)
const Aws::Vector< Aws::String > & GetRulesetNames() const
DataQualityRulesetEvaluationRun & WithExecutionTime(int value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue