AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferenceExecutionSummary.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lookoutequipment/model/InferenceInputConfiguration.h>
11#include <aws/lookoutequipment/model/InferenceOutputConfiguration.h>
12#include <aws/lookoutequipment/model/S3Object.h>
13#include <aws/lookoutequipment/model/InferenceExecutionStatus.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 LookoutEquipment
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_LOOKOUTEQUIPMENT_API InferenceExecutionSummary();
42 AWS_LOOKOUTEQUIPMENT_API InferenceExecutionSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetModelName() const{ return m_modelName; }
53 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
54 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
55 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
56 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
57 inline InferenceExecutionSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
58 inline InferenceExecutionSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
59 inline InferenceExecutionSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
61
63
67 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
68 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
69 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
70 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
71 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
72 inline InferenceExecutionSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
73 inline InferenceExecutionSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
74 inline InferenceExecutionSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
76
78
82 inline const Aws::String& GetInferenceSchedulerName() const{ return m_inferenceSchedulerName; }
83 inline bool InferenceSchedulerNameHasBeenSet() const { return m_inferenceSchedulerNameHasBeenSet; }
84 inline void SetInferenceSchedulerName(const Aws::String& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = value; }
85 inline void SetInferenceSchedulerName(Aws::String&& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = std::move(value); }
86 inline void SetInferenceSchedulerName(const char* value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName.assign(value); }
89 inline InferenceExecutionSummary& WithInferenceSchedulerName(const char* value) { SetInferenceSchedulerName(value); return *this;}
91
93
97 inline const Aws::String& GetInferenceSchedulerArn() const{ return m_inferenceSchedulerArn; }
98 inline bool InferenceSchedulerArnHasBeenSet() const { return m_inferenceSchedulerArnHasBeenSet; }
99 inline void SetInferenceSchedulerArn(const Aws::String& value) { m_inferenceSchedulerArnHasBeenSet = true; m_inferenceSchedulerArn = value; }
100 inline void SetInferenceSchedulerArn(Aws::String&& value) { m_inferenceSchedulerArnHasBeenSet = true; m_inferenceSchedulerArn = std::move(value); }
101 inline void SetInferenceSchedulerArn(const char* value) { m_inferenceSchedulerArnHasBeenSet = true; m_inferenceSchedulerArn.assign(value); }
104 inline InferenceExecutionSummary& WithInferenceSchedulerArn(const char* value) { SetInferenceSchedulerArn(value); return *this;}
106
108
112 inline const Aws::Utils::DateTime& GetScheduledStartTime() const{ return m_scheduledStartTime; }
113 inline bool ScheduledStartTimeHasBeenSet() const { return m_scheduledStartTimeHasBeenSet; }
114 inline void SetScheduledStartTime(const Aws::Utils::DateTime& value) { m_scheduledStartTimeHasBeenSet = true; m_scheduledStartTime = value; }
115 inline void SetScheduledStartTime(Aws::Utils::DateTime&& value) { m_scheduledStartTimeHasBeenSet = true; m_scheduledStartTime = std::move(value); }
119
121
125 inline const Aws::Utils::DateTime& GetDataStartTime() const{ return m_dataStartTime; }
126 inline bool DataStartTimeHasBeenSet() const { return m_dataStartTimeHasBeenSet; }
127 inline void SetDataStartTime(const Aws::Utils::DateTime& value) { m_dataStartTimeHasBeenSet = true; m_dataStartTime = value; }
128 inline void SetDataStartTime(Aws::Utils::DateTime&& value) { m_dataStartTimeHasBeenSet = true; m_dataStartTime = std::move(value); }
130 inline InferenceExecutionSummary& WithDataStartTime(Aws::Utils::DateTime&& value) { SetDataStartTime(std::move(value)); return *this;}
132
134
138 inline const Aws::Utils::DateTime& GetDataEndTime() const{ return m_dataEndTime; }
139 inline bool DataEndTimeHasBeenSet() const { return m_dataEndTimeHasBeenSet; }
140 inline void SetDataEndTime(const Aws::Utils::DateTime& value) { m_dataEndTimeHasBeenSet = true; m_dataEndTime = value; }
141 inline void SetDataEndTime(Aws::Utils::DateTime&& value) { m_dataEndTimeHasBeenSet = true; m_dataEndTime = std::move(value); }
143 inline InferenceExecutionSummary& WithDataEndTime(Aws::Utils::DateTime&& value) { SetDataEndTime(std::move(value)); return *this;}
145
147
151 inline const InferenceInputConfiguration& GetDataInputConfiguration() const{ return m_dataInputConfiguration; }
152 inline bool DataInputConfigurationHasBeenSet() const { return m_dataInputConfigurationHasBeenSet; }
153 inline void SetDataInputConfiguration(const InferenceInputConfiguration& value) { m_dataInputConfigurationHasBeenSet = true; m_dataInputConfiguration = value; }
154 inline void SetDataInputConfiguration(InferenceInputConfiguration&& value) { m_dataInputConfigurationHasBeenSet = true; m_dataInputConfiguration = std::move(value); }
158
160
164 inline const InferenceOutputConfiguration& GetDataOutputConfiguration() const{ return m_dataOutputConfiguration; }
165 inline bool DataOutputConfigurationHasBeenSet() const { return m_dataOutputConfigurationHasBeenSet; }
166 inline void SetDataOutputConfiguration(const InferenceOutputConfiguration& value) { m_dataOutputConfigurationHasBeenSet = true; m_dataOutputConfiguration = value; }
167 inline void SetDataOutputConfiguration(InferenceOutputConfiguration&& value) { m_dataOutputConfigurationHasBeenSet = true; m_dataOutputConfiguration = std::move(value); }
171
173
176 inline const S3Object& GetCustomerResultObject() const{ return m_customerResultObject; }
177 inline bool CustomerResultObjectHasBeenSet() const { return m_customerResultObjectHasBeenSet; }
178 inline void SetCustomerResultObject(const S3Object& value) { m_customerResultObjectHasBeenSet = true; m_customerResultObject = value; }
179 inline void SetCustomerResultObject(S3Object&& value) { m_customerResultObjectHasBeenSet = true; m_customerResultObject = std::move(value); }
181 inline InferenceExecutionSummary& WithCustomerResultObject(S3Object&& value) { SetCustomerResultObject(std::move(value)); return *this;}
183
185
188 inline const InferenceExecutionStatus& GetStatus() const{ return m_status; }
189 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
190 inline void SetStatus(const InferenceExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
191 inline void SetStatus(InferenceExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
192 inline InferenceExecutionSummary& WithStatus(const InferenceExecutionStatus& value) { SetStatus(value); return *this;}
193 inline InferenceExecutionSummary& WithStatus(InferenceExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
195
197
201 inline const Aws::String& GetFailedReason() const{ return m_failedReason; }
202 inline bool FailedReasonHasBeenSet() const { return m_failedReasonHasBeenSet; }
203 inline void SetFailedReason(const Aws::String& value) { m_failedReasonHasBeenSet = true; m_failedReason = value; }
204 inline void SetFailedReason(Aws::String&& value) { m_failedReasonHasBeenSet = true; m_failedReason = std::move(value); }
205 inline void SetFailedReason(const char* value) { m_failedReasonHasBeenSet = true; m_failedReason.assign(value); }
206 inline InferenceExecutionSummary& WithFailedReason(const Aws::String& value) { SetFailedReason(value); return *this;}
207 inline InferenceExecutionSummary& WithFailedReason(Aws::String&& value) { SetFailedReason(std::move(value)); return *this;}
208 inline InferenceExecutionSummary& WithFailedReason(const char* value) { SetFailedReason(value); return *this;}
210
212
215 inline long long GetModelVersion() const{ return m_modelVersion; }
216 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
217 inline void SetModelVersion(long long value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
218 inline InferenceExecutionSummary& WithModelVersion(long long value) { SetModelVersion(value); return *this;}
220
222
226 inline const Aws::String& GetModelVersionArn() const{ return m_modelVersionArn; }
227 inline bool ModelVersionArnHasBeenSet() const { return m_modelVersionArnHasBeenSet; }
228 inline void SetModelVersionArn(const Aws::String& value) { m_modelVersionArnHasBeenSet = true; m_modelVersionArn = value; }
229 inline void SetModelVersionArn(Aws::String&& value) { m_modelVersionArnHasBeenSet = true; m_modelVersionArn = std::move(value); }
230 inline void SetModelVersionArn(const char* value) { m_modelVersionArnHasBeenSet = true; m_modelVersionArn.assign(value); }
232 inline InferenceExecutionSummary& WithModelVersionArn(Aws::String&& value) { SetModelVersionArn(std::move(value)); return *this;}
233 inline InferenceExecutionSummary& WithModelVersionArn(const char* value) { SetModelVersionArn(value); return *this;}
235 private:
236
237 Aws::String m_modelName;
238 bool m_modelNameHasBeenSet = false;
239
240 Aws::String m_modelArn;
241 bool m_modelArnHasBeenSet = false;
242
243 Aws::String m_inferenceSchedulerName;
244 bool m_inferenceSchedulerNameHasBeenSet = false;
245
246 Aws::String m_inferenceSchedulerArn;
247 bool m_inferenceSchedulerArnHasBeenSet = false;
248
249 Aws::Utils::DateTime m_scheduledStartTime;
250 bool m_scheduledStartTimeHasBeenSet = false;
251
252 Aws::Utils::DateTime m_dataStartTime;
253 bool m_dataStartTimeHasBeenSet = false;
254
255 Aws::Utils::DateTime m_dataEndTime;
256 bool m_dataEndTimeHasBeenSet = false;
257
258 InferenceInputConfiguration m_dataInputConfiguration;
259 bool m_dataInputConfigurationHasBeenSet = false;
260
261 InferenceOutputConfiguration m_dataOutputConfiguration;
262 bool m_dataOutputConfigurationHasBeenSet = false;
263
264 S3Object m_customerResultObject;
265 bool m_customerResultObjectHasBeenSet = false;
266
268 bool m_statusHasBeenSet = false;
269
270 Aws::String m_failedReason;
271 bool m_failedReasonHasBeenSet = false;
272
273 long long m_modelVersion;
274 bool m_modelVersionHasBeenSet = false;
275
276 Aws::String m_modelVersionArn;
277 bool m_modelVersionArnHasBeenSet = false;
278 };
279
280} // namespace Model
281} // namespace LookoutEquipment
282} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceExecutionSummary & WithInferenceSchedulerArn(const Aws::String &value)
InferenceExecutionSummary & WithModelArn(Aws::String &&value)
const InferenceInputConfiguration & GetDataInputConfiguration() const
InferenceExecutionSummary & WithDataEndTime(const Aws::Utils::DateTime &value)
InferenceExecutionSummary & WithStatus(InferenceExecutionStatus &&value)
InferenceExecutionSummary & WithModelVersionArn(const char *value)
InferenceExecutionSummary & WithScheduledStartTime(Aws::Utils::DateTime &&value)
InferenceExecutionSummary & WithModelArn(const Aws::String &value)
InferenceExecutionSummary & WithDataEndTime(Aws::Utils::DateTime &&value)
InferenceExecutionSummary & WithCustomerResultObject(S3Object &&value)
InferenceExecutionSummary & WithStatus(const InferenceExecutionStatus &value)
InferenceExecutionSummary & WithDataOutputConfiguration(const InferenceOutputConfiguration &value)
void SetDataInputConfiguration(const InferenceInputConfiguration &value)
InferenceExecutionSummary & WithModelName(Aws::String &&value)
InferenceExecutionSummary & WithModelName(const char *value)
InferenceExecutionSummary & WithInferenceSchedulerName(const Aws::String &value)
void SetDataInputConfiguration(InferenceInputConfiguration &&value)
InferenceExecutionSummary & WithDataInputConfiguration(InferenceInputConfiguration &&value)
InferenceExecutionSummary & WithInferenceSchedulerArn(const char *value)
InferenceExecutionSummary & WithModelVersionArn(const Aws::String &value)
InferenceExecutionSummary & WithModelVersion(long long value)
InferenceExecutionSummary & WithDataStartTime(Aws::Utils::DateTime &&value)
InferenceExecutionSummary & WithModelArn(const char *value)
InferenceExecutionSummary & WithDataOutputConfiguration(InferenceOutputConfiguration &&value)
InferenceExecutionSummary & WithFailedReason(const Aws::String &value)
InferenceExecutionSummary & WithCustomerResultObject(const S3Object &value)
InferenceExecutionSummary & WithScheduledStartTime(const Aws::Utils::DateTime &value)
InferenceExecutionSummary & WithFailedReason(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API InferenceExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
InferenceExecutionSummary & WithModelName(const Aws::String &value)
InferenceExecutionSummary & WithFailedReason(const char *value)
void SetDataOutputConfiguration(const InferenceOutputConfiguration &value)
AWS_LOOKOUTEQUIPMENT_API InferenceExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceExecutionSummary & WithInferenceSchedulerArn(Aws::String &&value)
InferenceExecutionSummary & WithDataStartTime(const Aws::Utils::DateTime &value)
void SetDataOutputConfiguration(InferenceOutputConfiguration &&value)
const InferenceOutputConfiguration & GetDataOutputConfiguration() const
InferenceExecutionSummary & WithInferenceSchedulerName(const char *value)
InferenceExecutionSummary & WithInferenceSchedulerName(Aws::String &&value)
InferenceExecutionSummary & WithDataInputConfiguration(const InferenceInputConfiguration &value)
InferenceExecutionSummary & WithModelVersionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue