AWS SDK for C++  1.9.153
AWS SDK for C++
AutoMLJobObjective.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
97  inline const AutoMLMetricEnum& GetMetricName() const{ return m_metricName; }
98 
155  inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
156 
213  inline void SetMetricName(const AutoMLMetricEnum& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
214 
271  inline void SetMetricName(AutoMLMetricEnum&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
272 
329  inline AutoMLJobObjective& WithMetricName(const AutoMLMetricEnum& value) { SetMetricName(value); return *this;}
330 
387  inline AutoMLJobObjective& WithMetricName(AutoMLMetricEnum&& value) { SetMetricName(std::move(value)); return *this;}
388 
389  private:
390 
391  AutoMLMetricEnum m_metricName;
392  bool m_metricNameHasBeenSet;
393  };
394 
395 } // namespace Model
396 } // namespace SageMaker
397 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AutoMLJobObjective::WithMetricName
AutoMLJobObjective & WithMetricName(const AutoMLMetricEnum &value)
Definition: AutoMLJobObjective.h:329
Aws::SageMaker::Model::AutoMLJobObjective
Definition: AutoMLJobObjective.h:33
Aws::SageMaker::Model::AutoMLJobObjective::WithMetricName
AutoMLJobObjective & WithMetricName(AutoMLMetricEnum &&value)
Definition: AutoMLJobObjective.h:387
Aws::SageMaker::Model::AutoMLJobObjective::AutoMLJobObjective
AutoMLJobObjective(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AutoMLJobObjective::MetricNameHasBeenSet
bool MetricNameHasBeenSet() const
Definition: AutoMLJobObjective.h:155
Aws::SageMaker::Model::AutoMLJobObjective::SetMetricName
void SetMetricName(const AutoMLMetricEnum &value)
Definition: AutoMLJobObjective.h:213
AutoMLMetricEnum.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AutoMLJobObjective::AutoMLJobObjective
AutoMLJobObjective()
Aws::SageMaker::Model::AutoMLMetricEnum
AutoMLMetricEnum
Definition: AutoMLMetricEnum.h:17
Aws::SageMaker::Model::AutoMLJobObjective::operator=
AutoMLJobObjective & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AutoMLJobObjective::GetMetricName
const AutoMLMetricEnum & GetMetricName() const
Definition: AutoMLJobObjective.h:97
Aws::SageMaker::Model::AutoMLJobObjective::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AutoMLJobObjective::SetMetricName
void SetMetricName(AutoMLMetricEnum &&value)
Definition: AutoMLJobObjective.h:271