AWS SDK for C++  1.9.154
AWS SDK for C++
CreateCompilationJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace SageMaker
21 {
22 namespace 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 "CreateCompilationJob"; }
37 
38  Aws::String SerializePayload() const override;
39 
41 
42 
47  inline const Aws::String& GetCompilationJobName() const{ return m_compilationJobName; }
48 
53  inline bool CompilationJobNameHasBeenSet() const { return m_compilationJobNameHasBeenSet; }
54 
59  inline void SetCompilationJobName(const Aws::String& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = value; }
60 
65  inline void SetCompilationJobName(Aws::String&& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = std::move(value); }
66 
71  inline void SetCompilationJobName(const char* value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName.assign(value); }
72 
77  inline CreateCompilationJobRequest& WithCompilationJobName(const Aws::String& value) { SetCompilationJobName(value); return *this;}
78 
83  inline CreateCompilationJobRequest& WithCompilationJobName(Aws::String&& value) { SetCompilationJobName(std::move(value)); return *this;}
84 
89  inline CreateCompilationJobRequest& WithCompilationJobName(const char* value) { SetCompilationJobName(value); return *this;}
90 
91 
105  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
106 
120  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
121 
135  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
136 
150  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
151 
165  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
166 
180  inline CreateCompilationJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
181 
195  inline CreateCompilationJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
196 
210  inline CreateCompilationJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
211 
212 
218  inline const InputConfig& GetInputConfig() const{ return m_inputConfig; }
219 
225  inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; }
226 
232  inline void SetInputConfig(const InputConfig& value) { m_inputConfigHasBeenSet = true; m_inputConfig = value; }
233 
239  inline void SetInputConfig(InputConfig&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::move(value); }
240 
246  inline CreateCompilationJobRequest& WithInputConfig(const InputConfig& value) { SetInputConfig(value); return *this;}
247 
253  inline CreateCompilationJobRequest& WithInputConfig(InputConfig&& value) { SetInputConfig(std::move(value)); return *this;}
254 
255 
260  inline const OutputConfig& GetOutputConfig() const{ return m_outputConfig; }
261 
266  inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
267 
272  inline void SetOutputConfig(const OutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
273 
278  inline void SetOutputConfig(OutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
279 
284  inline CreateCompilationJobRequest& WithOutputConfig(const OutputConfig& value) { SetOutputConfig(value); return *this;}
285 
290  inline CreateCompilationJobRequest& WithOutputConfig(OutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
291 
292 
300  inline const NeoVpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
301 
309  inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
310 
318  inline void SetVpcConfig(const NeoVpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
319 
327  inline void SetVpcConfig(NeoVpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
328 
336  inline CreateCompilationJobRequest& WithVpcConfig(const NeoVpcConfig& value) { SetVpcConfig(value); return *this;}
337 
345  inline CreateCompilationJobRequest& WithVpcConfig(NeoVpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
346 
347 
353  inline const StoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; }
354 
360  inline bool StoppingConditionHasBeenSet() const { return m_stoppingConditionHasBeenSet; }
361 
367  inline void SetStoppingCondition(const StoppingCondition& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = value; }
368 
374  inline void SetStoppingCondition(StoppingCondition&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::move(value); }
375 
381  inline CreateCompilationJobRequest& WithStoppingCondition(const StoppingCondition& value) { SetStoppingCondition(value); return *this;}
382 
388  inline CreateCompilationJobRequest& WithStoppingCondition(StoppingCondition&& value) { SetStoppingCondition(std::move(value)); return *this;}
389 
390 
398  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
399 
407  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
408 
416  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
417 
425  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
426 
434  inline CreateCompilationJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
435 
443  inline CreateCompilationJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
444 
452  inline CreateCompilationJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
453 
461  inline CreateCompilationJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
462 
463  private:
464 
465  Aws::String m_compilationJobName;
466  bool m_compilationJobNameHasBeenSet;
467 
468  Aws::String m_roleArn;
469  bool m_roleArnHasBeenSet;
470 
471  InputConfig m_inputConfig;
472  bool m_inputConfigHasBeenSet;
473 
474  OutputConfig m_outputConfig;
475  bool m_outputConfigHasBeenSet;
476 
477  NeoVpcConfig m_vpcConfig;
478  bool m_vpcConfigHasBeenSet;
479 
480  StoppingCondition m_stoppingCondition;
481  bool m_stoppingConditionHasBeenSet;
482 
483  Aws::Vector<Tag> m_tags;
484  bool m_tagsHasBeenSet;
485  };
486 
487 } // namespace Model
488 } // namespace SageMaker
489 } // namespace Aws
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateCompilationJobRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreateCompilationJobRequest.h:165
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CreateCompilationJobRequest::AddTags
CreateCompilationJobRequest & AddTags(const Tag &value)
Definition: CreateCompilationJobRequest.h:452
Aws::SageMaker::Model::CreateCompilationJobRequest::WithTags
CreateCompilationJobRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateCompilationJobRequest.h:443
Aws::SageMaker::Model::CreateCompilationJobRequest::WithInputConfig
CreateCompilationJobRequest & WithInputConfig(InputConfig &&value)
Definition: CreateCompilationJobRequest.h:253
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateCompilationJobRequest::SetInputConfig
void SetInputConfig(InputConfig &&value)
Definition: CreateCompilationJobRequest.h:239
Aws::SageMaker::Model::CreateCompilationJobRequest::WithRoleArn
CreateCompilationJobRequest & WithRoleArn(Aws::String &&value)
Definition: CreateCompilationJobRequest.h:195
NeoVpcConfig.h
Aws::SageMaker::Model::CreateCompilationJobRequest::SetOutputConfig
void SetOutputConfig(OutputConfig &&value)
Definition: CreateCompilationJobRequest.h:278
Aws::SageMaker::Model::InputConfig
Definition: InputConfig.h:35
Aws::SageMaker::Model::CreateCompilationJobRequest
Definition: CreateCompilationJobRequest.h:28
StoppingCondition.h
Aws::SageMaker::Model::CreateCompilationJobRequest::OutputConfigHasBeenSet
bool OutputConfigHasBeenSet() const
Definition: CreateCompilationJobRequest.h:266
Aws::SageMaker::Model::CreateCompilationJobRequest::WithCompilationJobName
CreateCompilationJobRequest & WithCompilationJobName(Aws::String &&value)
Definition: CreateCompilationJobRequest.h:83
Aws::SageMaker::Model::CreateCompilationJobRequest::VpcConfigHasBeenSet
bool VpcConfigHasBeenSet() const
Definition: CreateCompilationJobRequest.h:309
Aws::SageMaker::Model::CreateCompilationJobRequest::WithRoleArn
CreateCompilationJobRequest & WithRoleArn(const char *value)
Definition: CreateCompilationJobRequest.h:210
Aws::SageMaker::Model::CreateCompilationJobRequest::WithOutputConfig
CreateCompilationJobRequest & WithOutputConfig(OutputConfig &&value)
Definition: CreateCompilationJobRequest.h:290
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::OutputConfig
Definition: OutputConfig.h:41
Aws::SageMaker::Model::CreateCompilationJobRequest::WithStoppingCondition
CreateCompilationJobRequest & WithStoppingCondition(StoppingCondition &&value)
Definition: CreateCompilationJobRequest.h:388
Aws::SageMaker::Model::CreateCompilationJobRequest::CompilationJobNameHasBeenSet
bool CompilationJobNameHasBeenSet() const
Definition: CreateCompilationJobRequest.h:53
AWSVector.h
Aws::SageMaker::Model::CreateCompilationJobRequest::GetCompilationJobName
const Aws::String & GetCompilationJobName() const
Definition: CreateCompilationJobRequest.h:47
Aws::SageMaker::Model::CreateCompilationJobRequest::GetVpcConfig
const NeoVpcConfig & GetVpcConfig() const
Definition: CreateCompilationJobRequest.h:300
Aws::SageMaker::Model::CreateCompilationJobRequest::WithVpcConfig
CreateCompilationJobRequest & WithVpcConfig(NeoVpcConfig &&value)
Definition: CreateCompilationJobRequest.h:345
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::CreateCompilationJobRequest::SetOutputConfig
void SetOutputConfig(const OutputConfig &value)
Definition: CreateCompilationJobRequest.h:272
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateCompilationJobRequest::StoppingConditionHasBeenSet
bool StoppingConditionHasBeenSet() const
Definition: CreateCompilationJobRequest.h:360
Aws::SageMaker::Model::CreateCompilationJobRequest::WithVpcConfig
CreateCompilationJobRequest & WithVpcConfig(const NeoVpcConfig &value)
Definition: CreateCompilationJobRequest.h:336
Aws::SageMaker::Model::CreateCompilationJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateCompilationJobRequest::SetStoppingCondition
void SetStoppingCondition(const StoppingCondition &value)
Definition: CreateCompilationJobRequest.h:367
Aws::SageMaker::Model::CreateCompilationJobRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateCompilationJobRequest.h:425
Aws::SageMaker::Model::CreateCompilationJobRequest::WithInputConfig
CreateCompilationJobRequest & WithInputConfig(const InputConfig &value)
Definition: CreateCompilationJobRequest.h:246
Aws::SageMaker::Model::CreateCompilationJobRequest::WithCompilationJobName
CreateCompilationJobRequest & WithCompilationJobName(const char *value)
Definition: CreateCompilationJobRequest.h:89
Aws::SageMaker::Model::CreateCompilationJobRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateCompilationJobRequest.h:407
Aws::SageMaker::Model::CreateCompilationJobRequest::WithCompilationJobName
CreateCompilationJobRequest & WithCompilationJobName(const Aws::String &value)
Definition: CreateCompilationJobRequest.h:77
Aws::SageMaker::Model::CreateCompilationJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateCompilationJobRequest.h:36
Aws::SageMaker::Model::CreateCompilationJobRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreateCompilationJobRequest.h:105
AWSString.h
Tag.h
Aws::SageMaker::Model::CreateCompilationJobRequest::GetStoppingCondition
const StoppingCondition & GetStoppingCondition() const
Definition: CreateCompilationJobRequest.h:353
Aws::SageMaker::Model::CreateCompilationJobRequest::GetOutputConfig
const OutputConfig & GetOutputConfig() const
Definition: CreateCompilationJobRequest.h:260
Aws::SageMaker::Model::CreateCompilationJobRequest::SetVpcConfig
void SetVpcConfig(const NeoVpcConfig &value)
Definition: CreateCompilationJobRequest.h:318
Aws::SageMaker::Model::CreateCompilationJobRequest::GetInputConfig
const InputConfig & GetInputConfig() const
Definition: CreateCompilationJobRequest.h:218
InputConfig.h
Aws::SageMaker::Model::CreateCompilationJobRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreateCompilationJobRequest.h:150
Aws::SageMaker::Model::NeoVpcConfig
Definition: NeoVpcConfig.h:38
Aws::SageMaker::Model::CreateCompilationJobRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateCompilationJobRequest.h:398
Aws::SageMaker::Model::CreateCompilationJobRequest::AddTags
CreateCompilationJobRequest & AddTags(Tag &&value)
Definition: CreateCompilationJobRequest.h:461
Aws::SageMaker::Model::CreateCompilationJobRequest::CreateCompilationJobRequest
CreateCompilationJobRequest()
OutputConfig.h
Aws::SageMaker::Model::CreateCompilationJobRequest::InputConfigHasBeenSet
bool InputConfigHasBeenSet() const
Definition: CreateCompilationJobRequest.h:225
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::CreateCompilationJobRequest::SetInputConfig
void SetInputConfig(const InputConfig &value)
Definition: CreateCompilationJobRequest.h:232
Aws::SageMaker::Model::CreateCompilationJobRequest::WithRoleArn
CreateCompilationJobRequest & WithRoleArn(const Aws::String &value)
Definition: CreateCompilationJobRequest.h:180
Aws::SageMaker::Model::CreateCompilationJobRequest::WithStoppingCondition
CreateCompilationJobRequest & WithStoppingCondition(const StoppingCondition &value)
Definition: CreateCompilationJobRequest.h:381
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateCompilationJobRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreateCompilationJobRequest.h:135
Aws::SageMaker::Model::CreateCompilationJobRequest::SetCompilationJobName
void SetCompilationJobName(const char *value)
Definition: CreateCompilationJobRequest.h:71
Aws::SageMaker::Model::CreateCompilationJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::CreateCompilationJobRequest::SetCompilationJobName
void SetCompilationJobName(Aws::String &&value)
Definition: CreateCompilationJobRequest.h:65
Aws::SageMaker::Model::CreateCompilationJobRequest::SetVpcConfig
void SetVpcConfig(NeoVpcConfig &&value)
Definition: CreateCompilationJobRequest.h:327
Aws::SageMaker::Model::StoppingCondition
Definition: StoppingCondition.h:46
Aws::SageMaker::Model::CreateCompilationJobRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreateCompilationJobRequest.h:120
Aws::SageMaker::Model::CreateCompilationJobRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateCompilationJobRequest.h:416
Aws::SageMaker::Model::CreateCompilationJobRequest::WithOutputConfig
CreateCompilationJobRequest & WithOutputConfig(const OutputConfig &value)
Definition: CreateCompilationJobRequest.h:284
Aws::SageMaker::Model::CreateCompilationJobRequest::SetCompilationJobName
void SetCompilationJobName(const Aws::String &value)
Definition: CreateCompilationJobRequest.h:59
Aws::SageMaker::Model::CreateCompilationJobRequest::WithTags
CreateCompilationJobRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateCompilationJobRequest.h:434
Aws::SageMaker::Model::CreateCompilationJobRequest::SetStoppingCondition
void SetStoppingCondition(StoppingCondition &&value)
Definition: CreateCompilationJobRequest.h:374