AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeModelResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
11#include <aws/lookoutequipment/model/DataPreProcessingConfiguration.h>
12#include <aws/lookoutequipment/model/LabelsInputConfiguration.h>
13#include <aws/lookoutequipment/model/ModelDiagnosticsOutputConfiguration.h>
14#include <aws/lookoutequipment/model/ModelQuality.h>
15#include <aws/lookoutequipment/model/ModelStatus.h>
16#include <aws/lookoutequipment/model/ModelVersionStatus.h>
17#include <aws/lookoutequipment/model/RetrainingSchedulerStatus.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace LookoutEquipment {
31namespace Model {
33 public:
34 AWS_LOOKOUTEQUIPMENT_API DescribeModelResult() = default;
37
39
42 inline const Aws::String& GetModelName() const { return m_modelName; }
43 template <typename ModelNameT = Aws::String>
44 void SetModelName(ModelNameT&& value) {
45 m_modelNameHasBeenSet = true;
46 m_modelName = std::forward<ModelNameT>(value);
47 }
48 template <typename ModelNameT = Aws::String>
49 DescribeModelResult& WithModelName(ModelNameT&& value) {
50 SetModelName(std::forward<ModelNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetModelArn() const { return m_modelArn; }
61 template <typename ModelArnT = Aws::String>
62 void SetModelArn(ModelArnT&& value) {
63 m_modelArnHasBeenSet = true;
64 m_modelArn = std::forward<ModelArnT>(value);
65 }
66 template <typename ModelArnT = Aws::String>
67 DescribeModelResult& WithModelArn(ModelArnT&& value) {
68 SetModelArn(std::forward<ModelArnT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
79 template <typename DatasetNameT = Aws::String>
80 void SetDatasetName(DatasetNameT&& value) {
81 m_datasetNameHasBeenSet = true;
82 m_datasetName = std::forward<DatasetNameT>(value);
83 }
84 template <typename DatasetNameT = Aws::String>
85 DescribeModelResult& WithDatasetName(DatasetNameT&& value) {
86 SetDatasetName(std::forward<DatasetNameT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
97 template <typename DatasetArnT = Aws::String>
98 void SetDatasetArn(DatasetArnT&& value) {
99 m_datasetArnHasBeenSet = true;
100 m_datasetArn = std::forward<DatasetArnT>(value);
101 }
102 template <typename DatasetArnT = Aws::String>
103 DescribeModelResult& WithDatasetArn(DatasetArnT&& value) {
104 SetDatasetArn(std::forward<DatasetArnT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetSchema() const { return m_schema; }
115 template <typename SchemaT = Aws::String>
116 void SetSchema(SchemaT&& value) {
117 m_schemaHasBeenSet = true;
118 m_schema = std::forward<SchemaT>(value);
119 }
120 template <typename SchemaT = Aws::String>
121 DescribeModelResult& WithSchema(SchemaT&& value) {
122 SetSchema(std::forward<SchemaT>(value));
123 return *this;
124 }
126
128
132 inline const LabelsInputConfiguration& GetLabelsInputConfiguration() const { return m_labelsInputConfiguration; }
133 template <typename LabelsInputConfigurationT = LabelsInputConfiguration>
134 void SetLabelsInputConfiguration(LabelsInputConfigurationT&& value) {
135 m_labelsInputConfigurationHasBeenSet = true;
136 m_labelsInputConfiguration = std::forward<LabelsInputConfigurationT>(value);
137 }
138 template <typename LabelsInputConfigurationT = LabelsInputConfiguration>
139 DescribeModelResult& WithLabelsInputConfiguration(LabelsInputConfigurationT&& value) {
140 SetLabelsInputConfiguration(std::forward<LabelsInputConfigurationT>(value));
141 return *this;
142 }
144
146
150 inline const Aws::Utils::DateTime& GetTrainingDataStartTime() const { return m_trainingDataStartTime; }
151 template <typename TrainingDataStartTimeT = Aws::Utils::DateTime>
152 void SetTrainingDataStartTime(TrainingDataStartTimeT&& value) {
153 m_trainingDataStartTimeHasBeenSet = true;
154 m_trainingDataStartTime = std::forward<TrainingDataStartTimeT>(value);
155 }
156 template <typename TrainingDataStartTimeT = Aws::Utils::DateTime>
157 DescribeModelResult& WithTrainingDataStartTime(TrainingDataStartTimeT&& value) {
158 SetTrainingDataStartTime(std::forward<TrainingDataStartTimeT>(value));
159 return *this;
160 }
162
164
168 inline const Aws::Utils::DateTime& GetTrainingDataEndTime() const { return m_trainingDataEndTime; }
169 template <typename TrainingDataEndTimeT = Aws::Utils::DateTime>
170 void SetTrainingDataEndTime(TrainingDataEndTimeT&& value) {
171 m_trainingDataEndTimeHasBeenSet = true;
172 m_trainingDataEndTime = std::forward<TrainingDataEndTimeT>(value);
173 }
174 template <typename TrainingDataEndTimeT = Aws::Utils::DateTime>
175 DescribeModelResult& WithTrainingDataEndTime(TrainingDataEndTimeT&& value) {
176 SetTrainingDataEndTime(std::forward<TrainingDataEndTimeT>(value));
177 return *this;
178 }
180
182
186 inline const Aws::Utils::DateTime& GetEvaluationDataStartTime() const { return m_evaluationDataStartTime; }
187 template <typename EvaluationDataStartTimeT = Aws::Utils::DateTime>
188 void SetEvaluationDataStartTime(EvaluationDataStartTimeT&& value) {
189 m_evaluationDataStartTimeHasBeenSet = true;
190 m_evaluationDataStartTime = std::forward<EvaluationDataStartTimeT>(value);
191 }
192 template <typename EvaluationDataStartTimeT = Aws::Utils::DateTime>
193 DescribeModelResult& WithEvaluationDataStartTime(EvaluationDataStartTimeT&& value) {
194 SetEvaluationDataStartTime(std::forward<EvaluationDataStartTimeT>(value));
195 return *this;
196 }
198
200
204 inline const Aws::Utils::DateTime& GetEvaluationDataEndTime() const { return m_evaluationDataEndTime; }
205 template <typename EvaluationDataEndTimeT = Aws::Utils::DateTime>
206 void SetEvaluationDataEndTime(EvaluationDataEndTimeT&& value) {
207 m_evaluationDataEndTimeHasBeenSet = true;
208 m_evaluationDataEndTime = std::forward<EvaluationDataEndTimeT>(value);
209 }
210 template <typename EvaluationDataEndTimeT = Aws::Utils::DateTime>
211 DescribeModelResult& WithEvaluationDataEndTime(EvaluationDataEndTimeT&& value) {
212 SetEvaluationDataEndTime(std::forward<EvaluationDataEndTimeT>(value));
213 return *this;
214 }
216
218
222 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
223 template <typename RoleArnT = Aws::String>
224 void SetRoleArn(RoleArnT&& value) {
225 m_roleArnHasBeenSet = true;
226 m_roleArn = std::forward<RoleArnT>(value);
227 }
228 template <typename RoleArnT = Aws::String>
229 DescribeModelResult& WithRoleArn(RoleArnT&& value) {
230 SetRoleArn(std::forward<RoleArnT>(value));
231 return *this;
232 }
234
236
247 inline const DataPreProcessingConfiguration& GetDataPreProcessingConfiguration() const { return m_dataPreProcessingConfiguration; }
248 template <typename DataPreProcessingConfigurationT = DataPreProcessingConfiguration>
249 void SetDataPreProcessingConfiguration(DataPreProcessingConfigurationT&& value) {
250 m_dataPreProcessingConfigurationHasBeenSet = true;
251 m_dataPreProcessingConfiguration = std::forward<DataPreProcessingConfigurationT>(value);
252 }
253 template <typename DataPreProcessingConfigurationT = DataPreProcessingConfiguration>
254 DescribeModelResult& WithDataPreProcessingConfiguration(DataPreProcessingConfigurationT&& value) {
255 SetDataPreProcessingConfiguration(std::forward<DataPreProcessingConfigurationT>(value));
256 return *this;
257 }
259
261
265 inline ModelStatus GetStatus() const { return m_status; }
266 inline void SetStatus(ModelStatus value) {
267 m_statusHasBeenSet = true;
268 m_status = value;
269 }
271 SetStatus(value);
272 return *this;
273 }
275
277
281 inline const Aws::Utils::DateTime& GetTrainingExecutionStartTime() const { return m_trainingExecutionStartTime; }
282 template <typename TrainingExecutionStartTimeT = Aws::Utils::DateTime>
283 void SetTrainingExecutionStartTime(TrainingExecutionStartTimeT&& value) {
284 m_trainingExecutionStartTimeHasBeenSet = true;
285 m_trainingExecutionStartTime = std::forward<TrainingExecutionStartTimeT>(value);
286 }
287 template <typename TrainingExecutionStartTimeT = Aws::Utils::DateTime>
288 DescribeModelResult& WithTrainingExecutionStartTime(TrainingExecutionStartTimeT&& value) {
289 SetTrainingExecutionStartTime(std::forward<TrainingExecutionStartTimeT>(value));
290 return *this;
291 }
293
295
299 inline const Aws::Utils::DateTime& GetTrainingExecutionEndTime() const { return m_trainingExecutionEndTime; }
300 template <typename TrainingExecutionEndTimeT = Aws::Utils::DateTime>
301 void SetTrainingExecutionEndTime(TrainingExecutionEndTimeT&& value) {
302 m_trainingExecutionEndTimeHasBeenSet = true;
303 m_trainingExecutionEndTime = std::forward<TrainingExecutionEndTimeT>(value);
304 }
305 template <typename TrainingExecutionEndTimeT = Aws::Utils::DateTime>
306 DescribeModelResult& WithTrainingExecutionEndTime(TrainingExecutionEndTimeT&& value) {
307 SetTrainingExecutionEndTime(std::forward<TrainingExecutionEndTimeT>(value));
308 return *this;
309 }
311
313
317 inline const Aws::String& GetFailedReason() const { return m_failedReason; }
318 template <typename FailedReasonT = Aws::String>
319 void SetFailedReason(FailedReasonT&& value) {
320 m_failedReasonHasBeenSet = true;
321 m_failedReason = std::forward<FailedReasonT>(value);
322 }
323 template <typename FailedReasonT = Aws::String>
324 DescribeModelResult& WithFailedReason(FailedReasonT&& value) {
325 SetFailedReason(std::forward<FailedReasonT>(value));
326 return *this;
327 }
329
331
336 inline const Aws::String& GetModelMetrics() const { return m_modelMetrics; }
337 template <typename ModelMetricsT = Aws::String>
338 void SetModelMetrics(ModelMetricsT&& value) {
339 m_modelMetricsHasBeenSet = true;
340 m_modelMetrics = std::forward<ModelMetricsT>(value);
341 }
342 template <typename ModelMetricsT = Aws::String>
343 DescribeModelResult& WithModelMetrics(ModelMetricsT&& value) {
344 SetModelMetrics(std::forward<ModelMetricsT>(value));
345 return *this;
346 }
348
350
354 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
355 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
356 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
357 m_lastUpdatedTimeHasBeenSet = true;
358 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
359 }
360 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
361 DescribeModelResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
362 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
363 return *this;
364 }
366
368
372 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
373 template <typename CreatedAtT = Aws::Utils::DateTime>
374 void SetCreatedAt(CreatedAtT&& value) {
375 m_createdAtHasBeenSet = true;
376 m_createdAt = std::forward<CreatedAtT>(value);
377 }
378 template <typename CreatedAtT = Aws::Utils::DateTime>
379 DescribeModelResult& WithCreatedAt(CreatedAtT&& value) {
380 SetCreatedAt(std::forward<CreatedAtT>(value));
381 return *this;
382 }
384
386
390 inline const Aws::String& GetServerSideKmsKeyId() const { return m_serverSideKmsKeyId; }
391 template <typename ServerSideKmsKeyIdT = Aws::String>
392 void SetServerSideKmsKeyId(ServerSideKmsKeyIdT&& value) {
393 m_serverSideKmsKeyIdHasBeenSet = true;
394 m_serverSideKmsKeyId = std::forward<ServerSideKmsKeyIdT>(value);
395 }
396 template <typename ServerSideKmsKeyIdT = Aws::String>
397 DescribeModelResult& WithServerSideKmsKeyId(ServerSideKmsKeyIdT&& value) {
398 SetServerSideKmsKeyId(std::forward<ServerSideKmsKeyIdT>(value));
399 return *this;
400 }
402
404
409 inline const Aws::String& GetOffCondition() const { return m_offCondition; }
410 template <typename OffConditionT = Aws::String>
411 void SetOffCondition(OffConditionT&& value) {
412 m_offConditionHasBeenSet = true;
413 m_offCondition = std::forward<OffConditionT>(value);
414 }
415 template <typename OffConditionT = Aws::String>
416 DescribeModelResult& WithOffCondition(OffConditionT&& value) {
417 SetOffCondition(std::forward<OffConditionT>(value));
418 return *this;
419 }
421
423
427 inline const Aws::String& GetSourceModelVersionArn() const { return m_sourceModelVersionArn; }
428 template <typename SourceModelVersionArnT = Aws::String>
429 void SetSourceModelVersionArn(SourceModelVersionArnT&& value) {
430 m_sourceModelVersionArnHasBeenSet = true;
431 m_sourceModelVersionArn = std::forward<SourceModelVersionArnT>(value);
432 }
433 template <typename SourceModelVersionArnT = Aws::String>
434 DescribeModelResult& WithSourceModelVersionArn(SourceModelVersionArnT&& value) {
435 SetSourceModelVersionArn(std::forward<SourceModelVersionArnT>(value));
436 return *this;
437 }
439
441
445 inline const Aws::Utils::DateTime& GetImportJobStartTime() const { return m_importJobStartTime; }
446 template <typename ImportJobStartTimeT = Aws::Utils::DateTime>
447 void SetImportJobStartTime(ImportJobStartTimeT&& value) {
448 m_importJobStartTimeHasBeenSet = true;
449 m_importJobStartTime = std::forward<ImportJobStartTimeT>(value);
450 }
451 template <typename ImportJobStartTimeT = Aws::Utils::DateTime>
452 DescribeModelResult& WithImportJobStartTime(ImportJobStartTimeT&& value) {
453 SetImportJobStartTime(std::forward<ImportJobStartTimeT>(value));
454 return *this;
455 }
457
459
463 inline const Aws::Utils::DateTime& GetImportJobEndTime() const { return m_importJobEndTime; }
464 template <typename ImportJobEndTimeT = Aws::Utils::DateTime>
465 void SetImportJobEndTime(ImportJobEndTimeT&& value) {
466 m_importJobEndTimeHasBeenSet = true;
467 m_importJobEndTime = std::forward<ImportJobEndTimeT>(value);
468 }
469 template <typename ImportJobEndTimeT = Aws::Utils::DateTime>
470 DescribeModelResult& WithImportJobEndTime(ImportJobEndTimeT&& value) {
471 SetImportJobEndTime(std::forward<ImportJobEndTimeT>(value));
472 return *this;
473 }
475
477
481 inline long long GetActiveModelVersion() const { return m_activeModelVersion; }
482 inline void SetActiveModelVersion(long long value) {
483 m_activeModelVersionHasBeenSet = true;
484 m_activeModelVersion = value;
485 }
488 return *this;
489 }
491
493
497 inline const Aws::String& GetActiveModelVersionArn() const { return m_activeModelVersionArn; }
498 template <typename ActiveModelVersionArnT = Aws::String>
499 void SetActiveModelVersionArn(ActiveModelVersionArnT&& value) {
500 m_activeModelVersionArnHasBeenSet = true;
501 m_activeModelVersionArn = std::forward<ActiveModelVersionArnT>(value);
502 }
503 template <typename ActiveModelVersionArnT = Aws::String>
504 DescribeModelResult& WithActiveModelVersionArn(ActiveModelVersionArnT&& value) {
505 SetActiveModelVersionArn(std::forward<ActiveModelVersionArnT>(value));
506 return *this;
507 }
509
511
514 inline const Aws::Utils::DateTime& GetModelVersionActivatedAt() const { return m_modelVersionActivatedAt; }
515 template <typename ModelVersionActivatedAtT = Aws::Utils::DateTime>
516 void SetModelVersionActivatedAt(ModelVersionActivatedAtT&& value) {
517 m_modelVersionActivatedAtHasBeenSet = true;
518 m_modelVersionActivatedAt = std::forward<ModelVersionActivatedAtT>(value);
519 }
520 template <typename ModelVersionActivatedAtT = Aws::Utils::DateTime>
521 DescribeModelResult& WithModelVersionActivatedAt(ModelVersionActivatedAtT&& value) {
522 SetModelVersionActivatedAt(std::forward<ModelVersionActivatedAtT>(value));
523 return *this;
524 }
526
528
532 inline long long GetPreviousActiveModelVersion() const { return m_previousActiveModelVersion; }
533 inline void SetPreviousActiveModelVersion(long long value) {
534 m_previousActiveModelVersionHasBeenSet = true;
535 m_previousActiveModelVersion = value;
536 }
539 return *this;
540 }
542
544
548 inline const Aws::String& GetPreviousActiveModelVersionArn() const { return m_previousActiveModelVersionArn; }
549 template <typename PreviousActiveModelVersionArnT = Aws::String>
550 void SetPreviousActiveModelVersionArn(PreviousActiveModelVersionArnT&& value) {
551 m_previousActiveModelVersionArnHasBeenSet = true;
552 m_previousActiveModelVersionArn = std::forward<PreviousActiveModelVersionArnT>(value);
553 }
554 template <typename PreviousActiveModelVersionArnT = Aws::String>
555 DescribeModelResult& WithPreviousActiveModelVersionArn(PreviousActiveModelVersionArnT&& value) {
556 SetPreviousActiveModelVersionArn(std::forward<PreviousActiveModelVersionArnT>(value));
557 return *this;
558 }
560
562
565 inline const Aws::Utils::DateTime& GetPreviousModelVersionActivatedAt() const { return m_previousModelVersionActivatedAt; }
566 template <typename PreviousModelVersionActivatedAtT = Aws::Utils::DateTime>
567 void SetPreviousModelVersionActivatedAt(PreviousModelVersionActivatedAtT&& value) {
568 m_previousModelVersionActivatedAtHasBeenSet = true;
569 m_previousModelVersionActivatedAt = std::forward<PreviousModelVersionActivatedAtT>(value);
570 }
571 template <typename PreviousModelVersionActivatedAtT = Aws::Utils::DateTime>
572 DescribeModelResult& WithPreviousModelVersionActivatedAt(PreviousModelVersionActivatedAtT&& value) {
573 SetPreviousModelVersionActivatedAt(std::forward<PreviousModelVersionActivatedAtT>(value));
574 return *this;
575 }
577
579
585 inline const Aws::String& GetPriorModelMetrics() const { return m_priorModelMetrics; }
586 template <typename PriorModelMetricsT = Aws::String>
587 void SetPriorModelMetrics(PriorModelMetricsT&& value) {
588 m_priorModelMetricsHasBeenSet = true;
589 m_priorModelMetrics = std::forward<PriorModelMetricsT>(value);
590 }
591 template <typename PriorModelMetricsT = Aws::String>
592 DescribeModelResult& WithPriorModelMetrics(PriorModelMetricsT&& value) {
593 SetPriorModelMetrics(std::forward<PriorModelMetricsT>(value));
594 return *this;
595 }
597
599
603 inline const Aws::String& GetLatestScheduledRetrainingFailedReason() const { return m_latestScheduledRetrainingFailedReason; }
604 template <typename LatestScheduledRetrainingFailedReasonT = Aws::String>
605 void SetLatestScheduledRetrainingFailedReason(LatestScheduledRetrainingFailedReasonT&& value) {
606 m_latestScheduledRetrainingFailedReasonHasBeenSet = true;
607 m_latestScheduledRetrainingFailedReason = std::forward<LatestScheduledRetrainingFailedReasonT>(value);
608 }
609 template <typename LatestScheduledRetrainingFailedReasonT = Aws::String>
610 DescribeModelResult& WithLatestScheduledRetrainingFailedReason(LatestScheduledRetrainingFailedReasonT&& value) {
611 SetLatestScheduledRetrainingFailedReason(std::forward<LatestScheduledRetrainingFailedReasonT>(value));
612 return *this;
613 }
615
617
620 inline ModelVersionStatus GetLatestScheduledRetrainingStatus() const { return m_latestScheduledRetrainingStatus; }
622 m_latestScheduledRetrainingStatusHasBeenSet = true;
623 m_latestScheduledRetrainingStatus = value;
624 }
627 return *this;
628 }
630
632
636 inline long long GetLatestScheduledRetrainingModelVersion() const { return m_latestScheduledRetrainingModelVersion; }
637 inline void SetLatestScheduledRetrainingModelVersion(long long value) {
638 m_latestScheduledRetrainingModelVersionHasBeenSet = true;
639 m_latestScheduledRetrainingModelVersion = value;
640 }
643 return *this;
644 }
646
648
651 inline const Aws::Utils::DateTime& GetLatestScheduledRetrainingStartTime() const { return m_latestScheduledRetrainingStartTime; }
652 template <typename LatestScheduledRetrainingStartTimeT = Aws::Utils::DateTime>
653 void SetLatestScheduledRetrainingStartTime(LatestScheduledRetrainingStartTimeT&& value) {
654 m_latestScheduledRetrainingStartTimeHasBeenSet = true;
655 m_latestScheduledRetrainingStartTime = std::forward<LatestScheduledRetrainingStartTimeT>(value);
656 }
657 template <typename LatestScheduledRetrainingStartTimeT = Aws::Utils::DateTime>
658 DescribeModelResult& WithLatestScheduledRetrainingStartTime(LatestScheduledRetrainingStartTimeT&& value) {
659 SetLatestScheduledRetrainingStartTime(std::forward<LatestScheduledRetrainingStartTimeT>(value));
660 return *this;
661 }
663
665
669 inline int GetLatestScheduledRetrainingAvailableDataInDays() const { return m_latestScheduledRetrainingAvailableDataInDays; }
671 m_latestScheduledRetrainingAvailableDataInDaysHasBeenSet = true;
672 m_latestScheduledRetrainingAvailableDataInDays = value;
673 }
676 return *this;
677 }
679
681
686 inline const Aws::Utils::DateTime& GetNextScheduledRetrainingStartDate() const { return m_nextScheduledRetrainingStartDate; }
687 template <typename NextScheduledRetrainingStartDateT = Aws::Utils::DateTime>
688 void SetNextScheduledRetrainingStartDate(NextScheduledRetrainingStartDateT&& value) {
689 m_nextScheduledRetrainingStartDateHasBeenSet = true;
690 m_nextScheduledRetrainingStartDate = std::forward<NextScheduledRetrainingStartDateT>(value);
691 }
692 template <typename NextScheduledRetrainingStartDateT = Aws::Utils::DateTime>
693 DescribeModelResult& WithNextScheduledRetrainingStartDate(NextScheduledRetrainingStartDateT&& value) {
694 SetNextScheduledRetrainingStartDate(std::forward<NextScheduledRetrainingStartDateT>(value));
695 return *this;
696 }
698
700
704 inline const Aws::Utils::DateTime& GetAccumulatedInferenceDataStartTime() const { return m_accumulatedInferenceDataStartTime; }
705 template <typename AccumulatedInferenceDataStartTimeT = Aws::Utils::DateTime>
706 void SetAccumulatedInferenceDataStartTime(AccumulatedInferenceDataStartTimeT&& value) {
707 m_accumulatedInferenceDataStartTimeHasBeenSet = true;
708 m_accumulatedInferenceDataStartTime = std::forward<AccumulatedInferenceDataStartTimeT>(value);
709 }
710 template <typename AccumulatedInferenceDataStartTimeT = Aws::Utils::DateTime>
711 DescribeModelResult& WithAccumulatedInferenceDataStartTime(AccumulatedInferenceDataStartTimeT&& value) {
712 SetAccumulatedInferenceDataStartTime(std::forward<AccumulatedInferenceDataStartTimeT>(value));
713 return *this;
714 }
716
718
721 inline const Aws::Utils::DateTime& GetAccumulatedInferenceDataEndTime() const { return m_accumulatedInferenceDataEndTime; }
722 template <typename AccumulatedInferenceDataEndTimeT = Aws::Utils::DateTime>
723 void SetAccumulatedInferenceDataEndTime(AccumulatedInferenceDataEndTimeT&& value) {
724 m_accumulatedInferenceDataEndTimeHasBeenSet = true;
725 m_accumulatedInferenceDataEndTime = std::forward<AccumulatedInferenceDataEndTimeT>(value);
726 }
727 template <typename AccumulatedInferenceDataEndTimeT = Aws::Utils::DateTime>
728 DescribeModelResult& WithAccumulatedInferenceDataEndTime(AccumulatedInferenceDataEndTimeT&& value) {
729 SetAccumulatedInferenceDataEndTime(std::forward<AccumulatedInferenceDataEndTimeT>(value));
730 return *this;
731 }
733
735
738 inline RetrainingSchedulerStatus GetRetrainingSchedulerStatus() const { return m_retrainingSchedulerStatus; }
740 m_retrainingSchedulerStatusHasBeenSet = true;
741 m_retrainingSchedulerStatus = value;
742 }
745 return *this;
746 }
748
750
754 return m_modelDiagnosticsOutputConfiguration;
755 }
756 template <typename ModelDiagnosticsOutputConfigurationT = ModelDiagnosticsOutputConfiguration>
757 void SetModelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfigurationT&& value) {
758 m_modelDiagnosticsOutputConfigurationHasBeenSet = true;
759 m_modelDiagnosticsOutputConfiguration = std::forward<ModelDiagnosticsOutputConfigurationT>(value);
760 }
761 template <typename ModelDiagnosticsOutputConfigurationT = ModelDiagnosticsOutputConfiguration>
762 DescribeModelResult& WithModelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfigurationT&& value) {
763 SetModelDiagnosticsOutputConfiguration(std::forward<ModelDiagnosticsOutputConfigurationT>(value));
764 return *this;
765 }
767
769
784 inline ModelQuality GetModelQuality() const { return m_modelQuality; }
785 inline void SetModelQuality(ModelQuality value) {
786 m_modelQualityHasBeenSet = true;
787 m_modelQuality = value;
788 }
790 SetModelQuality(value);
791 return *this;
792 }
794
796
797 inline const Aws::String& GetRequestId() const { return m_requestId; }
798 template <typename RequestIdT = Aws::String>
799 void SetRequestId(RequestIdT&& value) {
800 m_requestIdHasBeenSet = true;
801 m_requestId = std::forward<RequestIdT>(value);
802 }
803 template <typename RequestIdT = Aws::String>
804 DescribeModelResult& WithRequestId(RequestIdT&& value) {
805 SetRequestId(std::forward<RequestIdT>(value));
806 return *this;
807 }
809 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
810
811 private:
812 Aws::String m_modelName;
813
814 Aws::String m_modelArn;
815
816 Aws::String m_datasetName;
817
818 Aws::String m_datasetArn;
819
820 Aws::String m_schema;
821
822 LabelsInputConfiguration m_labelsInputConfiguration;
823
824 Aws::Utils::DateTime m_trainingDataStartTime{};
825
826 Aws::Utils::DateTime m_trainingDataEndTime{};
827
828 Aws::Utils::DateTime m_evaluationDataStartTime{};
829
830 Aws::Utils::DateTime m_evaluationDataEndTime{};
831
832 Aws::String m_roleArn;
833
834 DataPreProcessingConfiguration m_dataPreProcessingConfiguration;
835
837
838 Aws::Utils::DateTime m_trainingExecutionStartTime{};
839
840 Aws::Utils::DateTime m_trainingExecutionEndTime{};
841
842 Aws::String m_failedReason;
843
844 Aws::String m_modelMetrics;
845
846 Aws::Utils::DateTime m_lastUpdatedTime{};
847
848 Aws::Utils::DateTime m_createdAt{};
849
850 Aws::String m_serverSideKmsKeyId;
851
852 Aws::String m_offCondition;
853
854 Aws::String m_sourceModelVersionArn;
855
856 Aws::Utils::DateTime m_importJobStartTime{};
857
858 Aws::Utils::DateTime m_importJobEndTime{};
859
860 long long m_activeModelVersion{0};
861
862 Aws::String m_activeModelVersionArn;
863
864 Aws::Utils::DateTime m_modelVersionActivatedAt{};
865
866 long long m_previousActiveModelVersion{0};
867
868 Aws::String m_previousActiveModelVersionArn;
869
870 Aws::Utils::DateTime m_previousModelVersionActivatedAt{};
871
872 Aws::String m_priorModelMetrics;
873
874 Aws::String m_latestScheduledRetrainingFailedReason;
875
876 ModelVersionStatus m_latestScheduledRetrainingStatus{ModelVersionStatus::NOT_SET};
877
878 long long m_latestScheduledRetrainingModelVersion{0};
879
880 Aws::Utils::DateTime m_latestScheduledRetrainingStartTime{};
881
882 int m_latestScheduledRetrainingAvailableDataInDays{0};
883
884 Aws::Utils::DateTime m_nextScheduledRetrainingStartDate{};
885
886 Aws::Utils::DateTime m_accumulatedInferenceDataStartTime{};
887
888 Aws::Utils::DateTime m_accumulatedInferenceDataEndTime{};
889
891
892 ModelDiagnosticsOutputConfiguration m_modelDiagnosticsOutputConfiguration;
893
894 ModelQuality m_modelQuality{ModelQuality::NOT_SET};
895
896 Aws::String m_requestId;
897 Aws::Http::HttpResponseCode m_HttpResponseCode;
898 bool m_modelNameHasBeenSet = false;
899 bool m_modelArnHasBeenSet = false;
900 bool m_datasetNameHasBeenSet = false;
901 bool m_datasetArnHasBeenSet = false;
902 bool m_schemaHasBeenSet = false;
903 bool m_labelsInputConfigurationHasBeenSet = false;
904 bool m_trainingDataStartTimeHasBeenSet = false;
905 bool m_trainingDataEndTimeHasBeenSet = false;
906 bool m_evaluationDataStartTimeHasBeenSet = false;
907 bool m_evaluationDataEndTimeHasBeenSet = false;
908 bool m_roleArnHasBeenSet = false;
909 bool m_dataPreProcessingConfigurationHasBeenSet = false;
910 bool m_statusHasBeenSet = false;
911 bool m_trainingExecutionStartTimeHasBeenSet = false;
912 bool m_trainingExecutionEndTimeHasBeenSet = false;
913 bool m_failedReasonHasBeenSet = false;
914 bool m_modelMetricsHasBeenSet = false;
915 bool m_lastUpdatedTimeHasBeenSet = false;
916 bool m_createdAtHasBeenSet = false;
917 bool m_serverSideKmsKeyIdHasBeenSet = false;
918 bool m_offConditionHasBeenSet = false;
919 bool m_sourceModelVersionArnHasBeenSet = false;
920 bool m_importJobStartTimeHasBeenSet = false;
921 bool m_importJobEndTimeHasBeenSet = false;
922 bool m_activeModelVersionHasBeenSet = false;
923 bool m_activeModelVersionArnHasBeenSet = false;
924 bool m_modelVersionActivatedAtHasBeenSet = false;
925 bool m_previousActiveModelVersionHasBeenSet = false;
926 bool m_previousActiveModelVersionArnHasBeenSet = false;
927 bool m_previousModelVersionActivatedAtHasBeenSet = false;
928 bool m_priorModelMetricsHasBeenSet = false;
929 bool m_latestScheduledRetrainingFailedReasonHasBeenSet = false;
930 bool m_latestScheduledRetrainingStatusHasBeenSet = false;
931 bool m_latestScheduledRetrainingModelVersionHasBeenSet = false;
932 bool m_latestScheduledRetrainingStartTimeHasBeenSet = false;
933 bool m_latestScheduledRetrainingAvailableDataInDaysHasBeenSet = false;
934 bool m_nextScheduledRetrainingStartDateHasBeenSet = false;
935 bool m_accumulatedInferenceDataStartTimeHasBeenSet = false;
936 bool m_accumulatedInferenceDataEndTimeHasBeenSet = false;
937 bool m_retrainingSchedulerStatusHasBeenSet = false;
938 bool m_modelDiagnosticsOutputConfigurationHasBeenSet = false;
939 bool m_modelQualityHasBeenSet = false;
940 bool m_requestIdHasBeenSet = false;
941};
942
943} // namespace Model
944} // namespace LookoutEquipment
945} // namespace Aws
DescribeModelResult & WithCreatedAt(CreatedAtT &&value)
DescribeModelResult & WithDatasetName(DatasetNameT &&value)
DescribeModelResult & WithModelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfigurationT &&value)
void SetEvaluationDataStartTime(EvaluationDataStartTimeT &&value)
DescribeModelResult & WithPreviousActiveModelVersionArn(PreviousActiveModelVersionArnT &&value)
DescribeModelResult & WithFailedReason(FailedReasonT &&value)
AWS_LOOKOUTEQUIPMENT_API DescribeModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOOKOUTEQUIPMENT_API DescribeModelResult()=default
DescribeModelResult & WithDatasetArn(DatasetArnT &&value)
DescribeModelResult & WithAccumulatedInferenceDataEndTime(AccumulatedInferenceDataEndTimeT &&value)
DescribeModelResult & WithImportJobEndTime(ImportJobEndTimeT &&value)
DescribeModelResult & WithAccumulatedInferenceDataStartTime(AccumulatedInferenceDataStartTimeT &&value)
const Aws::Utils::DateTime & GetEvaluationDataStartTime() const
DescribeModelResult & WithTrainingDataStartTime(TrainingDataStartTimeT &&value)
DescribeModelResult & WithPriorModelMetrics(PriorModelMetricsT &&value)
const DataPreProcessingConfiguration & GetDataPreProcessingConfiguration() const
DescribeModelResult & WithLatestScheduledRetrainingStatus(ModelVersionStatus value)
const Aws::Utils::DateTime & GetEvaluationDataEndTime() const
const Aws::Utils::DateTime & GetTrainingExecutionStartTime() const
void SetModelVersionActivatedAt(ModelVersionActivatedAtT &&value)
void SetPreviousActiveModelVersionArn(PreviousActiveModelVersionArnT &&value)
void SetImportJobStartTime(ImportJobStartTimeT &&value)
DescribeModelResult & WithModelQuality(ModelQuality value)
void SetServerSideKmsKeyId(ServerSideKmsKeyIdT &&value)
DescribeModelResult & WithPreviousActiveModelVersion(long long value)
DescribeModelResult & WithModelMetrics(ModelMetricsT &&value)
DescribeModelResult & WithLabelsInputConfiguration(LabelsInputConfigurationT &&value)
void SetModelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfigurationT &&value)
DescribeModelResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetSourceModelVersionArn(SourceModelVersionArnT &&value)
DescribeModelResult & WithRetrainingSchedulerStatus(RetrainingSchedulerStatus value)
void SetDataPreProcessingConfiguration(DataPreProcessingConfigurationT &&value)
DescribeModelResult & WithLatestScheduledRetrainingFailedReason(LatestScheduledRetrainingFailedReasonT &&value)
const Aws::Utils::DateTime & GetTrainingDataEndTime() const
DescribeModelResult & WithRoleArn(RoleArnT &&value)
void SetLatestScheduledRetrainingFailedReason(LatestScheduledRetrainingFailedReasonT &&value)
DescribeModelResult & WithStatus(ModelStatus value)
DescribeModelResult & WithServerSideKmsKeyId(ServerSideKmsKeyIdT &&value)
DescribeModelResult & WithTrainingExecutionStartTime(TrainingExecutionStartTimeT &&value)
const Aws::Utils::DateTime & GetPreviousModelVersionActivatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetLatestScheduledRetrainingStartTime() const
void SetTrainingExecutionStartTime(TrainingExecutionStartTimeT &&value)
DescribeModelResult & WithPreviousModelVersionActivatedAt(PreviousModelVersionActivatedAtT &&value)
DescribeModelResult & WithLatestScheduledRetrainingModelVersion(long long value)
DescribeModelResult & WithModelVersionActivatedAt(ModelVersionActivatedAtT &&value)
DescribeModelResult & WithTrainingDataEndTime(TrainingDataEndTimeT &&value)
void SetPreviousModelVersionActivatedAt(PreviousModelVersionActivatedAtT &&value)
void SetTrainingDataStartTime(TrainingDataStartTimeT &&value)
const Aws::Utils::DateTime & GetTrainingExecutionEndTime() const
DescribeModelResult & WithTrainingExecutionEndTime(TrainingExecutionEndTimeT &&value)
const Aws::Utils::DateTime & GetImportJobStartTime() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
const Aws::Utils::DateTime & GetAccumulatedInferenceDataEndTime() const
void SetActiveModelVersionArn(ActiveModelVersionArnT &&value)
DescribeModelResult & WithImportJobStartTime(ImportJobStartTimeT &&value)
DescribeModelResult & WithSchema(SchemaT &&value)
void SetLabelsInputConfiguration(LabelsInputConfigurationT &&value)
const Aws::Utils::DateTime & GetAccumulatedInferenceDataStartTime() const
void SetPriorModelMetrics(PriorModelMetricsT &&value)
DescribeModelResult & WithLatestScheduledRetrainingStartTime(LatestScheduledRetrainingStartTimeT &&value)
DescribeModelResult & WithNextScheduledRetrainingStartDate(NextScheduledRetrainingStartDateT &&value)
void SetLatestScheduledRetrainingStartTime(LatestScheduledRetrainingStartTimeT &&value)
DescribeModelResult & WithModelName(ModelNameT &&value)
DescribeModelResult & WithDataPreProcessingConfiguration(DataPreProcessingConfigurationT &&value)
DescribeModelResult & WithActiveModelVersionArn(ActiveModelVersionArnT &&value)
void SetAccumulatedInferenceDataStartTime(AccumulatedInferenceDataStartTimeT &&value)
const Aws::String & GetLatestScheduledRetrainingFailedReason() const
void SetRetrainingSchedulerStatus(RetrainingSchedulerStatus value)
DescribeModelResult & WithEvaluationDataStartTime(EvaluationDataStartTimeT &&value)
void SetLatestScheduledRetrainingStatus(ModelVersionStatus value)
RetrainingSchedulerStatus GetRetrainingSchedulerStatus() const
DescribeModelResult & WithModelArn(ModelArnT &&value)
void SetTrainingExecutionEndTime(TrainingExecutionEndTimeT &&value)
DescribeModelResult & WithOffCondition(OffConditionT &&value)
AWS_LOOKOUTEQUIPMENT_API DescribeModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeModelResult & WithEvaluationDataEndTime(EvaluationDataEndTimeT &&value)
DescribeModelResult & WithSourceModelVersionArn(SourceModelVersionArnT &&value)
const Aws::Utils::DateTime & GetNextScheduledRetrainingStartDate() const
DescribeModelResult & WithLatestScheduledRetrainingAvailableDataInDays(int value)
const Aws::Utils::DateTime & GetImportJobEndTime() const
DescribeModelResult & WithActiveModelVersion(long long value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAccumulatedInferenceDataEndTime(AccumulatedInferenceDataEndTimeT &&value)
DescribeModelResult & WithRequestId(RequestIdT &&value)
const ModelDiagnosticsOutputConfiguration & GetModelDiagnosticsOutputConfiguration() const
const LabelsInputConfiguration & GetLabelsInputConfiguration() const
const Aws::Utils::DateTime & GetTrainingDataStartTime() const
void SetNextScheduledRetrainingStartDate(NextScheduledRetrainingStartDateT &&value)
void SetEvaluationDataEndTime(EvaluationDataEndTimeT &&value)
const Aws::Utils::DateTime & GetModelVersionActivatedAt() const
void SetTrainingDataEndTime(TrainingDataEndTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue