AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelSummary.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/model/ModelStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/lookoutequipment/model/ModelVersionStatus.h>
12#include <aws/lookoutequipment/model/RetrainingSchedulerStatus.h>
13#include <aws/lookoutequipment/model/ModelDiagnosticsOutputConfiguration.h>
14#include <aws/lookoutequipment/model/ModelQuality.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace LookoutEquipment
28{
29namespace Model
30{
31
40 {
41 public:
42 AWS_LOOKOUTEQUIPMENT_API ModelSummary();
43 AWS_LOOKOUTEQUIPMENT_API ModelSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_LOOKOUTEQUIPMENT_API ModelSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
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 ModelSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
58 inline ModelSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
59 inline ModelSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
61
63
66 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
67 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
68 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
69 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
70 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
71 inline ModelSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
72 inline ModelSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
73 inline ModelSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
75
77
80 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
81 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
82 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
83 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
84 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
85 inline ModelSummary& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
86 inline ModelSummary& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
87 inline ModelSummary& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
89
91
94 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
95 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
96 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
97 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
98 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
99 inline ModelSummary& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
100 inline ModelSummary& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
101 inline ModelSummary& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
103
105
108 inline const ModelStatus& GetStatus() const{ return m_status; }
109 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
110 inline void SetStatus(const ModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
111 inline void SetStatus(ModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
112 inline ModelSummary& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;}
113 inline ModelSummary& WithStatus(ModelStatus&& value) { SetStatus(std::move(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
121 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
122 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
123 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
124 inline ModelSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
125 inline ModelSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
127
129
133 inline long long GetActiveModelVersion() const{ return m_activeModelVersion; }
134 inline bool ActiveModelVersionHasBeenSet() const { return m_activeModelVersionHasBeenSet; }
135 inline void SetActiveModelVersion(long long value) { m_activeModelVersionHasBeenSet = true; m_activeModelVersion = value; }
136 inline ModelSummary& WithActiveModelVersion(long long value) { SetActiveModelVersion(value); return *this;}
138
140
145 inline const Aws::String& GetActiveModelVersionArn() const{ return m_activeModelVersionArn; }
146 inline bool ActiveModelVersionArnHasBeenSet() const { return m_activeModelVersionArnHasBeenSet; }
147 inline void SetActiveModelVersionArn(const Aws::String& value) { m_activeModelVersionArnHasBeenSet = true; m_activeModelVersionArn = value; }
148 inline void SetActiveModelVersionArn(Aws::String&& value) { m_activeModelVersionArnHasBeenSet = true; m_activeModelVersionArn = std::move(value); }
149 inline void SetActiveModelVersionArn(const char* value) { m_activeModelVersionArnHasBeenSet = true; m_activeModelVersionArn.assign(value); }
150 inline ModelSummary& WithActiveModelVersionArn(const Aws::String& value) { SetActiveModelVersionArn(value); return *this;}
151 inline ModelSummary& WithActiveModelVersionArn(Aws::String&& value) { SetActiveModelVersionArn(std::move(value)); return *this;}
152 inline ModelSummary& WithActiveModelVersionArn(const char* value) { SetActiveModelVersionArn(value); return *this;}
154
156
159 inline const ModelVersionStatus& GetLatestScheduledRetrainingStatus() const{ return m_latestScheduledRetrainingStatus; }
160 inline bool LatestScheduledRetrainingStatusHasBeenSet() const { return m_latestScheduledRetrainingStatusHasBeenSet; }
161 inline void SetLatestScheduledRetrainingStatus(const ModelVersionStatus& value) { m_latestScheduledRetrainingStatusHasBeenSet = true; m_latestScheduledRetrainingStatus = value; }
162 inline void SetLatestScheduledRetrainingStatus(ModelVersionStatus&& value) { m_latestScheduledRetrainingStatusHasBeenSet = true; m_latestScheduledRetrainingStatus = std::move(value); }
166
168
172 inline long long GetLatestScheduledRetrainingModelVersion() const{ return m_latestScheduledRetrainingModelVersion; }
173 inline bool LatestScheduledRetrainingModelVersionHasBeenSet() const { return m_latestScheduledRetrainingModelVersionHasBeenSet; }
174 inline void SetLatestScheduledRetrainingModelVersion(long long value) { m_latestScheduledRetrainingModelVersionHasBeenSet = true; m_latestScheduledRetrainingModelVersion = value; }
177
179
182 inline const Aws::Utils::DateTime& GetLatestScheduledRetrainingStartTime() const{ return m_latestScheduledRetrainingStartTime; }
183 inline bool LatestScheduledRetrainingStartTimeHasBeenSet() const { return m_latestScheduledRetrainingStartTimeHasBeenSet; }
184 inline void SetLatestScheduledRetrainingStartTime(const Aws::Utils::DateTime& value) { m_latestScheduledRetrainingStartTimeHasBeenSet = true; m_latestScheduledRetrainingStartTime = value; }
185 inline void SetLatestScheduledRetrainingStartTime(Aws::Utils::DateTime&& value) { m_latestScheduledRetrainingStartTimeHasBeenSet = true; m_latestScheduledRetrainingStartTime = std::move(value); }
189
191
197 inline const Aws::Utils::DateTime& GetNextScheduledRetrainingStartDate() const{ return m_nextScheduledRetrainingStartDate; }
198 inline bool NextScheduledRetrainingStartDateHasBeenSet() const { return m_nextScheduledRetrainingStartDateHasBeenSet; }
199 inline void SetNextScheduledRetrainingStartDate(const Aws::Utils::DateTime& value) { m_nextScheduledRetrainingStartDateHasBeenSet = true; m_nextScheduledRetrainingStartDate = value; }
200 inline void SetNextScheduledRetrainingStartDate(Aws::Utils::DateTime&& value) { m_nextScheduledRetrainingStartDateHasBeenSet = true; m_nextScheduledRetrainingStartDate = std::move(value); }
204
206
209 inline const RetrainingSchedulerStatus& GetRetrainingSchedulerStatus() const{ return m_retrainingSchedulerStatus; }
210 inline bool RetrainingSchedulerStatusHasBeenSet() const { return m_retrainingSchedulerStatusHasBeenSet; }
211 inline void SetRetrainingSchedulerStatus(const RetrainingSchedulerStatus& value) { m_retrainingSchedulerStatusHasBeenSet = true; m_retrainingSchedulerStatus = value; }
212 inline void SetRetrainingSchedulerStatus(RetrainingSchedulerStatus&& value) { m_retrainingSchedulerStatusHasBeenSet = true; m_retrainingSchedulerStatus = std::move(value); }
216
218
219 inline const ModelDiagnosticsOutputConfiguration& GetModelDiagnosticsOutputConfiguration() const{ return m_modelDiagnosticsOutputConfiguration; }
220 inline bool ModelDiagnosticsOutputConfigurationHasBeenSet() const { return m_modelDiagnosticsOutputConfigurationHasBeenSet; }
221 inline void SetModelDiagnosticsOutputConfiguration(const ModelDiagnosticsOutputConfiguration& value) { m_modelDiagnosticsOutputConfigurationHasBeenSet = true; m_modelDiagnosticsOutputConfiguration = value; }
222 inline void SetModelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration&& value) { m_modelDiagnosticsOutputConfigurationHasBeenSet = true; m_modelDiagnosticsOutputConfiguration = std::move(value); }
226
228
243 inline const ModelQuality& GetModelQuality() const{ return m_modelQuality; }
244 inline bool ModelQualityHasBeenSet() const { return m_modelQualityHasBeenSet; }
245 inline void SetModelQuality(const ModelQuality& value) { m_modelQualityHasBeenSet = true; m_modelQuality = value; }
246 inline void SetModelQuality(ModelQuality&& value) { m_modelQualityHasBeenSet = true; m_modelQuality = std::move(value); }
247 inline ModelSummary& WithModelQuality(const ModelQuality& value) { SetModelQuality(value); return *this;}
248 inline ModelSummary& WithModelQuality(ModelQuality&& value) { SetModelQuality(std::move(value)); return *this;}
250 private:
251
252 Aws::String m_modelName;
253 bool m_modelNameHasBeenSet = false;
254
255 Aws::String m_modelArn;
256 bool m_modelArnHasBeenSet = false;
257
258 Aws::String m_datasetName;
259 bool m_datasetNameHasBeenSet = false;
260
261 Aws::String m_datasetArn;
262 bool m_datasetArnHasBeenSet = false;
263
264 ModelStatus m_status;
265 bool m_statusHasBeenSet = false;
266
267 Aws::Utils::DateTime m_createdAt;
268 bool m_createdAtHasBeenSet = false;
269
270 long long m_activeModelVersion;
271 bool m_activeModelVersionHasBeenSet = false;
272
273 Aws::String m_activeModelVersionArn;
274 bool m_activeModelVersionArnHasBeenSet = false;
275
276 ModelVersionStatus m_latestScheduledRetrainingStatus;
277 bool m_latestScheduledRetrainingStatusHasBeenSet = false;
278
279 long long m_latestScheduledRetrainingModelVersion;
280 bool m_latestScheduledRetrainingModelVersionHasBeenSet = false;
281
282 Aws::Utils::DateTime m_latestScheduledRetrainingStartTime;
283 bool m_latestScheduledRetrainingStartTimeHasBeenSet = false;
284
285 Aws::Utils::DateTime m_nextScheduledRetrainingStartDate;
286 bool m_nextScheduledRetrainingStartDateHasBeenSet = false;
287
288 RetrainingSchedulerStatus m_retrainingSchedulerStatus;
289 bool m_retrainingSchedulerStatusHasBeenSet = false;
290
291 ModelDiagnosticsOutputConfiguration m_modelDiagnosticsOutputConfiguration;
292 bool m_modelDiagnosticsOutputConfigurationHasBeenSet = false;
293
294 ModelQuality m_modelQuality;
295 bool m_modelQualityHasBeenSet = false;
296 };
297
298} // namespace Model
299} // namespace LookoutEquipment
300} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
ModelSummary & WithNextScheduledRetrainingStartDate(const Aws::Utils::DateTime &value)
ModelSummary & WithModelQuality(ModelQuality &&value)
const Aws::Utils::DateTime & GetNextScheduledRetrainingStartDate() const
const ModelVersionStatus & GetLatestScheduledRetrainingStatus() const
void SetLatestScheduledRetrainingStartTime(Aws::Utils::DateTime &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
ModelSummary & WithDatasetArn(const char *value)
ModelSummary & WithNextScheduledRetrainingStartDate(Aws::Utils::DateTime &&value)
ModelSummary & WithLatestScheduledRetrainingStartTime(const Aws::Utils::DateTime &value)
ModelSummary & WithModelName(Aws::String &&value)
void SetLatestScheduledRetrainingStatus(ModelVersionStatus &&value)
ModelSummary & WithModelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration &&value)
ModelSummary & WithLatestScheduledRetrainingModelVersion(long long value)
void SetDatasetName(const Aws::String &value)
const Aws::String & GetDatasetName() const
ModelSummary & WithLatestScheduledRetrainingStatus(ModelVersionStatus &&value)
ModelSummary & WithDatasetArn(const Aws::String &value)
ModelSummary & WithModelDiagnosticsOutputConfiguration(const ModelDiagnosticsOutputConfiguration &value)
void SetModelArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
ModelSummary & WithActiveModelVersionArn(const Aws::String &value)
void SetNextScheduledRetrainingStartDate(const Aws::Utils::DateTime &value)
void SetDatasetArn(const Aws::String &value)
ModelSummary & WithActiveModelVersionArn(const char *value)
void SetModelQuality(ModelQuality &&value)
ModelSummary & WithStatus(ModelStatus &&value)
void SetModelArn(Aws::String &&value)
void SetRetrainingSchedulerStatus(const RetrainingSchedulerStatus &value)
AWS_LOOKOUTEQUIPMENT_API ModelSummary()
const ModelQuality & GetModelQuality() const
ModelSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ModelSummary & WithModelName(const char *value)
const Aws::String & GetActiveModelVersionArn() const
void SetModelDiagnosticsOutputConfiguration(const ModelDiagnosticsOutputConfiguration &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_LOOKOUTEQUIPMENT_API ModelSummary(Aws::Utils::Json::JsonView jsonValue)
ModelSummary & WithDatasetName(const char *value)
void SetRetrainingSchedulerStatus(RetrainingSchedulerStatus &&value)
ModelSummary & WithModelArn(const char *value)
void SetNextScheduledRetrainingStartDate(Aws::Utils::DateTime &&value)
void SetModelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration &&value)
void SetStatus(const ModelStatus &value)
const Aws::String & GetModelName() const
void SetActiveModelVersionArn(const char *value)
ModelSummary & WithModelName(const Aws::String &value)
ModelSummary & WithModelQuality(const ModelQuality &value)
void SetActiveModelVersionArn(const Aws::String &value)
const ModelStatus & GetStatus() const
const Aws::Utils::DateTime & GetLatestScheduledRetrainingStartTime() const
ModelSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetDatasetArn(Aws::String &&value)
void SetLatestScheduledRetrainingStartTime(const Aws::Utils::DateTime &value)
ModelSummary & WithStatus(const ModelStatus &value)
ModelSummary & WithLatestScheduledRetrainingStatus(const ModelVersionStatus &value)
ModelSummary & WithLatestScheduledRetrainingStartTime(Aws::Utils::DateTime &&value)
const ModelDiagnosticsOutputConfiguration & GetModelDiagnosticsOutputConfiguration() const
void SetLatestScheduledRetrainingModelVersion(long long value)
void SetModelName(Aws::String &&value)
ModelSummary & WithActiveModelVersionArn(Aws::String &&value)
long long GetLatestScheduledRetrainingModelVersion() const
void SetModelName(const Aws::String &value)
void SetModelQuality(const ModelQuality &value)
ModelSummary & WithDatasetArn(Aws::String &&value)
void SetDatasetName(Aws::String &&value)
const Aws::String & GetDatasetArn() const
ModelSummary & WithRetrainingSchedulerStatus(const RetrainingSchedulerStatus &value)
ModelSummary & WithRetrainingSchedulerStatus(RetrainingSchedulerStatus &&value)
ModelSummary & WithModelArn(const Aws::String &value)
ModelSummary & WithActiveModelVersion(long long value)
const RetrainingSchedulerStatus & GetRetrainingSchedulerStatus() const
ModelSummary & WithDatasetName(const Aws::String &value)
ModelSummary & WithModelArn(Aws::String &&value)
const Aws::String & GetModelArn() const
void SetActiveModelVersionArn(Aws::String &&value)
void SetLatestScheduledRetrainingStatus(const ModelVersionStatus &value)
ModelSummary & WithDatasetName(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API ModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue