AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTransformJobRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/ModelClientConfig.h>
11#include <aws/sagemaker/model/BatchStrategy.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/sagemaker/model/TransformInput.h>
14#include <aws/sagemaker/model/TransformOutput.h>
15#include <aws/sagemaker/model/BatchDataCaptureConfig.h>
16#include <aws/sagemaker/model/TransformResources.h>
17#include <aws/sagemaker/model/DataProcessing.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/sagemaker/model/ExperimentConfig.h>
20#include <aws/sagemaker/model/Tag.h>
21#include <utility>
22
23namespace Aws
24{
25namespace SageMaker
26{
27namespace Model
28{
29
33 {
34 public:
35 AWS_SAGEMAKER_API CreateTransformJobRequest();
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "CreateTransformJob"; }
42
43 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
44
46
47
49
53 inline const Aws::String& GetTransformJobName() const{ return m_transformJobName; }
54 inline bool TransformJobNameHasBeenSet() const { return m_transformJobNameHasBeenSet; }
55 inline void SetTransformJobName(const Aws::String& value) { m_transformJobNameHasBeenSet = true; m_transformJobName = value; }
56 inline void SetTransformJobName(Aws::String&& value) { m_transformJobNameHasBeenSet = true; m_transformJobName = std::move(value); }
57 inline void SetTransformJobName(const char* value) { m_transformJobNameHasBeenSet = true; m_transformJobName.assign(value); }
59 inline CreateTransformJobRequest& WithTransformJobName(Aws::String&& value) { SetTransformJobName(std::move(value)); return *this;}
60 inline CreateTransformJobRequest& WithTransformJobName(const char* value) { SetTransformJobName(value); return *this;}
62
64
69 inline const Aws::String& GetModelName() const{ return m_modelName; }
70 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
71 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
72 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
73 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
74 inline CreateTransformJobRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
75 inline CreateTransformJobRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
76 inline CreateTransformJobRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
78
80
91 inline int GetMaxConcurrentTransforms() const{ return m_maxConcurrentTransforms; }
92 inline bool MaxConcurrentTransformsHasBeenSet() const { return m_maxConcurrentTransformsHasBeenSet; }
93 inline void SetMaxConcurrentTransforms(int value) { m_maxConcurrentTransformsHasBeenSet = true; m_maxConcurrentTransforms = value; }
96
98
102 inline const ModelClientConfig& GetModelClientConfig() const{ return m_modelClientConfig; }
103 inline bool ModelClientConfigHasBeenSet() const { return m_modelClientConfigHasBeenSet; }
104 inline void SetModelClientConfig(const ModelClientConfig& value) { m_modelClientConfigHasBeenSet = true; m_modelClientConfig = value; }
105 inline void SetModelClientConfig(ModelClientConfig&& value) { m_modelClientConfigHasBeenSet = true; m_modelClientConfig = std::move(value); }
109
111
126 inline int GetMaxPayloadInMB() const{ return m_maxPayloadInMB; }
127 inline bool MaxPayloadInMBHasBeenSet() const { return m_maxPayloadInMBHasBeenSet; }
128 inline void SetMaxPayloadInMB(int value) { m_maxPayloadInMBHasBeenSet = true; m_maxPayloadInMB = value; }
129 inline CreateTransformJobRequest& WithMaxPayloadInMB(int value) { SetMaxPayloadInMB(value); return *this;}
131
133
146 inline const BatchStrategy& GetBatchStrategy() const{ return m_batchStrategy; }
147 inline bool BatchStrategyHasBeenSet() const { return m_batchStrategyHasBeenSet; }
148 inline void SetBatchStrategy(const BatchStrategy& value) { m_batchStrategyHasBeenSet = true; m_batchStrategy = value; }
149 inline void SetBatchStrategy(BatchStrategy&& value) { m_batchStrategyHasBeenSet = true; m_batchStrategy = std::move(value); }
150 inline CreateTransformJobRequest& WithBatchStrategy(const BatchStrategy& value) { SetBatchStrategy(value); return *this;}
151 inline CreateTransformJobRequest& WithBatchStrategy(BatchStrategy&& value) { SetBatchStrategy(std::move(value)); return *this;}
153
155
160 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
161 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
162 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
163 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
166 inline CreateTransformJobRequest& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
167 inline CreateTransformJobRequest& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
168 inline CreateTransformJobRequest& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
169 inline CreateTransformJobRequest& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
170 inline CreateTransformJobRequest& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
171 inline CreateTransformJobRequest& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
172 inline CreateTransformJobRequest& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
174
176
179 inline const TransformInput& GetTransformInput() const{ return m_transformInput; }
180 inline bool TransformInputHasBeenSet() const { return m_transformInputHasBeenSet; }
181 inline void SetTransformInput(const TransformInput& value) { m_transformInputHasBeenSet = true; m_transformInput = value; }
182 inline void SetTransformInput(TransformInput&& value) { m_transformInputHasBeenSet = true; m_transformInput = std::move(value); }
184 inline CreateTransformJobRequest& WithTransformInput(TransformInput&& value) { SetTransformInput(std::move(value)); return *this;}
186
188
191 inline const TransformOutput& GetTransformOutput() const{ return m_transformOutput; }
192 inline bool TransformOutputHasBeenSet() const { return m_transformOutputHasBeenSet; }
193 inline void SetTransformOutput(const TransformOutput& value) { m_transformOutputHasBeenSet = true; m_transformOutput = value; }
194 inline void SetTransformOutput(TransformOutput&& value) { m_transformOutputHasBeenSet = true; m_transformOutput = std::move(value); }
196 inline CreateTransformJobRequest& WithTransformOutput(TransformOutput&& value) { SetTransformOutput(std::move(value)); return *this;}
198
200
203 inline const BatchDataCaptureConfig& GetDataCaptureConfig() const{ return m_dataCaptureConfig; }
204 inline bool DataCaptureConfigHasBeenSet() const { return m_dataCaptureConfigHasBeenSet; }
205 inline void SetDataCaptureConfig(const BatchDataCaptureConfig& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = value; }
206 inline void SetDataCaptureConfig(BatchDataCaptureConfig&& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = std::move(value); }
210
212
216 inline const TransformResources& GetTransformResources() const{ return m_transformResources; }
217 inline bool TransformResourcesHasBeenSet() const { return m_transformResourcesHasBeenSet; }
218 inline void SetTransformResources(const TransformResources& value) { m_transformResourcesHasBeenSet = true; m_transformResources = value; }
219 inline void SetTransformResources(TransformResources&& value) { m_transformResourcesHasBeenSet = true; m_transformResources = std::move(value); }
223
225
235 inline const DataProcessing& GetDataProcessing() const{ return m_dataProcessing; }
236 inline bool DataProcessingHasBeenSet() const { return m_dataProcessingHasBeenSet; }
237 inline void SetDataProcessing(const DataProcessing& value) { m_dataProcessingHasBeenSet = true; m_dataProcessing = value; }
238 inline void SetDataProcessing(DataProcessing&& value) { m_dataProcessingHasBeenSet = true; m_dataProcessing = std::move(value); }
240 inline CreateTransformJobRequest& WithDataProcessing(DataProcessing&& value) { SetDataProcessing(std::move(value)); return *this;}
242
244
250 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
251 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
252 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
253 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
254 inline CreateTransformJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
255 inline CreateTransformJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
256 inline CreateTransformJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
257 inline CreateTransformJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
259
261
262 inline const ExperimentConfig& GetExperimentConfig() const{ return m_experimentConfig; }
263 inline bool ExperimentConfigHasBeenSet() const { return m_experimentConfigHasBeenSet; }
264 inline void SetExperimentConfig(const ExperimentConfig& value) { m_experimentConfigHasBeenSet = true; m_experimentConfig = value; }
265 inline void SetExperimentConfig(ExperimentConfig&& value) { m_experimentConfigHasBeenSet = true; m_experimentConfig = std::move(value); }
267 inline CreateTransformJobRequest& WithExperimentConfig(ExperimentConfig&& value) { SetExperimentConfig(std::move(value)); return *this;}
269 private:
270
271 Aws::String m_transformJobName;
272 bool m_transformJobNameHasBeenSet = false;
273
274 Aws::String m_modelName;
275 bool m_modelNameHasBeenSet = false;
276
277 int m_maxConcurrentTransforms;
278 bool m_maxConcurrentTransformsHasBeenSet = false;
279
280 ModelClientConfig m_modelClientConfig;
281 bool m_modelClientConfigHasBeenSet = false;
282
283 int m_maxPayloadInMB;
284 bool m_maxPayloadInMBHasBeenSet = false;
285
286 BatchStrategy m_batchStrategy;
287 bool m_batchStrategyHasBeenSet = false;
288
290 bool m_environmentHasBeenSet = false;
291
292 TransformInput m_transformInput;
293 bool m_transformInputHasBeenSet = false;
294
295 TransformOutput m_transformOutput;
296 bool m_transformOutputHasBeenSet = false;
297
298 BatchDataCaptureConfig m_dataCaptureConfig;
299 bool m_dataCaptureConfigHasBeenSet = false;
300
301 TransformResources m_transformResources;
302 bool m_transformResourcesHasBeenSet = false;
303
304 DataProcessing m_dataProcessing;
305 bool m_dataProcessingHasBeenSet = false;
306
307 Aws::Vector<Tag> m_tags;
308 bool m_tagsHasBeenSet = false;
309
310 ExperimentConfig m_experimentConfig;
311 bool m_experimentConfigHasBeenSet = false;
312 };
313
314} // namespace Model
315} // namespace SageMaker
316} // namespace Aws
CreateTransformJobRequest & WithModelClientConfig(ModelClientConfig &&value)
CreateTransformJobRequest & WithTransformInput(const TransformInput &value)
CreateTransformJobRequest & WithDataCaptureConfig(BatchDataCaptureConfig &&value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
CreateTransformJobRequest & AddTags(Tag &&value)
CreateTransformJobRequest & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
CreateTransformJobRequest & WithTransformResources(TransformResources &&value)
CreateTransformJobRequest & AddEnvironment(const Aws::String &key, Aws::String &&value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
CreateTransformJobRequest & WithDataProcessing(const DataProcessing &value)
CreateTransformJobRequest & WithMaxPayloadInMB(int value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTransformJobRequest & WithExperimentConfig(ExperimentConfig &&value)
CreateTransformJobRequest & WithExperimentConfig(const ExperimentConfig &value)
CreateTransformJobRequest & WithTransformOutput(TransformOutput &&value)
virtual const char * GetServiceRequestName() const override
CreateTransformJobRequest & WithBatchStrategy(const BatchStrategy &value)
CreateTransformJobRequest & WithTransformJobName(Aws::String &&value)
const BatchDataCaptureConfig & GetDataCaptureConfig() const
CreateTransformJobRequest & WithDataCaptureConfig(const BatchDataCaptureConfig &value)
void SetDataCaptureConfig(const BatchDataCaptureConfig &value)
CreateTransformJobRequest & WithTransformInput(TransformInput &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
CreateTransformJobRequest & AddEnvironment(Aws::String &&key, const char *value)
CreateTransformJobRequest & WithTransformJobName(const char *value)
CreateTransformJobRequest & AddTags(const Tag &value)
CreateTransformJobRequest & WithTags(const Aws::Vector< Tag > &value)
CreateTransformJobRequest & AddEnvironment(const char *key, const char *value)
CreateTransformJobRequest & WithTags(Aws::Vector< Tag > &&value)
void SetTransformResources(const TransformResources &value)
CreateTransformJobRequest & AddEnvironment(Aws::String &&key, const Aws::String &value)
void SetDataCaptureConfig(BatchDataCaptureConfig &&value)
CreateTransformJobRequest & AddEnvironment(Aws::String &&key, Aws::String &&value)
CreateTransformJobRequest & WithModelName(Aws::String &&value)
CreateTransformJobRequest & WithTransformJobName(const Aws::String &value)
CreateTransformJobRequest & WithBatchStrategy(BatchStrategy &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetModelClientConfig(const ModelClientConfig &value)
CreateTransformJobRequest & AddEnvironment(const char *key, Aws::String &&value)
CreateTransformJobRequest & WithModelName(const char *value)
CreateTransformJobRequest & WithModelClientConfig(const ModelClientConfig &value)
CreateTransformJobRequest & WithTransformOutput(const TransformOutput &value)
CreateTransformJobRequest & WithDataProcessing(DataProcessing &&value)
CreateTransformJobRequest & WithTransformResources(const TransformResources &value)
CreateTransformJobRequest & AddEnvironment(const Aws::String &key, const Aws::String &value)
CreateTransformJobRequest & WithMaxConcurrentTransforms(int value)
CreateTransformJobRequest & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
CreateTransformJobRequest & WithModelName(const Aws::String &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