7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-metrics/SageMakerMetrics_EXPORTS.h>
20namespace SageMakerMetrics {
42 template <
typename MetricNameT = Aws::String>
44 m_metricNameHasBeenSet =
true;
45 m_metricName = std::forward<MetricNameT>(value);
47 template <
typename MetricNameT = Aws::String>
60 template <
typename TimestampT = Aws::Utils::DateTime>
62 m_timestampHasBeenSet =
true;
63 m_timestamp = std::forward<TimestampT>(value);
65 template <
typename TimestampT = Aws::Utils::DateTime>
76 inline int GetStep()
const {
return m_step; }
79 m_stepHasBeenSet =
true;
92 inline double GetValue()
const {
return m_value; }
95 m_valueHasBeenSet =
true;
111 bool m_metricNameHasBeenSet =
false;
112 bool m_timestampHasBeenSet =
false;
113 bool m_stepHasBeenSet =
false;
114 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