AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoMLJobObjective.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AutoMLMetricEnum.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API AutoMLJobObjective();
36 AWS_SAGEMAKER_API AutoMLJobObjective(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
86 inline const AutoMLMetricEnum& GetMetricName() const{ return m_metricName; }
87 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
88 inline void SetMetricName(const AutoMLMetricEnum& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
89 inline void SetMetricName(AutoMLMetricEnum&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
90 inline AutoMLJobObjective& WithMetricName(const AutoMLMetricEnum& value) { SetMetricName(value); return *this;}
91 inline AutoMLJobObjective& WithMetricName(AutoMLMetricEnum&& value) { SetMetricName(std::move(value)); return *this;}
93 private:
94
95 AutoMLMetricEnum m_metricName;
96 bool m_metricNameHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SageMaker
101} // namespace Aws
void SetMetricName(const AutoMLMetricEnum &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetricName(AutoMLMetricEnum &&value)
AWS_SAGEMAKER_API AutoMLJobObjective(Aws::Utils::Json::JsonView jsonValue)
AutoMLJobObjective & WithMetricName(AutoMLMetricEnum &&value)
const AutoMLMetricEnum & GetMetricName() const
AWS_SAGEMAKER_API AutoMLJobObjective & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoMLJobObjective & WithMetricName(const AutoMLMetricEnum &value)
Aws::Utils::Json::JsonValue JsonValue