7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/forecast/ForecastService_EXPORTS.h>
19namespace ForecastService {
41 template <
typename ForecastTypeT = Aws::String>
43 m_forecastTypeHasBeenSet =
true;
44 m_forecastType = std::forward<ForecastTypeT>(value);
46 template <
typename ForecastTypeT = Aws::String>
57 inline double GetWAPE()
const {
return m_wAPE; }
60 m_wAPEHasBeenSet =
true;
73 inline double GetRMSE()
const {
return m_rMSE; }
76 m_rMSEHasBeenSet =
true;
89 inline double GetMASE()
const {
return m_mASE; }
92 m_mASEHasBeenSet =
true;
105 inline double GetMAPE()
const {
return m_mAPE; }
108 m_mAPEHasBeenSet =
true;
126 bool m_forecastTypeHasBeenSet =
false;
127 bool m_wAPEHasBeenSet =
false;
128 bool m_rMSEHasBeenSet =
false;
129 bool m_mASEHasBeenSet =
false;
130 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