7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/forecast/model/EvaluationType.h>
10#include <aws/forecast/model/Metrics.h>
23namespace ForecastService
52 template<
typename TestWindowStartT = Aws::Utils::DateTime>
53 void SetTestWindowStart(TestWindowStartT&& value) { m_testWindowStartHasBeenSet =
true; m_testWindowStart = std::forward<TestWindowStartT>(value); }
54 template<
typename TestWindowStartT = Aws::Utils::DateTime>
64 template<
typename TestWindowEndT = Aws::Utils::DateTime>
65 void SetTestWindowEnd(TestWindowEndT&& value) { m_testWindowEndHasBeenSet =
true; m_testWindowEnd = std::forward<TestWindowEndT>(value); }
66 template<
typename TestWindowEndT = Aws::Utils::DateTime>
76 inline void SetItemCount(
int value) { m_itemCountHasBeenSet =
true; m_itemCount = value; }
98 template<
typename MetricsT = Metrics>
99 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
100 template<
typename MetricsT = Metrics>
106 bool m_testWindowStartHasBeenSet =
false;
109 bool m_testWindowEndHasBeenSet =
false;
112 bool m_itemCountHasBeenSet =
false;
115 bool m_evaluationTypeHasBeenSet =
false;
118 bool m_metricsHasBeenSet =
false;
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetItemCount(int value)
bool TestWindowEndHasBeenSet() const
bool MetricsHasBeenSet() const
EvaluationType GetEvaluationType() const
void SetEvaluationType(EvaluationType value)
void SetTestWindowStart(TestWindowStartT &&value)
bool ItemCountHasBeenSet() const
const Aws::Utils::DateTime & GetTestWindowEnd() const
AWS_FORECASTSERVICE_API WindowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API WindowSummary()=default
WindowSummary & WithMetrics(MetricsT &&value)
const Aws::Utils::DateTime & GetTestWindowStart() const
void SetTestWindowEnd(TestWindowEndT &&value)
bool TestWindowStartHasBeenSet() const
bool EvaluationTypeHasBeenSet() const
WindowSummary & WithTestWindowEnd(TestWindowEndT &&value)
WindowSummary & WithEvaluationType(EvaluationType value)
AWS_FORECASTSERVICE_API WindowSummary(Aws::Utils::Json::JsonView jsonValue)
WindowSummary & WithItemCount(int value)
void SetMetrics(MetricsT &&value)
const Metrics & GetMetrics() const
WindowSummary & WithTestWindowStart(TestWindowStartT &&value)
Aws::Utils::Json::JsonValue JsonValue