AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
39 AWS_GLUE_API ColumnStatisticsTaskRun() = default;
43
44
46
49 inline const Aws::String& GetCustomerId() const { return m_customerId; }
50 inline bool CustomerIdHasBeenSet() const { return m_customerIdHasBeenSet; }
51 template<typename CustomerIdT = Aws::String>
52 void SetCustomerId(CustomerIdT&& value) { m_customerIdHasBeenSet = true; m_customerId = std::forward<CustomerIdT>(value); }
53 template<typename CustomerIdT = Aws::String>
54 ColumnStatisticsTaskRun& WithCustomerId(CustomerIdT&& value) { SetCustomerId(std::forward<CustomerIdT>(value)); return *this;}
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) { m_columnStatisticsTaskRunIdHasBeenSet = true; m_columnStatisticsTaskRunId = std::forward<ColumnStatisticsTaskRunIdT>(value); }
65 template<typename ColumnStatisticsTaskRunIdT = Aws::String>
66 ColumnStatisticsTaskRun& WithColumnStatisticsTaskRunId(ColumnStatisticsTaskRunIdT&& value) { SetColumnStatisticsTaskRunId(std::forward<ColumnStatisticsTaskRunIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
74 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
75 template<typename DatabaseNameT = Aws::String>
76 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
77 template<typename DatabaseNameT = Aws::String>
78 ColumnStatisticsTaskRun& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
80
82
85 inline const Aws::String& GetTableName() const { return m_tableName; }
86 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
87 template<typename TableNameT = Aws::String>
88 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
89 template<typename TableNameT = Aws::String>
90 ColumnStatisticsTaskRun& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
92
94
98 inline const Aws::Vector<Aws::String>& GetColumnNameList() const { return m_columnNameList; }
99 inline bool ColumnNameListHasBeenSet() const { return m_columnNameListHasBeenSet; }
100 template<typename ColumnNameListT = Aws::Vector<Aws::String>>
101 void SetColumnNameList(ColumnNameListT&& value) { m_columnNameListHasBeenSet = true; m_columnNameList = std::forward<ColumnNameListT>(value); }
102 template<typename ColumnNameListT = Aws::Vector<Aws::String>>
103 ColumnStatisticsTaskRun& WithColumnNameList(ColumnNameListT&& value) { SetColumnNameList(std::forward<ColumnNameListT>(value)); return *this;}
104 template<typename ColumnNameListT = Aws::String>
105 ColumnStatisticsTaskRun& AddColumnNameList(ColumnNameListT&& value) { m_columnNameListHasBeenSet = true; m_columnNameList.emplace_back(std::forward<ColumnNameListT>(value)); return *this; }
107
109
113 inline const Aws::String& GetCatalogID() const { return m_catalogID; }
114 inline bool CatalogIDHasBeenSet() const { return m_catalogIDHasBeenSet; }
115 template<typename CatalogIDT = Aws::String>
116 void SetCatalogID(CatalogIDT&& value) { m_catalogIDHasBeenSet = true; m_catalogID = std::forward<CatalogIDT>(value); }
117 template<typename CatalogIDT = Aws::String>
118 ColumnStatisticsTaskRun& WithCatalogID(CatalogIDT&& value) { SetCatalogID(std::forward<CatalogIDT>(value)); return *this;}
120
122
125 inline const Aws::String& GetRole() const { return m_role; }
126 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
127 template<typename RoleT = Aws::String>
128 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
129 template<typename RoleT = Aws::String>
130 ColumnStatisticsTaskRun& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
132
134
138 inline double GetSampleSize() const { return m_sampleSize; }
139 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
140 inline void SetSampleSize(double value) { m_sampleSizeHasBeenSet = true; m_sampleSize = value; }
141 inline ColumnStatisticsTaskRun& WithSampleSize(double value) { SetSampleSize(value); return *this;}
143
145
149 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
150 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
151 template<typename SecurityConfigurationT = Aws::String>
152 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
153 template<typename SecurityConfigurationT = Aws::String>
154 ColumnStatisticsTaskRun& WithSecurityConfiguration(SecurityConfigurationT&& value) { SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value)); return *this;}
156
158
162 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
163 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
164 inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
165 inline ColumnStatisticsTaskRun& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
167
169
173 inline const Aws::String& GetWorkerType() const { return m_workerType; }
174 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
175 template<typename WorkerTypeT = Aws::String>
176 void SetWorkerType(WorkerTypeT&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::forward<WorkerTypeT>(value); }
177 template<typename WorkerTypeT = Aws::String>
178 ColumnStatisticsTaskRun& WithWorkerType(WorkerTypeT&& value) { SetWorkerType(std::forward<WorkerTypeT>(value)); return *this;}
180
182
185 inline ComputationType GetComputationType() const { return m_computationType; }
186 inline bool ComputationTypeHasBeenSet() const { return m_computationTypeHasBeenSet; }
187 inline void SetComputationType(ComputationType value) { m_computationTypeHasBeenSet = true; m_computationType = value; }
190
192
195 inline ColumnStatisticsState GetStatus() const { return m_status; }
196 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
197 inline void SetStatus(ColumnStatisticsState value) { m_statusHasBeenSet = true; m_status = value; }
200
202
205 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
206 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
207 template<typename CreationTimeT = Aws::Utils::DateTime>
208 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
209 template<typename CreationTimeT = Aws::Utils::DateTime>
210 ColumnStatisticsTaskRun& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
212
214
217 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
218 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
219 template<typename LastUpdatedT = Aws::Utils::DateTime>
220 void SetLastUpdated(LastUpdatedT&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::forward<LastUpdatedT>(value); }
221 template<typename LastUpdatedT = Aws::Utils::DateTime>
222 ColumnStatisticsTaskRun& WithLastUpdated(LastUpdatedT&& value) { SetLastUpdated(std::forward<LastUpdatedT>(value)); return *this;}
224
226
229 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
230 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
231 template<typename StartTimeT = Aws::Utils::DateTime>
232 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
233 template<typename StartTimeT = Aws::Utils::DateTime>
234 ColumnStatisticsTaskRun& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
236
238
241 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
242 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
243 template<typename EndTimeT = Aws::Utils::DateTime>
244 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
245 template<typename EndTimeT = Aws::Utils::DateTime>
246 ColumnStatisticsTaskRun& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
248
250
253 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
254 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
255 template<typename ErrorMessageT = Aws::String>
256 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
257 template<typename ErrorMessageT = Aws::String>
258 ColumnStatisticsTaskRun& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
260
262
265 inline double GetDPUSeconds() const { return m_dPUSeconds; }
266 inline bool DPUSecondsHasBeenSet() const { return m_dPUSecondsHasBeenSet; }
267 inline void SetDPUSeconds(double value) { m_dPUSecondsHasBeenSet = true; m_dPUSeconds = value; }
268 inline ColumnStatisticsTaskRun& WithDPUSeconds(double value) { SetDPUSeconds(value); return *this;}
270 private:
271
272 Aws::String m_customerId;
273 bool m_customerIdHasBeenSet = false;
274
275 Aws::String m_columnStatisticsTaskRunId;
276 bool m_columnStatisticsTaskRunIdHasBeenSet = false;
277
278 Aws::String m_databaseName;
279 bool m_databaseNameHasBeenSet = false;
280
281 Aws::String m_tableName;
282 bool m_tableNameHasBeenSet = false;
283
284 Aws::Vector<Aws::String> m_columnNameList;
285 bool m_columnNameListHasBeenSet = false;
286
287 Aws::String m_catalogID;
288 bool m_catalogIDHasBeenSet = false;
289
290 Aws::String m_role;
291 bool m_roleHasBeenSet = false;
292
293 double m_sampleSize{0.0};
294 bool m_sampleSizeHasBeenSet = false;
295
296 Aws::String m_securityConfiguration;
297 bool m_securityConfigurationHasBeenSet = false;
298
299 int m_numberOfWorkers{0};
300 bool m_numberOfWorkersHasBeenSet = false;
301
302 Aws::String m_workerType;
303 bool m_workerTypeHasBeenSet = false;
304
305 ComputationType m_computationType{ComputationType::NOT_SET};
306 bool m_computationTypeHasBeenSet = false;
307
309 bool m_statusHasBeenSet = false;
310
311 Aws::Utils::DateTime m_creationTime{};
312 bool m_creationTimeHasBeenSet = false;
313
314 Aws::Utils::DateTime m_lastUpdated{};
315 bool m_lastUpdatedHasBeenSet = false;
316
317 Aws::Utils::DateTime m_startTime{};
318 bool m_startTimeHasBeenSet = false;
319
320 Aws::Utils::DateTime m_endTime{};
321 bool m_endTimeHasBeenSet = false;
322
323 Aws::String m_errorMessage;
324 bool m_errorMessageHasBeenSet = false;
325
326 double m_dPUSeconds{0.0};
327 bool m_dPUSecondsHasBeenSet = false;
328 };
329
330} // namespace Model
331} // namespace Glue
332} // 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