AWS SDK for C++  1.9.158
AWS SDK for C++
HyperParameterAlgorithmSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
37  {
38  public:
43 
44 
56  inline const Aws::String& GetTrainingImage() const{ return m_trainingImage; }
57 
69  inline bool TrainingImageHasBeenSet() const { return m_trainingImageHasBeenSet; }
70 
82  inline void SetTrainingImage(const Aws::String& value) { m_trainingImageHasBeenSet = true; m_trainingImage = value; }
83 
95  inline void SetTrainingImage(Aws::String&& value) { m_trainingImageHasBeenSet = true; m_trainingImage = std::move(value); }
96 
108  inline void SetTrainingImage(const char* value) { m_trainingImageHasBeenSet = true; m_trainingImage.assign(value); }
109 
121  inline HyperParameterAlgorithmSpecification& WithTrainingImage(const Aws::String& value) { SetTrainingImage(value); return *this;}
122 
134  inline HyperParameterAlgorithmSpecification& WithTrainingImage(Aws::String&& value) { SetTrainingImage(std::move(value)); return *this;}
135 
147  inline HyperParameterAlgorithmSpecification& WithTrainingImage(const char* value) { SetTrainingImage(value); return *this;}
148 
149 
150 
151  inline const TrainingInputMode& GetTrainingInputMode() const{ return m_trainingInputMode; }
152 
153 
154  inline bool TrainingInputModeHasBeenSet() const { return m_trainingInputModeHasBeenSet; }
155 
156 
157  inline void SetTrainingInputMode(const TrainingInputMode& value) { m_trainingInputModeHasBeenSet = true; m_trainingInputMode = value; }
158 
159 
160  inline void SetTrainingInputMode(TrainingInputMode&& value) { m_trainingInputModeHasBeenSet = true; m_trainingInputMode = std::move(value); }
161 
162 
163  inline HyperParameterAlgorithmSpecification& WithTrainingInputMode(const TrainingInputMode& value) { SetTrainingInputMode(value); return *this;}
164 
165 
166  inline HyperParameterAlgorithmSpecification& WithTrainingInputMode(TrainingInputMode&& value) { SetTrainingInputMode(std::move(value)); return *this;}
167 
168 
174  inline const Aws::String& GetAlgorithmName() const{ return m_algorithmName; }
175 
181  inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; }
182 
188  inline void SetAlgorithmName(const Aws::String& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = value; }
189 
195  inline void SetAlgorithmName(Aws::String&& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = std::move(value); }
196 
202  inline void SetAlgorithmName(const char* value) { m_algorithmNameHasBeenSet = true; m_algorithmName.assign(value); }
203 
209  inline HyperParameterAlgorithmSpecification& WithAlgorithmName(const Aws::String& value) { SetAlgorithmName(value); return *this;}
210 
216  inline HyperParameterAlgorithmSpecification& WithAlgorithmName(Aws::String&& value) { SetAlgorithmName(std::move(value)); return *this;}
217 
223  inline HyperParameterAlgorithmSpecification& WithAlgorithmName(const char* value) { SetAlgorithmName(value); return *this;}
224 
225 
230  inline const Aws::Vector<MetricDefinition>& GetMetricDefinitions() const{ return m_metricDefinitions; }
231 
236  inline bool MetricDefinitionsHasBeenSet() const { return m_metricDefinitionsHasBeenSet; }
237 
242  inline void SetMetricDefinitions(const Aws::Vector<MetricDefinition>& value) { m_metricDefinitionsHasBeenSet = true; m_metricDefinitions = value; }
243 
248  inline void SetMetricDefinitions(Aws::Vector<MetricDefinition>&& value) { m_metricDefinitionsHasBeenSet = true; m_metricDefinitions = std::move(value); }
249 
254  inline HyperParameterAlgorithmSpecification& WithMetricDefinitions(const Aws::Vector<MetricDefinition>& value) { SetMetricDefinitions(value); return *this;}
255 
260  inline HyperParameterAlgorithmSpecification& WithMetricDefinitions(Aws::Vector<MetricDefinition>&& value) { SetMetricDefinitions(std::move(value)); return *this;}
261 
266  inline HyperParameterAlgorithmSpecification& AddMetricDefinitions(const MetricDefinition& value) { m_metricDefinitionsHasBeenSet = true; m_metricDefinitions.push_back(value); return *this; }
267 
272  inline HyperParameterAlgorithmSpecification& AddMetricDefinitions(MetricDefinition&& value) { m_metricDefinitionsHasBeenSet = true; m_metricDefinitions.push_back(std::move(value)); return *this; }
273 
274  private:
275 
276  Aws::String m_trainingImage;
277  bool m_trainingImageHasBeenSet;
278 
279  TrainingInputMode m_trainingInputMode;
280  bool m_trainingInputModeHasBeenSet;
281 
282  Aws::String m_algorithmName;
283  bool m_algorithmNameHasBeenSet;
284 
285  Aws::Vector<MetricDefinition> m_metricDefinitions;
286  bool m_metricDefinitionsHasBeenSet;
287  };
288 
289 } // namespace Model
290 } // namespace SageMaker
291 } // namespace Aws
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::WithTrainingImage
HyperParameterAlgorithmSpecification & WithTrainingImage(const Aws::String &value)
Definition: HyperParameterAlgorithmSpecification.h:121
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::MetricDefinitionsHasBeenSet
bool MetricDefinitionsHasBeenSet() const
Definition: HyperParameterAlgorithmSpecification.h:236
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::WithTrainingInputMode
HyperParameterAlgorithmSpecification & WithTrainingInputMode(const TrainingInputMode &value)
Definition: HyperParameterAlgorithmSpecification.h:163
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::HyperParameterAlgorithmSpecification
HyperParameterAlgorithmSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::SetMetricDefinitions
void SetMetricDefinitions(const Aws::Vector< MetricDefinition > &value)
Definition: HyperParameterAlgorithmSpecification.h:242
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::SetTrainingInputMode
void SetTrainingInputMode(TrainingInputMode &&value)
Definition: HyperParameterAlgorithmSpecification.h:160
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::WithMetricDefinitions
HyperParameterAlgorithmSpecification & WithMetricDefinitions(Aws::Vector< MetricDefinition > &&value)
Definition: HyperParameterAlgorithmSpecification.h:260
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::WithMetricDefinitions
HyperParameterAlgorithmSpecification & WithMetricDefinitions(const Aws::Vector< MetricDefinition > &value)
Definition: HyperParameterAlgorithmSpecification.h:254
Aws::SageMaker::Model::TrainingInputMode
TrainingInputMode
Definition: TrainingInputMode.h:17
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::GetAlgorithmName
const Aws::String & GetAlgorithmName() const
Definition: HyperParameterAlgorithmSpecification.h:174
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::TrainingImageHasBeenSet
bool TrainingImageHasBeenSet() const
Definition: HyperParameterAlgorithmSpecification.h:69
TrainingInputMode.h
AWSVector.h
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::HyperParameterAlgorithmSpecification
HyperParameterAlgorithmSpecification()
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::WithAlgorithmName
HyperParameterAlgorithmSpecification & WithAlgorithmName(const char *value)
Definition: HyperParameterAlgorithmSpecification.h:223
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::GetMetricDefinitions
const Aws::Vector< MetricDefinition > & GetMetricDefinitions() const
Definition: HyperParameterAlgorithmSpecification.h:230
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::GetTrainingInputMode
const TrainingInputMode & GetTrainingInputMode() const
Definition: HyperParameterAlgorithmSpecification.h:151
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::GetTrainingImage
const Aws::String & GetTrainingImage() const
Definition: HyperParameterAlgorithmSpecification.h:56
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::SetTrainingImage
void SetTrainingImage(const char *value)
Definition: HyperParameterAlgorithmSpecification.h:108
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::SetTrainingImage
void SetTrainingImage(Aws::String &&value)
Definition: HyperParameterAlgorithmSpecification.h:95
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::WithTrainingInputMode
HyperParameterAlgorithmSpecification & WithTrainingInputMode(TrainingInputMode &&value)
Definition: HyperParameterAlgorithmSpecification.h:166
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification
Definition: HyperParameterAlgorithmSpecification.h:37
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
MetricDefinition.h
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::AddMetricDefinitions
HyperParameterAlgorithmSpecification & AddMetricDefinitions(MetricDefinition &&value)
Definition: HyperParameterAlgorithmSpecification.h:272
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::WithAlgorithmName
HyperParameterAlgorithmSpecification & WithAlgorithmName(const Aws::String &value)
Definition: HyperParameterAlgorithmSpecification.h:209
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::SetTrainingInputMode
void SetTrainingInputMode(const TrainingInputMode &value)
Definition: HyperParameterAlgorithmSpecification.h:157
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::SetAlgorithmName
void SetAlgorithmName(const char *value)
Definition: HyperParameterAlgorithmSpecification.h:202
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::operator=
HyperParameterAlgorithmSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::WithAlgorithmName
HyperParameterAlgorithmSpecification & WithAlgorithmName(Aws::String &&value)
Definition: HyperParameterAlgorithmSpecification.h:216
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::WithTrainingImage
HyperParameterAlgorithmSpecification & WithTrainingImage(const char *value)
Definition: HyperParameterAlgorithmSpecification.h:147
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::SetTrainingImage
void SetTrainingImage(const Aws::String &value)
Definition: HyperParameterAlgorithmSpecification.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::WithTrainingImage
HyperParameterAlgorithmSpecification & WithTrainingImage(Aws::String &&value)
Definition: HyperParameterAlgorithmSpecification.h:134
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::SetAlgorithmName
void SetAlgorithmName(Aws::String &&value)
Definition: HyperParameterAlgorithmSpecification.h:195
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::AddMetricDefinitions
HyperParameterAlgorithmSpecification & AddMetricDefinitions(const MetricDefinition &value)
Definition: HyperParameterAlgorithmSpecification.h:266
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::SetMetricDefinitions
void SetMetricDefinitions(Aws::Vector< MetricDefinition > &&value)
Definition: HyperParameterAlgorithmSpecification.h:248
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::TrainingInputModeHasBeenSet
bool TrainingInputModeHasBeenSet() const
Definition: HyperParameterAlgorithmSpecification.h:154
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::SetAlgorithmName
void SetAlgorithmName(const Aws::String &value)
Definition: HyperParameterAlgorithmSpecification.h:188
Aws::SageMaker::Model::MetricDefinition
Definition: MetricDefinition.h:36
Aws::SageMaker::Model::HyperParameterAlgorithmSpecification::AlgorithmNameHasBeenSet
bool AlgorithmNameHasBeenSet() const
Definition: HyperParameterAlgorithmSpecification.h:181