AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 AutoMLMetricEnum GetMetricName() const { return m_metricName; }
87 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
88 inline void SetMetricName(AutoMLMetricEnum value) { m_metricNameHasBeenSet = true; m_metricName = value; }
89 inline AutoMLJobObjective& WithMetricName(AutoMLMetricEnum value) { SetMetricName(value); return *this;}
91 private:
92
94 bool m_metricNameHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SageMaker
99} // 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