7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ForecastService
47 template<
typename ForecastTypeT = Aws::String>
48 void SetForecastType(ForecastTypeT&& value) { m_forecastTypeHasBeenSet =
true; m_forecastType = std::forward<ForecastTypeT>(value); }
49 template<
typename ForecastTypeT = Aws::String>
57 inline double GetWAPE()
const {
return m_wAPE; }
59 inline void SetWAPE(
double value) { m_wAPEHasBeenSet =
true; m_wAPE = value; }
67 inline double GetRMSE()
const {
return m_rMSE; }
69 inline void SetRMSE(
double value) { m_rMSEHasBeenSet =
true; m_rMSE = value; }
77 inline double GetMASE()
const {
return m_mASE; }
79 inline void SetMASE(
double value) { m_mASEHasBeenSet =
true; m_mASE = value; }
87 inline double GetMAPE()
const {
return m_mAPE; }
89 inline void SetMAPE(
double value) { m_mAPEHasBeenSet =
true; m_mAPE = value; }
95 bool m_forecastTypeHasBeenSet =
false;
98 bool m_wAPEHasBeenSet =
false;
101 bool m_rMSEHasBeenSet =
false;
104 bool m_mASEHasBeenSet =
false;
107 bool m_mAPEHasBeenSet =
false;
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRMSE(double value)
ErrorMetric & WithWAPE(double value)
void SetMASE(double value)
ErrorMetric & WithForecastType(ForecastTypeT &&value)
bool WAPEHasBeenSet() const
bool ForecastTypeHasBeenSet() const
AWS_FORECASTSERVICE_API ErrorMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorMetric & WithMAPE(double value)
ErrorMetric & WithRMSE(double value)
AWS_FORECASTSERVICE_API ErrorMetric(Aws::Utils::Json::JsonView jsonValue)
bool RMSEHasBeenSet() const
void SetWAPE(double value)
ErrorMetric & WithMASE(double value)
AWS_FORECASTSERVICE_API ErrorMetric()=default
bool MAPEHasBeenSet() const
void SetMAPE(double value)
const Aws::String & GetForecastType() const
bool MASEHasBeenSet() const
void SetForecastType(ForecastTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue