AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ColumnStatisticsTaskRun.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/ComputationType.h>
11#include <aws/glue/model/ColumnStatisticsState.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
29
37 {
38 public:
43
44
46
49 inline const Aws::String& GetCustomerId() const{ return m_customerId; }
50 inline bool CustomerIdHasBeenSet() const { return m_customerIdHasBeenSet; }
51 inline void SetCustomerId(const Aws::String& value) { m_customerIdHasBeenSet = true; m_customerId = value; }
52 inline void SetCustomerId(Aws::String&& value) { m_customerIdHasBeenSet = true; m_customerId = std::move(value); }
53 inline void SetCustomerId(const char* value) { m_customerIdHasBeenSet = true; m_customerId.assign(value); }
54 inline ColumnStatisticsTaskRun& WithCustomerId(const Aws::String& value) { SetCustomerId(value); return *this;}
55 inline ColumnStatisticsTaskRun& WithCustomerId(Aws::String&& value) { SetCustomerId(std::move(value)); return *this;}
56 inline ColumnStatisticsTaskRun& WithCustomerId(const char* value) { SetCustomerId(value); return *this;}
58
60
63 inline const Aws::String& GetColumnStatisticsTaskRunId() const{ return m_columnStatisticsTaskRunId; }
64 inline bool ColumnStatisticsTaskRunIdHasBeenSet() const { return m_columnStatisticsTaskRunIdHasBeenSet; }
65 inline void SetColumnStatisticsTaskRunId(const Aws::String& value) { m_columnStatisticsTaskRunIdHasBeenSet = true; m_columnStatisticsTaskRunId = value; }
66 inline void SetColumnStatisticsTaskRunId(Aws::String&& value) { m_columnStatisticsTaskRunIdHasBeenSet = true; m_columnStatisticsTaskRunId = std::move(value); }
67 inline void SetColumnStatisticsTaskRunId(const char* value) { m_columnStatisticsTaskRunIdHasBeenSet = true; m_columnStatisticsTaskRunId.assign(value); }
72
74
77 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
78 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
79 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
80 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
81 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
82 inline ColumnStatisticsTaskRun& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
83 inline ColumnStatisticsTaskRun& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
84 inline ColumnStatisticsTaskRun& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
86
88
91 inline const Aws::String& GetTableName() const{ return m_tableName; }
92 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
93 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
94 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
95 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
96 inline ColumnStatisticsTaskRun& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
97 inline ColumnStatisticsTaskRun& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
98 inline ColumnStatisticsTaskRun& WithTableName(const char* value) { SetTableName(value); return *this;}
100
102
106 inline const Aws::Vector<Aws::String>& GetColumnNameList() const{ return m_columnNameList; }
107 inline bool ColumnNameListHasBeenSet() const { return m_columnNameListHasBeenSet; }
108 inline void SetColumnNameList(const Aws::Vector<Aws::String>& value) { m_columnNameListHasBeenSet = true; m_columnNameList = value; }
109 inline void SetColumnNameList(Aws::Vector<Aws::String>&& value) { m_columnNameListHasBeenSet = true; m_columnNameList = std::move(value); }
112 inline ColumnStatisticsTaskRun& AddColumnNameList(const Aws::String& value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(value); return *this; }
113 inline ColumnStatisticsTaskRun& AddColumnNameList(Aws::String&& value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(std::move(value)); return *this; }
114 inline ColumnStatisticsTaskRun& AddColumnNameList(const char* value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(value); return *this; }
116
118
122 inline const Aws::String& GetCatalogID() const{ return m_catalogID; }
123 inline bool CatalogIDHasBeenSet() const { return m_catalogIDHasBeenSet; }
124 inline void SetCatalogID(const Aws::String& value) { m_catalogIDHasBeenSet = true; m_catalogID = value; }
125 inline void SetCatalogID(Aws::String&& value) { m_catalogIDHasBeenSet = true; m_catalogID = std::move(value); }
126 inline void SetCatalogID(const char* value) { m_catalogIDHasBeenSet = true; m_catalogID.assign(value); }
127 inline ColumnStatisticsTaskRun& WithCatalogID(const Aws::String& value) { SetCatalogID(value); return *this;}
128 inline ColumnStatisticsTaskRun& WithCatalogID(Aws::String&& value) { SetCatalogID(std::move(value)); return *this;}
129 inline ColumnStatisticsTaskRun& WithCatalogID(const char* value) { SetCatalogID(value); return *this;}
131
133
136 inline const Aws::String& GetRole() const{ return m_role; }
137 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
138 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
139 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
140 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
141 inline ColumnStatisticsTaskRun& WithRole(const Aws::String& value) { SetRole(value); return *this;}
142 inline ColumnStatisticsTaskRun& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
143 inline ColumnStatisticsTaskRun& WithRole(const char* value) { SetRole(value); return *this;}
145
147
151 inline double GetSampleSize() const{ return m_sampleSize; }
152 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
153 inline void SetSampleSize(double value) { m_sampleSizeHasBeenSet = true; m_sampleSize = value; }
154 inline ColumnStatisticsTaskRun& WithSampleSize(double value) { SetSampleSize(value); return *this;}
156
158
162 inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
163 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
164 inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
165 inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
166 inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
169 inline ColumnStatisticsTaskRun& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;}
171
173
177 inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; }
178 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
179 inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
180 inline ColumnStatisticsTaskRun& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
182
184
188 inline const Aws::String& GetWorkerType() const{ return m_workerType; }
189 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
190 inline void SetWorkerType(const Aws::String& value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
191 inline void SetWorkerType(Aws::String&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::move(value); }
192 inline void SetWorkerType(const char* value) { m_workerTypeHasBeenSet = true; m_workerType.assign(value); }
193 inline ColumnStatisticsTaskRun& WithWorkerType(const Aws::String& value) { SetWorkerType(value); return *this;}
194 inline ColumnStatisticsTaskRun& WithWorkerType(Aws::String&& value) { SetWorkerType(std::move(value)); return *this;}
195 inline ColumnStatisticsTaskRun& WithWorkerType(const char* value) { SetWorkerType(value); return *this;}
197
199
202 inline const ComputationType& GetComputationType() const{ return m_computationType; }
203 inline bool ComputationTypeHasBeenSet() const { return m_computationTypeHasBeenSet; }
204 inline void SetComputationType(const ComputationType& value) { m_computationTypeHasBeenSet = true; m_computationType = value; }
205 inline void SetComputationType(ComputationType&& value) { m_computationTypeHasBeenSet = true; m_computationType = std::move(value); }
207 inline ColumnStatisticsTaskRun& WithComputationType(ComputationType&& value) { SetComputationType(std::move(value)); return *this;}
209
211
214 inline const ColumnStatisticsState& GetStatus() const{ return m_status; }
215 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
216 inline void SetStatus(const ColumnStatisticsState& value) { m_statusHasBeenSet = true; m_status = value; }
217 inline void SetStatus(ColumnStatisticsState&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
218 inline ColumnStatisticsTaskRun& WithStatus(const ColumnStatisticsState& value) { SetStatus(value); return *this;}
219 inline ColumnStatisticsTaskRun& WithStatus(ColumnStatisticsState&& value) { SetStatus(std::move(value)); return *this;}
221
223
226 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
227 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
228 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
229 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
231 inline ColumnStatisticsTaskRun& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
233
235
238 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
239 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
240 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
241 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
242 inline ColumnStatisticsTaskRun& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
243 inline ColumnStatisticsTaskRun& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
245
247
250 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
251 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
252 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
253 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
254 inline ColumnStatisticsTaskRun& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
255 inline ColumnStatisticsTaskRun& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
257
259
262 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
263 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
264 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
265 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
266 inline ColumnStatisticsTaskRun& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
267 inline ColumnStatisticsTaskRun& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
269
271
274 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
275 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
276 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
277 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
278 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
279 inline ColumnStatisticsTaskRun& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
280 inline ColumnStatisticsTaskRun& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
281 inline ColumnStatisticsTaskRun& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
283
285
288 inline double GetDPUSeconds() const{ return m_dPUSeconds; }
289 inline bool DPUSecondsHasBeenSet() const { return m_dPUSecondsHasBeenSet; }
290 inline void SetDPUSeconds(double value) { m_dPUSecondsHasBeenSet = true; m_dPUSeconds = value; }
291 inline ColumnStatisticsTaskRun& WithDPUSeconds(double value) { SetDPUSeconds(value); return *this;}
293 private:
294
295 Aws::String m_customerId;
296 bool m_customerIdHasBeenSet = false;
297
298 Aws::String m_columnStatisticsTaskRunId;
299 bool m_columnStatisticsTaskRunIdHasBeenSet = false;
300
301 Aws::String m_databaseName;
302 bool m_databaseNameHasBeenSet = false;
303
304 Aws::String m_tableName;
305 bool m_tableNameHasBeenSet = false;
306
307 Aws::Vector<Aws::String> m_columnNameList;
308 bool m_columnNameListHasBeenSet = false;
309
310 Aws::String m_catalogID;
311 bool m_catalogIDHasBeenSet = false;
312
313 Aws::String m_role;
314 bool m_roleHasBeenSet = false;
315
316 double m_sampleSize;
317 bool m_sampleSizeHasBeenSet = false;
318
319 Aws::String m_securityConfiguration;
320 bool m_securityConfigurationHasBeenSet = false;
321
322 int m_numberOfWorkers;
323 bool m_numberOfWorkersHasBeenSet = false;
324
325 Aws::String m_workerType;
326 bool m_workerTypeHasBeenSet = false;
327
328 ComputationType m_computationType;
329 bool m_computationTypeHasBeenSet = false;
330
331 ColumnStatisticsState m_status;
332 bool m_statusHasBeenSet = false;
333
334 Aws::Utils::DateTime m_creationTime;
335 bool m_creationTimeHasBeenSet = false;
336
337 Aws::Utils::DateTime m_lastUpdated;
338 bool m_lastUpdatedHasBeenSet = false;
339
340 Aws::Utils::DateTime m_startTime;
341 bool m_startTimeHasBeenSet = false;
342
343 Aws::Utils::DateTime m_endTime;
344 bool m_endTimeHasBeenSet = false;
345
346 Aws::String m_errorMessage;
347 bool m_errorMessageHasBeenSet = false;
348
349 double m_dPUSeconds;
350 bool m_dPUSecondsHasBeenSet = false;
351 };
352
353} // namespace Model
354} // namespace Glue
355} // namespace Aws
ColumnStatisticsTaskRun & WithStatus(ColumnStatisticsState &&value)
ColumnStatisticsTaskRun & WithStartTime(Aws::Utils::DateTime &&value)
void SetStatus(ColumnStatisticsState &&value)
ColumnStatisticsTaskRun & WithRole(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
ColumnStatisticsTaskRun & WithDatabaseName(const char *value)
ColumnStatisticsTaskRun & WithDatabaseName(Aws::String &&value)
ColumnStatisticsTaskRun & WithLastUpdated(Aws::Utils::DateTime &&value)
ColumnStatisticsTaskRun & WithTableName(const Aws::String &value)
void SetSecurityConfiguration(const Aws::String &value)
ColumnStatisticsTaskRun & WithWorkerType(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ColumnStatisticsTaskRun & WithColumnNameList(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetEndTime() const
ColumnStatisticsTaskRun & WithComputationType(ComputationType &&value)
void SetStatus(const ColumnStatisticsState &value)
ColumnStatisticsTaskRun & WithErrorMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetComputationType(const ComputationType &value)
ColumnStatisticsTaskRun & WithColumnStatisticsTaskRunId(Aws::String &&value)
ColumnStatisticsTaskRun & WithSecurityConfiguration(const Aws::String &value)
ColumnStatisticsTaskRun & WithSecurityConfiguration(Aws::String &&value)
const ColumnStatisticsState & GetStatus() const
AWS_GLUE_API ColumnStatisticsTaskRun(Aws::Utils::Json::JsonView jsonValue)
ColumnStatisticsTaskRun & WithCatalogID(const char *value)
ColumnStatisticsTaskRun & AddColumnNameList(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ColumnStatisticsTaskRun & WithNumberOfWorkers(int value)
ColumnStatisticsTaskRun & WithRole(const char *value)
ColumnStatisticsTaskRun & WithCustomerId(const Aws::String &value)
ColumnStatisticsTaskRun & WithErrorMessage(const Aws::String &value)
ColumnStatisticsTaskRun & WithStatus(const ColumnStatisticsState &value)
ColumnStatisticsTaskRun & WithCreationTime(Aws::Utils::DateTime &&value)
void SetColumnNameList(Aws::Vector< Aws::String > &&value)
ColumnStatisticsTaskRun & AddColumnNameList(Aws::String &&value)
ColumnStatisticsTaskRun & WithSecurityConfiguration(const char *value)
const ComputationType & GetComputationType() const
void SetLastUpdated(const Aws::Utils::DateTime &value)
ColumnStatisticsTaskRun & WithSampleSize(double value)
void SetLastUpdated(Aws::Utils::DateTime &&value)
ColumnStatisticsTaskRun & WithWorkerType(const char *value)
ColumnStatisticsTaskRun & WithTableName(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ColumnStatisticsTaskRun & WithComputationType(const ComputationType &value)
ColumnStatisticsTaskRun & WithDPUSeconds(double value)
ColumnStatisticsTaskRun & WithCustomerId(const char *value)
const Aws::Utils::DateTime & GetLastUpdated() const
void SetColumnNameList(const Aws::Vector< Aws::String > &value)
void SetColumnStatisticsTaskRunId(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
ColumnStatisticsTaskRun & WithEndTime(Aws::Utils::DateTime &&value)
ColumnStatisticsTaskRun & WithTableName(const char *value)
ColumnStatisticsTaskRun & WithWorkerType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetColumnNameList() const
ColumnStatisticsTaskRun & WithDatabaseName(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
ColumnStatisticsTaskRun & WithCatalogID(Aws::String &&value)
AWS_GLUE_API ColumnStatisticsTaskRun & operator=(Aws::Utils::Json::JsonView jsonValue)
ColumnStatisticsTaskRun & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTime() const
ColumnStatisticsTaskRun & WithErrorMessage(const char *value)
ColumnStatisticsTaskRun & WithCreationTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
ColumnStatisticsTaskRun & WithColumnStatisticsTaskRunId(const char *value)
ColumnStatisticsTaskRun & WithRole(Aws::String &&value)
ColumnStatisticsTaskRun & WithColumnNameList(Aws::Vector< Aws::String > &&value)
ColumnStatisticsTaskRun & WithCatalogID(const Aws::String &value)
ColumnStatisticsTaskRun & WithEndTime(const Aws::Utils::DateTime &value)
ColumnStatisticsTaskRun & WithLastUpdated(const Aws::Utils::DateTime &value)
ColumnStatisticsTaskRun & WithCustomerId(Aws::String &&value)
ColumnStatisticsTaskRun & AddColumnNameList(const Aws::String &value)
ColumnStatisticsTaskRun & WithColumnStatisticsTaskRunId(const Aws::String &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