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>
26namespace ForecastService
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>
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>
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>
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>
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>
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>
126 template<
typename PredictorEventT = PredictorEvent>
127 void SetPredictorEvent(PredictorEventT&& value) { m_predictorEventHasBeenSet =
true; m_predictorEvent = std::forward<PredictorEventT>(value); }
128 template<
typename PredictorEventT = PredictorEvent>
138 template<
typename MonitorDataSourceT = MonitorDataSource>
139 void SetMonitorDataSource(MonitorDataSourceT&& value) { m_monitorDataSourceHasBeenSet =
true; m_monitorDataSource = std::forward<MonitorDataSourceT>(value); }
140 template<
typename MonitorDataSourceT = MonitorDataSource>
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>>
156 template<
typename MetricResultsT = MetricResult>
166 inline void SetNumItemsEvaluated(
long long value) { m_numItemsEvaluatedHasBeenSet =
true; m_numItemsEvaluated = value; }
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>
185 bool m_resourceArnHasBeenSet =
false;
188 bool m_monitorArnHasBeenSet =
false;
191 bool m_evaluationTimeHasBeenSet =
false;
194 bool m_evaluationStateHasBeenSet =
false;
197 bool m_windowStartDatetimeHasBeenSet =
false;
200 bool m_windowEndDatetimeHasBeenSet =
false;
202 PredictorEvent m_predictorEvent;
203 bool m_predictorEventHasBeenSet =
false;
205 MonitorDataSource m_monitorDataSource;
206 bool m_monitorDataSourceHasBeenSet =
false;
209 bool m_metricResultsHasBeenSet =
false;
211 long long m_numItemsEvaluated{0};
212 bool m_numItemsEvaluatedHasBeenSet =
false;
215 bool m_messageHasBeenSet =
false;
const Aws::String & GetMonitorArn() const
PredictorMonitorEvaluation & WithWindowEndDatetime(WindowEndDatetimeT &&value)
bool WindowStartDatetimeHasBeenSet() const
void SetMonitorDataSource(MonitorDataSourceT &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool PredictorEventHasBeenSet() const
void SetNumItemsEvaluated(long long value)
AWS_FORECASTSERVICE_API PredictorMonitorEvaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
void SetEvaluationTime(EvaluationTimeT &&value)
PredictorMonitorEvaluation & WithWindowStartDatetime(WindowStartDatetimeT &&value)
PredictorMonitorEvaluation & WithMetricResults(MetricResultsT &&value)
const Aws::String & GetResourceArn() const
PredictorMonitorEvaluation & WithMonitorArn(MonitorArnT &&value)
void SetPredictorEvent(PredictorEventT &&value)
bool WindowEndDatetimeHasBeenSet() const
const Aws::Utils::DateTime & GetWindowStartDatetime() const
void SetMonitorArn(MonitorArnT &&value)
AWS_FORECASTSERVICE_API PredictorMonitorEvaluation(Aws::Utils::Json::JsonView jsonValue)
const PredictorEvent & GetPredictorEvent() const
void SetEvaluationState(EvaluationStateT &&value)
void SetResourceArn(ResourceArnT &&value)
bool EvaluationStateHasBeenSet() const
bool ResourceArnHasBeenSet() const
bool NumItemsEvaluatedHasBeenSet() const
PredictorMonitorEvaluation & WithNumItemsEvaluated(long long value)
const Aws::Vector< MetricResult > & GetMetricResults() const
const Aws::Utils::DateTime & GetWindowEndDatetime() const
bool MonitorDataSourceHasBeenSet() const
PredictorMonitorEvaluation & WithResourceArn(ResourceArnT &&value)
PredictorMonitorEvaluation & WithEvaluationState(EvaluationStateT &&value)
PredictorMonitorEvaluation & WithMessage(MessageT &&value)
const Aws::String & GetEvaluationState() const
PredictorMonitorEvaluation & WithPredictorEvent(PredictorEventT &&value)
bool EvaluationTimeHasBeenSet() const
const Aws::String & GetMessage() const
void SetWindowEndDatetime(WindowEndDatetimeT &&value)
PredictorMonitorEvaluation & WithEvaluationTime(EvaluationTimeT &&value)
const Aws::Utils::DateTime & GetEvaluationTime() const
long long GetNumItemsEvaluated() const
AWS_FORECASTSERVICE_API PredictorMonitorEvaluation()=default
void SetWindowStartDatetime(WindowStartDatetimeT &&value)
bool MessageHasBeenSet() const
void SetMetricResults(MetricResultsT &&value)
bool MonitorArnHasBeenSet() const
PredictorMonitorEvaluation & AddMetricResults(MetricResultsT &&value)
const MonitorDataSource & GetMonitorDataSource() const
PredictorMonitorEvaluation & WithMonitorDataSource(MonitorDataSourceT &&value)
bool MetricResultsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue