AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeModelPackageResult.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/SageMaker_EXPORTS.h>
13#include <aws/sagemaker/model/AdditionalInferenceSpecificationDefinition.h>
14#include <aws/sagemaker/model/DriftCheckBaselines.h>
15#include <aws/sagemaker/model/InferenceSpecification.h>
16#include <aws/sagemaker/model/MetadataProperties.h>
17#include <aws/sagemaker/model/ModelApprovalStatus.h>
18#include <aws/sagemaker/model/ModelLifeCycle.h>
19#include <aws/sagemaker/model/ModelMetrics.h>
20#include <aws/sagemaker/model/ModelPackageModelCard.h>
21#include <aws/sagemaker/model/ModelPackageRegistrationType.h>
22#include <aws/sagemaker/model/ModelPackageSecurityConfig.h>
23#include <aws/sagemaker/model/ModelPackageStatus.h>
24#include <aws/sagemaker/model/ModelPackageStatusDetails.h>
25#include <aws/sagemaker/model/ModelPackageValidationSpecification.h>
26#include <aws/sagemaker/model/SkipModelValidation.h>
27#include <aws/sagemaker/model/SourceAlgorithmSpecification.h>
28#include <aws/sagemaker/model/UserContext.h>
29
30#include <utility>
31
32namespace Aws {
33template <typename RESULT_TYPE>
34class AmazonWebServiceResult;
35
36namespace Utils {
37namespace Json {
38class JsonValue;
39} // namespace Json
40} // namespace Utils
41namespace SageMaker {
42namespace Model {
44 public:
45 AWS_SAGEMAKER_API DescribeModelPackageResult() = default;
48
50
53 inline const Aws::String& GetModelPackageName() const { return m_modelPackageName; }
54 template <typename ModelPackageNameT = Aws::String>
55 void SetModelPackageName(ModelPackageNameT&& value) {
56 m_modelPackageNameHasBeenSet = true;
57 m_modelPackageName = std::forward<ModelPackageNameT>(value);
58 }
59 template <typename ModelPackageNameT = Aws::String>
61 SetModelPackageName(std::forward<ModelPackageNameT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
72 template <typename ModelPackageGroupNameT = Aws::String>
73 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) {
74 m_modelPackageGroupNameHasBeenSet = true;
75 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
76 }
77 template <typename ModelPackageGroupNameT = Aws::String>
78 DescribeModelPackageResult& WithModelPackageGroupName(ModelPackageGroupNameT&& value) {
79 SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value));
80 return *this;
81 }
83
85
88 inline int GetModelPackageVersion() const { return m_modelPackageVersion; }
89 inline void SetModelPackageVersion(int value) {
90 m_modelPackageVersionHasBeenSet = true;
91 m_modelPackageVersion = value;
92 }
95 return *this;
96 }
98
100
103 inline ModelPackageRegistrationType GetModelPackageRegistrationType() const { return m_modelPackageRegistrationType; }
105 m_modelPackageRegistrationTypeHasBeenSet = true;
106 m_modelPackageRegistrationType = value;
107 }
110 return *this;
111 }
113
115
118 inline const Aws::String& GetModelPackageArn() const { return m_modelPackageArn; }
119 template <typename ModelPackageArnT = Aws::String>
120 void SetModelPackageArn(ModelPackageArnT&& value) {
121 m_modelPackageArnHasBeenSet = true;
122 m_modelPackageArn = std::forward<ModelPackageArnT>(value);
123 }
124 template <typename ModelPackageArnT = Aws::String>
126 SetModelPackageArn(std::forward<ModelPackageArnT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetModelPackageDescription() const { return m_modelPackageDescription; }
136 template <typename ModelPackageDescriptionT = Aws::String>
137 void SetModelPackageDescription(ModelPackageDescriptionT&& value) {
138 m_modelPackageDescriptionHasBeenSet = true;
139 m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value);
140 }
141 template <typename ModelPackageDescriptionT = Aws::String>
142 DescribeModelPackageResult& WithModelPackageDescription(ModelPackageDescriptionT&& value) {
143 SetModelPackageDescription(std::forward<ModelPackageDescriptionT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
153 template <typename CreationTimeT = Aws::Utils::DateTime>
154 void SetCreationTime(CreationTimeT&& value) {
155 m_creationTimeHasBeenSet = true;
156 m_creationTime = std::forward<CreationTimeT>(value);
157 }
158 template <typename CreationTimeT = Aws::Utils::DateTime>
160 SetCreationTime(std::forward<CreationTimeT>(value));
161 return *this;
162 }
164
166
170 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
171 template <typename InferenceSpecificationT = InferenceSpecification>
172 void SetInferenceSpecification(InferenceSpecificationT&& value) {
173 m_inferenceSpecificationHasBeenSet = true;
174 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
175 }
176 template <typename InferenceSpecificationT = InferenceSpecification>
177 DescribeModelPackageResult& WithInferenceSpecification(InferenceSpecificationT&& value) {
178 SetInferenceSpecification(std::forward<InferenceSpecificationT>(value));
179 return *this;
180 }
182
184
187 inline const SourceAlgorithmSpecification& GetSourceAlgorithmSpecification() const { return m_sourceAlgorithmSpecification; }
188 template <typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
189 void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) {
190 m_sourceAlgorithmSpecificationHasBeenSet = true;
191 m_sourceAlgorithmSpecification = std::forward<SourceAlgorithmSpecificationT>(value);
192 }
193 template <typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
194 DescribeModelPackageResult& WithSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) {
195 SetSourceAlgorithmSpecification(std::forward<SourceAlgorithmSpecificationT>(value));
196 return *this;
197 }
199
201
205 inline const ModelPackageValidationSpecification& GetValidationSpecification() const { return m_validationSpecification; }
206 template <typename ValidationSpecificationT = ModelPackageValidationSpecification>
207 void SetValidationSpecification(ValidationSpecificationT&& value) {
208 m_validationSpecificationHasBeenSet = true;
209 m_validationSpecification = std::forward<ValidationSpecificationT>(value);
210 }
211 template <typename ValidationSpecificationT = ModelPackageValidationSpecification>
212 DescribeModelPackageResult& WithValidationSpecification(ValidationSpecificationT&& value) {
213 SetValidationSpecification(std::forward<ValidationSpecificationT>(value));
214 return *this;
215 }
217
219
222 inline ModelPackageStatus GetModelPackageStatus() const { return m_modelPackageStatus; }
224 m_modelPackageStatusHasBeenSet = true;
225 m_modelPackageStatus = value;
226 }
229 return *this;
230 }
232
234
237 inline const ModelPackageStatusDetails& GetModelPackageStatusDetails() const { return m_modelPackageStatusDetails; }
238 template <typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
239 void SetModelPackageStatusDetails(ModelPackageStatusDetailsT&& value) {
240 m_modelPackageStatusDetailsHasBeenSet = true;
241 m_modelPackageStatusDetails = std::forward<ModelPackageStatusDetailsT>(value);
242 }
243 template <typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
244 DescribeModelPackageResult& WithModelPackageStatusDetails(ModelPackageStatusDetailsT&& value) {
245 SetModelPackageStatusDetails(std::forward<ModelPackageStatusDetailsT>(value));
246 return *this;
247 }
249
251
255 inline bool GetCertifyForMarketplace() const { return m_certifyForMarketplace; }
256 inline void SetCertifyForMarketplace(bool value) {
257 m_certifyForMarketplaceHasBeenSet = true;
258 m_certifyForMarketplace = value;
259 }
262 return *this;
263 }
265
267
270 inline ModelApprovalStatus GetModelApprovalStatus() const { return m_modelApprovalStatus; }
272 m_modelApprovalStatusHasBeenSet = true;
273 m_modelApprovalStatus = value;
274 }
277 return *this;
278 }
280
282
283 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
284 template <typename CreatedByT = UserContext>
285 void SetCreatedBy(CreatedByT&& value) {
286 m_createdByHasBeenSet = true;
287 m_createdBy = std::forward<CreatedByT>(value);
288 }
289 template <typename CreatedByT = UserContext>
291 SetCreatedBy(std::forward<CreatedByT>(value));
292 return *this;
293 }
295
297
298 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
299 template <typename MetadataPropertiesT = MetadataProperties>
300 void SetMetadataProperties(MetadataPropertiesT&& value) {
301 m_metadataPropertiesHasBeenSet = true;
302 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
303 }
304 template <typename MetadataPropertiesT = MetadataProperties>
306 SetMetadataProperties(std::forward<MetadataPropertiesT>(value));
307 return *this;
308 }
310
312
315 inline const ModelMetrics& GetModelMetrics() const { return m_modelMetrics; }
316 template <typename ModelMetricsT = ModelMetrics>
317 void SetModelMetrics(ModelMetricsT&& value) {
318 m_modelMetricsHasBeenSet = true;
319 m_modelMetrics = std::forward<ModelMetricsT>(value);
320 }
321 template <typename ModelMetricsT = ModelMetrics>
323 SetModelMetrics(std::forward<ModelMetricsT>(value));
324 return *this;
325 }
327
329
332 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
333 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
334 void SetLastModifiedTime(LastModifiedTimeT&& value) {
335 m_lastModifiedTimeHasBeenSet = true;
336 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
337 }
338 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
340 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
341 return *this;
342 }
344
346
347 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
348 template <typename LastModifiedByT = UserContext>
349 void SetLastModifiedBy(LastModifiedByT&& value) {
350 m_lastModifiedByHasBeenSet = true;
351 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
352 }
353 template <typename LastModifiedByT = UserContext>
355 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
356 return *this;
357 }
359
361
364 inline const Aws::String& GetApprovalDescription() const { return m_approvalDescription; }
365 template <typename ApprovalDescriptionT = Aws::String>
366 void SetApprovalDescription(ApprovalDescriptionT&& value) {
367 m_approvalDescriptionHasBeenSet = true;
368 m_approvalDescription = std::forward<ApprovalDescriptionT>(value);
369 }
370 template <typename ApprovalDescriptionT = Aws::String>
372 SetApprovalDescription(std::forward<ApprovalDescriptionT>(value));
373 return *this;
374 }
376
378
383 inline const Aws::String& GetDomain() const { return m_domain; }
384 template <typename DomainT = Aws::String>
385 void SetDomain(DomainT&& value) {
386 m_domainHasBeenSet = true;
387 m_domain = std::forward<DomainT>(value);
388 }
389 template <typename DomainT = Aws::String>
391 SetDomain(std::forward<DomainT>(value));
392 return *this;
393 }
395
397
402 inline const Aws::String& GetTask() const { return m_task; }
403 template <typename TaskT = Aws::String>
404 void SetTask(TaskT&& value) {
405 m_taskHasBeenSet = true;
406 m_task = std::forward<TaskT>(value);
407 }
408 template <typename TaskT = Aws::String>
410 SetTask(std::forward<TaskT>(value));
411 return *this;
412 }
414
416
421 inline const Aws::String& GetSamplePayloadUrl() const { return m_samplePayloadUrl; }
422 template <typename SamplePayloadUrlT = Aws::String>
423 void SetSamplePayloadUrl(SamplePayloadUrlT&& value) {
424 m_samplePayloadUrlHasBeenSet = true;
425 m_samplePayloadUrl = std::forward<SamplePayloadUrlT>(value);
426 }
427 template <typename SamplePayloadUrlT = Aws::String>
429 SetSamplePayloadUrl(std::forward<SamplePayloadUrlT>(value));
430 return *this;
431 }
433
435
438 inline const Aws::Map<Aws::String, Aws::String>& GetCustomerMetadataProperties() const { return m_customerMetadataProperties; }
439 template <typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
440 void SetCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) {
441 m_customerMetadataPropertiesHasBeenSet = true;
442 m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value);
443 }
444 template <typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
445 DescribeModelPackageResult& WithCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) {
446 SetCustomerMetadataProperties(std::forward<CustomerMetadataPropertiesT>(value));
447 return *this;
448 }
449 template <typename CustomerMetadataPropertiesKeyT = Aws::String, typename CustomerMetadataPropertiesValueT = Aws::String>
450 DescribeModelPackageResult& AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT&& key,
451 CustomerMetadataPropertiesValueT&& value) {
452 m_customerMetadataPropertiesHasBeenSet = true;
453 m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key),
454 std::forward<CustomerMetadataPropertiesValueT>(value));
455 return *this;
456 }
458
460
467 inline const DriftCheckBaselines& GetDriftCheckBaselines() const { return m_driftCheckBaselines; }
468 template <typename DriftCheckBaselinesT = DriftCheckBaselines>
469 void SetDriftCheckBaselines(DriftCheckBaselinesT&& value) {
470 m_driftCheckBaselinesHasBeenSet = true;
471 m_driftCheckBaselines = std::forward<DriftCheckBaselinesT>(value);
472 }
473 template <typename DriftCheckBaselinesT = DriftCheckBaselines>
475 SetDriftCheckBaselines(std::forward<DriftCheckBaselinesT>(value));
476 return *this;
477 }
479
481
488 return m_additionalInferenceSpecifications;
489 }
490 template <typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
491 void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
492 m_additionalInferenceSpecificationsHasBeenSet = true;
493 m_additionalInferenceSpecifications = std::forward<AdditionalInferenceSpecificationsT>(value);
494 }
495 template <typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
496 DescribeModelPackageResult& WithAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
497 SetAdditionalInferenceSpecifications(std::forward<AdditionalInferenceSpecificationsT>(value));
498 return *this;
499 }
500 template <typename AdditionalInferenceSpecificationsT = AdditionalInferenceSpecificationDefinition>
501 DescribeModelPackageResult& AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
502 m_additionalInferenceSpecificationsHasBeenSet = true;
503 m_additionalInferenceSpecifications.emplace_back(std::forward<AdditionalInferenceSpecificationsT>(value));
504 return *this;
505 }
507
509
512 inline SkipModelValidation GetSkipModelValidation() const { return m_skipModelValidation; }
514 m_skipModelValidationHasBeenSet = true;
515 m_skipModelValidation = value;
516 }
519 return *this;
520 }
522
524
527 inline const Aws::String& GetSourceUri() const { return m_sourceUri; }
528 template <typename SourceUriT = Aws::String>
529 void SetSourceUri(SourceUriT&& value) {
530 m_sourceUriHasBeenSet = true;
531 m_sourceUri = std::forward<SourceUriT>(value);
532 }
533 template <typename SourceUriT = Aws::String>
535 SetSourceUri(std::forward<SourceUriT>(value));
536 return *this;
537 }
539
541
545 inline const ModelPackageSecurityConfig& GetSecurityConfig() const { return m_securityConfig; }
546 template <typename SecurityConfigT = ModelPackageSecurityConfig>
547 void SetSecurityConfig(SecurityConfigT&& value) {
548 m_securityConfigHasBeenSet = true;
549 m_securityConfig = std::forward<SecurityConfigT>(value);
550 }
551 template <typename SecurityConfigT = ModelPackageSecurityConfig>
553 SetSecurityConfig(std::forward<SecurityConfigT>(value));
554 return *this;
555 }
557
559
574 inline const ModelPackageModelCard& GetModelCard() const { return m_modelCard; }
575 template <typename ModelCardT = ModelPackageModelCard>
576 void SetModelCard(ModelCardT&& value) {
577 m_modelCardHasBeenSet = true;
578 m_modelCard = std::forward<ModelCardT>(value);
579 }
580 template <typename ModelCardT = ModelPackageModelCard>
582 SetModelCard(std::forward<ModelCardT>(value));
583 return *this;
584 }
586
588
592 inline const ModelLifeCycle& GetModelLifeCycle() const { return m_modelLifeCycle; }
593 template <typename ModelLifeCycleT = ModelLifeCycle>
594 void SetModelLifeCycle(ModelLifeCycleT&& value) {
595 m_modelLifeCycleHasBeenSet = true;
596 m_modelLifeCycle = std::forward<ModelLifeCycleT>(value);
597 }
598 template <typename ModelLifeCycleT = ModelLifeCycle>
600 SetModelLifeCycle(std::forward<ModelLifeCycleT>(value));
601 return *this;
602 }
604
606
607 inline const Aws::String& GetRequestId() const { return m_requestId; }
608 template <typename RequestIdT = Aws::String>
609 void SetRequestId(RequestIdT&& value) {
610 m_requestIdHasBeenSet = true;
611 m_requestId = std::forward<RequestIdT>(value);
612 }
613 template <typename RequestIdT = Aws::String>
615 SetRequestId(std::forward<RequestIdT>(value));
616 return *this;
617 }
619 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
620
621 private:
622 Aws::String m_modelPackageName;
623
624 Aws::String m_modelPackageGroupName;
625
626 int m_modelPackageVersion{0};
627
629
630 Aws::String m_modelPackageArn;
631
632 Aws::String m_modelPackageDescription;
633
634 Aws::Utils::DateTime m_creationTime{};
635
636 InferenceSpecification m_inferenceSpecification;
637
638 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
639
640 ModelPackageValidationSpecification m_validationSpecification;
641
643
644 ModelPackageStatusDetails m_modelPackageStatusDetails;
645
646 bool m_certifyForMarketplace{false};
647
649
650 UserContext m_createdBy;
651
652 MetadataProperties m_metadataProperties;
653
654 ModelMetrics m_modelMetrics;
655
656 Aws::Utils::DateTime m_lastModifiedTime{};
657
658 UserContext m_lastModifiedBy;
659
660 Aws::String m_approvalDescription;
661
662 Aws::String m_domain;
663
664 Aws::String m_task;
665
666 Aws::String m_samplePayloadUrl;
667
668 Aws::Map<Aws::String, Aws::String> m_customerMetadataProperties;
669
670 DriftCheckBaselines m_driftCheckBaselines;
671
672 Aws::Vector<AdditionalInferenceSpecificationDefinition> m_additionalInferenceSpecifications;
673
675
676 Aws::String m_sourceUri;
677
678 ModelPackageSecurityConfig m_securityConfig;
679
680 ModelPackageModelCard m_modelCard;
681
682 ModelLifeCycle m_modelLifeCycle;
683
684 Aws::String m_requestId;
685 Aws::Http::HttpResponseCode m_HttpResponseCode;
686 bool m_modelPackageNameHasBeenSet = false;
687 bool m_modelPackageGroupNameHasBeenSet = false;
688 bool m_modelPackageVersionHasBeenSet = false;
689 bool m_modelPackageRegistrationTypeHasBeenSet = false;
690 bool m_modelPackageArnHasBeenSet = false;
691 bool m_modelPackageDescriptionHasBeenSet = false;
692 bool m_creationTimeHasBeenSet = false;
693 bool m_inferenceSpecificationHasBeenSet = false;
694 bool m_sourceAlgorithmSpecificationHasBeenSet = false;
695 bool m_validationSpecificationHasBeenSet = false;
696 bool m_modelPackageStatusHasBeenSet = false;
697 bool m_modelPackageStatusDetailsHasBeenSet = false;
698 bool m_certifyForMarketplaceHasBeenSet = false;
699 bool m_modelApprovalStatusHasBeenSet = false;
700 bool m_createdByHasBeenSet = false;
701 bool m_metadataPropertiesHasBeenSet = false;
702 bool m_modelMetricsHasBeenSet = false;
703 bool m_lastModifiedTimeHasBeenSet = false;
704 bool m_lastModifiedByHasBeenSet = false;
705 bool m_approvalDescriptionHasBeenSet = false;
706 bool m_domainHasBeenSet = false;
707 bool m_taskHasBeenSet = false;
708 bool m_samplePayloadUrlHasBeenSet = false;
709 bool m_customerMetadataPropertiesHasBeenSet = false;
710 bool m_driftCheckBaselinesHasBeenSet = false;
711 bool m_additionalInferenceSpecificationsHasBeenSet = false;
712 bool m_skipModelValidationHasBeenSet = false;
713 bool m_sourceUriHasBeenSet = false;
714 bool m_securityConfigHasBeenSet = false;
715 bool m_modelCardHasBeenSet = false;
716 bool m_modelLifeCycleHasBeenSet = false;
717 bool m_requestIdHasBeenSet = false;
718};
719
720} // namespace Model
721} // namespace SageMaker
722} // namespace Aws
const ModelPackageValidationSpecification & GetValidationSpecification() const
AWS_SAGEMAKER_API DescribeModelPackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeModelPackageResult & WithModelPackageArn(ModelPackageArnT &&value)
DescribeModelPackageResult & WithModelMetrics(ModelMetricsT &&value)
DescribeModelPackageResult & WithCustomerMetadataProperties(CustomerMetadataPropertiesT &&value)
DescribeModelPackageResult & AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
DescribeModelPackageResult & WithDriftCheckBaselines(DriftCheckBaselinesT &&value)
DescribeModelPackageResult & WithApprovalDescription(ApprovalDescriptionT &&value)
DescribeModelPackageResult & WithSamplePayloadUrl(SamplePayloadUrlT &&value)
DescribeModelPackageResult & WithCreatedBy(CreatedByT &&value)
DescribeModelPackageResult & WithSecurityConfig(SecurityConfigT &&value)
DescribeModelPackageResult & WithTask(TaskT &&value)
DescribeModelPackageResult & WithCreationTime(CreationTimeT &&value)
void SetModelPackageStatusDetails(ModelPackageStatusDetailsT &&value)
DescribeModelPackageResult & WithModelPackageName(ModelPackageNameT &&value)
DescribeModelPackageResult & WithModelPackageStatusDetails(ModelPackageStatusDetailsT &&value)
const Aws::Vector< AdditionalInferenceSpecificationDefinition > & GetAdditionalInferenceSpecifications() const
DescribeModelPackageResult & WithMetadataProperties(MetadataPropertiesT &&value)
void SetInferenceSpecification(InferenceSpecificationT &&value)
DescribeModelPackageResult & WithModelPackageStatus(ModelPackageStatus value)
DescribeModelPackageResult & WithInferenceSpecification(InferenceSpecificationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerMetadataProperties() const
DescribeModelPackageResult & WithModelPackageRegistrationType(ModelPackageRegistrationType value)
const ModelPackageStatusDetails & GetModelPackageStatusDetails() const
DescribeModelPackageResult & AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT &&key, CustomerMetadataPropertiesValueT &&value)
AWS_SAGEMAKER_API DescribeModelPackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT &&value)
void SetModelPackageDescription(ModelPackageDescriptionT &&value)
DescribeModelPackageResult & WithRequestId(RequestIdT &&value)
DescribeModelPackageResult & WithModelPackageDescription(ModelPackageDescriptionT &&value)
void SetValidationSpecification(ValidationSpecificationT &&value)
void SetModelPackageRegistrationType(ModelPackageRegistrationType value)
DescribeModelPackageResult & WithDomain(DomainT &&value)
DescribeModelPackageResult & WithModelCard(ModelCardT &&value)
DescribeModelPackageResult & WithSourceAlgorithmSpecification(SourceAlgorithmSpecificationT &&value)
DescribeModelPackageResult & WithValidationSpecification(ValidationSpecificationT &&value)
ModelPackageRegistrationType GetModelPackageRegistrationType() const
DescribeModelPackageResult & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
void SetModelPackageGroupName(ModelPackageGroupNameT &&value)
DescribeModelPackageResult & WithAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
DescribeModelPackageResult & WithModelPackageVersion(int value)
const InferenceSpecification & GetInferenceSpecification() const
DescribeModelPackageResult & WithSourceUri(SourceUriT &&value)
DescribeModelPackageResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeModelPackageResult & WithModelApprovalStatus(ModelApprovalStatus value)
DescribeModelPackageResult & WithSkipModelValidation(SkipModelValidation value)
const ModelPackageSecurityConfig & GetSecurityConfig() const
void SetCustomerMetadataProperties(CustomerMetadataPropertiesT &&value)
DescribeModelPackageResult & WithLastModifiedTime(LastModifiedTimeT &&value)
const SourceAlgorithmSpecification & GetSourceAlgorithmSpecification() const
DescribeModelPackageResult & WithCertifyForMarketplace(bool value)
AWS_SAGEMAKER_API DescribeModelPackageResult()=default
DescribeModelPackageResult & WithModelLifeCycle(ModelLifeCycleT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue