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
48 template<
typename MetricNameT = Aws::String>
49 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
50 template<
typename MetricNameT = Aws::String>
60 template<
typename TimestampT = Aws::Utils::DateTime>
61 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
62 template<
typename TimestampT = Aws::Utils::DateTime>
70 inline int GetStep()
const {
return m_step; }
72 inline void SetStep(
int value) { m_stepHasBeenSet =
true; m_step = value; }
80 inline double GetValue()
const {
return m_value; }
82 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
88 bool m_metricNameHasBeenSet =
false;
91 bool m_timestampHasBeenSet =
false;
94 bool m_stepHasBeenSet =
false;
97 bool m_valueHasBeenSet =
false;
RawMetricData & WithValue(double value)
void SetMetricName(MetricNameT &&value)
RawMetricData & WithMetricName(MetricNameT &&value)
bool ValueHasBeenSet() const
bool StepHasBeenSet() const
RawMetricData & WithTimestamp(TimestampT &&value)
void SetValue(double value)
AWS_SAGEMAKERMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMetricName() const
AWS_SAGEMAKERMETRICS_API RawMetricData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERMETRICS_API RawMetricData()=default
const Aws::Utils::DateTime & GetTimestamp() const
void SetTimestamp(TimestampT &&value)
RawMetricData & WithStep(int 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