AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ColumnStatisticsTaskRun.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/ColumnStatisticsState.h>
12#include <aws/glue/model/ComputationType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
25
33 public:
34 AWS_GLUE_API ColumnStatisticsTaskRun() = default;
38
40
43 inline const Aws::String& GetCustomerId() const { return m_customerId; }
44 inline bool CustomerIdHasBeenSet() const { return m_customerIdHasBeenSet; }
45 template <typename CustomerIdT = Aws::String>
46 void SetCustomerId(CustomerIdT&& value) {
47 m_customerIdHasBeenSet = true;
48 m_customerId = std::forward<CustomerIdT>(value);
49 }
50 template <typename CustomerIdT = Aws::String>
52 SetCustomerId(std::forward<CustomerIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetColumnStatisticsTaskRunId() const { return m_columnStatisticsTaskRunId; }
62 inline bool ColumnStatisticsTaskRunIdHasBeenSet() const { return m_columnStatisticsTaskRunIdHasBeenSet; }
63 template <typename ColumnStatisticsTaskRunIdT = Aws::String>
64 void SetColumnStatisticsTaskRunId(ColumnStatisticsTaskRunIdT&& value) {
65 m_columnStatisticsTaskRunIdHasBeenSet = true;
66 m_columnStatisticsTaskRunId = std::forward<ColumnStatisticsTaskRunIdT>(value);
67 }
68 template <typename ColumnStatisticsTaskRunIdT = Aws::String>
69 ColumnStatisticsTaskRun& WithColumnStatisticsTaskRunId(ColumnStatisticsTaskRunIdT&& value) {
70 SetColumnStatisticsTaskRunId(std::forward<ColumnStatisticsTaskRunIdT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
80 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
81 template <typename DatabaseNameT = Aws::String>
82 void SetDatabaseName(DatabaseNameT&& value) {
83 m_databaseNameHasBeenSet = true;
84 m_databaseName = std::forward<DatabaseNameT>(value);
85 }
86 template <typename DatabaseNameT = Aws::String>
87 ColumnStatisticsTaskRun& WithDatabaseName(DatabaseNameT&& value) {
88 SetDatabaseName(std::forward<DatabaseNameT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetTableName() const { return m_tableName; }
98 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
99 template <typename TableNameT = Aws::String>
100 void SetTableName(TableNameT&& value) {
101 m_tableNameHasBeenSet = true;
102 m_tableName = std::forward<TableNameT>(value);
103 }
104 template <typename TableNameT = Aws::String>
106 SetTableName(std::forward<TableNameT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::Vector<Aws::String>& GetColumnNameList() const { return m_columnNameList; }
117 inline bool ColumnNameListHasBeenSet() const { return m_columnNameListHasBeenSet; }
118 template <typename ColumnNameListT = Aws::Vector<Aws::String>>
119 void SetColumnNameList(ColumnNameListT&& value) {
120 m_columnNameListHasBeenSet = true;
121 m_columnNameList = std::forward<ColumnNameListT>(value);
122 }
123 template <typename ColumnNameListT = Aws::Vector<Aws::String>>
124 ColumnStatisticsTaskRun& WithColumnNameList(ColumnNameListT&& value) {
125 SetColumnNameList(std::forward<ColumnNameListT>(value));
126 return *this;
127 }
128 template <typename ColumnNameListT = Aws::String>
129 ColumnStatisticsTaskRun& AddColumnNameList(ColumnNameListT&& value) {
130 m_columnNameListHasBeenSet = true;
131 m_columnNameList.emplace_back(std::forward<ColumnNameListT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::String& GetCatalogID() const { return m_catalogID; }
142 inline bool CatalogIDHasBeenSet() const { return m_catalogIDHasBeenSet; }
143 template <typename CatalogIDT = Aws::String>
144 void SetCatalogID(CatalogIDT&& value) {
145 m_catalogIDHasBeenSet = true;
146 m_catalogID = std::forward<CatalogIDT>(value);
147 }
148 template <typename CatalogIDT = Aws::String>
150 SetCatalogID(std::forward<CatalogIDT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::String& GetRole() const { return m_role; }
160 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
161 template <typename RoleT = Aws::String>
162 void SetRole(RoleT&& value) {
163 m_roleHasBeenSet = true;
164 m_role = std::forward<RoleT>(value);
165 }
166 template <typename RoleT = Aws::String>
168 SetRole(std::forward<RoleT>(value));
169 return *this;
170 }
172
174
178 inline double GetSampleSize() const { return m_sampleSize; }
179 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
180 inline void SetSampleSize(double value) {
181 m_sampleSizeHasBeenSet = true;
182 m_sampleSize = value;
183 }
185 SetSampleSize(value);
186 return *this;
187 }
189
191
195 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
196 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
197 template <typename SecurityConfigurationT = Aws::String>
198 void SetSecurityConfiguration(SecurityConfigurationT&& value) {
199 m_securityConfigurationHasBeenSet = true;
200 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
201 }
202 template <typename SecurityConfigurationT = Aws::String>
203 ColumnStatisticsTaskRun& WithSecurityConfiguration(SecurityConfigurationT&& value) {
204 SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value));
205 return *this;
206 }
208
210
214 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
215 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
216 inline void SetNumberOfWorkers(int value) {
217 m_numberOfWorkersHasBeenSet = true;
218 m_numberOfWorkers = value;
219 }
221 SetNumberOfWorkers(value);
222 return *this;
223 }
225
227
231 inline const Aws::String& GetWorkerType() const { return m_workerType; }
232 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
233 template <typename WorkerTypeT = Aws::String>
234 void SetWorkerType(WorkerTypeT&& value) {
235 m_workerTypeHasBeenSet = true;
236 m_workerType = std::forward<WorkerTypeT>(value);
237 }
238 template <typename WorkerTypeT = Aws::String>
240 SetWorkerType(std::forward<WorkerTypeT>(value));
241 return *this;
242 }
244
246
249 inline ComputationType GetComputationType() const { return m_computationType; }
250 inline bool ComputationTypeHasBeenSet() const { return m_computationTypeHasBeenSet; }
252 m_computationTypeHasBeenSet = true;
253 m_computationType = value;
254 }
256 SetComputationType(value);
257 return *this;
258 }
260
262
265 inline ColumnStatisticsState GetStatus() const { return m_status; }
266 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
267 inline void SetStatus(ColumnStatisticsState value) {
268 m_statusHasBeenSet = true;
269 m_status = value;
270 }
272 SetStatus(value);
273 return *this;
274 }
276
278
281 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
282 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
283 template <typename CreationTimeT = Aws::Utils::DateTime>
284 void SetCreationTime(CreationTimeT&& value) {
285 m_creationTimeHasBeenSet = true;
286 m_creationTime = std::forward<CreationTimeT>(value);
287 }
288 template <typename CreationTimeT = Aws::Utils::DateTime>
290 SetCreationTime(std::forward<CreationTimeT>(value));
291 return *this;
292 }
294
296
299 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
300 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
301 template <typename LastUpdatedT = Aws::Utils::DateTime>
302 void SetLastUpdated(LastUpdatedT&& value) {
303 m_lastUpdatedHasBeenSet = true;
304 m_lastUpdated = std::forward<LastUpdatedT>(value);
305 }
306 template <typename LastUpdatedT = Aws::Utils::DateTime>
308 SetLastUpdated(std::forward<LastUpdatedT>(value));
309 return *this;
310 }
312
314
317 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
318 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
319 template <typename StartTimeT = Aws::Utils::DateTime>
320 void SetStartTime(StartTimeT&& value) {
321 m_startTimeHasBeenSet = true;
322 m_startTime = std::forward<StartTimeT>(value);
323 }
324 template <typename StartTimeT = Aws::Utils::DateTime>
326 SetStartTime(std::forward<StartTimeT>(value));
327 return *this;
328 }
330
332
335 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
336 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
337 template <typename EndTimeT = Aws::Utils::DateTime>
338 void SetEndTime(EndTimeT&& value) {
339 m_endTimeHasBeenSet = true;
340 m_endTime = std::forward<EndTimeT>(value);
341 }
342 template <typename EndTimeT = Aws::Utils::DateTime>
344 SetEndTime(std::forward<EndTimeT>(value));
345 return *this;
346 }
348
350
353 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
354 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
355 template <typename ErrorMessageT = Aws::String>
356 void SetErrorMessage(ErrorMessageT&& value) {
357 m_errorMessageHasBeenSet = true;
358 m_errorMessage = std::forward<ErrorMessageT>(value);
359 }
360 template <typename ErrorMessageT = Aws::String>
362 SetErrorMessage(std::forward<ErrorMessageT>(value));
363 return *this;
364 }
366
368
371 inline double GetDPUSeconds() const { return m_dPUSeconds; }
372 inline bool DPUSecondsHasBeenSet() const { return m_dPUSecondsHasBeenSet; }
373 inline void SetDPUSeconds(double value) {
374 m_dPUSecondsHasBeenSet = true;
375 m_dPUSeconds = value;
376 }
378 SetDPUSeconds(value);
379 return *this;
380 }
382 private:
383 Aws::String m_customerId;
384
385 Aws::String m_columnStatisticsTaskRunId;
386
387 Aws::String m_databaseName;
388
389 Aws::String m_tableName;
390
391 Aws::Vector<Aws::String> m_columnNameList;
392
393 Aws::String m_catalogID;
394
395 Aws::String m_role;
396
397 double m_sampleSize{0.0};
398
399 Aws::String m_securityConfiguration;
400
401 int m_numberOfWorkers{0};
402
403 Aws::String m_workerType;
404
405 ComputationType m_computationType{ComputationType::NOT_SET};
406
408
409 Aws::Utils::DateTime m_creationTime{};
410
411 Aws::Utils::DateTime m_lastUpdated{};
412
413 Aws::Utils::DateTime m_startTime{};
414
415 Aws::Utils::DateTime m_endTime{};
416
417 Aws::String m_errorMessage;
418
419 double m_dPUSeconds{0.0};
420 bool m_customerIdHasBeenSet = false;
421 bool m_columnStatisticsTaskRunIdHasBeenSet = false;
422 bool m_databaseNameHasBeenSet = false;
423 bool m_tableNameHasBeenSet = false;
424 bool m_columnNameListHasBeenSet = false;
425 bool m_catalogIDHasBeenSet = false;
426 bool m_roleHasBeenSet = false;
427 bool m_sampleSizeHasBeenSet = false;
428 bool m_securityConfigurationHasBeenSet = false;
429 bool m_numberOfWorkersHasBeenSet = false;
430 bool m_workerTypeHasBeenSet = false;
431 bool m_computationTypeHasBeenSet = false;
432 bool m_statusHasBeenSet = false;
433 bool m_creationTimeHasBeenSet = false;
434 bool m_lastUpdatedHasBeenSet = false;
435 bool m_startTimeHasBeenSet = false;
436 bool m_endTimeHasBeenSet = false;
437 bool m_errorMessageHasBeenSet = false;
438 bool m_dPUSecondsHasBeenSet = false;
439};
440
441} // namespace Model
442} // namespace Glue
443} // namespace Aws
ColumnStatisticsTaskRun & WithSecurityConfiguration(SecurityConfigurationT &&value)
ColumnStatisticsTaskRun & WithWorkerType(WorkerTypeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
ColumnStatisticsTaskRun & WithErrorMessage(ErrorMessageT &&value)
ColumnStatisticsTaskRun & WithStatus(ColumnStatisticsState value)
const Aws::Utils::DateTime & GetStartTime() const
ColumnStatisticsTaskRun & WithCatalogID(CatalogIDT &&value)
AWS_GLUE_API ColumnStatisticsTaskRun(Aws::Utils::Json::JsonView jsonValue)
ColumnStatisticsTaskRun & WithNumberOfWorkers(int value)
ColumnStatisticsTaskRun & WithSampleSize(double value)
ColumnStatisticsTaskRun & WithRole(RoleT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ColumnStatisticsTaskRun & WithDPUSeconds(double value)
const Aws::Utils::DateTime & GetLastUpdated() const
ColumnStatisticsTaskRun & WithTableName(TableNameT &&value)
ColumnStatisticsTaskRun & WithEndTime(EndTimeT &&value)
void SetStatus(ColumnStatisticsState value)
const Aws::Vector< Aws::String > & GetColumnNameList() const
ColumnStatisticsTaskRun & WithComputationType(ComputationType value)
ColumnStatisticsTaskRun & WithColumnStatisticsTaskRunId(ColumnStatisticsTaskRunIdT &&value)
ColumnStatisticsTaskRun & WithStartTime(StartTimeT &&value)
ColumnStatisticsTaskRun & WithColumnNameList(ColumnNameListT &&value)
AWS_GLUE_API ColumnStatisticsTaskRun()=default
ColumnStatisticsTaskRun & WithCreationTime(CreationTimeT &&value)
AWS_GLUE_API ColumnStatisticsTaskRun & operator=(Aws::Utils::Json::JsonView jsonValue)
ColumnStatisticsTaskRun & AddColumnNameList(ColumnNameListT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ColumnStatisticsTaskRun & WithDatabaseName(DatabaseNameT &&value)
void SetColumnStatisticsTaskRunId(ColumnStatisticsTaskRunIdT &&value)
ColumnStatisticsTaskRun & WithLastUpdated(LastUpdatedT &&value)
ColumnStatisticsTaskRun & WithCustomerId(CustomerIdT &&value)
void SetSecurityConfiguration(SecurityConfigurationT &&value)
const Aws::String & GetColumnStatisticsTaskRunId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue