7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ForecastService
53 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
65 inline void SetMetricValue(
double value) { m_metricValueHasBeenSet =
true; m_metricValue = value; }
71 bool m_metricNameHasBeenSet =
false;
74 bool m_metricValueHasBeenSet =
false;
void SetMetricName(const char *value)
const Aws::String & GetMetricName() const
AWS_FORECASTSERVICE_API MetricResult(Aws::Utils::Json::JsonView jsonValue)
bool MetricNameHasBeenSet() const
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
double GetMetricValue() const
bool MetricValueHasBeenSet() const
void SetMetricName(Aws::String &&value)
void SetMetricValue(double value)
MetricResult & WithMetricValue(double value)
void SetMetricName(const Aws::String &value)
MetricResult & WithMetricName(const Aws::String &value)
MetricResult & WithMetricName(Aws::String &&value)
MetricResult & WithMetricName(const char *value)
AWS_FORECASTSERVICE_API MetricResult()
AWS_FORECASTSERVICE_API MetricResult & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue