AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMLTransformRequest.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/glue/model/TransformParameters.h>
11#include <aws/glue/model/WorkerType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace 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_GLUE_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetTransformId() const{ return m_transformId; }
44 inline bool TransformIdHasBeenSet() const { return m_transformIdHasBeenSet; }
45 inline void SetTransformId(const Aws::String& value) { m_transformIdHasBeenSet = true; m_transformId = value; }
46 inline void SetTransformId(Aws::String&& value) { m_transformIdHasBeenSet = true; m_transformId = std::move(value); }
47 inline void SetTransformId(const char* value) { m_transformIdHasBeenSet = true; m_transformId.assign(value); }
48 inline UpdateMLTransformRequest& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;}
49 inline UpdateMLTransformRequest& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;}
50 inline UpdateMLTransformRequest& WithTransformId(const char* value) { SetTransformId(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline UpdateMLTransformRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline UpdateMLTransformRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline UpdateMLTransformRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline UpdateMLTransformRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline UpdateMLTransformRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline UpdateMLTransformRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
86 inline const TransformParameters& GetParameters() const{ return m_parameters; }
87 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
88 inline void SetParameters(const TransformParameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
89 inline void SetParameters(TransformParameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
90 inline UpdateMLTransformRequest& WithParameters(const TransformParameters& value) { SetParameters(value); return *this;}
91 inline UpdateMLTransformRequest& WithParameters(TransformParameters&& value) { SetParameters(std::move(value)); return *this;}
93
95
99 inline const Aws::String& GetRole() const{ return m_role; }
100 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
101 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
102 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
103 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
104 inline UpdateMLTransformRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
105 inline UpdateMLTransformRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
106 inline UpdateMLTransformRequest& WithRole(const char* value) { SetRole(value); return *this;}
108
110
118 inline const Aws::String& GetGlueVersion() const{ return m_glueVersion; }
119 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
120 inline void SetGlueVersion(const Aws::String& value) { m_glueVersionHasBeenSet = true; m_glueVersion = value; }
121 inline void SetGlueVersion(Aws::String&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::move(value); }
122 inline void SetGlueVersion(const char* value) { m_glueVersionHasBeenSet = true; m_glueVersion.assign(value); }
123 inline UpdateMLTransformRequest& WithGlueVersion(const Aws::String& value) { SetGlueVersion(value); return *this;}
124 inline UpdateMLTransformRequest& WithGlueVersion(Aws::String&& value) { SetGlueVersion(std::move(value)); return *this;}
125 inline UpdateMLTransformRequest& WithGlueVersion(const char* value) { SetGlueVersion(value); return *this;}
127
129
139 inline double GetMaxCapacity() const{ return m_maxCapacity; }
140 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
141 inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
142 inline UpdateMLTransformRequest& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
144
146
156 inline const WorkerType& GetWorkerType() const{ return m_workerType; }
157 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
158 inline void SetWorkerType(const WorkerType& value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
159 inline void SetWorkerType(WorkerType&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::move(value); }
160 inline UpdateMLTransformRequest& WithWorkerType(const WorkerType& value) { SetWorkerType(value); return *this;}
161 inline UpdateMLTransformRequest& WithWorkerType(WorkerType&& value) { SetWorkerType(std::move(value)); return *this;}
163
165
169 inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; }
170 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
171 inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
172 inline UpdateMLTransformRequest& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
174
176
182 inline int GetTimeout() const{ return m_timeout; }
183 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
184 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
185 inline UpdateMLTransformRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
187
189
193 inline int GetMaxRetries() const{ return m_maxRetries; }
194 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
195 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
196 inline UpdateMLTransformRequest& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
198 private:
199
200 Aws::String m_transformId;
201 bool m_transformIdHasBeenSet = false;
202
203 Aws::String m_name;
204 bool m_nameHasBeenSet = false;
205
206 Aws::String m_description;
207 bool m_descriptionHasBeenSet = false;
208
209 TransformParameters m_parameters;
210 bool m_parametersHasBeenSet = false;
211
212 Aws::String m_role;
213 bool m_roleHasBeenSet = false;
214
215 Aws::String m_glueVersion;
216 bool m_glueVersionHasBeenSet = false;
217
218 double m_maxCapacity;
219 bool m_maxCapacityHasBeenSet = false;
220
221 WorkerType m_workerType;
222 bool m_workerTypeHasBeenSet = false;
223
224 int m_numberOfWorkers;
225 bool m_numberOfWorkersHasBeenSet = false;
226
227 int m_timeout;
228 bool m_timeoutHasBeenSet = false;
229
230 int m_maxRetries;
231 bool m_maxRetriesHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace Glue
236} // namespace Aws
UpdateMLTransformRequest & WithName(Aws::String &&value)
UpdateMLTransformRequest & WithTransformId(const Aws::String &value)
UpdateMLTransformRequest & WithName(const char *value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateMLTransformRequest & WithName(const Aws::String &value)
UpdateMLTransformRequest & WithRole(const Aws::String &value)
void SetParameters(const TransformParameters &value)
UpdateMLTransformRequest & WithNumberOfWorkers(int value)
UpdateMLTransformRequest & WithMaxRetries(int value)
UpdateMLTransformRequest & WithGlueVersion(const Aws::String &value)
UpdateMLTransformRequest & WithDescription(const char *value)
UpdateMLTransformRequest & WithTransformId(Aws::String &&value)
UpdateMLTransformRequest & WithTransformId(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateMLTransformRequest & WithTimeout(int value)
UpdateMLTransformRequest & WithRole(const char *value)
UpdateMLTransformRequest & WithWorkerType(const WorkerType &value)
UpdateMLTransformRequest & WithDescription(Aws::String &&value)
UpdateMLTransformRequest & WithWorkerType(WorkerType &&value)
UpdateMLTransformRequest & WithGlueVersion(const char *value)
UpdateMLTransformRequest & WithRole(Aws::String &&value)
UpdateMLTransformRequest & WithParameters(TransformParameters &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
UpdateMLTransformRequest & WithDescription(const Aws::String &value)
UpdateMLTransformRequest & WithParameters(const TransformParameters &value)
const TransformParameters & GetParameters() const
void SetParameters(TransformParameters &&value)
UpdateMLTransformRequest & WithGlueVersion(Aws::String &&value)
UpdateMLTransformRequest & WithMaxCapacity(double value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String