AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAutoMLJobRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/AutoMLOutputDataConfig.h>
12#include <aws/sagemaker/model/ProblemType.h>
13#include <aws/sagemaker/model/AutoMLJobObjective.h>
14#include <aws/sagemaker/model/AutoMLJobConfig.h>
15#include <aws/sagemaker/model/ModelDeployConfig.h>
16#include <aws/sagemaker/model/AutoMLChannel.h>
17#include <aws/sagemaker/model/Tag.h>
18#include <utility>
19
20namespace Aws
21{
22namespace SageMaker
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_SAGEMAKER_API CreateAutoMLJobRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateAutoMLJob"; }
39
40 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
41
43
44
46
50 inline const Aws::String& GetAutoMLJobName() const{ return m_autoMLJobName; }
51 inline bool AutoMLJobNameHasBeenSet() const { return m_autoMLJobNameHasBeenSet; }
52 inline void SetAutoMLJobName(const Aws::String& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = value; }
53 inline void SetAutoMLJobName(Aws::String&& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = std::move(value); }
54 inline void SetAutoMLJobName(const char* value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName.assign(value); }
55 inline CreateAutoMLJobRequest& WithAutoMLJobName(const Aws::String& value) { SetAutoMLJobName(value); return *this;}
56 inline CreateAutoMLJobRequest& WithAutoMLJobName(Aws::String&& value) { SetAutoMLJobName(std::move(value)); return *this;}
57 inline CreateAutoMLJobRequest& WithAutoMLJobName(const char* value) { SetAutoMLJobName(value); return *this;}
59
61
70 inline const Aws::Vector<AutoMLChannel>& GetInputDataConfig() const{ return m_inputDataConfig; }
71 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
72 inline void SetInputDataConfig(const Aws::Vector<AutoMLChannel>& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
73 inline void SetInputDataConfig(Aws::Vector<AutoMLChannel>&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
76 inline CreateAutoMLJobRequest& AddInputDataConfig(const AutoMLChannel& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig.push_back(value); return *this; }
77 inline CreateAutoMLJobRequest& AddInputDataConfig(AutoMLChannel&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig.push_back(std::move(value)); return *this; }
79
81
85 inline const AutoMLOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
86 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
87 inline void SetOutputDataConfig(const AutoMLOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
88 inline void SetOutputDataConfig(AutoMLOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
92
94
100 inline const ProblemType& GetProblemType() const{ return m_problemType; }
101 inline bool ProblemTypeHasBeenSet() const { return m_problemTypeHasBeenSet; }
102 inline void SetProblemType(const ProblemType& value) { m_problemTypeHasBeenSet = true; m_problemType = value; }
103 inline void SetProblemType(ProblemType&& value) { m_problemTypeHasBeenSet = true; m_problemType = std::move(value); }
104 inline CreateAutoMLJobRequest& WithProblemType(const ProblemType& value) { SetProblemType(value); return *this;}
105 inline CreateAutoMLJobRequest& WithProblemType(ProblemType&& value) { SetProblemType(std::move(value)); return *this;}
107
109
115 inline const AutoMLJobObjective& GetAutoMLJobObjective() const{ return m_autoMLJobObjective; }
116 inline bool AutoMLJobObjectiveHasBeenSet() const { return m_autoMLJobObjectiveHasBeenSet; }
117 inline void SetAutoMLJobObjective(const AutoMLJobObjective& value) { m_autoMLJobObjectiveHasBeenSet = true; m_autoMLJobObjective = value; }
118 inline void SetAutoMLJobObjective(AutoMLJobObjective&& value) { m_autoMLJobObjectiveHasBeenSet = true; m_autoMLJobObjective = std::move(value); }
122
124
127 inline const AutoMLJobConfig& GetAutoMLJobConfig() const{ return m_autoMLJobConfig; }
128 inline bool AutoMLJobConfigHasBeenSet() const { return m_autoMLJobConfigHasBeenSet; }
129 inline void SetAutoMLJobConfig(const AutoMLJobConfig& value) { m_autoMLJobConfigHasBeenSet = true; m_autoMLJobConfig = value; }
130 inline void SetAutoMLJobConfig(AutoMLJobConfig&& value) { m_autoMLJobConfigHasBeenSet = true; m_autoMLJobConfig = std::move(value); }
132 inline CreateAutoMLJobRequest& WithAutoMLJobConfig(AutoMLJobConfig&& value) { SetAutoMLJobConfig(std::move(value)); return *this;}
134
136
139 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
140 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
141 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
142 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
143 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
144 inline CreateAutoMLJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
145 inline CreateAutoMLJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
146 inline CreateAutoMLJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
148
150
155 inline bool GetGenerateCandidateDefinitionsOnly() const{ return m_generateCandidateDefinitionsOnly; }
156 inline bool GenerateCandidateDefinitionsOnlyHasBeenSet() const { return m_generateCandidateDefinitionsOnlyHasBeenSet; }
157 inline void SetGenerateCandidateDefinitionsOnly(bool value) { m_generateCandidateDefinitionsOnlyHasBeenSet = true; m_generateCandidateDefinitionsOnly = value; }
160
162
169 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
170 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
171 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
172 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
173 inline CreateAutoMLJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
174 inline CreateAutoMLJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
175 inline CreateAutoMLJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
176 inline CreateAutoMLJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
178
180
184 inline const ModelDeployConfig& GetModelDeployConfig() const{ return m_modelDeployConfig; }
185 inline bool ModelDeployConfigHasBeenSet() const { return m_modelDeployConfigHasBeenSet; }
186 inline void SetModelDeployConfig(const ModelDeployConfig& value) { m_modelDeployConfigHasBeenSet = true; m_modelDeployConfig = value; }
187 inline void SetModelDeployConfig(ModelDeployConfig&& value) { m_modelDeployConfigHasBeenSet = true; m_modelDeployConfig = std::move(value); }
189 inline CreateAutoMLJobRequest& WithModelDeployConfig(ModelDeployConfig&& value) { SetModelDeployConfig(std::move(value)); return *this;}
191 private:
192
193 Aws::String m_autoMLJobName;
194 bool m_autoMLJobNameHasBeenSet = false;
195
196 Aws::Vector<AutoMLChannel> m_inputDataConfig;
197 bool m_inputDataConfigHasBeenSet = false;
198
199 AutoMLOutputDataConfig m_outputDataConfig;
200 bool m_outputDataConfigHasBeenSet = false;
201
202 ProblemType m_problemType;
203 bool m_problemTypeHasBeenSet = false;
204
205 AutoMLJobObjective m_autoMLJobObjective;
206 bool m_autoMLJobObjectiveHasBeenSet = false;
207
208 AutoMLJobConfig m_autoMLJobConfig;
209 bool m_autoMLJobConfigHasBeenSet = false;
210
211 Aws::String m_roleArn;
212 bool m_roleArnHasBeenSet = false;
213
214 bool m_generateCandidateDefinitionsOnly;
215 bool m_generateCandidateDefinitionsOnlyHasBeenSet = false;
216
217 Aws::Vector<Tag> m_tags;
218 bool m_tagsHasBeenSet = false;
219
220 ModelDeployConfig m_modelDeployConfig;
221 bool m_modelDeployConfigHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace SageMaker
226} // namespace Aws
CreateAutoMLJobRequest & WithOutputDataConfig(AutoMLOutputDataConfig &&value)
void SetOutputDataConfig(AutoMLOutputDataConfig &&value)
CreateAutoMLJobRequest & WithAutoMLJobName(const Aws::String &value)
CreateAutoMLJobRequest & AddInputDataConfig(const AutoMLChannel &value)
void SetOutputDataConfig(const AutoMLOutputDataConfig &value)
CreateAutoMLJobRequest & WithTags(Aws::Vector< Tag > &&value)
CreateAutoMLJobRequest & WithProblemType(ProblemType &&value)
CreateAutoMLJobRequest & WithRoleArn(Aws::String &&value)
void SetAutoMLJobObjective(AutoMLJobObjective &&value)
CreateAutoMLJobRequest & WithRoleArn(const Aws::String &value)
CreateAutoMLJobRequest & WithAutoMLJobConfig(const AutoMLJobConfig &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetModelDeployConfig(const ModelDeployConfig &value)
void SetInputDataConfig(Aws::Vector< AutoMLChannel > &&value)
CreateAutoMLJobRequest & WithAutoMLJobName(Aws::String &&value)
CreateAutoMLJobRequest & WithGenerateCandidateDefinitionsOnly(bool value)
CreateAutoMLJobRequest & WithOutputDataConfig(const AutoMLOutputDataConfig &value)
CreateAutoMLJobRequest & WithAutoMLJobObjective(const AutoMLJobObjective &value)
CreateAutoMLJobRequest & WithAutoMLJobConfig(AutoMLJobConfig &&value)
CreateAutoMLJobRequest & WithModelDeployConfig(ModelDeployConfig &&value)
CreateAutoMLJobRequest & WithInputDataConfig(const Aws::Vector< AutoMLChannel > &value)
void SetInputDataConfig(const Aws::Vector< AutoMLChannel > &value)
CreateAutoMLJobRequest & WithAutoMLJobObjective(AutoMLJobObjective &&value)
virtual const char * GetServiceRequestName() const override
const AutoMLOutputDataConfig & GetOutputDataConfig() const
CreateAutoMLJobRequest & WithInputDataConfig(Aws::Vector< AutoMLChannel > &&value)
const Aws::Vector< AutoMLChannel > & GetInputDataConfig() const
CreateAutoMLJobRequest & AddTags(Tag &&value)
void SetAutoMLJobConfig(const AutoMLJobConfig &value)
CreateAutoMLJobRequest & WithProblemType(const ProblemType &value)
CreateAutoMLJobRequest & WithModelDeployConfig(const ModelDeployConfig &value)
CreateAutoMLJobRequest & AddInputDataConfig(AutoMLChannel &&value)
CreateAutoMLJobRequest & WithAutoMLJobName(const char *value)
void SetAutoMLJobObjective(const AutoMLJobObjective &value)
const ModelDeployConfig & GetModelDeployConfig() const
CreateAutoMLJobRequest & WithRoleArn(const char *value)
const AutoMLJobObjective & GetAutoMLJobObjective() const
CreateAutoMLJobRequest & AddTags(const Tag &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateAutoMLJobRequest & WithTags(const Aws::Vector< Tag > &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