7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ForecastService
49 inline void SetForecastType(
const char* value) { m_forecastTypeHasBeenSet =
true; m_forecastType.assign(value); }
59 inline double GetWAPE()
const{
return m_wAPE; }
61 inline void SetWAPE(
double value) { m_wAPEHasBeenSet =
true; m_wAPE = value; }
69 inline double GetRMSE()
const{
return m_rMSE; }
71 inline void SetRMSE(
double value) { m_rMSEHasBeenSet =
true; m_rMSE = value; }
79 inline double GetMASE()
const{
return m_mASE; }
81 inline void SetMASE(
double value) { m_mASEHasBeenSet =
true; m_mASE = value; }
89 inline double GetMAPE()
const{
return m_mAPE; }
91 inline void SetMAPE(
double value) { m_mAPEHasBeenSet =
true; m_mAPE = value; }
97 bool m_forecastTypeHasBeenSet =
false;
100 bool m_wAPEHasBeenSet =
false;
103 bool m_rMSEHasBeenSet =
false;
106 bool m_mASEHasBeenSet =
false;
109 bool m_mAPEHasBeenSet =
false;
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRMSE(double value)
AWS_FORECASTSERVICE_API ErrorMetric()
ErrorMetric & WithWAPE(double value)
void SetMASE(double value)
ErrorMetric & WithForecastType(const char *value)
bool WAPEHasBeenSet() const
ErrorMetric & WithForecastType(Aws::String &&value)
bool ForecastTypeHasBeenSet() const
AWS_FORECASTSERVICE_API ErrorMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorMetric & WithMAPE(double value)
ErrorMetric & WithRMSE(double value)
void SetForecastType(const char *value)
AWS_FORECASTSERVICE_API ErrorMetric(Aws::Utils::Json::JsonView jsonValue)
bool RMSEHasBeenSet() const
void SetForecastType(const Aws::String &value)
ErrorMetric & WithForecastType(const Aws::String &value)
void SetWAPE(double value)
void SetForecastType(Aws::String &&value)
ErrorMetric & WithMASE(double value)
bool MAPEHasBeenSet() const
void SetMAPE(double value)
const Aws::String & GetForecastType() const
bool MASEHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue