AWS SDK for C++  1.9.160
AWS SDK for C++
FinalAutoMLJobObjectiveMetric.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const AutoMLJobObjectiveType& GetType() const{ return m_type; }
46 
50  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 
55  inline void SetType(const AutoMLJobObjectiveType& value) { m_typeHasBeenSet = true; m_type = value; }
56 
60  inline void SetType(AutoMLJobObjectiveType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
61 
65  inline FinalAutoMLJobObjectiveMetric& WithType(const AutoMLJobObjectiveType& value) { SetType(value); return *this;}
66 
70  inline FinalAutoMLJobObjectiveMetric& WithType(AutoMLJobObjectiveType&& value) { SetType(std::move(value)); return *this;}
71 
72 
77  inline const AutoMLMetricEnum& GetMetricName() const{ return m_metricName; }
78 
83  inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
84 
89  inline void SetMetricName(const AutoMLMetricEnum& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
90 
95  inline void SetMetricName(AutoMLMetricEnum&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
96 
101  inline FinalAutoMLJobObjectiveMetric& WithMetricName(const AutoMLMetricEnum& value) { SetMetricName(value); return *this;}
102 
107  inline FinalAutoMLJobObjectiveMetric& WithMetricName(AutoMLMetricEnum&& value) { SetMetricName(std::move(value)); return *this;}
108 
109 
113  inline double GetValue() const{ return m_value; }
114 
118  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
119 
123  inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
124 
128  inline FinalAutoMLJobObjectiveMetric& WithValue(double value) { SetValue(value); return *this;}
129 
130  private:
131 
132  AutoMLJobObjectiveType m_type;
133  bool m_typeHasBeenSet;
134 
135  AutoMLMetricEnum m_metricName;
136  bool m_metricNameHasBeenSet;
137 
138  double m_value;
139  bool m_valueHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace SageMaker
144 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::FinalAutoMLJobObjectiveMetric
FinalAutoMLJobObjectiveMetric(Aws::Utils::Json::JsonView jsonValue)
SageMaker_EXPORTS.h
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: FinalAutoMLJobObjectiveMetric.h:50
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::GetValue
double GetValue() const
Definition: FinalAutoMLJobObjectiveMetric.h:113
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric
Definition: FinalAutoMLJobObjectiveMetric.h:34
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::WithMetricName
FinalAutoMLJobObjectiveMetric & WithMetricName(const AutoMLMetricEnum &value)
Definition: FinalAutoMLJobObjectiveMetric.h:101
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::WithMetricName
FinalAutoMLJobObjectiveMetric & WithMetricName(AutoMLMetricEnum &&value)
Definition: FinalAutoMLJobObjectiveMetric.h:107
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::MetricNameHasBeenSet
bool MetricNameHasBeenSet() const
Definition: FinalAutoMLJobObjectiveMetric.h:83
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::SetType
void SetType(const AutoMLJobObjectiveType &value)
Definition: FinalAutoMLJobObjectiveMetric.h:55
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: FinalAutoMLJobObjectiveMetric.h:118
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::FinalAutoMLJobObjectiveMetric
FinalAutoMLJobObjectiveMetric()
AutoMLMetricEnum.h
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::SetType
void SetType(AutoMLJobObjectiveType &&value)
Definition: FinalAutoMLJobObjectiveMetric.h:60
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::WithType
FinalAutoMLJobObjectiveMetric & WithType(AutoMLJobObjectiveType &&value)
Definition: FinalAutoMLJobObjectiveMetric.h:70
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::GetMetricName
const AutoMLMetricEnum & GetMetricName() const
Definition: FinalAutoMLJobObjectiveMetric.h:77
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::SetValue
void SetValue(double value)
Definition: FinalAutoMLJobObjectiveMetric.h:123
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::operator=
FinalAutoMLJobObjectiveMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AutoMLMetricEnum
AutoMLMetricEnum
Definition: AutoMLMetricEnum.h:17
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::SetMetricName
void SetMetricName(AutoMLMetricEnum &&value)
Definition: FinalAutoMLJobObjectiveMetric.h:95
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::SetMetricName
void SetMetricName(const AutoMLMetricEnum &value)
Definition: FinalAutoMLJobObjectiveMetric.h:89
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::WithValue
FinalAutoMLJobObjectiveMetric & WithValue(double value)
Definition: FinalAutoMLJobObjectiveMetric.h:128
AutoMLJobObjectiveType.h
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::GetType
const AutoMLJobObjectiveType & GetType() const
Definition: FinalAutoMLJobObjectiveMetric.h:45
Aws::SageMaker::Model::FinalAutoMLJobObjectiveMetric::WithType
FinalAutoMLJobObjectiveMetric & WithType(const AutoMLJobObjectiveType &value)
Definition: FinalAutoMLJobObjectiveMetric.h:65
Aws::SageMaker::Model::AutoMLJobObjectiveType
AutoMLJobObjectiveType
Definition: AutoMLJobObjectiveType.h:17