AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricDatum.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AutoMLMetricEnum.h>
9#include <aws/sagemaker/model/MetricSetSource.h>
10#include <aws/sagemaker/model/AutoMLMetricExtendedEnum.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API MetricDatum();
38 AWS_SAGEMAKER_API MetricDatum(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API MetricDatum& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AutoMLMetricEnum& GetMetricName() const{ return m_metricName; }
48 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
49 inline void SetMetricName(const AutoMLMetricEnum& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
50 inline void SetMetricName(AutoMLMetricEnum&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
51 inline MetricDatum& WithMetricName(const AutoMLMetricEnum& value) { SetMetricName(value); return *this;}
52 inline MetricDatum& WithMetricName(AutoMLMetricEnum&& value) { SetMetricName(std::move(value)); return *this;}
54
56
59 inline double GetValue() const{ return m_value; }
60 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
61 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
62 inline MetricDatum& WithValue(double value) { SetValue(value); return *this;}
64
66
69 inline const MetricSetSource& GetSet() const{ return m_set; }
70 inline bool SetHasBeenSet() const { return m_setHasBeenSet; }
71 inline void SetSet(const MetricSetSource& value) { m_setHasBeenSet = true; m_set = value; }
72 inline void SetSet(MetricSetSource&& value) { m_setHasBeenSet = true; m_set = std::move(value); }
73 inline MetricDatum& WithSet(const MetricSetSource& value) { SetSet(value); return *this;}
74 inline MetricDatum& WithSet(MetricSetSource&& value) { SetSet(std::move(value)); return *this;}
76
78
84 inline const AutoMLMetricExtendedEnum& GetStandardMetricName() const{ return m_standardMetricName; }
85 inline bool StandardMetricNameHasBeenSet() const { return m_standardMetricNameHasBeenSet; }
86 inline void SetStandardMetricName(const AutoMLMetricExtendedEnum& value) { m_standardMetricNameHasBeenSet = true; m_standardMetricName = value; }
87 inline void SetStandardMetricName(AutoMLMetricExtendedEnum&& value) { m_standardMetricNameHasBeenSet = true; m_standardMetricName = std::move(value); }
89 inline MetricDatum& WithStandardMetricName(AutoMLMetricExtendedEnum&& value) { SetStandardMetricName(std::move(value)); return *this;}
91 private:
92
93 AutoMLMetricEnum m_metricName;
94 bool m_metricNameHasBeenSet = false;
95
96 double m_value;
97 bool m_valueHasBeenSet = false;
98
99 MetricSetSource m_set;
100 bool m_setHasBeenSet = false;
101
102 AutoMLMetricExtendedEnum m_standardMetricName;
103 bool m_standardMetricNameHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SageMaker
108} // namespace Aws
const AutoMLMetricEnum & GetMetricName() const
Definition MetricDatum.h:47
MetricDatum & WithValue(double value)
Definition MetricDatum.h:62
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MetricDatum & WithMetricName(AutoMLMetricEnum &&value)
Definition MetricDatum.h:52
void SetMetricName(const AutoMLMetricEnum &value)
Definition MetricDatum.h:49
void SetMetricName(AutoMLMetricEnum &&value)
Definition MetricDatum.h:50
MetricDatum & WithSet(MetricSetSource &&value)
Definition MetricDatum.h:74
MetricDatum & WithMetricName(const AutoMLMetricEnum &value)
Definition MetricDatum.h:51
MetricDatum & WithSet(const MetricSetSource &value)
Definition MetricDatum.h:73
void SetStandardMetricName(const AutoMLMetricExtendedEnum &value)
Definition MetricDatum.h:86
AWS_SAGEMAKER_API MetricDatum & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricDatum & WithStandardMetricName(AutoMLMetricExtendedEnum &&value)
Definition MetricDatum.h:89
void SetStandardMetricName(AutoMLMetricExtendedEnum &&value)
Definition MetricDatum.h:87
void SetSet(MetricSetSource &&value)
Definition MetricDatum.h:72
void SetSet(const MetricSetSource &value)
Definition MetricDatum.h:71
MetricDatum & WithStandardMetricName(const AutoMLMetricExtendedEnum &value)
Definition MetricDatum.h:88
AWS_SAGEMAKER_API MetricDatum(Aws::Utils::Json::JsonView jsonValue)
const AutoMLMetricExtendedEnum & GetStandardMetricName() const
Definition MetricDatum.h:84
const MetricSetSource & GetSet() const
Definition MetricDatum.h:69
Aws::Utils::Json::JsonValue JsonValue