AWS SDK for C++

AWS SDK for C++ Version 1.11.816

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/ManagedStorageType.h>
17#include <aws/sagemaker/model/MetadataProperties.h>
18#include <aws/sagemaker/model/ModelApprovalStatus.h>
19#include <aws/sagemaker/model/ModelLifeCycle.h>
20#include <aws/sagemaker/model/ModelMetrics.h>
21#include <aws/sagemaker/model/ModelPackageModelCard.h>
22#include <aws/sagemaker/model/ModelPackageRegistrationType.h>
23#include <aws/sagemaker/model/ModelPackageSecurityConfig.h>
24#include <aws/sagemaker/model/ModelPackageStatus.h>
25#include <aws/sagemaker/model/ModelPackageStatusDetails.h>
26#include <aws/sagemaker/model/ModelPackageValidationSpecification.h>
27#include <aws/sagemaker/model/SkipModelValidation.h>
28#include <aws/sagemaker/model/SourceAlgorithmSpecification.h>
29#include <aws/sagemaker/model/UserContext.h>
30
31#include <utility>
32
33namespace Aws {
34template <typename RESULT_TYPE>
35class AmazonWebServiceResult;
36
37namespace Utils {
38namespace Json {
39class JsonValue;
40} // namespace Json
41} // namespace Utils
42namespace SageMaker {
43namespace Model {
45 public:
46 AWS_SAGEMAKER_API DescribeModelPackageResult() = default;
49
51
54 inline const Aws::String& GetModelPackageName() const { return m_modelPackageName; }
55 template <typename ModelPackageNameT = Aws::String>
56 void SetModelPackageName(ModelPackageNameT&& value) {
57 m_modelPackageNameHasBeenSet = true;
58 m_modelPackageName = std::forward<ModelPackageNameT>(value);
59 }
60 template <typename ModelPackageNameT = Aws::String>
62 SetModelPackageName(std::forward<ModelPackageNameT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
73 template <typename ModelPackageGroupNameT = Aws::String>
74 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) {
75 m_modelPackageGroupNameHasBeenSet = true;
76 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
77 }
78 template <typename ModelPackageGroupNameT = Aws::String>
79 DescribeModelPackageResult& WithModelPackageGroupName(ModelPackageGroupNameT&& value) {
80 SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value));
81 return *this;
82 }
84
86
89 inline int GetModelPackageVersion() const { return m_modelPackageVersion; }
90 inline void SetModelPackageVersion(int value) {
91 m_modelPackageVersionHasBeenSet = true;
92 m_modelPackageVersion = value;
93 }
96 return *this;
97 }
99
101
104 inline ModelPackageRegistrationType GetModelPackageRegistrationType() const { return m_modelPackageRegistrationType; }
106 m_modelPackageRegistrationTypeHasBeenSet = true;
107 m_modelPackageRegistrationType = value;
108 }
111 return *this;
112 }
114
116
119 inline const Aws::String& GetModelPackageArn() const { return m_modelPackageArn; }
120 template <typename ModelPackageArnT = Aws::String>
121 void SetModelPackageArn(ModelPackageArnT&& value) {
122 m_modelPackageArnHasBeenSet = true;
123 m_modelPackageArn = std::forward<ModelPackageArnT>(value);
124 }
125 template <typename ModelPackageArnT = Aws::String>
127 SetModelPackageArn(std::forward<ModelPackageArnT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetModelPackageDescription() const { return m_modelPackageDescription; }
137 template <typename ModelPackageDescriptionT = Aws::String>
138 void SetModelPackageDescription(ModelPackageDescriptionT&& value) {
139 m_modelPackageDescriptionHasBeenSet = true;
140 m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value);
141 }
142 template <typename ModelPackageDescriptionT = Aws::String>
143 DescribeModelPackageResult& WithModelPackageDescription(ModelPackageDescriptionT&& value) {
144 SetModelPackageDescription(std::forward<ModelPackageDescriptionT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
154 template <typename CreationTimeT = Aws::Utils::DateTime>
155 void SetCreationTime(CreationTimeT&& value) {
156 m_creationTimeHasBeenSet = true;
157 m_creationTime = std::forward<CreationTimeT>(value);
158 }
159 template <typename CreationTimeT = Aws::Utils::DateTime>
161 SetCreationTime(std::forward<CreationTimeT>(value));
162 return *this;
163 }
165
167
171 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
172 template <typename InferenceSpecificationT = InferenceSpecification>
173 void SetInferenceSpecification(InferenceSpecificationT&& value) {
174 m_inferenceSpecificationHasBeenSet = true;
175 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
176 }
177 template <typename InferenceSpecificationT = InferenceSpecification>
178 DescribeModelPackageResult& WithInferenceSpecification(InferenceSpecificationT&& value) {
179 SetInferenceSpecification(std::forward<InferenceSpecificationT>(value));
180 return *this;
181 }
183
185
188 inline const SourceAlgorithmSpecification& GetSourceAlgorithmSpecification() const { return m_sourceAlgorithmSpecification; }
189 template <typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
190 void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) {
191 m_sourceAlgorithmSpecificationHasBeenSet = true;
192 m_sourceAlgorithmSpecification = std::forward<SourceAlgorithmSpecificationT>(value);
193 }
194 template <typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
195 DescribeModelPackageResult& WithSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) {
196 SetSourceAlgorithmSpecification(std::forward<SourceAlgorithmSpecificationT>(value));
197 return *this;
198 }
200
202
206 inline const ModelPackageValidationSpecification& GetValidationSpecification() const { return m_validationSpecification; }
207 template <typename ValidationSpecificationT = ModelPackageValidationSpecification>
208 void SetValidationSpecification(ValidationSpecificationT&& value) {
209 m_validationSpecificationHasBeenSet = true;
210 m_validationSpecification = std::forward<ValidationSpecificationT>(value);
211 }
212 template <typename ValidationSpecificationT = ModelPackageValidationSpecification>
213 DescribeModelPackageResult& WithValidationSpecification(ValidationSpecificationT&& value) {
214 SetValidationSpecification(std::forward<ValidationSpecificationT>(value));
215 return *this;
216 }
218
220
223 inline ModelPackageStatus GetModelPackageStatus() const { return m_modelPackageStatus; }
225 m_modelPackageStatusHasBeenSet = true;
226 m_modelPackageStatus = value;
227 }
230 return *this;
231 }
233
235
238 inline const ModelPackageStatusDetails& GetModelPackageStatusDetails() const { return m_modelPackageStatusDetails; }
239 template <typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
240 void SetModelPackageStatusDetails(ModelPackageStatusDetailsT&& value) {
241 m_modelPackageStatusDetailsHasBeenSet = true;
242 m_modelPackageStatusDetails = std::forward<ModelPackageStatusDetailsT>(value);
243 }
244 template <typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
245 DescribeModelPackageResult& WithModelPackageStatusDetails(ModelPackageStatusDetailsT&& value) {
246 SetModelPackageStatusDetails(std::forward<ModelPackageStatusDetailsT>(value));
247 return *this;
248 }
250
252
256 inline bool GetCertifyForMarketplace() const { return m_certifyForMarketplace; }
257 inline void SetCertifyForMarketplace(bool value) {
258 m_certifyForMarketplaceHasBeenSet = true;
259 m_certifyForMarketplace = value;
260 }
263 return *this;
264 }
266
268
271 inline ModelApprovalStatus GetModelApprovalStatus() const { return m_modelApprovalStatus; }
273 m_modelApprovalStatusHasBeenSet = true;
274 m_modelApprovalStatus = value;
275 }
278 return *this;
279 }
281
283
284 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
285 template <typename CreatedByT = UserContext>
286 void SetCreatedBy(CreatedByT&& value) {
287 m_createdByHasBeenSet = true;
288 m_createdBy = std::forward<CreatedByT>(value);
289 }
290 template <typename CreatedByT = UserContext>
292 SetCreatedBy(std::forward<CreatedByT>(value));
293 return *this;
294 }
296
298
299 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
300 template <typename MetadataPropertiesT = MetadataProperties>
301 void SetMetadataProperties(MetadataPropertiesT&& value) {
302 m_metadataPropertiesHasBeenSet = true;
303 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
304 }
305 template <typename MetadataPropertiesT = MetadataProperties>
307 SetMetadataProperties(std::forward<MetadataPropertiesT>(value));
308 return *this;
309 }
311
313
316 inline const ModelMetrics& GetModelMetrics() const { return m_modelMetrics; }
317 template <typename ModelMetricsT = ModelMetrics>
318 void SetModelMetrics(ModelMetricsT&& value) {
319 m_modelMetricsHasBeenSet = true;
320 m_modelMetrics = std::forward<ModelMetricsT>(value);
321 }
322 template <typename ModelMetricsT = ModelMetrics>
324 SetModelMetrics(std::forward<ModelMetricsT>(value));
325 return *this;
326 }
328
330
333 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
334 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
335 void SetLastModifiedTime(LastModifiedTimeT&& value) {
336 m_lastModifiedTimeHasBeenSet = true;
337 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
338 }
339 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
341 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
342 return *this;
343 }
345
347
348 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
349 template <typename LastModifiedByT = UserContext>
350 void SetLastModifiedBy(LastModifiedByT&& value) {
351 m_lastModifiedByHasBeenSet = true;
352 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
353 }
354 template <typename LastModifiedByT = UserContext>
356 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
357 return *this;
358 }
360
362
365 inline const Aws::String& GetApprovalDescription() const { return m_approvalDescription; }
366 template <typename ApprovalDescriptionT = Aws::String>
367 void SetApprovalDescription(ApprovalDescriptionT&& value) {
368 m_approvalDescriptionHasBeenSet = true;
369 m_approvalDescription = std::forward<ApprovalDescriptionT>(value);
370 }
371 template <typename ApprovalDescriptionT = Aws::String>
373 SetApprovalDescription(std::forward<ApprovalDescriptionT>(value));
374 return *this;
375 }
377
379
384 inline const Aws::String& GetDomain() const { return m_domain; }
385 template <typename DomainT = Aws::String>
386 void SetDomain(DomainT&& value) {
387 m_domainHasBeenSet = true;
388 m_domain = std::forward<DomainT>(value);
389 }
390 template <typename DomainT = Aws::String>
392 SetDomain(std::forward<DomainT>(value));
393 return *this;
394 }
396
398
403 inline const Aws::String& GetTask() const { return m_task; }
404 template <typename TaskT = Aws::String>
405 void SetTask(TaskT&& value) {
406 m_taskHasBeenSet = true;
407 m_task = std::forward<TaskT>(value);
408 }
409 template <typename TaskT = Aws::String>
411 SetTask(std::forward<TaskT>(value));
412 return *this;
413 }
415
417
422 inline const Aws::String& GetSamplePayloadUrl() const { return m_samplePayloadUrl; }
423 template <typename SamplePayloadUrlT = Aws::String>
424 void SetSamplePayloadUrl(SamplePayloadUrlT&& value) {
425 m_samplePayloadUrlHasBeenSet = true;
426 m_samplePayloadUrl = std::forward<SamplePayloadUrlT>(value);
427 }
428 template <typename SamplePayloadUrlT = Aws::String>
430 SetSamplePayloadUrl(std::forward<SamplePayloadUrlT>(value));
431 return *this;
432 }
434
436
439 inline const Aws::Map<Aws::String, Aws::String>& GetCustomerMetadataProperties() const { return m_customerMetadataProperties; }
440 template <typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
441 void SetCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) {
442 m_customerMetadataPropertiesHasBeenSet = true;
443 m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value);
444 }
445 template <typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
446 DescribeModelPackageResult& WithCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) {
447 SetCustomerMetadataProperties(std::forward<CustomerMetadataPropertiesT>(value));
448 return *this;
449 }
450 template <typename CustomerMetadataPropertiesKeyT = Aws::String, typename CustomerMetadataPropertiesValueT = Aws::String>
451 DescribeModelPackageResult& AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT&& key,
452 CustomerMetadataPropertiesValueT&& value) {
453 m_customerMetadataPropertiesHasBeenSet = true;
454 m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key),
455 std::forward<CustomerMetadataPropertiesValueT>(value));
456 return *this;
457 }
459
461
468 inline const DriftCheckBaselines& GetDriftCheckBaselines() const { return m_driftCheckBaselines; }
469 template <typename DriftCheckBaselinesT = DriftCheckBaselines>
470 void SetDriftCheckBaselines(DriftCheckBaselinesT&& value) {
471 m_driftCheckBaselinesHasBeenSet = true;
472 m_driftCheckBaselines = std::forward<DriftCheckBaselinesT>(value);
473 }
474 template <typename DriftCheckBaselinesT = DriftCheckBaselines>
476 SetDriftCheckBaselines(std::forward<DriftCheckBaselinesT>(value));
477 return *this;
478 }
480
482
489 return m_additionalInferenceSpecifications;
490 }
491 template <typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
492 void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
493 m_additionalInferenceSpecificationsHasBeenSet = true;
494 m_additionalInferenceSpecifications = std::forward<AdditionalInferenceSpecificationsT>(value);
495 }
496 template <typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
497 DescribeModelPackageResult& WithAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
498 SetAdditionalInferenceSpecifications(std::forward<AdditionalInferenceSpecificationsT>(value));
499 return *this;
500 }
501 template <typename AdditionalInferenceSpecificationsT = AdditionalInferenceSpecificationDefinition>
502 DescribeModelPackageResult& AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
503 m_additionalInferenceSpecificationsHasBeenSet = true;
504 m_additionalInferenceSpecifications.emplace_back(std::forward<AdditionalInferenceSpecificationsT>(value));
505 return *this;
506 }
508
510
513 inline SkipModelValidation GetSkipModelValidation() const { return m_skipModelValidation; }
515 m_skipModelValidationHasBeenSet = true;
516 m_skipModelValidation = value;
517 }
520 return *this;
521 }
523
525
528 inline const Aws::String& GetSourceUri() const { return m_sourceUri; }
529 template <typename SourceUriT = Aws::String>
530 void SetSourceUri(SourceUriT&& value) {
531 m_sourceUriHasBeenSet = true;
532 m_sourceUri = std::forward<SourceUriT>(value);
533 }
534 template <typename SourceUriT = Aws::String>
536 SetSourceUri(std::forward<SourceUriT>(value));
537 return *this;
538 }
540
542
546 inline const ModelPackageSecurityConfig& GetSecurityConfig() const { return m_securityConfig; }
547 template <typename SecurityConfigT = ModelPackageSecurityConfig>
548 void SetSecurityConfig(SecurityConfigT&& value) {
549 m_securityConfigHasBeenSet = true;
550 m_securityConfig = std::forward<SecurityConfigT>(value);
551 }
552 template <typename SecurityConfigT = ModelPackageSecurityConfig>
554 SetSecurityConfig(std::forward<SecurityConfigT>(value));
555 return *this;
556 }
558
560
575 inline const ModelPackageModelCard& GetModelCard() const { return m_modelCard; }
576 template <typename ModelCardT = ModelPackageModelCard>
577 void SetModelCard(ModelCardT&& value) {
578 m_modelCardHasBeenSet = true;
579 m_modelCard = std::forward<ModelCardT>(value);
580 }
581 template <typename ModelCardT = ModelPackageModelCard>
583 SetModelCard(std::forward<ModelCardT>(value));
584 return *this;
585 }
587
589
593 inline const ModelLifeCycle& GetModelLifeCycle() const { return m_modelLifeCycle; }
594 template <typename ModelLifeCycleT = ModelLifeCycle>
595 void SetModelLifeCycle(ModelLifeCycleT&& value) {
596 m_modelLifeCycleHasBeenSet = true;
597 m_modelLifeCycle = std::forward<ModelLifeCycleT>(value);
598 }
599 template <typename ModelLifeCycleT = ModelLifeCycle>
601 SetModelLifeCycle(std::forward<ModelLifeCycleT>(value));
602 return *this;
603 }
605
607
610 inline ManagedStorageType GetManagedStorageType() const { return m_managedStorageType; }
612 m_managedStorageTypeHasBeenSet = true;
613 m_managedStorageType = value;
614 }
617 return *this;
618 }
620
622
623 inline const Aws::String& GetRequestId() const { return m_requestId; }
624 template <typename RequestIdT = Aws::String>
625 void SetRequestId(RequestIdT&& value) {
626 m_requestIdHasBeenSet = true;
627 m_requestId = std::forward<RequestIdT>(value);
628 }
629 template <typename RequestIdT = Aws::String>
631 SetRequestId(std::forward<RequestIdT>(value));
632 return *this;
633 }
635 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
636
637 private:
638 Aws::String m_modelPackageName;
639
640 Aws::String m_modelPackageGroupName;
641
642 int m_modelPackageVersion{0};
643
645
646 Aws::String m_modelPackageArn;
647
648 Aws::String m_modelPackageDescription;
649
650 Aws::Utils::DateTime m_creationTime{};
651
652 InferenceSpecification m_inferenceSpecification;
653
654 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
655
656 ModelPackageValidationSpecification m_validationSpecification;
657
659
660 ModelPackageStatusDetails m_modelPackageStatusDetails;
661
662 bool m_certifyForMarketplace{false};
663
665
666 UserContext m_createdBy;
667
668 MetadataProperties m_metadataProperties;
669
670 ModelMetrics m_modelMetrics;
671
672 Aws::Utils::DateTime m_lastModifiedTime{};
673
674 UserContext m_lastModifiedBy;
675
676 Aws::String m_approvalDescription;
677
678 Aws::String m_domain;
679
680 Aws::String m_task;
681
682 Aws::String m_samplePayloadUrl;
683
684 Aws::Map<Aws::String, Aws::String> m_customerMetadataProperties;
685
686 DriftCheckBaselines m_driftCheckBaselines;
687
688 Aws::Vector<AdditionalInferenceSpecificationDefinition> m_additionalInferenceSpecifications;
689
691
692 Aws::String m_sourceUri;
693
694 ModelPackageSecurityConfig m_securityConfig;
695
696 ModelPackageModelCard m_modelCard;
697
698 ModelLifeCycle m_modelLifeCycle;
699
701
702 Aws::String m_requestId;
703 Aws::Http::HttpResponseCode m_HttpResponseCode;
704 bool m_modelPackageNameHasBeenSet = false;
705 bool m_modelPackageGroupNameHasBeenSet = false;
706 bool m_modelPackageVersionHasBeenSet = false;
707 bool m_modelPackageRegistrationTypeHasBeenSet = false;
708 bool m_modelPackageArnHasBeenSet = false;
709 bool m_modelPackageDescriptionHasBeenSet = false;
710 bool m_creationTimeHasBeenSet = false;
711 bool m_inferenceSpecificationHasBeenSet = false;
712 bool m_sourceAlgorithmSpecificationHasBeenSet = false;
713 bool m_validationSpecificationHasBeenSet = false;
714 bool m_modelPackageStatusHasBeenSet = false;
715 bool m_modelPackageStatusDetailsHasBeenSet = false;
716 bool m_certifyForMarketplaceHasBeenSet = false;
717 bool m_modelApprovalStatusHasBeenSet = false;
718 bool m_createdByHasBeenSet = false;
719 bool m_metadataPropertiesHasBeenSet = false;
720 bool m_modelMetricsHasBeenSet = false;
721 bool m_lastModifiedTimeHasBeenSet = false;
722 bool m_lastModifiedByHasBeenSet = false;
723 bool m_approvalDescriptionHasBeenSet = false;
724 bool m_domainHasBeenSet = false;
725 bool m_taskHasBeenSet = false;
726 bool m_samplePayloadUrlHasBeenSet = false;
727 bool m_customerMetadataPropertiesHasBeenSet = false;
728 bool m_driftCheckBaselinesHasBeenSet = false;
729 bool m_additionalInferenceSpecificationsHasBeenSet = false;
730 bool m_skipModelValidationHasBeenSet = false;
731 bool m_sourceUriHasBeenSet = false;
732 bool m_securityConfigHasBeenSet = false;
733 bool m_modelCardHasBeenSet = false;
734 bool m_modelLifeCycleHasBeenSet = false;
735 bool m_managedStorageTypeHasBeenSet = false;
736 bool m_requestIdHasBeenSet = false;
737};
738
739} // namespace Model
740} // namespace SageMaker
741} // 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)
DescribeModelPackageResult & WithManagedStorageType(ManagedStorageType 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