7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
60 inline double GetValue()
const{
return m_value; }
62 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
80 bool m_metricNameHasBeenSet =
false;
83 bool m_valueHasBeenSet =
false;
86 bool m_timestampHasBeenSet =
false;
const Aws::Utils::DateTime & GetTimestamp() const
AWS_SAGEMAKER_API MetricData()
void SetMetricName(Aws::String &&value)
bool ValueHasBeenSet() const
void SetMetricName(const Aws::String &value)
void SetMetricName(const char *value)
AWS_SAGEMAKER_API MetricData(Aws::Utils::Json::JsonView jsonValue)
MetricData & WithTimestamp(Aws::Utils::DateTime &&value)
void SetValue(double value)
MetricData & WithMetricName(const char *value)
MetricData & WithMetricName(const Aws::String &value)
void SetTimestamp(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API MetricData & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricData & WithValue(double value)
bool MetricNameHasBeenSet() const
const Aws::String & GetMetricName() const
void SetTimestamp(Aws::Utils::DateTime &&value)
bool TimestampHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MetricData & WithTimestamp(const Aws::Utils::DateTime &value)
MetricData & WithMetricName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue