AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMLTransformRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/TransformParameters.h>
12#include <aws/glue/model/WorkerType.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/glue/model/TransformEncryption.h>
15#include <aws/glue/model/GlueTable.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Glue
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateMLTransform"; }
37
38 AWS_GLUE_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline CreateMLTransformRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline CreateMLTransformRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline CreateMLTransformRequest& WithName(const char* value) { SetName(value); return *this;}
56
58
62 inline const Aws::String& GetDescription() const{ return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
67 inline CreateMLTransformRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline CreateMLTransformRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline CreateMLTransformRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
76 inline const Aws::Vector<GlueTable>& GetInputRecordTables() const{ return m_inputRecordTables; }
77 inline bool InputRecordTablesHasBeenSet() const { return m_inputRecordTablesHasBeenSet; }
78 inline void SetInputRecordTables(const Aws::Vector<GlueTable>& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables = value; }
79 inline void SetInputRecordTables(Aws::Vector<GlueTable>&& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables = std::move(value); }
82 inline CreateMLTransformRequest& AddInputRecordTables(const GlueTable& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables.push_back(value); return *this; }
83 inline CreateMLTransformRequest& AddInputRecordTables(GlueTable&& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables.push_back(std::move(value)); return *this; }
85
87
91 inline const TransformParameters& GetParameters() const{ return m_parameters; }
92 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
93 inline void SetParameters(const TransformParameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
94 inline void SetParameters(TransformParameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
95 inline CreateMLTransformRequest& WithParameters(const TransformParameters& value) { SetParameters(value); return *this;}
96 inline CreateMLTransformRequest& WithParameters(TransformParameters&& value) { SetParameters(std::move(value)); return *this;}
98
100
112 inline const Aws::String& GetRole() const{ return m_role; }
113 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
114 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
115 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
116 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
117 inline CreateMLTransformRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
118 inline CreateMLTransformRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
119 inline CreateMLTransformRequest& WithRole(const char* value) { SetRole(value); return *this;}
121
123
131 inline const Aws::String& GetGlueVersion() const{ return m_glueVersion; }
132 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
133 inline void SetGlueVersion(const Aws::String& value) { m_glueVersionHasBeenSet = true; m_glueVersion = value; }
134 inline void SetGlueVersion(Aws::String&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::move(value); }
135 inline void SetGlueVersion(const char* value) { m_glueVersionHasBeenSet = true; m_glueVersion.assign(value); }
136 inline CreateMLTransformRequest& WithGlueVersion(const Aws::String& value) { SetGlueVersion(value); return *this;}
137 inline CreateMLTransformRequest& WithGlueVersion(Aws::String&& value) { SetGlueVersion(std::move(value)); return *this;}
138 inline CreateMLTransformRequest& WithGlueVersion(const char* value) { SetGlueVersion(value); return *this;}
140
142
163 inline double GetMaxCapacity() const{ return m_maxCapacity; }
164 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
165 inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
166 inline CreateMLTransformRequest& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
168
170
189 inline const WorkerType& GetWorkerType() const{ return m_workerType; }
190 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
191 inline void SetWorkerType(const WorkerType& value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
192 inline void SetWorkerType(WorkerType&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::move(value); }
193 inline CreateMLTransformRequest& WithWorkerType(const WorkerType& value) { SetWorkerType(value); return *this;}
194 inline CreateMLTransformRequest& WithWorkerType(WorkerType&& value) { SetWorkerType(std::move(value)); return *this;}
196
198
203 inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; }
204 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
205 inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
206 inline CreateMLTransformRequest& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
208
210
216 inline int GetTimeout() const{ return m_timeout; }
217 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
218 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
219 inline CreateMLTransformRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
221
223
227 inline int GetMaxRetries() const{ return m_maxRetries; }
228 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
229 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
230 inline CreateMLTransformRequest& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
232
234
241 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
242 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
243 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
244 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
246 inline CreateMLTransformRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
247 inline CreateMLTransformRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
248 inline CreateMLTransformRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
249 inline CreateMLTransformRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
250 inline CreateMLTransformRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
251 inline CreateMLTransformRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
252 inline CreateMLTransformRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
253 inline CreateMLTransformRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
255
257
262 inline const TransformEncryption& GetTransformEncryption() const{ return m_transformEncryption; }
263 inline bool TransformEncryptionHasBeenSet() const { return m_transformEncryptionHasBeenSet; }
264 inline void SetTransformEncryption(const TransformEncryption& value) { m_transformEncryptionHasBeenSet = true; m_transformEncryption = value; }
265 inline void SetTransformEncryption(TransformEncryption&& value) { m_transformEncryptionHasBeenSet = true; m_transformEncryption = std::move(value); }
269 private:
270
271 Aws::String m_name;
272 bool m_nameHasBeenSet = false;
273
274 Aws::String m_description;
275 bool m_descriptionHasBeenSet = false;
276
277 Aws::Vector<GlueTable> m_inputRecordTables;
278 bool m_inputRecordTablesHasBeenSet = false;
279
280 TransformParameters m_parameters;
281 bool m_parametersHasBeenSet = false;
282
283 Aws::String m_role;
284 bool m_roleHasBeenSet = false;
285
286 Aws::String m_glueVersion;
287 bool m_glueVersionHasBeenSet = false;
288
289 double m_maxCapacity;
290 bool m_maxCapacityHasBeenSet = false;
291
292 WorkerType m_workerType;
293 bool m_workerTypeHasBeenSet = false;
294
295 int m_numberOfWorkers;
296 bool m_numberOfWorkersHasBeenSet = false;
297
298 int m_timeout;
299 bool m_timeoutHasBeenSet = false;
300
301 int m_maxRetries;
302 bool m_maxRetriesHasBeenSet = false;
303
305 bool m_tagsHasBeenSet = false;
306
307 TransformEncryption m_transformEncryption;
308 bool m_transformEncryptionHasBeenSet = false;
309 };
310
311} // namespace Model
312} // namespace Glue
313} // namespace Aws
const Aws::Vector< GlueTable > & GetInputRecordTables() const
CreateMLTransformRequest & AddTags(Aws::String &&key, const Aws::String &value)
const TransformEncryption & GetTransformEncryption() const
CreateMLTransformRequest & WithName(const Aws::String &value)
CreateMLTransformRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateMLTransformRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateMLTransformRequest & AddInputRecordTables(const GlueTable &value)
CreateMLTransformRequest & WithInputRecordTables(const Aws::Vector< GlueTable > &value)
CreateMLTransformRequest & WithTransformEncryption(const TransformEncryption &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateMLTransformRequest & WithRole(const char *value)
CreateMLTransformRequest & WithTimeout(int value)
CreateMLTransformRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateMLTransformRequest & WithDescription(const char *value)
CreateMLTransformRequest & WithWorkerType(const WorkerType &value)
void SetParameters(const TransformParameters &value)
CreateMLTransformRequest & AddTags(const char *key, Aws::String &&value)
CreateMLTransformRequest & WithGlueVersion(const Aws::String &value)
void SetParameters(TransformParameters &&value)
CreateMLTransformRequest & WithParameters(TransformParameters &&value)
CreateMLTransformRequest & AddTags(const char *key, const char *value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateMLTransformRequest & WithRole(Aws::String &&value)
CreateMLTransformRequest & WithWorkerType(WorkerType &&value)
CreateMLTransformRequest & WithName(const char *value)
CreateMLTransformRequest & AddTags(Aws::String &&key, const char *value)
CreateMLTransformRequest & WithDescription(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateMLTransformRequest & WithInputRecordTables(Aws::Vector< GlueTable > &&value)
CreateMLTransformRequest & WithDescription(Aws::String &&value)
CreateMLTransformRequest & WithParameters(const TransformParameters &value)
CreateMLTransformRequest & AddInputRecordTables(GlueTable &&value)
void SetTransformEncryption(TransformEncryption &&value)
CreateMLTransformRequest & WithMaxRetries(int value)
CreateMLTransformRequest & WithName(Aws::String &&value)
CreateMLTransformRequest & WithTransformEncryption(TransformEncryption &&value)
CreateMLTransformRequest & WithGlueVersion(const char *value)
virtual const char * GetServiceRequestName() const override
CreateMLTransformRequest & WithGlueVersion(Aws::String &&value)
CreateMLTransformRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTransformEncryption(const TransformEncryption &value)
CreateMLTransformRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetInputRecordTables(Aws::Vector< GlueTable > &&value)
CreateMLTransformRequest & WithRole(const Aws::String &value)
CreateMLTransformRequest & WithNumberOfWorkers(int value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreateMLTransformRequest & WithMaxCapacity(double value)
const TransformParameters & GetParameters() const
void SetInputRecordTables(const Aws::Vector< GlueTable > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector