AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ResourceArnT = Aws::String>
52 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
53 template<typename ResourceArnT = Aws::String>
54 PredictorMonitorEvaluation& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetMonitorArn() const { return m_monitorArn; }
62 inline bool MonitorArnHasBeenSet() const { return m_monitorArnHasBeenSet; }
63 template<typename MonitorArnT = Aws::String>
64 void SetMonitorArn(MonitorArnT&& value) { m_monitorArnHasBeenSet = true; m_monitorArn = std::forward<MonitorArnT>(value); }
65 template<typename MonitorArnT = Aws::String>
66 PredictorMonitorEvaluation& WithMonitorArn(MonitorArnT&& value) { SetMonitorArn(std::forward<MonitorArnT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetEvaluationTime() const { return m_evaluationTime; }
74 inline bool EvaluationTimeHasBeenSet() const { return m_evaluationTimeHasBeenSet; }
75 template<typename EvaluationTimeT = Aws::Utils::DateTime>
76 void SetEvaluationTime(EvaluationTimeT&& value) { m_evaluationTimeHasBeenSet = true; m_evaluationTime = std::forward<EvaluationTimeT>(value); }
77 template<typename EvaluationTimeT = Aws::Utils::DateTime>
78 PredictorMonitorEvaluation& WithEvaluationTime(EvaluationTimeT&& value) { SetEvaluationTime(std::forward<EvaluationTimeT>(value)); return *this;}
80
82
86 inline const Aws::String& GetEvaluationState() const { return m_evaluationState; }
87 inline bool EvaluationStateHasBeenSet() const { return m_evaluationStateHasBeenSet; }
88 template<typename EvaluationStateT = Aws::String>
89 void SetEvaluationState(EvaluationStateT&& value) { m_evaluationStateHasBeenSet = true; m_evaluationState = std::forward<EvaluationStateT>(value); }
90 template<typename EvaluationStateT = Aws::String>
91 PredictorMonitorEvaluation& WithEvaluationState(EvaluationStateT&& value) { SetEvaluationState(std::forward<EvaluationStateT>(value)); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetWindowStartDatetime() const { return m_windowStartDatetime; }
100 inline bool WindowStartDatetimeHasBeenSet() const { return m_windowStartDatetimeHasBeenSet; }
101 template<typename WindowStartDatetimeT = Aws::Utils::DateTime>
102 void SetWindowStartDatetime(WindowStartDatetimeT&& value) { m_windowStartDatetimeHasBeenSet = true; m_windowStartDatetime = std::forward<WindowStartDatetimeT>(value); }
103 template<typename WindowStartDatetimeT = Aws::Utils::DateTime>
104 PredictorMonitorEvaluation& WithWindowStartDatetime(WindowStartDatetimeT&& value) { SetWindowStartDatetime(std::forward<WindowStartDatetimeT>(value)); return *this;}
106
108
112 inline const Aws::Utils::DateTime& GetWindowEndDatetime() const { return m_windowEndDatetime; }
113 inline bool WindowEndDatetimeHasBeenSet() const { return m_windowEndDatetimeHasBeenSet; }
114 template<typename WindowEndDatetimeT = Aws::Utils::DateTime>
115 void SetWindowEndDatetime(WindowEndDatetimeT&& value) { m_windowEndDatetimeHasBeenSet = true; m_windowEndDatetime = std::forward<WindowEndDatetimeT>(value); }
116 template<typename WindowEndDatetimeT = Aws::Utils::DateTime>
117 PredictorMonitorEvaluation& WithWindowEndDatetime(WindowEndDatetimeT&& value) { SetWindowEndDatetime(std::forward<WindowEndDatetimeT>(value)); return *this;}
119
121
124 inline const PredictorEvent& GetPredictorEvent() const { return m_predictorEvent; }
125 inline bool PredictorEventHasBeenSet() const { return m_predictorEventHasBeenSet; }
126 template<typename PredictorEventT = PredictorEvent>
127 void SetPredictorEvent(PredictorEventT&& value) { m_predictorEventHasBeenSet = true; m_predictorEvent = std::forward<PredictorEventT>(value); }
128 template<typename PredictorEventT = PredictorEvent>
129 PredictorMonitorEvaluation& WithPredictorEvent(PredictorEventT&& value) { SetPredictorEvent(std::forward<PredictorEventT>(value)); return *this;}
131
133
136 inline const MonitorDataSource& GetMonitorDataSource() const { return m_monitorDataSource; }
137 inline bool MonitorDataSourceHasBeenSet() const { return m_monitorDataSourceHasBeenSet; }
138 template<typename MonitorDataSourceT = MonitorDataSource>
139 void SetMonitorDataSource(MonitorDataSourceT&& value) { m_monitorDataSourceHasBeenSet = true; m_monitorDataSource = std::forward<MonitorDataSourceT>(value); }
140 template<typename MonitorDataSourceT = MonitorDataSource>
141 PredictorMonitorEvaluation& WithMonitorDataSource(MonitorDataSourceT&& value) { SetMonitorDataSource(std::forward<MonitorDataSourceT>(value)); return *this;}
143
145
150 inline const Aws::Vector<MetricResult>& GetMetricResults() const { return m_metricResults; }
151 inline bool MetricResultsHasBeenSet() const { return m_metricResultsHasBeenSet; }
152 template<typename MetricResultsT = Aws::Vector<MetricResult>>
153 void SetMetricResults(MetricResultsT&& value) { m_metricResultsHasBeenSet = true; m_metricResults = std::forward<MetricResultsT>(value); }
154 template<typename MetricResultsT = Aws::Vector<MetricResult>>
155 PredictorMonitorEvaluation& WithMetricResults(MetricResultsT&& value) { SetMetricResults(std::forward<MetricResultsT>(value)); return *this;}
156 template<typename MetricResultsT = MetricResult>
157 PredictorMonitorEvaluation& AddMetricResults(MetricResultsT&& value) { m_metricResultsHasBeenSet = true; m_metricResults.emplace_back(std::forward<MetricResultsT>(value)); return *this; }
159
161
164 inline long long GetNumItemsEvaluated() const { return m_numItemsEvaluated; }
165 inline bool NumItemsEvaluatedHasBeenSet() const { return m_numItemsEvaluatedHasBeenSet; }
166 inline void SetNumItemsEvaluated(long long value) { m_numItemsEvaluatedHasBeenSet = true; m_numItemsEvaluated = value; }
167 inline PredictorMonitorEvaluation& WithNumItemsEvaluated(long long value) { SetNumItemsEvaluated(value); return *this;}
169
171
175 inline const Aws::String& GetMessage() const { return m_message; }
176 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
177 template<typename MessageT = Aws::String>
178 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
179 template<typename MessageT = Aws::String>
180 PredictorMonitorEvaluation& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
182 private:
183
184 Aws::String m_resourceArn;
185 bool m_resourceArnHasBeenSet = false;
186
187 Aws::String m_monitorArn;
188 bool m_monitorArnHasBeenSet = false;
189
190 Aws::Utils::DateTime m_evaluationTime{};
191 bool m_evaluationTimeHasBeenSet = false;
192
193 Aws::String m_evaluationState;
194 bool m_evaluationStateHasBeenSet = false;
195
196 Aws::Utils::DateTime m_windowStartDatetime{};
197 bool m_windowStartDatetimeHasBeenSet = false;
198
199 Aws::Utils::DateTime m_windowEndDatetime{};
200 bool m_windowEndDatetimeHasBeenSet = false;
201
202 PredictorEvent m_predictorEvent;
203 bool m_predictorEventHasBeenSet = false;
204
205 MonitorDataSource m_monitorDataSource;
206 bool m_monitorDataSourceHasBeenSet = false;
207
208 Aws::Vector<MetricResult> m_metricResults;
209 bool m_metricResultsHasBeenSet = false;
210
211 long long m_numItemsEvaluated{0};
212 bool m_numItemsEvaluatedHasBeenSet = false;
213
214 Aws::String m_message;
215 bool m_messageHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace ForecastService
220} // namespace Aws
PredictorMonitorEvaluation & WithWindowEndDatetime(WindowEndDatetimeT &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FORECASTSERVICE_API PredictorMonitorEvaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictorMonitorEvaluation & WithWindowStartDatetime(WindowStartDatetimeT &&value)
PredictorMonitorEvaluation & WithMetricResults(MetricResultsT &&value)
PredictorMonitorEvaluation & WithMonitorArn(MonitorArnT &&value)
AWS_FORECASTSERVICE_API PredictorMonitorEvaluation(Aws::Utils::Json::JsonView jsonValue)
PredictorMonitorEvaluation & WithNumItemsEvaluated(long long value)
const Aws::Vector< MetricResult > & GetMetricResults() const
PredictorMonitorEvaluation & WithResourceArn(ResourceArnT &&value)
PredictorMonitorEvaluation & WithEvaluationState(EvaluationStateT &&value)
PredictorMonitorEvaluation & WithMessage(MessageT &&value)
PredictorMonitorEvaluation & WithPredictorEvent(PredictorEventT &&value)
PredictorMonitorEvaluation & WithEvaluationTime(EvaluationTimeT &&value)
AWS_FORECASTSERVICE_API PredictorMonitorEvaluation()=default
PredictorMonitorEvaluation & AddMetricResults(MetricResultsT &&value)
PredictorMonitorEvaluation & WithMonitorDataSource(MonitorDataSourceT &&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