AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
42
43
45
49 inline const Aws::String& GetTransformId() const { return m_transformId; }
50 template<typename TransformIdT = Aws::String>
51 void SetTransformId(TransformIdT&& value) { m_transformIdHasBeenSet = true; m_transformId = std::forward<TransformIdT>(value); }
52 template<typename TransformIdT = Aws::String>
53 GetMLTransformResult& WithTransformId(TransformIdT&& value) { SetTransformId(std::forward<TransformIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 GetMLTransformResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 GetMLTransformResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
83 inline TransformStatusType GetStatus() const { return m_status; }
84 inline void SetStatus(TransformStatusType value) { m_statusHasBeenSet = true; m_status = value; }
85 inline GetMLTransformResult& WithStatus(TransformStatusType value) { SetStatus(value); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreatedOn() const { return m_createdOn; }
93 template<typename CreatedOnT = Aws::Utils::DateTime>
94 void SetCreatedOn(CreatedOnT&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::forward<CreatedOnT>(value); }
95 template<typename CreatedOnT = Aws::Utils::DateTime>
96 GetMLTransformResult& WithCreatedOn(CreatedOnT&& value) { SetCreatedOn(std::forward<CreatedOnT>(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
104 template<typename LastModifiedOnT = Aws::Utils::DateTime>
105 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
106 template<typename LastModifiedOnT = Aws::Utils::DateTime>
107 GetMLTransformResult& WithLastModifiedOn(LastModifiedOnT&& value) { SetLastModifiedOn(std::forward<LastModifiedOnT>(value)); return *this;}
109
111
114 inline const Aws::Vector<GlueTable>& GetInputRecordTables() const { return m_inputRecordTables; }
115 template<typename InputRecordTablesT = Aws::Vector<GlueTable>>
116 void SetInputRecordTables(InputRecordTablesT&& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables = std::forward<InputRecordTablesT>(value); }
117 template<typename InputRecordTablesT = Aws::Vector<GlueTable>>
118 GetMLTransformResult& WithInputRecordTables(InputRecordTablesT&& value) { SetInputRecordTables(std::forward<InputRecordTablesT>(value)); return *this;}
119 template<typename InputRecordTablesT = GlueTable>
120 GetMLTransformResult& AddInputRecordTables(InputRecordTablesT&& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables.emplace_back(std::forward<InputRecordTablesT>(value)); return *this; }
122
124
127 inline const TransformParameters& GetParameters() const { return m_parameters; }
128 template<typename ParametersT = TransformParameters>
129 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
130 template<typename ParametersT = TransformParameters>
131 GetMLTransformResult& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
133
135
138 inline const EvaluationMetrics& GetEvaluationMetrics() const { return m_evaluationMetrics; }
139 template<typename EvaluationMetricsT = EvaluationMetrics>
140 void SetEvaluationMetrics(EvaluationMetricsT&& value) { m_evaluationMetricsHasBeenSet = true; m_evaluationMetrics = std::forward<EvaluationMetricsT>(value); }
141 template<typename EvaluationMetricsT = EvaluationMetrics>
142 GetMLTransformResult& WithEvaluationMetrics(EvaluationMetricsT&& value) { SetEvaluationMetrics(std::forward<EvaluationMetricsT>(value)); return *this;}
144
146
149 inline int GetLabelCount() const { return m_labelCount; }
150 inline void SetLabelCount(int value) { m_labelCountHasBeenSet = true; m_labelCount = value; }
151 inline GetMLTransformResult& WithLabelCount(int value) { SetLabelCount(value); return *this;}
153
155
159 inline const Aws::Vector<SchemaColumn>& GetSchema() const { return m_schema; }
160 template<typename SchemaT = Aws::Vector<SchemaColumn>>
161 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
162 template<typename SchemaT = Aws::Vector<SchemaColumn>>
163 GetMLTransformResult& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
164 template<typename SchemaT = SchemaColumn>
165 GetMLTransformResult& AddSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema.emplace_back(std::forward<SchemaT>(value)); return *this; }
167
169
173 inline const Aws::String& GetRole() const { return m_role; }
174 template<typename RoleT = Aws::String>
175 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
176 template<typename RoleT = Aws::String>
177 GetMLTransformResult& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
179
181
189 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
190 template<typename GlueVersionT = Aws::String>
191 void SetGlueVersion(GlueVersionT&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::forward<GlueVersionT>(value); }
192 template<typename GlueVersionT = Aws::String>
193 GetMLTransformResult& WithGlueVersion(GlueVersionT&& value) { SetGlueVersion(std::forward<GlueVersionT>(value)); return *this;}
195
197
207 inline double GetMaxCapacity() const { return m_maxCapacity; }
208 inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
209 inline GetMLTransformResult& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
211
213
223 inline WorkerType GetWorkerType() const { return m_workerType; }
224 inline void SetWorkerType(WorkerType value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
225 inline GetMLTransformResult& WithWorkerType(WorkerType value) { SetWorkerType(value); return *this;}
227
229
233 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
234 inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
235 inline GetMLTransformResult& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
237
239
245 inline int GetTimeout() const { return m_timeout; }
246 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
247 inline GetMLTransformResult& WithTimeout(int value) { SetTimeout(value); return *this;}
249
251
255 inline int GetMaxRetries() const { return m_maxRetries; }
256 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
257 inline GetMLTransformResult& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
259
261
266 inline const TransformEncryption& GetTransformEncryption() const { return m_transformEncryption; }
267 template<typename TransformEncryptionT = TransformEncryption>
268 void SetTransformEncryption(TransformEncryptionT&& value) { m_transformEncryptionHasBeenSet = true; m_transformEncryption = std::forward<TransformEncryptionT>(value); }
269 template<typename TransformEncryptionT = TransformEncryption>
270 GetMLTransformResult& WithTransformEncryption(TransformEncryptionT&& value) { SetTransformEncryption(std::forward<TransformEncryptionT>(value)); return *this;}
272
274
275 inline const Aws::String& GetRequestId() const { return m_requestId; }
276 template<typename RequestIdT = Aws::String>
277 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
278 template<typename RequestIdT = Aws::String>
279 GetMLTransformResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
281 private:
282
283 Aws::String m_transformId;
284 bool m_transformIdHasBeenSet = false;
285
286 Aws::String m_name;
287 bool m_nameHasBeenSet = false;
288
289 Aws::String m_description;
290 bool m_descriptionHasBeenSet = false;
291
293 bool m_statusHasBeenSet = false;
294
295 Aws::Utils::DateTime m_createdOn{};
296 bool m_createdOnHasBeenSet = false;
297
298 Aws::Utils::DateTime m_lastModifiedOn{};
299 bool m_lastModifiedOnHasBeenSet = false;
300
301 Aws::Vector<GlueTable> m_inputRecordTables;
302 bool m_inputRecordTablesHasBeenSet = false;
303
304 TransformParameters m_parameters;
305 bool m_parametersHasBeenSet = false;
306
307 EvaluationMetrics m_evaluationMetrics;
308 bool m_evaluationMetricsHasBeenSet = false;
309
310 int m_labelCount{0};
311 bool m_labelCountHasBeenSet = false;
312
314 bool m_schemaHasBeenSet = false;
315
316 Aws::String m_role;
317 bool m_roleHasBeenSet = false;
318
319 Aws::String m_glueVersion;
320 bool m_glueVersionHasBeenSet = false;
321
322 double m_maxCapacity{0.0};
323 bool m_maxCapacityHasBeenSet = false;
324
325 WorkerType m_workerType{WorkerType::NOT_SET};
326 bool m_workerTypeHasBeenSet = false;
327
328 int m_numberOfWorkers{0};
329 bool m_numberOfWorkersHasBeenSet = false;
330
331 int m_timeout{0};
332 bool m_timeoutHasBeenSet = false;
333
334 int m_maxRetries{0};
335 bool m_maxRetriesHasBeenSet = false;
336
337 TransformEncryption m_transformEncryption;
338 bool m_transformEncryptionHasBeenSet = false;
339
340 Aws::String m_requestId;
341 bool m_requestIdHasBeenSet = false;
342 };
343
344} // namespace Model
345} // namespace Glue
346} // namespace Aws
const Aws::Vector< GlueTable > & GetInputRecordTables() const
GetMLTransformResult & WithGlueVersion(GlueVersionT &&value)
GetMLTransformResult & WithTimeout(int value)
GetMLTransformResult & WithEvaluationMetrics(EvaluationMetricsT &&value)
void SetStatus(TransformStatusType value)
const Aws::Utils::DateTime & GetLastModifiedOn() const
GetMLTransformResult & WithTransformId(TransformIdT &&value)
GetMLTransformResult & WithName(NameT &&value)
AWS_GLUE_API GetMLTransformResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLTransformResult & AddInputRecordTables(InputRecordTablesT &&value)
AWS_GLUE_API GetMLTransformResult()=default
const Aws::String & GetTransformId() const
const Aws::Utils::DateTime & GetCreatedOn() const
GetMLTransformResult & WithWorkerType(WorkerType value)
const Aws::Vector< SchemaColumn > & GetSchema() const
GetMLTransformResult & WithMaxCapacity(double value)
GetMLTransformResult & WithRequestId(RequestIdT &&value)
GetMLTransformResult & WithStatus(TransformStatusType value)
const TransformParameters & GetParameters() const
GetMLTransformResult & WithMaxRetries(int value)
GetMLTransformResult & WithInputRecordTables(InputRecordTablesT &&value)
GetMLTransformResult & WithSchema(SchemaT &&value)
void SetLastModifiedOn(LastModifiedOnT &&value)
const Aws::String & GetDescription() const
AWS_GLUE_API GetMLTransformResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLTransformResult & WithParameters(ParametersT &&value)
GetMLTransformResult & AddSchema(SchemaT &&value)
GetMLTransformResult & WithCreatedOn(CreatedOnT &&value)
void SetInputRecordTables(InputRecordTablesT &&value)
void SetTransformEncryption(TransformEncryptionT &&value)
GetMLTransformResult & WithTransformEncryption(TransformEncryptionT &&value)
GetMLTransformResult & WithLastModifiedOn(LastModifiedOnT &&value)
GetMLTransformResult & WithNumberOfWorkers(int value)
GetMLTransformResult & WithLabelCount(int value)
GetMLTransformResult & WithDescription(DescriptionT &&value)
const EvaluationMetrics & GetEvaluationMetrics() const
void SetEvaluationMetrics(EvaluationMetricsT &&value)
const TransformEncryption & GetTransformEncryption() const
GetMLTransformResult & WithRole(RoleT &&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