7#include <aws/sagemaker-metrics/SageMakerMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace SageMakerMetrics
50 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
72 inline int GetStep()
const{
return m_step; }
74 inline void SetStep(
int value) { m_stepHasBeenSet =
true; m_step = value; }
82 inline double GetValue()
const{
return m_value; }
84 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
90 bool m_metricNameHasBeenSet =
false;
93 bool m_timestampHasBeenSet =
false;
96 bool m_stepHasBeenSet =
false;
99 bool m_valueHasBeenSet =
false;
RawMetricData & WithMetricName(Aws::String &&value)
AWS_SAGEMAKERMETRICS_API RawMetricData()
RawMetricData & WithTimestamp(const Aws::Utils::DateTime &value)
RawMetricData & WithValue(double value)
RawMetricData & WithTimestamp(Aws::Utils::DateTime &&value)
void SetTimestamp(Aws::Utils::DateTime &&value)
bool ValueHasBeenSet() const
bool StepHasBeenSet() const
RawMetricData & WithMetricName(const Aws::String &value)
void SetValue(double value)
void SetTimestamp(const Aws::Utils::DateTime &value)
AWS_SAGEMAKERMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMetricName() const
void SetMetricName(const Aws::String &value)
void SetMetricName(const char *value)
AWS_SAGEMAKERMETRICS_API RawMetricData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTimestamp() const
void SetMetricName(Aws::String &&value)
RawMetricData & WithStep(int value)
RawMetricData & WithMetricName(const char *value)
bool MetricNameHasBeenSet() const
AWS_SAGEMAKERMETRICS_API RawMetricData(Aws::Utils::Json::JsonView jsonValue)
bool TimestampHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue