7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
47 template<
typename MetricNameT = Aws::String>
48 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
49 template<
typename MetricNameT = Aws::String>
59 template<
typename SourceArnT = Aws::String>
60 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet =
true; m_sourceArn = std::forward<SourceArnT>(value); }
61 template<
typename SourceArnT = Aws::String>
71 template<
typename TimeStampT = Aws::Utils::DateTime>
72 void SetTimeStamp(TimeStampT&& value) { m_timeStampHasBeenSet =
true; m_timeStamp = std::forward<TimeStampT>(value); }
73 template<
typename TimeStampT = Aws::Utils::DateTime>
81 inline double GetMax()
const {
return m_max; }
83 inline void SetMax(
double value) { m_maxHasBeenSet =
true; m_max = value; }
91 inline double GetMin()
const {
return m_min; }
93 inline void SetMin(
double value) { m_minHasBeenSet =
true; m_min = value; }
101 inline double GetLast()
const {
return m_last; }
103 inline void SetLast(
double value) { m_lastHasBeenSet =
true; m_last = value; }
113 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
121 inline double GetAvg()
const {
return m_avg; }
123 inline void SetAvg(
double value) { m_avgHasBeenSet =
true; m_avg = value; }
133 inline void SetStdDev(
double value) { m_stdDevHasBeenSet =
true; m_stdDev = value; }
139 bool m_metricNameHasBeenSet =
false;
142 bool m_sourceArnHasBeenSet =
false;
145 bool m_timeStampHasBeenSet =
false;
148 bool m_maxHasBeenSet =
false;
151 bool m_minHasBeenSet =
false;
154 bool m_lastHasBeenSet =
false;
157 bool m_countHasBeenSet =
false;
160 bool m_avgHasBeenSet =
false;
162 double m_stdDev{0.0};
163 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