AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrialComponentMetricSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SAGEMAKER_API TrialComponentMetricSummary();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetMetricName() const{ return m_metricName; }
46 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
47 inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
48 inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
49 inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); }
50 inline TrialComponentMetricSummary& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
51 inline TrialComponentMetricSummary& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
52 inline TrialComponentMetricSummary& WithMetricName(const char* value) { SetMetricName(value); return *this;}
54
56
59 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
60 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
61 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
62 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
63 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
64 inline TrialComponentMetricSummary& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
65 inline TrialComponentMetricSummary& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
66 inline TrialComponentMetricSummary& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetTimeStamp() const{ return m_timeStamp; }
74 inline bool TimeStampHasBeenSet() const { return m_timeStampHasBeenSet; }
75 inline void SetTimeStamp(const Aws::Utils::DateTime& value) { m_timeStampHasBeenSet = true; m_timeStamp = value; }
76 inline void SetTimeStamp(Aws::Utils::DateTime&& value) { m_timeStampHasBeenSet = true; m_timeStamp = std::move(value); }
77 inline TrialComponentMetricSummary& WithTimeStamp(const Aws::Utils::DateTime& value) { SetTimeStamp(value); return *this;}
78 inline TrialComponentMetricSummary& WithTimeStamp(Aws::Utils::DateTime&& value) { SetTimeStamp(std::move(value)); return *this;}
80
82
85 inline double GetMax() const{ return m_max; }
86 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
87 inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; }
88 inline TrialComponentMetricSummary& WithMax(double value) { SetMax(value); return *this;}
90
92
95 inline double GetMin() const{ return m_min; }
96 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
97 inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; }
98 inline TrialComponentMetricSummary& WithMin(double value) { SetMin(value); return *this;}
100
102
105 inline double GetLast() const{ return m_last; }
106 inline bool LastHasBeenSet() const { return m_lastHasBeenSet; }
107 inline void SetLast(double value) { m_lastHasBeenSet = true; m_last = value; }
108 inline TrialComponentMetricSummary& WithLast(double value) { SetLast(value); return *this;}
110
112
115 inline int GetCount() const{ return m_count; }
116 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
117 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
118 inline TrialComponentMetricSummary& WithCount(int value) { SetCount(value); return *this;}
120
122
125 inline double GetAvg() const{ return m_avg; }
126 inline bool AvgHasBeenSet() const { return m_avgHasBeenSet; }
127 inline void SetAvg(double value) { m_avgHasBeenSet = true; m_avg = value; }
128 inline TrialComponentMetricSummary& WithAvg(double value) { SetAvg(value); return *this;}
130
132
135 inline double GetStdDev() const{ return m_stdDev; }
136 inline bool StdDevHasBeenSet() const { return m_stdDevHasBeenSet; }
137 inline void SetStdDev(double value) { m_stdDevHasBeenSet = true; m_stdDev = value; }
138 inline TrialComponentMetricSummary& WithStdDev(double value) { SetStdDev(value); return *this;}
140 private:
141
142 Aws::String m_metricName;
143 bool m_metricNameHasBeenSet = false;
144
145 Aws::String m_sourceArn;
146 bool m_sourceArnHasBeenSet = false;
147
148 Aws::Utils::DateTime m_timeStamp;
149 bool m_timeStampHasBeenSet = false;
150
151 double m_max;
152 bool m_maxHasBeenSet = false;
153
154 double m_min;
155 bool m_minHasBeenSet = false;
156
157 double m_last;
158 bool m_lastHasBeenSet = false;
159
160 int m_count;
161 bool m_countHasBeenSet = false;
162
163 double m_avg;
164 bool m_avgHasBeenSet = false;
165
166 double m_stdDev;
167 bool m_stdDevHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace SageMaker
172} // namespace Aws
TrialComponentMetricSummary & WithMin(double value)
TrialComponentMetricSummary & WithMetricName(const Aws::String &value)
TrialComponentMetricSummary & WithTimeStamp(const Aws::Utils::DateTime &value)
TrialComponentMetricSummary & WithTimeStamp(Aws::Utils::DateTime &&value)
TrialComponentMetricSummary & WithSourceArn(Aws::String &&value)
TrialComponentMetricSummary & WithMetricName(Aws::String &&value)
AWS_SAGEMAKER_API TrialComponentMetricSummary(Aws::Utils::Json::JsonView jsonValue)
TrialComponentMetricSummary & WithSourceArn(const Aws::String &value)
TrialComponentMetricSummary & WithLast(double value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponentMetricSummary & WithAvg(double value)
TrialComponentMetricSummary & WithSourceArn(const char *value)
TrialComponentMetricSummary & WithMetricName(const char *value)
TrialComponentMetricSummary & WithStdDev(double value)
TrialComponentMetricSummary & WithMax(double value)
AWS_SAGEMAKER_API TrialComponentMetricSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue