AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WindowSummary.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ForecastService
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_FORECASTSERVICE_API WindowSummary();
41 AWS_FORECASTSERVICE_API WindowSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FORECASTSERVICE_API WindowSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Utils::DateTime& GetTestWindowStart() const{ return m_testWindowStart; }
51 inline bool TestWindowStartHasBeenSet() const { return m_testWindowStartHasBeenSet; }
52 inline void SetTestWindowStart(const Aws::Utils::DateTime& value) { m_testWindowStartHasBeenSet = true; m_testWindowStart = value; }
53 inline void SetTestWindowStart(Aws::Utils::DateTime&& value) { m_testWindowStartHasBeenSet = true; m_testWindowStart = std::move(value); }
54 inline WindowSummary& WithTestWindowStart(const Aws::Utils::DateTime& value) { SetTestWindowStart(value); return *this;}
55 inline WindowSummary& WithTestWindowStart(Aws::Utils::DateTime&& value) { SetTestWindowStart(std::move(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetTestWindowEnd() const{ return m_testWindowEnd; }
63 inline bool TestWindowEndHasBeenSet() const { return m_testWindowEndHasBeenSet; }
64 inline void SetTestWindowEnd(const Aws::Utils::DateTime& value) { m_testWindowEndHasBeenSet = true; m_testWindowEnd = value; }
65 inline void SetTestWindowEnd(Aws::Utils::DateTime&& value) { m_testWindowEndHasBeenSet = true; m_testWindowEnd = std::move(value); }
66 inline WindowSummary& WithTestWindowEnd(const Aws::Utils::DateTime& value) { SetTestWindowEnd(value); return *this;}
67 inline WindowSummary& WithTestWindowEnd(Aws::Utils::DateTime&& value) { SetTestWindowEnd(std::move(value)); return *this;}
69
71
74 inline int GetItemCount() const{ return m_itemCount; }
75 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
76 inline void SetItemCount(int value) { m_itemCountHasBeenSet = true; m_itemCount = value; }
77 inline WindowSummary& WithItemCount(int value) { SetItemCount(value); return *this;}
79
81
86 inline const EvaluationType& GetEvaluationType() const{ return m_evaluationType; }
87 inline bool EvaluationTypeHasBeenSet() const { return m_evaluationTypeHasBeenSet; }
88 inline void SetEvaluationType(const EvaluationType& value) { m_evaluationTypeHasBeenSet = true; m_evaluationType = value; }
89 inline void SetEvaluationType(EvaluationType&& value) { m_evaluationTypeHasBeenSet = true; m_evaluationType = std::move(value); }
90 inline WindowSummary& WithEvaluationType(const EvaluationType& value) { SetEvaluationType(value); return *this;}
91 inline WindowSummary& WithEvaluationType(EvaluationType&& value) { SetEvaluationType(std::move(value)); return *this;}
93
95
98 inline const Metrics& GetMetrics() const{ return m_metrics; }
99 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
100 inline void SetMetrics(const Metrics& value) { m_metricsHasBeenSet = true; m_metrics = value; }
101 inline void SetMetrics(Metrics&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
102 inline WindowSummary& WithMetrics(const Metrics& value) { SetMetrics(value); return *this;}
103 inline WindowSummary& WithMetrics(Metrics&& value) { SetMetrics(std::move(value)); return *this;}
105 private:
106
107 Aws::Utils::DateTime m_testWindowStart;
108 bool m_testWindowStartHasBeenSet = false;
109
110 Aws::Utils::DateTime m_testWindowEnd;
111 bool m_testWindowEndHasBeenSet = false;
112
113 int m_itemCount;
114 bool m_itemCountHasBeenSet = false;
115
116 EvaluationType m_evaluationType;
117 bool m_evaluationTypeHasBeenSet = false;
118
119 Metrics m_metrics;
120 bool m_metricsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace ForecastService
125} // namespace Aws
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTestWindowStart(Aws::Utils::DateTime &&value)
WindowSummary & WithMetrics(const Metrics &value)
void SetTestWindowStart(const Aws::Utils::DateTime &value)
const EvaluationType & GetEvaluationType() const
WindowSummary & WithTestWindowEnd(const Aws::Utils::DateTime &value)
void SetEvaluationType(const EvaluationType &value)
WindowSummary & WithTestWindowStart(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetTestWindowEnd() const
AWS_FORECASTSERVICE_API WindowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WindowSummary & WithTestWindowEnd(Aws::Utils::DateTime &&value)
WindowSummary & WithEvaluationType(EvaluationType &&value)
const Aws::Utils::DateTime & GetTestWindowStart() const
AWS_FORECASTSERVICE_API WindowSummary()
WindowSummary & WithMetrics(Metrics &&value)
WindowSummary & WithTestWindowStart(Aws::Utils::DateTime &&value)
void SetTestWindowEnd(Aws::Utils::DateTime &&value)
WindowSummary & WithEvaluationType(const EvaluationType &value)
void SetTestWindowEnd(const Aws::Utils::DateTime &value)
AWS_FORECASTSERVICE_API WindowSummary(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluationType(EvaluationType &&value)
WindowSummary & WithItemCount(int value)
Aws::Utils::Json::JsonValue JsonValue