7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/forecast/model/WeightedQuantileLoss.h>
10#include <aws/forecast/model/ErrorMetric.h>
23namespace ForecastService
87 bool m_weightedQuantileLossesHasBeenSet =
false;
90 bool m_errorMetricsHasBeenSet =
false;
92 double m_averageWeightedQuantileLoss;
93 bool m_averageWeightedQuantileLossHasBeenSet =
false;
Metrics & AddWeightedQuantileLosses(const WeightedQuantileLoss &value)
bool ErrorMetricsHasBeenSet() const
bool WeightedQuantileLossesHasBeenSet() const
void SetErrorMetrics(const Aws::Vector< ErrorMetric > &value)
void SetErrorMetrics(Aws::Vector< ErrorMetric > &&value)
const Aws::Vector< WeightedQuantileLoss > & GetWeightedQuantileLosses() const
void SetAverageWeightedQuantileLoss(double value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWeightedQuantileLosses(Aws::Vector< WeightedQuantileLoss > &&value)
Metrics & WithWeightedQuantileLosses(Aws::Vector< WeightedQuantileLoss > &&value)
double GetAverageWeightedQuantileLoss() const
void SetWeightedQuantileLosses(const Aws::Vector< WeightedQuantileLoss > &value)
Metrics & AddErrorMetrics(const ErrorMetric &value)
AWS_FORECASTSERVICE_API Metrics(Aws::Utils::Json::JsonView jsonValue)
bool AverageWeightedQuantileLossHasBeenSet() const
Metrics & WithAverageWeightedQuantileLoss(double value)
Metrics & AddWeightedQuantileLosses(WeightedQuantileLoss &&value)
AWS_FORECASTSERVICE_API Metrics & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ErrorMetric > & GetErrorMetrics() const
AWS_FORECASTSERVICE_API Metrics()
Metrics & WithErrorMetrics(Aws::Vector< ErrorMetric > &&value)
Metrics & WithWeightedQuantileLosses(const Aws::Vector< WeightedQuantileLoss > &value)
Metrics & WithErrorMetrics(const Aws::Vector< ErrorMetric > &value)
Metrics & AddErrorMetrics(ErrorMetric &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue