AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateInferenceRecommendationsJobRequest.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/RecommendationJobType.h>
11#include <aws/sagemaker/model/RecommendationJobInputConfig.h>
12#include <aws/sagemaker/model/RecommendationJobStoppingConditions.h>
13#include <aws/sagemaker/model/RecommendationJobOutputConfig.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace SageMaker
21{
22namespace 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 "CreateInferenceRecommendationsJob"; }
37
38 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
39
41
42
44
51 inline const Aws::String& GetJobName() const{ return m_jobName; }
52 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
53 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
54 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
55 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
56 inline CreateInferenceRecommendationsJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
57 inline CreateInferenceRecommendationsJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
58 inline CreateInferenceRecommendationsJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
60
62
68 inline const RecommendationJobType& GetJobType() const{ return m_jobType; }
69 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
70 inline void SetJobType(const RecommendationJobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
71 inline void SetJobType(RecommendationJobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
73 inline CreateInferenceRecommendationsJobRequest& WithJobType(RecommendationJobType&& value) { SetJobType(std::move(value)); return *this;}
75
77
81 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
82 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
83 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
84 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
85 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
86 inline CreateInferenceRecommendationsJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
87 inline CreateInferenceRecommendationsJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
88 inline CreateInferenceRecommendationsJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
90
92
96 inline const RecommendationJobInputConfig& GetInputConfig() const{ return m_inputConfig; }
97 inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; }
98 inline void SetInputConfig(const RecommendationJobInputConfig& value) { m_inputConfigHasBeenSet = true; m_inputConfig = value; }
99 inline void SetInputConfig(RecommendationJobInputConfig&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::move(value); }
103
105
108 inline const Aws::String& GetJobDescription() const{ return m_jobDescription; }
109 inline bool JobDescriptionHasBeenSet() const { return m_jobDescriptionHasBeenSet; }
110 inline void SetJobDescription(const Aws::String& value) { m_jobDescriptionHasBeenSet = true; m_jobDescription = value; }
111 inline void SetJobDescription(Aws::String&& value) { m_jobDescriptionHasBeenSet = true; m_jobDescription = std::move(value); }
112 inline void SetJobDescription(const char* value) { m_jobDescriptionHasBeenSet = true; m_jobDescription.assign(value); }
115 inline CreateInferenceRecommendationsJobRequest& WithJobDescription(const char* value) { SetJobDescription(value); return *this;}
117
119
123 inline const RecommendationJobStoppingConditions& GetStoppingConditions() const{ return m_stoppingConditions; }
124 inline bool StoppingConditionsHasBeenSet() const { return m_stoppingConditionsHasBeenSet; }
125 inline void SetStoppingConditions(const RecommendationJobStoppingConditions& value) { m_stoppingConditionsHasBeenSet = true; m_stoppingConditions = value; }
126 inline void SetStoppingConditions(RecommendationJobStoppingConditions&& value) { m_stoppingConditionsHasBeenSet = true; m_stoppingConditions = std::move(value); }
130
132
136 inline const RecommendationJobOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
137 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
138 inline void SetOutputConfig(const RecommendationJobOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
139 inline void SetOutputConfig(RecommendationJobOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
143
145
153 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
154 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
155 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
156 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
157 inline CreateInferenceRecommendationsJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
158 inline CreateInferenceRecommendationsJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
159 inline CreateInferenceRecommendationsJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
160 inline CreateInferenceRecommendationsJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
162 private:
163
164 Aws::String m_jobName;
165 bool m_jobNameHasBeenSet = false;
166
167 RecommendationJobType m_jobType;
168 bool m_jobTypeHasBeenSet = false;
169
170 Aws::String m_roleArn;
171 bool m_roleArnHasBeenSet = false;
172
173 RecommendationJobInputConfig m_inputConfig;
174 bool m_inputConfigHasBeenSet = false;
175
176 Aws::String m_jobDescription;
177 bool m_jobDescriptionHasBeenSet = false;
178
179 RecommendationJobStoppingConditions m_stoppingConditions;
180 bool m_stoppingConditionsHasBeenSet = false;
181
182 RecommendationJobOutputConfig m_outputConfig;
183 bool m_outputConfigHasBeenSet = false;
184
185 Aws::Vector<Tag> m_tags;
186 bool m_tagsHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace SageMaker
191} // namespace Aws
CreateInferenceRecommendationsJobRequest & WithTags(Aws::Vector< Tag > &&value)
CreateInferenceRecommendationsJobRequest & WithJobDescription(const char *value)
CreateInferenceRecommendationsJobRequest & WithJobName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateInferenceRecommendationsJobRequest & WithInputConfig(const RecommendationJobInputConfig &value)
CreateInferenceRecommendationsJobRequest & WithJobName(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateInferenceRecommendationsJobRequest & WithJobDescription(Aws::String &&value)
CreateInferenceRecommendationsJobRequest & WithOutputConfig(const RecommendationJobOutputConfig &value)
CreateInferenceRecommendationsJobRequest & WithStoppingConditions(const RecommendationJobStoppingConditions &value)
CreateInferenceRecommendationsJobRequest & WithJobDescription(const Aws::String &value)
CreateInferenceRecommendationsJobRequest & WithJobType(const RecommendationJobType &value)
CreateInferenceRecommendationsJobRequest & WithOutputConfig(RecommendationJobOutputConfig &&value)
CreateInferenceRecommendationsJobRequest & WithJobType(RecommendationJobType &&value)
CreateInferenceRecommendationsJobRequest & WithJobName(const Aws::String &value)
CreateInferenceRecommendationsJobRequest & AddTags(const Tag &value)
CreateInferenceRecommendationsJobRequest & WithRoleArn(const char *value)
CreateInferenceRecommendationsJobRequest & WithRoleArn(const Aws::String &value)
CreateInferenceRecommendationsJobRequest & WithRoleArn(Aws::String &&value)
CreateInferenceRecommendationsJobRequest & WithTags(const Aws::Vector< Tag > &value)
CreateInferenceRecommendationsJobRequest & WithStoppingConditions(RecommendationJobStoppingConditions &&value)
CreateInferenceRecommendationsJobRequest & WithInputConfig(RecommendationJobInputConfig &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector