7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
41 template <
typename MetricNameT = Aws::String>
43 m_metricNameHasBeenSet =
true;
44 m_metricName = std::forward<MetricNameT>(value);
46 template <
typename MetricNameT = Aws::String>
59 template <
typename SourceArnT = Aws::String>
61 m_sourceArnHasBeenSet =
true;
62 m_sourceArn = std::forward<SourceArnT>(value);
64 template <
typename SourceArnT = Aws::String>
77 template <
typename TimeStampT = Aws::Utils::DateTime>
79 m_timeStampHasBeenSet =
true;
80 m_timeStamp = std::forward<TimeStampT>(value);
82 template <
typename TimeStampT = Aws::Utils::DateTime>
93 inline double GetMax()
const {
return m_max; }
96 m_maxHasBeenSet =
true;
109 inline double GetMin()
const {
return m_min; }
112 m_minHasBeenSet =
true;
125 inline double GetLast()
const {
return m_last; }
128 m_lastHasBeenSet =
true;
144 m_countHasBeenSet =
true;
157 inline double GetAvg()
const {
return m_avg; }
160 m_avgHasBeenSet =
true;
176 m_stdDevHasBeenSet =
true;
201 double m_stdDev{0.0};
202 bool m_metricNameHasBeenSet =
false;
203 bool m_sourceArnHasBeenSet =
false;
204 bool m_timeStampHasBeenSet =
false;
205 bool m_maxHasBeenSet =
false;
206 bool m_minHasBeenSet =
false;
207 bool m_lastHasBeenSet =
false;
208 bool m_countHasBeenSet =
false;
209 bool m_avgHasBeenSet =
false;
210 bool m_stdDevHasBeenSet =
false;
void SetStdDev(double value)
TrialComponentMetricSummary & WithMin(double value)
void SetLast(double value)
void SetMin(double value)
void SetMetricName(MetricNameT &&value)
TrialComponentMetricSummary & WithSourceArn(SourceArnT &&value)
const Aws::Utils::DateTime & GetTimeStamp() const
void SetTimeStamp(TimeStampT &&value)
AWS_SAGEMAKER_API TrialComponentMetricSummary(Aws::Utils::Json::JsonView jsonValue)
bool LastHasBeenSet() const
bool MinHasBeenSet() const
AWS_SAGEMAKER_API TrialComponentMetricSummary()=default
void SetMax(double value)
TrialComponentMetricSummary & WithLast(double value)
const Aws::String & GetMetricName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool MaxHasBeenSet() const
TrialComponentMetricSummary & WithCount(int value)
bool CountHasBeenSet() const
bool AvgHasBeenSet() const
bool MetricNameHasBeenSet() const
void SetSourceArn(SourceArnT &&value)
bool SourceArnHasBeenSet() const
TrialComponentMetricSummary & WithAvg(double value)
bool StdDevHasBeenSet() const
TrialComponentMetricSummary & WithMetricName(MetricNameT &&value)
TrialComponentMetricSummary & WithStdDev(double value)
TrialComponentMetricSummary & WithMax(double value)
const Aws::String & GetSourceArn() const
bool TimeStampHasBeenSet() const
void SetAvg(double value)
TrialComponentMetricSummary & WithTimeStamp(TimeStampT &&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