AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProcessingJobRequest.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/AWSVector.h>
10#include <aws/sagemaker/model/ProcessingOutputConfig.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/sagemaker/model/ProcessingResources.h>
13#include <aws/sagemaker/model/ProcessingStoppingCondition.h>
14#include <aws/sagemaker/model/AppSpecification.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/sagemaker/model/NetworkConfig.h>
17#include <aws/sagemaker/model/ExperimentConfig.h>
18#include <aws/sagemaker/model/ProcessingInput.h>
19#include <aws/sagemaker/model/Tag.h>
20#include <utility>
21
22namespace Aws
23{
24namespace SageMaker
25{
26namespace Model
27{
28
32 {
33 public:
34 AWS_SAGEMAKER_API CreateProcessingJobRequest();
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "CreateProcessingJob"; }
41
42 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
43
45
46
48
52 inline const Aws::Vector<ProcessingInput>& GetProcessingInputs() const{ return m_processingInputs; }
53 inline bool ProcessingInputsHasBeenSet() const { return m_processingInputsHasBeenSet; }
54 inline void SetProcessingInputs(const Aws::Vector<ProcessingInput>& value) { m_processingInputsHasBeenSet = true; m_processingInputs = value; }
55 inline void SetProcessingInputs(Aws::Vector<ProcessingInput>&& value) { m_processingInputsHasBeenSet = true; m_processingInputs = std::move(value); }
58 inline CreateProcessingJobRequest& AddProcessingInputs(const ProcessingInput& value) { m_processingInputsHasBeenSet = true; m_processingInputs.push_back(value); return *this; }
59 inline CreateProcessingJobRequest& AddProcessingInputs(ProcessingInput&& value) { m_processingInputsHasBeenSet = true; m_processingInputs.push_back(std::move(value)); return *this; }
61
63
66 inline const ProcessingOutputConfig& GetProcessingOutputConfig() const{ return m_processingOutputConfig; }
67 inline bool ProcessingOutputConfigHasBeenSet() const { return m_processingOutputConfigHasBeenSet; }
68 inline void SetProcessingOutputConfig(const ProcessingOutputConfig& value) { m_processingOutputConfigHasBeenSet = true; m_processingOutputConfig = value; }
69 inline void SetProcessingOutputConfig(ProcessingOutputConfig&& value) { m_processingOutputConfigHasBeenSet = true; m_processingOutputConfig = std::move(value); }
73
75
79 inline const Aws::String& GetProcessingJobName() const{ return m_processingJobName; }
80 inline bool ProcessingJobNameHasBeenSet() const { return m_processingJobNameHasBeenSet; }
81 inline void SetProcessingJobName(const Aws::String& value) { m_processingJobNameHasBeenSet = true; m_processingJobName = value; }
82 inline void SetProcessingJobName(Aws::String&& value) { m_processingJobNameHasBeenSet = true; m_processingJobName = std::move(value); }
83 inline void SetProcessingJobName(const char* value) { m_processingJobNameHasBeenSet = true; m_processingJobName.assign(value); }
85 inline CreateProcessingJobRequest& WithProcessingJobName(Aws::String&& value) { SetProcessingJobName(std::move(value)); return *this;}
86 inline CreateProcessingJobRequest& WithProcessingJobName(const char* value) { SetProcessingJobName(value); return *this;}
88
90
95 inline const ProcessingResources& GetProcessingResources() const{ return m_processingResources; }
96 inline bool ProcessingResourcesHasBeenSet() const { return m_processingResourcesHasBeenSet; }
97 inline void SetProcessingResources(const ProcessingResources& value) { m_processingResourcesHasBeenSet = true; m_processingResources = value; }
98 inline void SetProcessingResources(ProcessingResources&& value) { m_processingResourcesHasBeenSet = true; m_processingResources = std::move(value); }
102
104
107 inline const ProcessingStoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; }
108 inline bool StoppingConditionHasBeenSet() const { return m_stoppingConditionHasBeenSet; }
109 inline void SetStoppingCondition(const ProcessingStoppingCondition& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = value; }
110 inline void SetStoppingCondition(ProcessingStoppingCondition&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::move(value); }
114
116
119 inline const AppSpecification& GetAppSpecification() const{ return m_appSpecification; }
120 inline bool AppSpecificationHasBeenSet() const { return m_appSpecificationHasBeenSet; }
121 inline void SetAppSpecification(const AppSpecification& value) { m_appSpecificationHasBeenSet = true; m_appSpecification = value; }
122 inline void SetAppSpecification(AppSpecification&& value) { m_appSpecificationHasBeenSet = true; m_appSpecification = std::move(value); }
124 inline CreateProcessingJobRequest& WithAppSpecification(AppSpecification&& value) { SetAppSpecification(std::move(value)); return *this;}
126
128
132 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
133 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
134 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
135 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
138 inline CreateProcessingJobRequest& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
139 inline CreateProcessingJobRequest& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
140 inline CreateProcessingJobRequest& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
141 inline CreateProcessingJobRequest& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
142 inline CreateProcessingJobRequest& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
143 inline CreateProcessingJobRequest& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
144 inline CreateProcessingJobRequest& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
146
148
153 inline const NetworkConfig& GetNetworkConfig() const{ return m_networkConfig; }
154 inline bool NetworkConfigHasBeenSet() const { return m_networkConfigHasBeenSet; }
155 inline void SetNetworkConfig(const NetworkConfig& value) { m_networkConfigHasBeenSet = true; m_networkConfig = value; }
156 inline void SetNetworkConfig(NetworkConfig&& value) { m_networkConfigHasBeenSet = true; m_networkConfig = std::move(value); }
157 inline CreateProcessingJobRequest& WithNetworkConfig(const NetworkConfig& value) { SetNetworkConfig(value); return *this;}
158 inline CreateProcessingJobRequest& WithNetworkConfig(NetworkConfig&& value) { SetNetworkConfig(std::move(value)); return *this;}
160
162
166 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
167 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
168 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
169 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
170 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
171 inline CreateProcessingJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
172 inline CreateProcessingJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
173 inline CreateProcessingJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
175
177
183 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
184 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
185 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
186 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
187 inline CreateProcessingJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
188 inline CreateProcessingJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
189 inline CreateProcessingJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
190 inline CreateProcessingJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
192
194
195 inline const ExperimentConfig& GetExperimentConfig() const{ return m_experimentConfig; }
196 inline bool ExperimentConfigHasBeenSet() const { return m_experimentConfigHasBeenSet; }
197 inline void SetExperimentConfig(const ExperimentConfig& value) { m_experimentConfigHasBeenSet = true; m_experimentConfig = value; }
198 inline void SetExperimentConfig(ExperimentConfig&& value) { m_experimentConfigHasBeenSet = true; m_experimentConfig = std::move(value); }
200 inline CreateProcessingJobRequest& WithExperimentConfig(ExperimentConfig&& value) { SetExperimentConfig(std::move(value)); return *this;}
202 private:
203
204 Aws::Vector<ProcessingInput> m_processingInputs;
205 bool m_processingInputsHasBeenSet = false;
206
207 ProcessingOutputConfig m_processingOutputConfig;
208 bool m_processingOutputConfigHasBeenSet = false;
209
210 Aws::String m_processingJobName;
211 bool m_processingJobNameHasBeenSet = false;
212
213 ProcessingResources m_processingResources;
214 bool m_processingResourcesHasBeenSet = false;
215
216 ProcessingStoppingCondition m_stoppingCondition;
217 bool m_stoppingConditionHasBeenSet = false;
218
219 AppSpecification m_appSpecification;
220 bool m_appSpecificationHasBeenSet = false;
221
223 bool m_environmentHasBeenSet = false;
224
225 NetworkConfig m_networkConfig;
226 bool m_networkConfigHasBeenSet = false;
227
228 Aws::String m_roleArn;
229 bool m_roleArnHasBeenSet = false;
230
231 Aws::Vector<Tag> m_tags;
232 bool m_tagsHasBeenSet = false;
233
234 ExperimentConfig m_experimentConfig;
235 bool m_experimentConfigHasBeenSet = false;
236 };
237
238} // namespace Model
239} // namespace SageMaker
240} // namespace Aws
CreateProcessingJobRequest & WithProcessingInputs(Aws::Vector< ProcessingInput > &&value)
CreateProcessingJobRequest & WithProcessingOutputConfig(ProcessingOutputConfig &&value)
CreateProcessingJobRequest & WithNetworkConfig(const NetworkConfig &value)
CreateProcessingJobRequest & WithProcessingJobName(Aws::String &&value)
CreateProcessingJobRequest & AddProcessingInputs(ProcessingInput &&value)
void SetStoppingCondition(const ProcessingStoppingCondition &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateProcessingJobRequest & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
CreateProcessingJobRequest & WithNetworkConfig(NetworkConfig &&value)
CreateProcessingJobRequest & WithProcessingOutputConfig(const ProcessingOutputConfig &value)
CreateProcessingJobRequest & WithTags(Aws::Vector< Tag > &&value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
CreateProcessingJobRequest & AddEnvironment(const Aws::String &key, const Aws::String &value)
CreateProcessingJobRequest & WithStoppingCondition(const ProcessingStoppingCondition &value)
virtual const char * GetServiceRequestName() const override
void SetStoppingCondition(ProcessingStoppingCondition &&value)
CreateProcessingJobRequest & WithExperimentConfig(ExperimentConfig &&value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
CreateProcessingJobRequest & AddTags(Tag &&value)
CreateProcessingJobRequest & WithExperimentConfig(const ExperimentConfig &value)
CreateProcessingJobRequest & AddEnvironment(const char *key, Aws::String &&value)
CreateProcessingJobRequest & WithStoppingCondition(ProcessingStoppingCondition &&value)
CreateProcessingJobRequest & WithAppSpecification(const AppSpecification &value)
CreateProcessingJobRequest & AddEnvironment(Aws::String &&key, const Aws::String &value)
void SetProcessingResources(const ProcessingResources &value)
CreateProcessingJobRequest & WithProcessingResources(ProcessingResources &&value)
CreateProcessingJobRequest & WithAppSpecification(AppSpecification &&value)
void SetProcessingInputs(const Aws::Vector< ProcessingInput > &value)
CreateProcessingJobRequest & WithProcessingResources(const ProcessingResources &value)
CreateProcessingJobRequest & AddProcessingInputs(const ProcessingInput &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateProcessingJobRequest & AddEnvironment(Aws::String &&key, Aws::String &&value)
CreateProcessingJobRequest & WithRoleArn(const char *value)
CreateProcessingJobRequest & WithRoleArn(Aws::String &&value)
CreateProcessingJobRequest & WithRoleArn(const Aws::String &value)
CreateProcessingJobRequest & AddEnvironment(const char *key, const char *value)
CreateProcessingJobRequest & WithTags(const Aws::Vector< Tag > &value)
void SetProcessingInputs(Aws::Vector< ProcessingInput > &&value)
const Aws::Vector< ProcessingInput > & GetProcessingInputs() const
const ProcessingStoppingCondition & GetStoppingCondition() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
CreateProcessingJobRequest & AddEnvironment(const Aws::String &key, Aws::String &&value)
CreateProcessingJobRequest & WithProcessingInputs(const Aws::Vector< ProcessingInput > &value)
CreateProcessingJobRequest & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
void SetProcessingOutputConfig(const ProcessingOutputConfig &value)
void SetProcessingOutputConfig(ProcessingOutputConfig &&value)
CreateProcessingJobRequest & AddEnvironment(Aws::String &&key, const char *value)
CreateProcessingJobRequest & AddTags(const Tag &value)
const ProcessingOutputConfig & GetProcessingOutputConfig() const
CreateProcessingJobRequest & WithProcessingJobName(const char *value)
CreateProcessingJobRequest & WithProcessingJobName(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