AWS SDK for C++  1.9.158
AWS SDK for C++
CreateHyperParameterTuningJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace SageMaker
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "CreateHyperParameterTuningJob"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
49  inline const Aws::String& GetHyperParameterTuningJobName() const{ return m_hyperParameterTuningJobName; }
50 
58  inline bool HyperParameterTuningJobNameHasBeenSet() const { return m_hyperParameterTuningJobNameHasBeenSet; }
59 
67  inline void SetHyperParameterTuningJobName(const Aws::String& value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName = value; }
68 
76  inline void SetHyperParameterTuningJobName(Aws::String&& value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName = std::move(value); }
77 
85  inline void SetHyperParameterTuningJobName(const char* value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName.assign(value); }
86 
94  inline CreateHyperParameterTuningJobRequest& WithHyperParameterTuningJobName(const Aws::String& value) { SetHyperParameterTuningJobName(value); return *this;}
95 
103  inline CreateHyperParameterTuningJobRequest& WithHyperParameterTuningJobName(Aws::String&& value) { SetHyperParameterTuningJobName(std::move(value)); return *this;}
104 
112  inline CreateHyperParameterTuningJobRequest& WithHyperParameterTuningJobName(const char* value) { SetHyperParameterTuningJobName(value); return *this;}
113 
114 
123  inline const HyperParameterTuningJobConfig& GetHyperParameterTuningJobConfig() const{ return m_hyperParameterTuningJobConfig; }
124 
133  inline bool HyperParameterTuningJobConfigHasBeenSet() const { return m_hyperParameterTuningJobConfigHasBeenSet; }
134 
143  inline void SetHyperParameterTuningJobConfig(const HyperParameterTuningJobConfig& value) { m_hyperParameterTuningJobConfigHasBeenSet = true; m_hyperParameterTuningJobConfig = value; }
144 
153  inline void SetHyperParameterTuningJobConfig(HyperParameterTuningJobConfig&& value) { m_hyperParameterTuningJobConfigHasBeenSet = true; m_hyperParameterTuningJobConfig = std::move(value); }
154 
163  inline CreateHyperParameterTuningJobRequest& WithHyperParameterTuningJobConfig(const HyperParameterTuningJobConfig& value) { SetHyperParameterTuningJobConfig(value); return *this;}
164 
173  inline CreateHyperParameterTuningJobRequest& WithHyperParameterTuningJobConfig(HyperParameterTuningJobConfig&& value) { SetHyperParameterTuningJobConfig(std::move(value)); return *this;}
174 
175 
182  inline const HyperParameterTrainingJobDefinition& GetTrainingJobDefinition() const{ return m_trainingJobDefinition; }
183 
190  inline bool TrainingJobDefinitionHasBeenSet() const { return m_trainingJobDefinitionHasBeenSet; }
191 
198  inline void SetTrainingJobDefinition(const HyperParameterTrainingJobDefinition& value) { m_trainingJobDefinitionHasBeenSet = true; m_trainingJobDefinition = value; }
199 
206  inline void SetTrainingJobDefinition(HyperParameterTrainingJobDefinition&& value) { m_trainingJobDefinitionHasBeenSet = true; m_trainingJobDefinition = std::move(value); }
207 
214  inline CreateHyperParameterTuningJobRequest& WithTrainingJobDefinition(const HyperParameterTrainingJobDefinition& value) { SetTrainingJobDefinition(value); return *this;}
215 
222  inline CreateHyperParameterTuningJobRequest& WithTrainingJobDefinition(HyperParameterTrainingJobDefinition&& value) { SetTrainingJobDefinition(std::move(value)); return *this;}
223 
224 
229  inline const Aws::Vector<HyperParameterTrainingJobDefinition>& GetTrainingJobDefinitions() const{ return m_trainingJobDefinitions; }
230 
235  inline bool TrainingJobDefinitionsHasBeenSet() const { return m_trainingJobDefinitionsHasBeenSet; }
236 
241  inline void SetTrainingJobDefinitions(const Aws::Vector<HyperParameterTrainingJobDefinition>& value) { m_trainingJobDefinitionsHasBeenSet = true; m_trainingJobDefinitions = value; }
242 
247  inline void SetTrainingJobDefinitions(Aws::Vector<HyperParameterTrainingJobDefinition>&& value) { m_trainingJobDefinitionsHasBeenSet = true; m_trainingJobDefinitions = std::move(value); }
248 
253  inline CreateHyperParameterTuningJobRequest& WithTrainingJobDefinitions(const Aws::Vector<HyperParameterTrainingJobDefinition>& value) { SetTrainingJobDefinitions(value); return *this;}
254 
259  inline CreateHyperParameterTuningJobRequest& WithTrainingJobDefinitions(Aws::Vector<HyperParameterTrainingJobDefinition>&& value) { SetTrainingJobDefinitions(std::move(value)); return *this;}
260 
265  inline CreateHyperParameterTuningJobRequest& AddTrainingJobDefinitions(const HyperParameterTrainingJobDefinition& value) { m_trainingJobDefinitionsHasBeenSet = true; m_trainingJobDefinitions.push_back(value); return *this; }
266 
271  inline CreateHyperParameterTuningJobRequest& AddTrainingJobDefinitions(HyperParameterTrainingJobDefinition&& value) { m_trainingJobDefinitionsHasBeenSet = true; m_trainingJobDefinitions.push_back(std::move(value)); return *this; }
272 
273 
289  inline const HyperParameterTuningJobWarmStartConfig& GetWarmStartConfig() const{ return m_warmStartConfig; }
290 
306  inline bool WarmStartConfigHasBeenSet() const { return m_warmStartConfigHasBeenSet; }
307 
323  inline void SetWarmStartConfig(const HyperParameterTuningJobWarmStartConfig& value) { m_warmStartConfigHasBeenSet = true; m_warmStartConfig = value; }
324 
340  inline void SetWarmStartConfig(HyperParameterTuningJobWarmStartConfig&& value) { m_warmStartConfigHasBeenSet = true; m_warmStartConfig = std::move(value); }
341 
357  inline CreateHyperParameterTuningJobRequest& WithWarmStartConfig(const HyperParameterTuningJobWarmStartConfig& value) { SetWarmStartConfig(value); return *this;}
358 
374  inline CreateHyperParameterTuningJobRequest& WithWarmStartConfig(HyperParameterTuningJobWarmStartConfig&& value) { SetWarmStartConfig(std::move(value)); return *this;}
375 
376 
385  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
386 
395  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
396 
405  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
406 
415  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
416 
425  inline CreateHyperParameterTuningJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
426 
435  inline CreateHyperParameterTuningJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
436 
445  inline CreateHyperParameterTuningJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
446 
455  inline CreateHyperParameterTuningJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
456 
457  private:
458 
459  Aws::String m_hyperParameterTuningJobName;
460  bool m_hyperParameterTuningJobNameHasBeenSet;
461 
462  HyperParameterTuningJobConfig m_hyperParameterTuningJobConfig;
463  bool m_hyperParameterTuningJobConfigHasBeenSet;
464 
465  HyperParameterTrainingJobDefinition m_trainingJobDefinition;
466  bool m_trainingJobDefinitionHasBeenSet;
467 
468  Aws::Vector<HyperParameterTrainingJobDefinition> m_trainingJobDefinitions;
469  bool m_trainingJobDefinitionsHasBeenSet;
470 
471  HyperParameterTuningJobWarmStartConfig m_warmStartConfig;
472  bool m_warmStartConfigHasBeenSet;
473 
474  Aws::Vector<Tag> m_tags;
475  bool m_tagsHasBeenSet;
476  };
477 
478 } // namespace Model
479 } // namespace SageMaker
480 } // namespace Aws
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WarmStartConfigHasBeenSet
bool WarmStartConfigHasBeenSet() const
Definition: CreateHyperParameterTuningJobRequest.h:306
Aws::SageMaker::Model::HyperParameterTrainingJobDefinition
Definition: HyperParameterTrainingJobDefinition.h:45
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::GetTrainingJobDefinition
const HyperParameterTrainingJobDefinition & GetTrainingJobDefinition() const
Definition: CreateHyperParameterTuningJobRequest.h:182
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::AddTrainingJobDefinitions
CreateHyperParameterTuningJobRequest & AddTrainingJobDefinitions(HyperParameterTrainingJobDefinition &&value)
Definition: CreateHyperParameterTuningJobRequest.h:271
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetTrainingJobDefinition
void SetTrainingJobDefinition(HyperParameterTrainingJobDefinition &&value)
Definition: CreateHyperParameterTuningJobRequest.h:206
HyperParameterTuningJobConfig.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetHyperParameterTuningJobName
void SetHyperParameterTuningJobName(Aws::String &&value)
Definition: CreateHyperParameterTuningJobRequest.h:76
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithHyperParameterTuningJobConfig
CreateHyperParameterTuningJobRequest & WithHyperParameterTuningJobConfig(HyperParameterTuningJobConfig &&value)
Definition: CreateHyperParameterTuningJobRequest.h:173
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithHyperParameterTuningJobName
CreateHyperParameterTuningJobRequest & WithHyperParameterTuningJobName(Aws::String &&value)
Definition: CreateHyperParameterTuningJobRequest.h:103
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateHyperParameterTuningJobRequest.h:405
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::TrainingJobDefinitionHasBeenSet
bool TrainingJobDefinitionHasBeenSet() const
Definition: CreateHyperParameterTuningJobRequest.h:190
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::CreateHyperParameterTuningJobRequest
CreateHyperParameterTuningJobRequest()
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::AddTags
CreateHyperParameterTuningJobRequest & AddTags(const Tag &value)
Definition: CreateHyperParameterTuningJobRequest.h:445
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithTags
CreateHyperParameterTuningJobRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateHyperParameterTuningJobRequest.h:425
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetHyperParameterTuningJobName
void SetHyperParameterTuningJobName(const char *value)
Definition: CreateHyperParameterTuningJobRequest.h:85
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetHyperParameterTuningJobName
void SetHyperParameterTuningJobName(const Aws::String &value)
Definition: CreateHyperParameterTuningJobRequest.h:67
AWSVector.h
HyperParameterTrainingJobDefinition.h
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetTrainingJobDefinitions
void SetTrainingJobDefinitions(const Aws::Vector< HyperParameterTrainingJobDefinition > &value)
Definition: CreateHyperParameterTuningJobRequest.h:241
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetWarmStartConfig
void SetWarmStartConfig(const HyperParameterTuningJobWarmStartConfig &value)
Definition: CreateHyperParameterTuningJobRequest.h:323
HyperParameterTuningJobWarmStartConfig.h
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateHyperParameterTuningJobRequest.h:35
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateHyperParameterTuningJobRequest.h:385
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::AddTrainingJobDefinitions
CreateHyperParameterTuningJobRequest & AddTrainingJobDefinitions(const HyperParameterTrainingJobDefinition &value)
Definition: CreateHyperParameterTuningJobRequest.h:265
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithTrainingJobDefinition
CreateHyperParameterTuningJobRequest & WithTrainingJobDefinition(const HyperParameterTrainingJobDefinition &value)
Definition: CreateHyperParameterTuningJobRequest.h:214
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateHyperParameterTuningJobRequest.h:395
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::HyperParameterTuningJobConfigHasBeenSet
bool HyperParameterTuningJobConfigHasBeenSet() const
Definition: CreateHyperParameterTuningJobRequest.h:133
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithHyperParameterTuningJobName
CreateHyperParameterTuningJobRequest & WithHyperParameterTuningJobName(const Aws::String &value)
Definition: CreateHyperParameterTuningJobRequest.h:94
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetTrainingJobDefinition
void SetTrainingJobDefinition(const HyperParameterTrainingJobDefinition &value)
Definition: CreateHyperParameterTuningJobRequest.h:198
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetWarmStartConfig
void SetWarmStartConfig(HyperParameterTuningJobWarmStartConfig &&value)
Definition: CreateHyperParameterTuningJobRequest.h:340
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::GetTrainingJobDefinitions
const Aws::Vector< HyperParameterTrainingJobDefinition > & GetTrainingJobDefinitions() const
Definition: CreateHyperParameterTuningJobRequest.h:229
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::GetHyperParameterTuningJobName
const Aws::String & GetHyperParameterTuningJobName() const
Definition: CreateHyperParameterTuningJobRequest.h:49
Aws::SageMaker::Model::HyperParameterTuningJobConfig
Definition: HyperParameterTuningJobConfig.h:37
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::HyperParameterTuningJobNameHasBeenSet
bool HyperParameterTuningJobNameHasBeenSet() const
Definition: CreateHyperParameterTuningJobRequest.h:58
AWSString.h
Tag.h
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithHyperParameterTuningJobConfig
CreateHyperParameterTuningJobRequest & WithHyperParameterTuningJobConfig(const HyperParameterTuningJobConfig &value)
Definition: CreateHyperParameterTuningJobRequest.h:163
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithTrainingJobDefinitions
CreateHyperParameterTuningJobRequest & WithTrainingJobDefinitions(Aws::Vector< HyperParameterTrainingJobDefinition > &&value)
Definition: CreateHyperParameterTuningJobRequest.h:259
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest
Definition: CreateHyperParameterTuningJobRequest.h:27
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateHyperParameterTuningJobRequest.h:415
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::AddTags
CreateHyperParameterTuningJobRequest & AddTags(Tag &&value)
Definition: CreateHyperParameterTuningJobRequest.h:455
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetHyperParameterTuningJobConfig
void SetHyperParameterTuningJobConfig(HyperParameterTuningJobConfig &&value)
Definition: CreateHyperParameterTuningJobRequest.h:153
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::GetWarmStartConfig
const HyperParameterTuningJobWarmStartConfig & GetWarmStartConfig() const
Definition: CreateHyperParameterTuningJobRequest.h:289
SageMakerRequest.h
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithWarmStartConfig
CreateHyperParameterTuningJobRequest & WithWarmStartConfig(HyperParameterTuningJobWarmStartConfig &&value)
Definition: CreateHyperParameterTuningJobRequest.h:374
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithTrainingJobDefinition
CreateHyperParameterTuningJobRequest & WithTrainingJobDefinition(HyperParameterTrainingJobDefinition &&value)
Definition: CreateHyperParameterTuningJobRequest.h:222
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetTrainingJobDefinitions
void SetTrainingJobDefinitions(Aws::Vector< HyperParameterTrainingJobDefinition > &&value)
Definition: CreateHyperParameterTuningJobRequest.h:247
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithHyperParameterTuningJobName
CreateHyperParameterTuningJobRequest & WithHyperParameterTuningJobName(const char *value)
Definition: CreateHyperParameterTuningJobRequest.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::TrainingJobDefinitionsHasBeenSet
bool TrainingJobDefinitionsHasBeenSet() const
Definition: CreateHyperParameterTuningJobRequest.h:235
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithTags
CreateHyperParameterTuningJobRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateHyperParameterTuningJobRequest.h:435
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithWarmStartConfig
CreateHyperParameterTuningJobRequest & WithWarmStartConfig(const HyperParameterTuningJobWarmStartConfig &value)
Definition: CreateHyperParameterTuningJobRequest.h:357
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::WithTrainingJobDefinitions
CreateHyperParameterTuningJobRequest & WithTrainingJobDefinitions(const Aws::Vector< HyperParameterTrainingJobDefinition > &value)
Definition: CreateHyperParameterTuningJobRequest.h:253
Aws::SageMaker::Model::HyperParameterTuningJobWarmStartConfig
Definition: HyperParameterTuningJobWarmStartConfig.h:44
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::GetHyperParameterTuningJobConfig
const HyperParameterTuningJobConfig & GetHyperParameterTuningJobConfig() const
Definition: CreateHyperParameterTuningJobRequest.h:123
Aws::SageMaker::Model::CreateHyperParameterTuningJobRequest::SetHyperParameterTuningJobConfig
void SetHyperParameterTuningJobConfig(const HyperParameterTuningJobConfig &value)
Definition: CreateHyperParameterTuningJobRequest.h:143