AWS SDK for C++  1.9.149
AWS SDK for C++
AlgorithmSpecification.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 
41  {
42  public:
47 
48 
60  inline const Aws::String& GetTrainingImage() const{ return m_trainingImage; }
61 
73  inline bool TrainingImageHasBeenSet() const { return m_trainingImageHasBeenSet; }
74 
86  inline void SetTrainingImage(const Aws::String& value) { m_trainingImageHasBeenSet = true; m_trainingImage = value; }
87 
99  inline void SetTrainingImage(Aws::String&& value) { m_trainingImageHasBeenSet = true; m_trainingImage = std::move(value); }
100 
112  inline void SetTrainingImage(const char* value) { m_trainingImageHasBeenSet = true; m_trainingImage.assign(value); }
113 
125  inline AlgorithmSpecification& WithTrainingImage(const Aws::String& value) { SetTrainingImage(value); return *this;}
126 
138  inline AlgorithmSpecification& WithTrainingImage(Aws::String&& value) { SetTrainingImage(std::move(value)); return *this;}
139 
151  inline AlgorithmSpecification& WithTrainingImage(const char* value) { SetTrainingImage(value); return *this;}
152 
153 
160  inline const Aws::String& GetAlgorithmName() const{ return m_algorithmName; }
161 
168  inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; }
169 
176  inline void SetAlgorithmName(const Aws::String& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = value; }
177 
184  inline void SetAlgorithmName(Aws::String&& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = std::move(value); }
185 
192  inline void SetAlgorithmName(const char* value) { m_algorithmNameHasBeenSet = true; m_algorithmName.assign(value); }
193 
200  inline AlgorithmSpecification& WithAlgorithmName(const Aws::String& value) { SetAlgorithmName(value); return *this;}
201 
208  inline AlgorithmSpecification& WithAlgorithmName(Aws::String&& value) { SetAlgorithmName(std::move(value)); return *this;}
209 
216  inline AlgorithmSpecification& WithAlgorithmName(const char* value) { SetAlgorithmName(value); return *this;}
217 
218 
219 
220  inline const TrainingInputMode& GetTrainingInputMode() const{ return m_trainingInputMode; }
221 
222 
223  inline bool TrainingInputModeHasBeenSet() const { return m_trainingInputModeHasBeenSet; }
224 
225 
226  inline void SetTrainingInputMode(const TrainingInputMode& value) { m_trainingInputModeHasBeenSet = true; m_trainingInputMode = value; }
227 
228 
229  inline void SetTrainingInputMode(TrainingInputMode&& value) { m_trainingInputModeHasBeenSet = true; m_trainingInputMode = std::move(value); }
230 
231 
232  inline AlgorithmSpecification& WithTrainingInputMode(const TrainingInputMode& value) { SetTrainingInputMode(value); return *this;}
233 
234 
235  inline AlgorithmSpecification& WithTrainingInputMode(TrainingInputMode&& value) { SetTrainingInputMode(std::move(value)); return *this;}
236 
237 
243  inline const Aws::Vector<MetricDefinition>& GetMetricDefinitions() const{ return m_metricDefinitions; }
244 
250  inline bool MetricDefinitionsHasBeenSet() const { return m_metricDefinitionsHasBeenSet; }
251 
257  inline void SetMetricDefinitions(const Aws::Vector<MetricDefinition>& value) { m_metricDefinitionsHasBeenSet = true; m_metricDefinitions = value; }
258 
264  inline void SetMetricDefinitions(Aws::Vector<MetricDefinition>&& value) { m_metricDefinitionsHasBeenSet = true; m_metricDefinitions = std::move(value); }
265 
271  inline AlgorithmSpecification& WithMetricDefinitions(const Aws::Vector<MetricDefinition>& value) { SetMetricDefinitions(value); return *this;}
272 
278  inline AlgorithmSpecification& WithMetricDefinitions(Aws::Vector<MetricDefinition>&& value) { SetMetricDefinitions(std::move(value)); return *this;}
279 
285  inline AlgorithmSpecification& AddMetricDefinitions(const MetricDefinition& value) { m_metricDefinitionsHasBeenSet = true; m_metricDefinitions.push_back(value); return *this; }
286 
292  inline AlgorithmSpecification& AddMetricDefinitions(MetricDefinition&& value) { m_metricDefinitionsHasBeenSet = true; m_metricDefinitions.push_back(std::move(value)); return *this; }
293 
294 
307  inline bool GetEnableSageMakerMetricsTimeSeries() const{ return m_enableSageMakerMetricsTimeSeries; }
308 
321  inline bool EnableSageMakerMetricsTimeSeriesHasBeenSet() const { return m_enableSageMakerMetricsTimeSeriesHasBeenSet; }
322 
335  inline void SetEnableSageMakerMetricsTimeSeries(bool value) { m_enableSageMakerMetricsTimeSeriesHasBeenSet = true; m_enableSageMakerMetricsTimeSeries = value; }
336 
349  inline AlgorithmSpecification& WithEnableSageMakerMetricsTimeSeries(bool value) { SetEnableSageMakerMetricsTimeSeries(value); return *this;}
350 
351  private:
352 
353  Aws::String m_trainingImage;
354  bool m_trainingImageHasBeenSet;
355 
356  Aws::String m_algorithmName;
357  bool m_algorithmNameHasBeenSet;
358 
359  TrainingInputMode m_trainingInputMode;
360  bool m_trainingInputModeHasBeenSet;
361 
362  Aws::Vector<MetricDefinition> m_metricDefinitions;
363  bool m_metricDefinitionsHasBeenSet;
364 
365  bool m_enableSageMakerMetricsTimeSeries;
366  bool m_enableSageMakerMetricsTimeSeriesHasBeenSet;
367  };
368 
369 } // namespace Model
370 } // namespace SageMaker
371 } // namespace Aws
Aws::SageMaker::Model::AlgorithmSpecification::GetTrainingInputMode
const TrainingInputMode & GetTrainingInputMode() const
Definition: AlgorithmSpecification.h:220
Aws::SageMaker::Model::AlgorithmSpecification::WithTrainingImage
AlgorithmSpecification & WithTrainingImage(const char *value)
Definition: AlgorithmSpecification.h:151
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AlgorithmSpecification::SetTrainingInputMode
void SetTrainingInputMode(TrainingInputMode &&value)
Definition: AlgorithmSpecification.h:229
Aws::SageMaker::Model::AlgorithmSpecification::GetMetricDefinitions
const Aws::Vector< MetricDefinition > & GetMetricDefinitions() const
Definition: AlgorithmSpecification.h:243
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AlgorithmSpecification::MetricDefinitionsHasBeenSet
bool MetricDefinitionsHasBeenSet() const
Definition: AlgorithmSpecification.h:250
Aws::SageMaker::Model::AlgorithmSpecification::WithTrainingImage
AlgorithmSpecification & WithTrainingImage(const Aws::String &value)
Definition: AlgorithmSpecification.h:125
Aws::SageMaker::Model::AlgorithmSpecification::AlgorithmSpecification
AlgorithmSpecification()
Aws::SageMaker::Model::AlgorithmSpecification::GetEnableSageMakerMetricsTimeSeries
bool GetEnableSageMakerMetricsTimeSeries() const
Definition: AlgorithmSpecification.h:307
Aws::SageMaker::Model::AlgorithmSpecification::SetEnableSageMakerMetricsTimeSeries
void SetEnableSageMakerMetricsTimeSeries(bool value)
Definition: AlgorithmSpecification.h:335
Aws::SageMaker::Model::AlgorithmSpecification::SetTrainingImage
void SetTrainingImage(Aws::String &&value)
Definition: AlgorithmSpecification.h:99
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::AlgorithmSpecification::TrainingInputModeHasBeenSet
bool TrainingInputModeHasBeenSet() const
Definition: AlgorithmSpecification.h:223
Aws::SageMaker::Model::AlgorithmSpecification::WithTrainingInputMode
AlgorithmSpecification & WithTrainingInputMode(TrainingInputMode &&value)
Definition: AlgorithmSpecification.h:235
TrainingInputMode.h
AWSVector.h
Aws::SageMaker::Model::AlgorithmSpecification::AddMetricDefinitions
AlgorithmSpecification & AddMetricDefinitions(MetricDefinition &&value)
Definition: AlgorithmSpecification.h:292
Aws::SageMaker::Model::AlgorithmSpecification::operator=
AlgorithmSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AlgorithmSpecification::SetMetricDefinitions
void SetMetricDefinitions(const Aws::Vector< MetricDefinition > &value)
Definition: AlgorithmSpecification.h:257
Aws::SageMaker::Model::AlgorithmSpecification
Definition: AlgorithmSpecification.h:41
Aws::SageMaker::Model::AlgorithmSpecification::WithMetricDefinitions
AlgorithmSpecification & WithMetricDefinitions(const Aws::Vector< MetricDefinition > &value)
Definition: AlgorithmSpecification.h:271
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AlgorithmSpecification::SetAlgorithmName
void SetAlgorithmName(const char *value)
Definition: AlgorithmSpecification.h:192
Aws::SageMaker::Model::AlgorithmSpecification::WithMetricDefinitions
AlgorithmSpecification & WithMetricDefinitions(Aws::Vector< MetricDefinition > &&value)
Definition: AlgorithmSpecification.h:278
Aws::SageMaker::Model::AlgorithmSpecification::AlgorithmSpecification
AlgorithmSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AlgorithmSpecification::SetAlgorithmName
void SetAlgorithmName(Aws::String &&value)
Definition: AlgorithmSpecification.h:184
Aws::SageMaker::Model::AlgorithmSpecification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AlgorithmSpecification::SetTrainingInputMode
void SetTrainingInputMode(const TrainingInputMode &value)
Definition: AlgorithmSpecification.h:226
Aws::SageMaker::Model::AlgorithmSpecification::WithTrainingInputMode
AlgorithmSpecification & WithTrainingInputMode(const TrainingInputMode &value)
Definition: AlgorithmSpecification.h:232
Aws::SageMaker::Model::AlgorithmSpecification::SetTrainingImage
void SetTrainingImage(const char *value)
Definition: AlgorithmSpecification.h:112
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AlgorithmSpecification::SetAlgorithmName
void SetAlgorithmName(const Aws::String &value)
Definition: AlgorithmSpecification.h:176
Aws::SageMaker::Model::AlgorithmSpecification::WithEnableSageMakerMetricsTimeSeries
AlgorithmSpecification & WithEnableSageMakerMetricsTimeSeries(bool value)
Definition: AlgorithmSpecification.h:349
Aws::SageMaker::Model::AlgorithmSpecification::WithAlgorithmName
AlgorithmSpecification & WithAlgorithmName(const char *value)
Definition: AlgorithmSpecification.h:216
Aws::SageMaker::Model::AlgorithmSpecification::GetAlgorithmName
const Aws::String & GetAlgorithmName() const
Definition: AlgorithmSpecification.h:160
Aws::SageMaker::Model::AlgorithmSpecification::WithAlgorithmName
AlgorithmSpecification & WithAlgorithmName(const Aws::String &value)
Definition: AlgorithmSpecification.h:200
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AlgorithmSpecification::WithAlgorithmName
AlgorithmSpecification & WithAlgorithmName(Aws::String &&value)
Definition: AlgorithmSpecification.h:208
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AlgorithmSpecification::SetTrainingImage
void SetTrainingImage(const Aws::String &value)
Definition: AlgorithmSpecification.h:86
Aws::SageMaker::Model::AlgorithmSpecification::GetTrainingImage
const Aws::String & GetTrainingImage() const
Definition: AlgorithmSpecification.h:60
Aws::SageMaker::Model::AlgorithmSpecification::EnableSageMakerMetricsTimeSeriesHasBeenSet
bool EnableSageMakerMetricsTimeSeriesHasBeenSet() const
Definition: AlgorithmSpecification.h:321
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AlgorithmSpecification::AddMetricDefinitions
AlgorithmSpecification & AddMetricDefinitions(const MetricDefinition &value)
Definition: AlgorithmSpecification.h:285
Aws::SageMaker::Model::AlgorithmSpecification::WithTrainingImage
AlgorithmSpecification & WithTrainingImage(Aws::String &&value)
Definition: AlgorithmSpecification.h:138
Aws::SageMaker::Model::MetricDefinition
Definition: MetricDefinition.h:36
Aws::SageMaker::Model::AlgorithmSpecification::AlgorithmNameHasBeenSet
bool AlgorithmNameHasBeenSet() const
Definition: AlgorithmSpecification.h:168
Aws::SageMaker::Model::AlgorithmSpecification::SetMetricDefinitions
void SetMetricDefinitions(Aws::Vector< MetricDefinition > &&value)
Definition: AlgorithmSpecification.h:264
Aws::SageMaker::Model::AlgorithmSpecification::TrainingImageHasBeenSet
bool TrainingImageHasBeenSet() const
Definition: AlgorithmSpecification.h:73
MetricDefinition.h