AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMLTransformResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/TransformStatusType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/glue/model/TransformParameters.h>
13#include <aws/glue/model/EvaluationMetrics.h>
14#include <aws/glue/model/WorkerType.h>
15#include <aws/glue/model/TransformEncryption.h>
16#include <aws/glue/model/GlueTable.h>
17#include <aws/glue/model/SchemaColumn.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace Glue
33{
34namespace Model
35{
37 {
38 public:
39 AWS_GLUE_API GetMLTransformResult();
42
43
45
49 inline const Aws::String& GetTransformId() const{ return m_transformId; }
50 inline void SetTransformId(const Aws::String& value) { m_transformId = value; }
51 inline void SetTransformId(Aws::String&& value) { m_transformId = std::move(value); }
52 inline void SetTransformId(const char* value) { m_transformId.assign(value); }
53 inline GetMLTransformResult& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;}
54 inline GetMLTransformResult& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;}
55 inline GetMLTransformResult& WithTransformId(const char* value) { SetTransformId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline void SetName(const Aws::String& value) { m_name = value; }
64 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
65 inline void SetName(const char* value) { m_name.assign(value); }
66 inline GetMLTransformResult& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline GetMLTransformResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline GetMLTransformResult& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline void SetDescription(const Aws::String& value) { m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_description.assign(value); }
79 inline GetMLTransformResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline GetMLTransformResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline GetMLTransformResult& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
89 inline const TransformStatusType& GetStatus() const{ return m_status; }
90 inline void SetStatus(const TransformStatusType& value) { m_status = value; }
91 inline void SetStatus(TransformStatusType&& value) { m_status = std::move(value); }
92 inline GetMLTransformResult& WithStatus(const TransformStatusType& value) { SetStatus(value); return *this;}
93 inline GetMLTransformResult& WithStatus(TransformStatusType&& value) { SetStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreatedOn() const{ return m_createdOn; }
101 inline void SetCreatedOn(const Aws::Utils::DateTime& value) { m_createdOn = value; }
102 inline void SetCreatedOn(Aws::Utils::DateTime&& value) { m_createdOn = std::move(value); }
103 inline GetMLTransformResult& WithCreatedOn(const Aws::Utils::DateTime& value) { SetCreatedOn(value); return *this;}
104 inline GetMLTransformResult& WithCreatedOn(Aws::Utils::DateTime&& value) { SetCreatedOn(std::move(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; }
112 inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOn = value; }
113 inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOn = std::move(value); }
115 inline GetMLTransformResult& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;}
117
119
122 inline const Aws::Vector<GlueTable>& GetInputRecordTables() const{ return m_inputRecordTables; }
123 inline void SetInputRecordTables(const Aws::Vector<GlueTable>& value) { m_inputRecordTables = value; }
124 inline void SetInputRecordTables(Aws::Vector<GlueTable>&& value) { m_inputRecordTables = std::move(value); }
127 inline GetMLTransformResult& AddInputRecordTables(const GlueTable& value) { m_inputRecordTables.push_back(value); return *this; }
128 inline GetMLTransformResult& AddInputRecordTables(GlueTable&& value) { m_inputRecordTables.push_back(std::move(value)); return *this; }
130
132
135 inline const TransformParameters& GetParameters() const{ return m_parameters; }
136 inline void SetParameters(const TransformParameters& value) { m_parameters = value; }
137 inline void SetParameters(TransformParameters&& value) { m_parameters = std::move(value); }
138 inline GetMLTransformResult& WithParameters(const TransformParameters& value) { SetParameters(value); return *this;}
139 inline GetMLTransformResult& WithParameters(TransformParameters&& value) { SetParameters(std::move(value)); return *this;}
141
143
146 inline const EvaluationMetrics& GetEvaluationMetrics() const{ return m_evaluationMetrics; }
147 inline void SetEvaluationMetrics(const EvaluationMetrics& value) { m_evaluationMetrics = value; }
148 inline void SetEvaluationMetrics(EvaluationMetrics&& value) { m_evaluationMetrics = std::move(value); }
150 inline GetMLTransformResult& WithEvaluationMetrics(EvaluationMetrics&& value) { SetEvaluationMetrics(std::move(value)); return *this;}
152
154
157 inline int GetLabelCount() const{ return m_labelCount; }
158 inline void SetLabelCount(int value) { m_labelCount = value; }
159 inline GetMLTransformResult& WithLabelCount(int value) { SetLabelCount(value); return *this;}
161
163
167 inline const Aws::Vector<SchemaColumn>& GetSchema() const{ return m_schema; }
168 inline void SetSchema(const Aws::Vector<SchemaColumn>& value) { m_schema = value; }
169 inline void SetSchema(Aws::Vector<SchemaColumn>&& value) { m_schema = std::move(value); }
170 inline GetMLTransformResult& WithSchema(const Aws::Vector<SchemaColumn>& value) { SetSchema(value); return *this;}
171 inline GetMLTransformResult& WithSchema(Aws::Vector<SchemaColumn>&& value) { SetSchema(std::move(value)); return *this;}
172 inline GetMLTransformResult& AddSchema(const SchemaColumn& value) { m_schema.push_back(value); return *this; }
173 inline GetMLTransformResult& AddSchema(SchemaColumn&& value) { m_schema.push_back(std::move(value)); return *this; }
175
177
181 inline const Aws::String& GetRole() const{ return m_role; }
182 inline void SetRole(const Aws::String& value) { m_role = value; }
183 inline void SetRole(Aws::String&& value) { m_role = std::move(value); }
184 inline void SetRole(const char* value) { m_role.assign(value); }
185 inline GetMLTransformResult& WithRole(const Aws::String& value) { SetRole(value); return *this;}
186 inline GetMLTransformResult& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
187 inline GetMLTransformResult& WithRole(const char* value) { SetRole(value); return *this;}
189
191
199 inline const Aws::String& GetGlueVersion() const{ return m_glueVersion; }
200 inline void SetGlueVersion(const Aws::String& value) { m_glueVersion = value; }
201 inline void SetGlueVersion(Aws::String&& value) { m_glueVersion = std::move(value); }
202 inline void SetGlueVersion(const char* value) { m_glueVersion.assign(value); }
203 inline GetMLTransformResult& WithGlueVersion(const Aws::String& value) { SetGlueVersion(value); return *this;}
204 inline GetMLTransformResult& WithGlueVersion(Aws::String&& value) { SetGlueVersion(std::move(value)); return *this;}
205 inline GetMLTransformResult& WithGlueVersion(const char* value) { SetGlueVersion(value); return *this;}
207
209
219 inline double GetMaxCapacity() const{ return m_maxCapacity; }
220 inline void SetMaxCapacity(double value) { m_maxCapacity = value; }
221 inline GetMLTransformResult& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
223
225
235 inline const WorkerType& GetWorkerType() const{ return m_workerType; }
236 inline void SetWorkerType(const WorkerType& value) { m_workerType = value; }
237 inline void SetWorkerType(WorkerType&& value) { m_workerType = std::move(value); }
238 inline GetMLTransformResult& WithWorkerType(const WorkerType& value) { SetWorkerType(value); return *this;}
239 inline GetMLTransformResult& WithWorkerType(WorkerType&& value) { SetWorkerType(std::move(value)); return *this;}
241
243
247 inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; }
248 inline void SetNumberOfWorkers(int value) { m_numberOfWorkers = value; }
249 inline GetMLTransformResult& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
251
253
259 inline int GetTimeout() const{ return m_timeout; }
260 inline void SetTimeout(int value) { m_timeout = value; }
261 inline GetMLTransformResult& WithTimeout(int value) { SetTimeout(value); return *this;}
263
265
269 inline int GetMaxRetries() const{ return m_maxRetries; }
270 inline void SetMaxRetries(int value) { m_maxRetries = value; }
271 inline GetMLTransformResult& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
273
275
280 inline const TransformEncryption& GetTransformEncryption() const{ return m_transformEncryption; }
281 inline void SetTransformEncryption(const TransformEncryption& value) { m_transformEncryption = value; }
282 inline void SetTransformEncryption(TransformEncryption&& value) { m_transformEncryption = std::move(value); }
286
288
289 inline const Aws::String& GetRequestId() const{ return m_requestId; }
290 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
291 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
292 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
293 inline GetMLTransformResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
294 inline GetMLTransformResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
295 inline GetMLTransformResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
297 private:
298
299 Aws::String m_transformId;
300
301 Aws::String m_name;
302
303 Aws::String m_description;
304
305 TransformStatusType m_status;
306
307 Aws::Utils::DateTime m_createdOn;
308
309 Aws::Utils::DateTime m_lastModifiedOn;
310
311 Aws::Vector<GlueTable> m_inputRecordTables;
312
313 TransformParameters m_parameters;
314
315 EvaluationMetrics m_evaluationMetrics;
316
317 int m_labelCount;
318
320
321 Aws::String m_role;
322
323 Aws::String m_glueVersion;
324
325 double m_maxCapacity;
326
327 WorkerType m_workerType;
328
329 int m_numberOfWorkers;
330
331 int m_timeout;
332
333 int m_maxRetries;
334
335 TransformEncryption m_transformEncryption;
336
337 Aws::String m_requestId;
338 };
339
340} // namespace Model
341} // namespace Glue
342} // namespace Aws
GetMLTransformResult & WithRequestId(const Aws::String &value)
void SetCreatedOn(Aws::Utils::DateTime &&value)
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
const Aws::Vector< GlueTable > & GetInputRecordTables() const
GetMLTransformResult & WithTransformEncryption(TransformEncryption &&value)
GetMLTransformResult & WithTimeout(int value)
GetMLTransformResult & WithGlueVersion(const char *value)
GetMLTransformResult & WithRole(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedOn() const
GetMLTransformResult & WithTransformId(Aws::String &&value)
void SetEvaluationMetrics(EvaluationMetrics &&value)
GetMLTransformResult & WithDescription(Aws::String &&value)
GetMLTransformResult & WithRole(const char *value)
AWS_GLUE_API GetMLTransformResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLTransformResult & WithName(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetTransformId(const Aws::String &value)
const Aws::String & GetTransformId() const
GetMLTransformResult & WithStatus(TransformStatusType &&value)
const Aws::Utils::DateTime & GetCreatedOn() const
void SetGlueVersion(const Aws::String &value)
GetMLTransformResult & WithRequestId(Aws::String &&value)
const Aws::Vector< SchemaColumn > & GetSchema() const
GetMLTransformResult & WithInputRecordTables(Aws::Vector< GlueTable > &&value)
GetMLTransformResult & WithGlueVersion(Aws::String &&value)
void SetInputRecordTables(const Aws::Vector< GlueTable > &value)
void SetWorkerType(const WorkerType &value)
GetMLTransformResult & WithMaxCapacity(double value)
GetMLTransformResult & WithLastModifiedOn(const Aws::Utils::DateTime &value)
GetMLTransformResult & WithRequestId(const char *value)
GetMLTransformResult & WithSchema(const Aws::Vector< SchemaColumn > &value)
const TransformParameters & GetParameters() const
GetMLTransformResult & WithRole(Aws::String &&value)
GetMLTransformResult & WithMaxRetries(int value)
GetMLTransformResult & WithWorkerType(const WorkerType &value)
void SetTransformEncryption(TransformEncryption &&value)
GetMLTransformResult & WithName(const char *value)
void SetInputRecordTables(Aws::Vector< GlueTable > &&value)
void SetRequestId(const Aws::String &value)
GetMLTransformResult & WithTransformId(const Aws::String &value)
GetMLTransformResult & WithTransformId(const char *value)
GetMLTransformResult & WithParameters(const TransformParameters &value)
GetMLTransformResult & WithSchema(Aws::Vector< SchemaColumn > &&value)
GetMLTransformResult & WithDescription(const char *value)
GetMLTransformResult & WithTransformEncryption(const TransformEncryption &value)
const Aws::String & GetDescription() const
GetMLTransformResult & WithEvaluationMetrics(const EvaluationMetrics &value)
const TransformStatusType & GetStatus() const
AWS_GLUE_API GetMLTransformResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLTransformResult & WithLastModifiedOn(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
GetMLTransformResult & WithEvaluationMetrics(EvaluationMetrics &&value)
void SetTransformEncryption(const TransformEncryption &value)
void SetStatus(const TransformStatusType &value)
void SetParameters(const TransformParameters &value)
GetMLTransformResult & WithName(Aws::String &&value)
GetMLTransformResult & WithParameters(TransformParameters &&value)
GetMLTransformResult & WithStatus(const TransformStatusType &value)
GetMLTransformResult & AddSchema(SchemaColumn &&value)
void SetRole(const Aws::String &value)
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
GetMLTransformResult & WithInputRecordTables(const Aws::Vector< GlueTable > &value)
GetMLTransformResult & WithNumberOfWorkers(int value)
void SetSchema(const Aws::Vector< SchemaColumn > &value)
GetMLTransformResult & WithLabelCount(int value)
GetMLTransformResult & WithCreatedOn(const Aws::Utils::DateTime &value)
GetMLTransformResult & WithWorkerType(WorkerType &&value)
GetMLTransformResult & AddSchema(const SchemaColumn &value)
void SetCreatedOn(const Aws::Utils::DateTime &value)
const EvaluationMetrics & GetEvaluationMetrics() const
GetMLTransformResult & WithGlueVersion(const Aws::String &value)
void SetStatus(TransformStatusType &&value)
const TransformEncryption & GetTransformEncryption() const
GetMLTransformResult & AddInputRecordTables(const GlueTable &value)
GetMLTransformResult & AddInputRecordTables(GlueTable &&value)
GetMLTransformResult & WithCreatedOn(Aws::Utils::DateTime &&value)
GetMLTransformResult & WithDescription(const Aws::String &value)
void SetParameters(TransformParameters &&value)
void SetSchema(Aws::Vector< SchemaColumn > &&value)
void SetEvaluationMetrics(const EvaluationMetrics &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue