AWS SDK for C++  1.9.154
AWS SDK for C++
TrialComponentMetricSummary.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetMetricName() const{ return m_metricName; }
45 
49  inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
50 
54  inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
55 
59  inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
60 
64  inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); }
65 
69  inline TrialComponentMetricSummary& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
70 
74  inline TrialComponentMetricSummary& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
75 
79  inline TrialComponentMetricSummary& WithMetricName(const char* value) { SetMetricName(value); return *this;}
80 
81 
85  inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
86 
90  inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
91 
95  inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
96 
100  inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
101 
105  inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
106 
110  inline TrialComponentMetricSummary& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
111 
115  inline TrialComponentMetricSummary& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
116 
120  inline TrialComponentMetricSummary& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
121 
122 
126  inline const Aws::Utils::DateTime& GetTimeStamp() const{ return m_timeStamp; }
127 
131  inline bool TimeStampHasBeenSet() const { return m_timeStampHasBeenSet; }
132 
136  inline void SetTimeStamp(const Aws::Utils::DateTime& value) { m_timeStampHasBeenSet = true; m_timeStamp = value; }
137 
141  inline void SetTimeStamp(Aws::Utils::DateTime&& value) { m_timeStampHasBeenSet = true; m_timeStamp = std::move(value); }
142 
146  inline TrialComponentMetricSummary& WithTimeStamp(const Aws::Utils::DateTime& value) { SetTimeStamp(value); return *this;}
147 
151  inline TrialComponentMetricSummary& WithTimeStamp(Aws::Utils::DateTime&& value) { SetTimeStamp(std::move(value)); return *this;}
152 
153 
157  inline double GetMax() const{ return m_max; }
158 
162  inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
163 
167  inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; }
168 
172  inline TrialComponentMetricSummary& WithMax(double value) { SetMax(value); return *this;}
173 
174 
178  inline double GetMin() const{ return m_min; }
179 
183  inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
184 
188  inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; }
189 
193  inline TrialComponentMetricSummary& WithMin(double value) { SetMin(value); return *this;}
194 
195 
199  inline double GetLast() const{ return m_last; }
200 
204  inline bool LastHasBeenSet() const { return m_lastHasBeenSet; }
205 
209  inline void SetLast(double value) { m_lastHasBeenSet = true; m_last = value; }
210 
214  inline TrialComponentMetricSummary& WithLast(double value) { SetLast(value); return *this;}
215 
216 
220  inline int GetCount() const{ return m_count; }
221 
225  inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
226 
230  inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
231 
235  inline TrialComponentMetricSummary& WithCount(int value) { SetCount(value); return *this;}
236 
237 
241  inline double GetAvg() const{ return m_avg; }
242 
246  inline bool AvgHasBeenSet() const { return m_avgHasBeenSet; }
247 
251  inline void SetAvg(double value) { m_avgHasBeenSet = true; m_avg = value; }
252 
256  inline TrialComponentMetricSummary& WithAvg(double value) { SetAvg(value); return *this;}
257 
258 
262  inline double GetStdDev() const{ return m_stdDev; }
263 
267  inline bool StdDevHasBeenSet() const { return m_stdDevHasBeenSet; }
268 
272  inline void SetStdDev(double value) { m_stdDevHasBeenSet = true; m_stdDev = value; }
273 
277  inline TrialComponentMetricSummary& WithStdDev(double value) { SetStdDev(value); return *this;}
278 
279  private:
280 
281  Aws::String m_metricName;
282  bool m_metricNameHasBeenSet;
283 
284  Aws::String m_sourceArn;
285  bool m_sourceArnHasBeenSet;
286 
287  Aws::Utils::DateTime m_timeStamp;
288  bool m_timeStampHasBeenSet;
289 
290  double m_max;
291  bool m_maxHasBeenSet;
292 
293  double m_min;
294  bool m_minHasBeenSet;
295 
296  double m_last;
297  bool m_lastHasBeenSet;
298 
299  int m_count;
300  bool m_countHasBeenSet;
301 
302  double m_avg;
303  bool m_avgHasBeenSet;
304 
305  double m_stdDev;
306  bool m_stdDevHasBeenSet;
307  };
308 
309 } // namespace Model
310 } // namespace SageMaker
311 } // namespace Aws
Aws::SageMaker::Model::TrialComponentMetricSummary::SetTimeStamp
void SetTimeStamp(Aws::Utils::DateTime &&value)
Definition: TrialComponentMetricSummary.h:141
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::TrialComponentMetricSummary::WithTimeStamp
TrialComponentMetricSummary & WithTimeStamp(Aws::Utils::DateTime &&value)
Definition: TrialComponentMetricSummary.h:151
Aws::SageMaker::Model::TrialComponentMetricSummary::GetStdDev
double GetStdDev() const
Definition: TrialComponentMetricSummary.h:262
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::TrialComponentMetricSummary::StdDevHasBeenSet
bool StdDevHasBeenSet() const
Definition: TrialComponentMetricSummary.h:267
Aws::SageMaker::Model::TrialComponentMetricSummary::WithMetricName
TrialComponentMetricSummary & WithMetricName(const char *value)
Definition: TrialComponentMetricSummary.h:79
Aws::SageMaker::Model::TrialComponentMetricSummary::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: TrialComponentMetricSummary.h:100
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TrialComponentMetricSummary::WithStdDev
TrialComponentMetricSummary & WithStdDev(double value)
Definition: TrialComponentMetricSummary.h:277
Aws::SageMaker::Model::TrialComponentMetricSummary::MinHasBeenSet
bool MinHasBeenSet() const
Definition: TrialComponentMetricSummary.h:183
Aws::SageMaker::Model::TrialComponentMetricSummary::WithTimeStamp
TrialComponentMetricSummary & WithTimeStamp(const Aws::Utils::DateTime &value)
Definition: TrialComponentMetricSummary.h:146
Aws::SageMaker::Model::TrialComponentMetricSummary::LastHasBeenSet
bool LastHasBeenSet() const
Definition: TrialComponentMetricSummary.h:204
Aws::SageMaker::Model::TrialComponentMetricSummary
Definition: TrialComponentMetricSummary.h:33
Aws::SageMaker::Model::TrialComponentMetricSummary::SetMax
void SetMax(double value)
Definition: TrialComponentMetricSummary.h:167
Aws::SageMaker::Model::TrialComponentMetricSummary::GetTimeStamp
const Aws::Utils::DateTime & GetTimeStamp() const
Definition: TrialComponentMetricSummary.h:126
Aws::SageMaker::Model::TrialComponentMetricSummary::SetMetricName
void SetMetricName(Aws::String &&value)
Definition: TrialComponentMetricSummary.h:59
DateTime.h
Aws::SageMaker::Model::TrialComponentMetricSummary::GetMetricName
const Aws::String & GetMetricName() const
Definition: TrialComponentMetricSummary.h:44
Aws::SageMaker::Model::TrialComponentMetricSummary::TimeStampHasBeenSet
bool TimeStampHasBeenSet() const
Definition: TrialComponentMetricSummary.h:131
Aws::SageMaker::Model::TrialComponentMetricSummary::SetMin
void SetMin(double value)
Definition: TrialComponentMetricSummary.h:188
Aws::SageMaker::Model::TrialComponentMetricSummary::WithMin
TrialComponentMetricSummary & WithMin(double value)
Definition: TrialComponentMetricSummary.h:193
Aws::SageMaker::Model::TrialComponentMetricSummary::GetAvg
double GetAvg() const
Definition: TrialComponentMetricSummary.h:241
Aws::SageMaker::Model::TrialComponentMetricSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::TrialComponentMetricSummary::SetMetricName
void SetMetricName(const char *value)
Definition: TrialComponentMetricSummary.h:64
Aws::SageMaker::Model::TrialComponentMetricSummary::SetMetricName
void SetMetricName(const Aws::String &value)
Definition: TrialComponentMetricSummary.h:54
Aws::SageMaker::Model::TrialComponentMetricSummary::WithAvg
TrialComponentMetricSummary & WithAvg(double value)
Definition: TrialComponentMetricSummary.h:256
Aws::SageMaker::Model::TrialComponentMetricSummary::GetMax
double GetMax() const
Definition: TrialComponentMetricSummary.h:157
Aws::SageMaker::Model::TrialComponentMetricSummary::SetStdDev
void SetStdDev(double value)
Definition: TrialComponentMetricSummary.h:272
Aws::SageMaker::Model::TrialComponentMetricSummary::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: TrialComponentMetricSummary.h:95
Aws::SageMaker::Model::TrialComponentMetricSummary::TrialComponentMetricSummary
TrialComponentMetricSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialComponentMetricSummary::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: TrialComponentMetricSummary.h:85
Aws::SageMaker::Model::TrialComponentMetricSummary::SetSourceArn
void SetSourceArn(const char *value)
Definition: TrialComponentMetricSummary.h:105
Aws::SageMaker::Model::TrialComponentMetricSummary::SetCount
void SetCount(int value)
Definition: TrialComponentMetricSummary.h:230
Aws::SageMaker::Model::TrialComponentMetricSummary::MaxHasBeenSet
bool MaxHasBeenSet() const
Definition: TrialComponentMetricSummary.h:162
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TrialComponentMetricSummary::WithMax
TrialComponentMetricSummary & WithMax(double value)
Definition: TrialComponentMetricSummary.h:172
Aws::SageMaker::Model::TrialComponentMetricSummary::WithSourceArn
TrialComponentMetricSummary & WithSourceArn(const Aws::String &value)
Definition: TrialComponentMetricSummary.h:110
Aws::SageMaker::Model::TrialComponentMetricSummary::WithCount
TrialComponentMetricSummary & WithCount(int value)
Definition: TrialComponentMetricSummary.h:235
Aws::SageMaker::Model::TrialComponentMetricSummary::SetAvg
void SetAvg(double value)
Definition: TrialComponentMetricSummary.h:251
Aws::SageMaker::Model::TrialComponentMetricSummary::GetCount
int GetCount() const
Definition: TrialComponentMetricSummary.h:220
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::TrialComponentMetricSummary::WithLast
TrialComponentMetricSummary & WithLast(double value)
Definition: TrialComponentMetricSummary.h:214
AWSString.h
Aws::SageMaker::Model::TrialComponentMetricSummary::WithMetricName
TrialComponentMetricSummary & WithMetricName(Aws::String &&value)
Definition: TrialComponentMetricSummary.h:74
Aws::SageMaker::Model::TrialComponentMetricSummary::SourceArnHasBeenSet
bool SourceArnHasBeenSet() const
Definition: TrialComponentMetricSummary.h:90
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TrialComponentMetricSummary::GetMin
double GetMin() const
Definition: TrialComponentMetricSummary.h:178
Aws::SageMaker::Model::TrialComponentMetricSummary::SetTimeStamp
void SetTimeStamp(const Aws::Utils::DateTime &value)
Definition: TrialComponentMetricSummary.h:136
Aws::SageMaker::Model::TrialComponentMetricSummary::TrialComponentMetricSummary
TrialComponentMetricSummary()
Aws::SageMaker::Model::TrialComponentMetricSummary::WithMetricName
TrialComponentMetricSummary & WithMetricName(const Aws::String &value)
Definition: TrialComponentMetricSummary.h:69
Aws::SageMaker::Model::TrialComponentMetricSummary::AvgHasBeenSet
bool AvgHasBeenSet() const
Definition: TrialComponentMetricSummary.h:246
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TrialComponentMetricSummary::MetricNameHasBeenSet
bool MetricNameHasBeenSet() const
Definition: TrialComponentMetricSummary.h:49
Aws::SageMaker::Model::TrialComponentMetricSummary::CountHasBeenSet
bool CountHasBeenSet() const
Definition: TrialComponentMetricSummary.h:225
Aws::SageMaker::Model::TrialComponentMetricSummary::WithSourceArn
TrialComponentMetricSummary & WithSourceArn(const char *value)
Definition: TrialComponentMetricSummary.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TrialComponentMetricSummary::operator=
TrialComponentMetricSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialComponentMetricSummary::WithSourceArn
TrialComponentMetricSummary & WithSourceArn(Aws::String &&value)
Definition: TrialComponentMetricSummary.h:115
Aws::SageMaker::Model::TrialComponentMetricSummary::SetLast
void SetLast(double value)
Definition: TrialComponentMetricSummary.h:209
Aws::SageMaker::Model::TrialComponentMetricSummary::GetLast
double GetLast() const
Definition: TrialComponentMetricSummary.h:199