7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/forecast/ForecastService_EXPORTS.h>
19namespace ForecastService {
45 template <
typename MetricNameT = Aws::String>
47 m_metricNameHasBeenSet =
true;
48 m_metricName = std::forward<MetricNameT>(value);
50 template <
typename MetricNameT = Aws::String>
64 m_metricValueHasBeenSet =
true;
65 m_metricValue = value;
75 double m_metricValue{0.0};
76 bool m_metricNameHasBeenSet =
false;
77 bool m_metricValueHasBeenSet =
false;
MetricResult & WithMetricName(MetricNameT &&value)
void SetMetricName(MetricNameT &&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
AWS_FORECASTSERVICE_API MetricResult()=default
void SetMetricValue(double value)
MetricResult & WithMetricValue(double value)
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