AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API AutoMLJobObjective() = default;
31 AWS_SAGEMAKER_API AutoMLJobObjective(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
80 inline AutoMLMetricEnum GetMetricName() const { return m_metricName; }
81 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
82 inline void SetMetricName(AutoMLMetricEnum value) {
83 m_metricNameHasBeenSet = true;
84 m_metricName = value;
85 }
87 SetMetricName(value);
88 return *this;
89 }
91 private:
93 bool m_metricNameHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AutoMLJobObjective(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AutoMLJobObjective()=default
AWS_SAGEMAKER_API AutoMLJobObjective & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoMLJobObjective & WithMetricName(AutoMLMetricEnum value)
void SetMetricName(AutoMLMetricEnum value)
Aws::Utils::Json::JsonValue JsonValue