7#include <aws/sagemaker-edge/SagemakerEdgeManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace SagemakerEdgeManager
49 inline void SetDimension(
const char* value) { m_dimensionHasBeenSet =
true; m_dimension.assign(value); }
63 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
73 inline double GetValue()
const{
return m_value; }
75 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
93 bool m_dimensionHasBeenSet =
false;
96 bool m_metricNameHasBeenSet =
false;
99 bool m_valueHasBeenSet =
false;
102 bool m_timestampHasBeenSet =
false;
EdgeMetric & WithDimension(const Aws::String &value)
bool TimestampHasBeenSet() const
const Aws::String & GetMetricName() const
EdgeMetric & WithValue(double value)
void SetValue(double value)
void SetMetricName(const char *value)
void SetMetricName(Aws::String &&value)
bool ValueHasBeenSet() const
void SetMetricName(const Aws::String &value)
EdgeMetric & WithDimension(const char *value)
const Aws::String & GetDimension() const
EdgeMetric & WithDimension(Aws::String &&value)
void SetDimension(Aws::String &&value)
void SetTimestamp(const Aws::Utils::DateTime &value)
void SetDimension(const char *value)
void SetTimestamp(Aws::Utils::DateTime &&value)
bool DimensionHasBeenSet() const
EdgeMetric & WithMetricName(Aws::String &&value)
AWS_SAGEMAKEREDGEMANAGER_API EdgeMetric(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKEREDGEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool MetricNameHasBeenSet() const
const Aws::Utils::DateTime & GetTimestamp() const
void SetDimension(const Aws::String &value)
EdgeMetric & WithMetricName(const Aws::String &value)
EdgeMetric & WithTimestamp(Aws::Utils::DateTime &&value)
EdgeMetric & WithTimestamp(const Aws::Utils::DateTime &value)
AWS_SAGEMAKEREDGEMANAGER_API EdgeMetric()
AWS_SAGEMAKEREDGEMANAGER_API EdgeMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
EdgeMetric & WithMetricName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue