AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateMLTransformRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Glue
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateMLTransform"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetTransformId() const{ return m_transformId; }
43 
47  inline bool TransformIdHasBeenSet() const { return m_transformIdHasBeenSet; }
48 
52  inline void SetTransformId(const Aws::String& value) { m_transformIdHasBeenSet = true; m_transformId = value; }
53 
57  inline void SetTransformId(Aws::String&& value) { m_transformIdHasBeenSet = true; m_transformId = std::move(value); }
58 
62  inline void SetTransformId(const char* value) { m_transformIdHasBeenSet = true; m_transformId.assign(value); }
63 
67  inline UpdateMLTransformRequest& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;}
68 
72  inline UpdateMLTransformRequest& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;}
73 
77  inline UpdateMLTransformRequest& WithTransformId(const char* value) { SetTransformId(value); return *this;}
78 
79 
83  inline const Aws::String& GetName() const{ return m_name; }
84 
88  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 
93  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
94 
98  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
99 
103  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
104 
108  inline UpdateMLTransformRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
109 
113  inline UpdateMLTransformRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
114 
118  inline UpdateMLTransformRequest& WithName(const char* value) { SetName(value); return *this;}
119 
120 
124  inline const Aws::String& GetDescription() const{ return m_description; }
125 
129  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
130 
134  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
135 
139  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
140 
144  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
145 
149  inline UpdateMLTransformRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
150 
154  inline UpdateMLTransformRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
155 
159  inline UpdateMLTransformRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
160 
161 
166  inline const TransformParameters& GetParameters() const{ return m_parameters; }
167 
172  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
173 
178  inline void SetParameters(const TransformParameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
179 
184  inline void SetParameters(TransformParameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
185 
190  inline UpdateMLTransformRequest& WithParameters(const TransformParameters& value) { SetParameters(value); return *this;}
191 
196  inline UpdateMLTransformRequest& WithParameters(TransformParameters&& value) { SetParameters(std::move(value)); return *this;}
197 
198 
203  inline const Aws::String& GetRole() const{ return m_role; }
204 
209  inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
210 
215  inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
216 
221  inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
222 
227  inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
228 
233  inline UpdateMLTransformRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
234 
239  inline UpdateMLTransformRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
240 
245  inline UpdateMLTransformRequest& WithRole(const char* value) { SetRole(value); return *this;}
246 
247 
256  inline const Aws::String& GetGlueVersion() const{ return m_glueVersion; }
257 
266  inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
267 
276  inline void SetGlueVersion(const Aws::String& value) { m_glueVersionHasBeenSet = true; m_glueVersion = value; }
277 
286  inline void SetGlueVersion(Aws::String&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::move(value); }
287 
296  inline void SetGlueVersion(const char* value) { m_glueVersionHasBeenSet = true; m_glueVersion.assign(value); }
297 
306  inline UpdateMLTransformRequest& WithGlueVersion(const Aws::String& value) { SetGlueVersion(value); return *this;}
307 
316  inline UpdateMLTransformRequest& WithGlueVersion(Aws::String&& value) { SetGlueVersion(std::move(value)); return *this;}
317 
326  inline UpdateMLTransformRequest& WithGlueVersion(const char* value) { SetGlueVersion(value); return *this;}
327 
328 
339  inline double GetMaxCapacity() const{ return m_maxCapacity; }
340 
351  inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
352 
363  inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
364 
375  inline UpdateMLTransformRequest& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
376 
377 
388  inline const WorkerType& GetWorkerType() const{ return m_workerType; }
389 
400  inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
401 
412  inline void SetWorkerType(const WorkerType& value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
413 
424  inline void SetWorkerType(WorkerType&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::move(value); }
425 
436  inline UpdateMLTransformRequest& WithWorkerType(const WorkerType& value) { SetWorkerType(value); return *this;}
437 
448  inline UpdateMLTransformRequest& WithWorkerType(WorkerType&& value) { SetWorkerType(std::move(value)); return *this;}
449 
450 
455  inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; }
456 
461  inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
462 
467  inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
468 
473  inline UpdateMLTransformRequest& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
474 
475 
482  inline int GetTimeout() const{ return m_timeout; }
483 
490  inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
491 
498  inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
499 
506  inline UpdateMLTransformRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
507 
508 
513  inline int GetMaxRetries() const{ return m_maxRetries; }
514 
519  inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
520 
525  inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
526 
531  inline UpdateMLTransformRequest& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
532 
533  private:
534 
535  Aws::String m_transformId;
536  bool m_transformIdHasBeenSet;
537 
538  Aws::String m_name;
539  bool m_nameHasBeenSet;
540 
541  Aws::String m_description;
542  bool m_descriptionHasBeenSet;
543 
544  TransformParameters m_parameters;
545  bool m_parametersHasBeenSet;
546 
547  Aws::String m_role;
548  bool m_roleHasBeenSet;
549 
550  Aws::String m_glueVersion;
551  bool m_glueVersionHasBeenSet;
552 
553  double m_maxCapacity;
554  bool m_maxCapacityHasBeenSet;
555 
556  WorkerType m_workerType;
557  bool m_workerTypeHasBeenSet;
558 
559  int m_numberOfWorkers;
560  bool m_numberOfWorkersHasBeenSet;
561 
562  int m_timeout;
563  bool m_timeoutHasBeenSet;
564 
565  int m_maxRetries;
566  bool m_maxRetriesHasBeenSet;
567  };
568 
569 } // namespace Model
570 } // namespace Glue
571 } // namespace Aws
Aws::Glue::Model::UpdateMLTransformRequest::WithName
UpdateMLTransformRequest & WithName(Aws::String &&value)
Definition: UpdateMLTransformRequest.h:113
Aws::Glue::Model::UpdateMLTransformRequest
Definition: UpdateMLTransformRequest.h:24
Aws::Glue::Model::UpdateMLTransformRequest::WithName
UpdateMLTransformRequest & WithName(const Aws::String &value)
Definition: UpdateMLTransformRequest.h:108
Aws::Glue::Model::UpdateMLTransformRequest::WithTransformId
UpdateMLTransformRequest & WithTransformId(const Aws::String &value)
Definition: UpdateMLTransformRequest.h:67
Aws::Glue::Model::UpdateMLTransformRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateMLTransformRequest.h:88
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::WorkerType
WorkerType
Definition: WorkerType.h:17
Aws::Glue::Model::UpdateMLTransformRequest::SetTransformId
void SetTransformId(const char *value)
Definition: UpdateMLTransformRequest.h:62
Glue_EXPORTS.h
Aws::Glue::Model::UpdateMLTransformRequest::NumberOfWorkersHasBeenSet
bool NumberOfWorkersHasBeenSet() const
Definition: UpdateMLTransformRequest.h:461
Aws::Glue::Model::UpdateMLTransformRequest::GetNumberOfWorkers
int GetNumberOfWorkers() const
Definition: UpdateMLTransformRequest.h:455
Aws::Glue::Model::UpdateMLTransformRequest::RoleHasBeenSet
bool RoleHasBeenSet() const
Definition: UpdateMLTransformRequest.h:209
Aws::Glue::Model::UpdateMLTransformRequest::SetTimeout
void SetTimeout(int value)
Definition: UpdateMLTransformRequest.h:498
Aws::Glue::Model::UpdateMLTransformRequest::GetGlueVersion
const Aws::String & GetGlueVersion() const
Definition: UpdateMLTransformRequest.h:256
Aws::Glue::Model::UpdateMLTransformRequest::WithTransformId
UpdateMLTransformRequest & WithTransformId(const char *value)
Definition: UpdateMLTransformRequest.h:77
Aws::Glue::Model::UpdateMLTransformRequest::SetGlueVersion
void SetGlueVersion(const char *value)
Definition: UpdateMLTransformRequest.h:296
Aws::Glue::Model::UpdateMLTransformRequest::SetRole
void SetRole(const Aws::String &value)
Definition: UpdateMLTransformRequest.h:215
Aws::Glue::Model::TransformParameters
Definition: TransformParameters.h:34
Aws::Glue::Model::UpdateMLTransformRequest::TransformIdHasBeenSet
bool TransformIdHasBeenSet() const
Definition: UpdateMLTransformRequest.h:47
Aws::Glue::Model::UpdateMLTransformRequest::MaxCapacityHasBeenSet
bool MaxCapacityHasBeenSet() const
Definition: UpdateMLTransformRequest.h:351
Aws::Glue::Model::UpdateMLTransformRequest::WithDescription
UpdateMLTransformRequest & WithDescription(const Aws::String &value)
Definition: UpdateMLTransformRequest.h:149
Aws::Glue::Model::UpdateMLTransformRequest::WithRole
UpdateMLTransformRequest & WithRole(const Aws::String &value)
Definition: UpdateMLTransformRequest.h:233
Aws::Glue::Model::UpdateMLTransformRequest::WithNumberOfWorkers
UpdateMLTransformRequest & WithNumberOfWorkers(int value)
Definition: UpdateMLTransformRequest.h:473
Aws::Glue::Model::UpdateMLTransformRequest::GetTransformId
const Aws::String & GetTransformId() const
Definition: UpdateMLTransformRequest.h:42
Aws::Glue::Model::UpdateMLTransformRequest::WithGlueVersion
UpdateMLTransformRequest & WithGlueVersion(const Aws::String &value)
Definition: UpdateMLTransformRequest.h:306
Aws::Glue::Model::UpdateMLTransformRequest::WithMaxRetries
UpdateMLTransformRequest & WithMaxRetries(int value)
Definition: UpdateMLTransformRequest.h:531
Aws::Glue::Model::UpdateMLTransformRequest::WithDescription
UpdateMLTransformRequest & WithDescription(Aws::String &&value)
Definition: UpdateMLTransformRequest.h:154
Aws::Glue::Model::UpdateMLTransformRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateMLTransformRequest.h:139
Aws::Glue::Model::UpdateMLTransformRequest::WithGlueVersion
UpdateMLTransformRequest & WithGlueVersion(Aws::String &&value)
Definition: UpdateMLTransformRequest.h:316
Aws::Glue::Model::UpdateMLTransformRequest::SetMaxCapacity
void SetMaxCapacity(double value)
Definition: UpdateMLTransformRequest.h:363
Aws::Glue::Model::UpdateMLTransformRequest::GetMaxCapacity
double GetMaxCapacity() const
Definition: UpdateMLTransformRequest.h:339
Aws::Glue::Model::UpdateMLTransformRequest::SetTransformId
void SetTransformId(Aws::String &&value)
Definition: UpdateMLTransformRequest.h:57
Aws::Glue::Model::UpdateMLTransformRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: UpdateMLTransformRequest.h:172
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::UpdateMLTransformRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateMLTransformRequest.h:93
Aws::Glue::Model::UpdateMLTransformRequest::GetWorkerType
const WorkerType & GetWorkerType() const
Definition: UpdateMLTransformRequest.h:388
Aws::Glue::Model::UpdateMLTransformRequest::GetName
const Aws::String & GetName() const
Definition: UpdateMLTransformRequest.h:83
Aws::Glue::Model::UpdateMLTransformRequest::SetWorkerType
void SetWorkerType(const WorkerType &value)
Definition: UpdateMLTransformRequest.h:412
Aws::Glue::Model::UpdateMLTransformRequest::WithMaxCapacity
UpdateMLTransformRequest & WithMaxCapacity(double value)
Definition: UpdateMLTransformRequest.h:375
Aws::Glue::Model::UpdateMLTransformRequest::GlueVersionHasBeenSet
bool GlueVersionHasBeenSet() const
Definition: UpdateMLTransformRequest.h:266
Aws::Glue::Model::UpdateMLTransformRequest::SetRole
void SetRole(Aws::String &&value)
Definition: UpdateMLTransformRequest.h:221
Aws::Glue::Model::UpdateMLTransformRequest::UpdateMLTransformRequest
UpdateMLTransformRequest()
Aws::Glue::Model::UpdateMLTransformRequest::SetMaxRetries
void SetMaxRetries(int value)
Definition: UpdateMLTransformRequest.h:525
AWSString.h
Aws::Glue::Model::UpdateMLTransformRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateMLTransformRequest.h:124
Aws::Glue::Model::UpdateMLTransformRequest::SetParameters
void SetParameters(TransformParameters &&value)
Definition: UpdateMLTransformRequest.h:184
Aws::Glue::Model::UpdateMLTransformRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateMLTransformRequest.h:144
Aws::Glue::Model::UpdateMLTransformRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateMLTransformRequest.h:98
Aws::Glue::Model::UpdateMLTransformRequest::WithParameters
UpdateMLTransformRequest & WithParameters(const TransformParameters &value)
Definition: UpdateMLTransformRequest.h:190
Aws::Glue::Model::UpdateMLTransformRequest::WithRole
UpdateMLTransformRequest & WithRole(Aws::String &&value)
Definition: UpdateMLTransformRequest.h:239
Aws::Glue::Model::UpdateMLTransformRequest::TimeoutHasBeenSet
bool TimeoutHasBeenSet() const
Definition: UpdateMLTransformRequest.h:490
Aws::Glue::Model::UpdateMLTransformRequest::SetTransformId
void SetTransformId(const Aws::String &value)
Definition: UpdateMLTransformRequest.h:52
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::UpdateMLTransformRequest::SetParameters
void SetParameters(const TransformParameters &value)
Definition: UpdateMLTransformRequest.h:178
Aws::Glue::Model::UpdateMLTransformRequest::WithTimeout
UpdateMLTransformRequest & WithTimeout(int value)
Definition: UpdateMLTransformRequest.h:506
Aws::Glue::Model::UpdateMLTransformRequest::WithDescription
UpdateMLTransformRequest & WithDescription(const char *value)
Definition: UpdateMLTransformRequest.h:159
Aws::Glue::Model::UpdateMLTransformRequest::SetGlueVersion
void SetGlueVersion(const Aws::String &value)
Definition: UpdateMLTransformRequest.h:276
Aws::Glue::Model::UpdateMLTransformRequest::WithParameters
UpdateMLTransformRequest & WithParameters(TransformParameters &&value)
Definition: UpdateMLTransformRequest.h:196
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::UpdateMLTransformRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::Model::UpdateMLTransformRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateMLTransformRequest.h:134
Aws::Glue::Model::UpdateMLTransformRequest::SetRole
void SetRole(const char *value)
Definition: UpdateMLTransformRequest.h:227
Aws::Glue::Model::UpdateMLTransformRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Glue::Model::UpdateMLTransformRequest::SetWorkerType
void SetWorkerType(WorkerType &&value)
Definition: UpdateMLTransformRequest.h:424
Aws::Glue::Model::UpdateMLTransformRequest::GetParameters
const TransformParameters & GetParameters() const
Definition: UpdateMLTransformRequest.h:166
Aws::Glue::Model::UpdateMLTransformRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateMLTransformRequest.h:129
Aws::Glue::Model::UpdateMLTransformRequest::GetRole
const Aws::String & GetRole() const
Definition: UpdateMLTransformRequest.h:203
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::UpdateMLTransformRequest::WithWorkerType
UpdateMLTransformRequest & WithWorkerType(const WorkerType &value)
Definition: UpdateMLTransformRequest.h:436
Aws::Glue::Model::UpdateMLTransformRequest::MaxRetriesHasBeenSet
bool MaxRetriesHasBeenSet() const
Definition: UpdateMLTransformRequest.h:519
Aws::Glue::Model::UpdateMLTransformRequest::WithWorkerType
UpdateMLTransformRequest & WithWorkerType(WorkerType &&value)
Definition: UpdateMLTransformRequest.h:448
Aws::Glue::Model::UpdateMLTransformRequest::WorkerTypeHasBeenSet
bool WorkerTypeHasBeenSet() const
Definition: UpdateMLTransformRequest.h:400
Aws::Glue::Model::UpdateMLTransformRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateMLTransformRequest.h:32
Aws::Glue::Model::UpdateMLTransformRequest::WithRole
UpdateMLTransformRequest & WithRole(const char *value)
Definition: UpdateMLTransformRequest.h:245
Aws::Glue::Model::UpdateMLTransformRequest::WithTransformId
UpdateMLTransformRequest & WithTransformId(Aws::String &&value)
Definition: UpdateMLTransformRequest.h:72
Aws::Glue::Model::UpdateMLTransformRequest::WithName
UpdateMLTransformRequest & WithName(const char *value)
Definition: UpdateMLTransformRequest.h:118
Aws::Glue::Model::UpdateMLTransformRequest::GetTimeout
int GetTimeout() const
Definition: UpdateMLTransformRequest.h:482
Aws::Glue::Model::UpdateMLTransformRequest::WithGlueVersion
UpdateMLTransformRequest & WithGlueVersion(const char *value)
Definition: UpdateMLTransformRequest.h:326
Aws::Glue::Model::UpdateMLTransformRequest::SetGlueVersion
void SetGlueVersion(Aws::String &&value)
Definition: UpdateMLTransformRequest.h:286
Aws::Glue::Model::UpdateMLTransformRequest::GetMaxRetries
int GetMaxRetries() const
Definition: UpdateMLTransformRequest.h:513
Aws::Glue::Model::UpdateMLTransformRequest::SetNumberOfWorkers
void SetNumberOfWorkers(int value)
Definition: UpdateMLTransformRequest.h:467
GlueRequest.h
Aws::Glue::Model::UpdateMLTransformRequest::SetName
void SetName(const char *value)
Definition: UpdateMLTransformRequest.h:103
WorkerType.h
TransformParameters.h