AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictorMonitorEvaluation.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/forecast/model/PredictorEvent.h>
11#include <aws/forecast/model/MonitorDataSource.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/forecast/model/MetricResult.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ForecastService
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_FORECASTSERVICE_API PredictorMonitorEvaluation();
40 AWS_FORECASTSERVICE_API PredictorMonitorEvaluation(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
50 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
51 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
52 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
53 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
54 inline PredictorMonitorEvaluation& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
55 inline PredictorMonitorEvaluation& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
56 inline PredictorMonitorEvaluation& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
58
60
63 inline const Aws::String& GetMonitorArn() const{ return m_monitorArn; }
64 inline bool MonitorArnHasBeenSet() const { return m_monitorArnHasBeenSet; }
65 inline void SetMonitorArn(const Aws::String& value) { m_monitorArnHasBeenSet = true; m_monitorArn = value; }
66 inline void SetMonitorArn(Aws::String&& value) { m_monitorArnHasBeenSet = true; m_monitorArn = std::move(value); }
67 inline void SetMonitorArn(const char* value) { m_monitorArnHasBeenSet = true; m_monitorArn.assign(value); }
68 inline PredictorMonitorEvaluation& WithMonitorArn(const Aws::String& value) { SetMonitorArn(value); return *this;}
69 inline PredictorMonitorEvaluation& WithMonitorArn(Aws::String&& value) { SetMonitorArn(std::move(value)); return *this;}
70 inline PredictorMonitorEvaluation& WithMonitorArn(const char* value) { SetMonitorArn(value); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetEvaluationTime() const{ return m_evaluationTime; }
78 inline bool EvaluationTimeHasBeenSet() const { return m_evaluationTimeHasBeenSet; }
79 inline void SetEvaluationTime(const Aws::Utils::DateTime& value) { m_evaluationTimeHasBeenSet = true; m_evaluationTime = value; }
80 inline void SetEvaluationTime(Aws::Utils::DateTime&& value) { m_evaluationTimeHasBeenSet = true; m_evaluationTime = std::move(value); }
82 inline PredictorMonitorEvaluation& WithEvaluationTime(Aws::Utils::DateTime&& value) { SetEvaluationTime(std::move(value)); return *this;}
84
86
90 inline const Aws::String& GetEvaluationState() const{ return m_evaluationState; }
91 inline bool EvaluationStateHasBeenSet() const { return m_evaluationStateHasBeenSet; }
92 inline void SetEvaluationState(const Aws::String& value) { m_evaluationStateHasBeenSet = true; m_evaluationState = value; }
93 inline void SetEvaluationState(Aws::String&& value) { m_evaluationStateHasBeenSet = true; m_evaluationState = std::move(value); }
94 inline void SetEvaluationState(const char* value) { m_evaluationStateHasBeenSet = true; m_evaluationState.assign(value); }
96 inline PredictorMonitorEvaluation& WithEvaluationState(Aws::String&& value) { SetEvaluationState(std::move(value)); return *this;}
97 inline PredictorMonitorEvaluation& WithEvaluationState(const char* value) { SetEvaluationState(value); return *this;}
99
101
105 inline const Aws::Utils::DateTime& GetWindowStartDatetime() const{ return m_windowStartDatetime; }
106 inline bool WindowStartDatetimeHasBeenSet() const { return m_windowStartDatetimeHasBeenSet; }
107 inline void SetWindowStartDatetime(const Aws::Utils::DateTime& value) { m_windowStartDatetimeHasBeenSet = true; m_windowStartDatetime = value; }
108 inline void SetWindowStartDatetime(Aws::Utils::DateTime&& value) { m_windowStartDatetimeHasBeenSet = true; m_windowStartDatetime = std::move(value); }
112
114
118 inline const Aws::Utils::DateTime& GetWindowEndDatetime() const{ return m_windowEndDatetime; }
119 inline bool WindowEndDatetimeHasBeenSet() const { return m_windowEndDatetimeHasBeenSet; }
120 inline void SetWindowEndDatetime(const Aws::Utils::DateTime& value) { m_windowEndDatetimeHasBeenSet = true; m_windowEndDatetime = value; }
121 inline void SetWindowEndDatetime(Aws::Utils::DateTime&& value) { m_windowEndDatetimeHasBeenSet = true; m_windowEndDatetime = std::move(value); }
125
127
130 inline const PredictorEvent& GetPredictorEvent() const{ return m_predictorEvent; }
131 inline bool PredictorEventHasBeenSet() const { return m_predictorEventHasBeenSet; }
132 inline void SetPredictorEvent(const PredictorEvent& value) { m_predictorEventHasBeenSet = true; m_predictorEvent = value; }
133 inline void SetPredictorEvent(PredictorEvent&& value) { m_predictorEventHasBeenSet = true; m_predictorEvent = std::move(value); }
135 inline PredictorMonitorEvaluation& WithPredictorEvent(PredictorEvent&& value) { SetPredictorEvent(std::move(value)); return *this;}
137
139
142 inline const MonitorDataSource& GetMonitorDataSource() const{ return m_monitorDataSource; }
143 inline bool MonitorDataSourceHasBeenSet() const { return m_monitorDataSourceHasBeenSet; }
144 inline void SetMonitorDataSource(const MonitorDataSource& value) { m_monitorDataSourceHasBeenSet = true; m_monitorDataSource = value; }
145 inline void SetMonitorDataSource(MonitorDataSource&& value) { m_monitorDataSourceHasBeenSet = true; m_monitorDataSource = std::move(value); }
149
151
156 inline const Aws::Vector<MetricResult>& GetMetricResults() const{ return m_metricResults; }
157 inline bool MetricResultsHasBeenSet() const { return m_metricResultsHasBeenSet; }
158 inline void SetMetricResults(const Aws::Vector<MetricResult>& value) { m_metricResultsHasBeenSet = true; m_metricResults = value; }
159 inline void SetMetricResults(Aws::Vector<MetricResult>&& value) { m_metricResultsHasBeenSet = true; m_metricResults = std::move(value); }
162 inline PredictorMonitorEvaluation& AddMetricResults(const MetricResult& value) { m_metricResultsHasBeenSet = true; m_metricResults.push_back(value); return *this; }
163 inline PredictorMonitorEvaluation& AddMetricResults(MetricResult&& value) { m_metricResultsHasBeenSet = true; m_metricResults.push_back(std::move(value)); return *this; }
165
167
170 inline long long GetNumItemsEvaluated() const{ return m_numItemsEvaluated; }
171 inline bool NumItemsEvaluatedHasBeenSet() const { return m_numItemsEvaluatedHasBeenSet; }
172 inline void SetNumItemsEvaluated(long long value) { m_numItemsEvaluatedHasBeenSet = true; m_numItemsEvaluated = value; }
173 inline PredictorMonitorEvaluation& WithNumItemsEvaluated(long long value) { SetNumItemsEvaluated(value); return *this;}
175
177
181 inline const Aws::String& GetMessage() const{ return m_message; }
182 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
183 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
184 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
185 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
186 inline PredictorMonitorEvaluation& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
187 inline PredictorMonitorEvaluation& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
188 inline PredictorMonitorEvaluation& WithMessage(const char* value) { SetMessage(value); return *this;}
190 private:
191
192 Aws::String m_resourceArn;
193 bool m_resourceArnHasBeenSet = false;
194
195 Aws::String m_monitorArn;
196 bool m_monitorArnHasBeenSet = false;
197
198 Aws::Utils::DateTime m_evaluationTime;
199 bool m_evaluationTimeHasBeenSet = false;
200
201 Aws::String m_evaluationState;
202 bool m_evaluationStateHasBeenSet = false;
203
204 Aws::Utils::DateTime m_windowStartDatetime;
205 bool m_windowStartDatetimeHasBeenSet = false;
206
207 Aws::Utils::DateTime m_windowEndDatetime;
208 bool m_windowEndDatetimeHasBeenSet = false;
209
210 PredictorEvent m_predictorEvent;
211 bool m_predictorEventHasBeenSet = false;
212
213 MonitorDataSource m_monitorDataSource;
214 bool m_monitorDataSourceHasBeenSet = false;
215
216 Aws::Vector<MetricResult> m_metricResults;
217 bool m_metricResultsHasBeenSet = false;
218
219 long long m_numItemsEvaluated;
220 bool m_numItemsEvaluatedHasBeenSet = false;
221
222 Aws::String m_message;
223 bool m_messageHasBeenSet = false;
224 };
225
226} // namespace Model
227} // namespace ForecastService
228} // namespace Aws
PredictorMonitorEvaluation & WithMonitorArn(const Aws::String &value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
PredictorMonitorEvaluation & WithEvaluationTime(const Aws::Utils::DateTime &value)
PredictorMonitorEvaluation & WithMetricResults(const Aws::Vector< MetricResult > &value)
PredictorMonitorEvaluation & WithMonitorDataSource(MonitorDataSource &&value)
PredictorMonitorEvaluation & WithWindowStartDatetime(const Aws::Utils::DateTime &value)
AWS_FORECASTSERVICE_API PredictorMonitorEvaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictorMonitorEvaluation & WithMessage(const Aws::String &value)
PredictorMonitorEvaluation & AddMetricResults(MetricResult &&value)
PredictorMonitorEvaluation & WithEvaluationState(const Aws::String &value)
PredictorMonitorEvaluation & WithMessage(const char *value)
void SetMetricResults(const Aws::Vector< MetricResult > &value)
AWS_FORECASTSERVICE_API PredictorMonitorEvaluation(Aws::Utils::Json::JsonView jsonValue)
PredictorMonitorEvaluation & WithResourceArn(const char *value)
PredictorMonitorEvaluation & WithEvaluationTime(Aws::Utils::DateTime &&value)
PredictorMonitorEvaluation & WithMonitorDataSource(const MonitorDataSource &value)
PredictorMonitorEvaluation & WithResourceArn(Aws::String &&value)
PredictorMonitorEvaluation & WithNumItemsEvaluated(long long value)
PredictorMonitorEvaluation & WithPredictorEvent(PredictorEvent &&value)
const Aws::Vector< MetricResult > & GetMetricResults() const
PredictorMonitorEvaluation & WithMonitorArn(Aws::String &&value)
PredictorMonitorEvaluation & AddMetricResults(const MetricResult &value)
PredictorMonitorEvaluation & WithWindowEndDatetime(const Aws::Utils::DateTime &value)
PredictorMonitorEvaluation & WithResourceArn(const Aws::String &value)
PredictorMonitorEvaluation & WithMonitorArn(const char *value)
PredictorMonitorEvaluation & WithEvaluationState(const char *value)
PredictorMonitorEvaluation & WithEvaluationState(Aws::String &&value)
PredictorMonitorEvaluation & WithWindowEndDatetime(Aws::Utils::DateTime &&value)
PredictorMonitorEvaluation & WithMetricResults(Aws::Vector< MetricResult > &&value)
PredictorMonitorEvaluation & WithPredictorEvent(const PredictorEvent &value)
PredictorMonitorEvaluation & WithMessage(Aws::String &&value)
PredictorMonitorEvaluation & WithWindowStartDatetime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue