AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeModelPackageResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/AdditionalInferenceSpecificationDefinition.h>
13#include <aws/sagemaker/model/DriftCheckBaselines.h>
14#include <aws/sagemaker/model/InferenceSpecification.h>
15#include <aws/sagemaker/model/MetadataProperties.h>
16#include <aws/sagemaker/model/ModelApprovalStatus.h>
17#include <aws/sagemaker/model/ModelLifeCycle.h>
18#include <aws/sagemaker/model/ModelMetrics.h>
19#include <aws/sagemaker/model/ModelPackageModelCard.h>
20#include <aws/sagemaker/model/ModelPackageRegistrationType.h>
21#include <aws/sagemaker/model/ModelPackageSecurityConfig.h>
22#include <aws/sagemaker/model/ModelPackageStatus.h>
23#include <aws/sagemaker/model/ModelPackageStatusDetails.h>
24#include <aws/sagemaker/model/ModelPackageValidationSpecification.h>
25#include <aws/sagemaker/model/SkipModelValidation.h>
26#include <aws/sagemaker/model/SourceAlgorithmSpecification.h>
27#include <aws/sagemaker/model/UserContext.h>
28
29#include <utility>
30
31namespace Aws {
32template <typename RESULT_TYPE>
33class AmazonWebServiceResult;
34
35namespace Utils {
36namespace Json {
37class JsonValue;
38} // namespace Json
39} // namespace Utils
40namespace SageMaker {
41namespace Model {
43 public:
44 AWS_SAGEMAKER_API DescribeModelPackageResult() = default;
47
49
52 inline const Aws::String& GetModelPackageName() const { return m_modelPackageName; }
53 template <typename ModelPackageNameT = Aws::String>
54 void SetModelPackageName(ModelPackageNameT&& value) {
55 m_modelPackageNameHasBeenSet = true;
56 m_modelPackageName = std::forward<ModelPackageNameT>(value);
57 }
58 template <typename ModelPackageNameT = Aws::String>
60 SetModelPackageName(std::forward<ModelPackageNameT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
71 template <typename ModelPackageGroupNameT = Aws::String>
72 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) {
73 m_modelPackageGroupNameHasBeenSet = true;
74 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
75 }
76 template <typename ModelPackageGroupNameT = Aws::String>
77 DescribeModelPackageResult& WithModelPackageGroupName(ModelPackageGroupNameT&& value) {
78 SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value));
79 return *this;
80 }
82
84
87 inline int GetModelPackageVersion() const { return m_modelPackageVersion; }
88 inline void SetModelPackageVersion(int value) {
89 m_modelPackageVersionHasBeenSet = true;
90 m_modelPackageVersion = value;
91 }
94 return *this;
95 }
97
99
102 inline ModelPackageRegistrationType GetModelPackageRegistrationType() const { return m_modelPackageRegistrationType; }
104 m_modelPackageRegistrationTypeHasBeenSet = true;
105 m_modelPackageRegistrationType = value;
106 }
109 return *this;
110 }
112
114
117 inline const Aws::String& GetModelPackageArn() const { return m_modelPackageArn; }
118 template <typename ModelPackageArnT = Aws::String>
119 void SetModelPackageArn(ModelPackageArnT&& value) {
120 m_modelPackageArnHasBeenSet = true;
121 m_modelPackageArn = std::forward<ModelPackageArnT>(value);
122 }
123 template <typename ModelPackageArnT = Aws::String>
125 SetModelPackageArn(std::forward<ModelPackageArnT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetModelPackageDescription() const { return m_modelPackageDescription; }
135 template <typename ModelPackageDescriptionT = Aws::String>
136 void SetModelPackageDescription(ModelPackageDescriptionT&& value) {
137 m_modelPackageDescriptionHasBeenSet = true;
138 m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value);
139 }
140 template <typename ModelPackageDescriptionT = Aws::String>
141 DescribeModelPackageResult& WithModelPackageDescription(ModelPackageDescriptionT&& value) {
142 SetModelPackageDescription(std::forward<ModelPackageDescriptionT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
152 template <typename CreationTimeT = Aws::Utils::DateTime>
153 void SetCreationTime(CreationTimeT&& value) {
154 m_creationTimeHasBeenSet = true;
155 m_creationTime = std::forward<CreationTimeT>(value);
156 }
157 template <typename CreationTimeT = Aws::Utils::DateTime>
159 SetCreationTime(std::forward<CreationTimeT>(value));
160 return *this;
161 }
163
165
169 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
170 template <typename InferenceSpecificationT = InferenceSpecification>
171 void SetInferenceSpecification(InferenceSpecificationT&& value) {
172 m_inferenceSpecificationHasBeenSet = true;
173 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
174 }
175 template <typename InferenceSpecificationT = InferenceSpecification>
176 DescribeModelPackageResult& WithInferenceSpecification(InferenceSpecificationT&& value) {
177 SetInferenceSpecification(std::forward<InferenceSpecificationT>(value));
178 return *this;
179 }
181
183
186 inline const SourceAlgorithmSpecification& GetSourceAlgorithmSpecification() const { return m_sourceAlgorithmSpecification; }
187 template <typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
188 void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) {
189 m_sourceAlgorithmSpecificationHasBeenSet = true;
190 m_sourceAlgorithmSpecification = std::forward<SourceAlgorithmSpecificationT>(value);
191 }
192 template <typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
193 DescribeModelPackageResult& WithSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) {
194 SetSourceAlgorithmSpecification(std::forward<SourceAlgorithmSpecificationT>(value));
195 return *this;
196 }
198
200
204 inline const ModelPackageValidationSpecification& GetValidationSpecification() const { return m_validationSpecification; }
205 template <typename ValidationSpecificationT = ModelPackageValidationSpecification>
206 void SetValidationSpecification(ValidationSpecificationT&& value) {
207 m_validationSpecificationHasBeenSet = true;
208 m_validationSpecification = std::forward<ValidationSpecificationT>(value);
209 }
210 template <typename ValidationSpecificationT = ModelPackageValidationSpecification>
211 DescribeModelPackageResult& WithValidationSpecification(ValidationSpecificationT&& value) {
212 SetValidationSpecification(std::forward<ValidationSpecificationT>(value));
213 return *this;
214 }
216
218
221 inline ModelPackageStatus GetModelPackageStatus() const { return m_modelPackageStatus; }
223 m_modelPackageStatusHasBeenSet = true;
224 m_modelPackageStatus = value;
225 }
228 return *this;
229 }
231
233
236 inline const ModelPackageStatusDetails& GetModelPackageStatusDetails() const { return m_modelPackageStatusDetails; }
237 template <typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
238 void SetModelPackageStatusDetails(ModelPackageStatusDetailsT&& value) {
239 m_modelPackageStatusDetailsHasBeenSet = true;
240 m_modelPackageStatusDetails = std::forward<ModelPackageStatusDetailsT>(value);
241 }
242 template <typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
243 DescribeModelPackageResult& WithModelPackageStatusDetails(ModelPackageStatusDetailsT&& value) {
244 SetModelPackageStatusDetails(std::forward<ModelPackageStatusDetailsT>(value));
245 return *this;
246 }
248
250
254 inline bool GetCertifyForMarketplace() const { return m_certifyForMarketplace; }
255 inline void SetCertifyForMarketplace(bool value) {
256 m_certifyForMarketplaceHasBeenSet = true;
257 m_certifyForMarketplace = value;
258 }
261 return *this;
262 }
264
266
269 inline ModelApprovalStatus GetModelApprovalStatus() const { return m_modelApprovalStatus; }
271 m_modelApprovalStatusHasBeenSet = true;
272 m_modelApprovalStatus = value;
273 }
276 return *this;
277 }
279
281
282 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
283 template <typename CreatedByT = UserContext>
284 void SetCreatedBy(CreatedByT&& value) {
285 m_createdByHasBeenSet = true;
286 m_createdBy = std::forward<CreatedByT>(value);
287 }
288 template <typename CreatedByT = UserContext>
290 SetCreatedBy(std::forward<CreatedByT>(value));
291 return *this;
292 }
294
296
297 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
298 template <typename MetadataPropertiesT = MetadataProperties>
299 void SetMetadataProperties(MetadataPropertiesT&& value) {
300 m_metadataPropertiesHasBeenSet = true;
301 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
302 }
303 template <typename MetadataPropertiesT = MetadataProperties>
305 SetMetadataProperties(std::forward<MetadataPropertiesT>(value));
306 return *this;
307 }
309
311
314 inline const ModelMetrics& GetModelMetrics() const { return m_modelMetrics; }
315 template <typename ModelMetricsT = ModelMetrics>
316 void SetModelMetrics(ModelMetricsT&& value) {
317 m_modelMetricsHasBeenSet = true;
318 m_modelMetrics = std::forward<ModelMetricsT>(value);
319 }
320 template <typename ModelMetricsT = ModelMetrics>
322 SetModelMetrics(std::forward<ModelMetricsT>(value));
323 return *this;
324 }
326
328
331 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
332 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
333 void SetLastModifiedTime(LastModifiedTimeT&& value) {
334 m_lastModifiedTimeHasBeenSet = true;
335 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
336 }
337 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
339 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
340 return *this;
341 }
343
345
346 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
347 template <typename LastModifiedByT = UserContext>
348 void SetLastModifiedBy(LastModifiedByT&& value) {
349 m_lastModifiedByHasBeenSet = true;
350 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
351 }
352 template <typename LastModifiedByT = UserContext>
354 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
355 return *this;
356 }
358
360
363 inline const Aws::String& GetApprovalDescription() const { return m_approvalDescription; }
364 template <typename ApprovalDescriptionT = Aws::String>
365 void SetApprovalDescription(ApprovalDescriptionT&& value) {
366 m_approvalDescriptionHasBeenSet = true;
367 m_approvalDescription = std::forward<ApprovalDescriptionT>(value);
368 }
369 template <typename ApprovalDescriptionT = Aws::String>
371 SetApprovalDescription(std::forward<ApprovalDescriptionT>(value));
372 return *this;
373 }
375
377
382 inline const Aws::String& GetDomain() const { return m_domain; }
383 template <typename DomainT = Aws::String>
384 void SetDomain(DomainT&& value) {
385 m_domainHasBeenSet = true;
386 m_domain = std::forward<DomainT>(value);
387 }
388 template <typename DomainT = Aws::String>
390 SetDomain(std::forward<DomainT>(value));
391 return *this;
392 }
394
396
401 inline const Aws::String& GetTask() const { return m_task; }
402 template <typename TaskT = Aws::String>
403 void SetTask(TaskT&& value) {
404 m_taskHasBeenSet = true;
405 m_task = std::forward<TaskT>(value);
406 }
407 template <typename TaskT = Aws::String>
409 SetTask(std::forward<TaskT>(value));
410 return *this;
411 }
413
415
420 inline const Aws::String& GetSamplePayloadUrl() const { return m_samplePayloadUrl; }
421 template <typename SamplePayloadUrlT = Aws::String>
422 void SetSamplePayloadUrl(SamplePayloadUrlT&& value) {
423 m_samplePayloadUrlHasBeenSet = true;
424 m_samplePayloadUrl = std::forward<SamplePayloadUrlT>(value);
425 }
426 template <typename SamplePayloadUrlT = Aws::String>
428 SetSamplePayloadUrl(std::forward<SamplePayloadUrlT>(value));
429 return *this;
430 }
432
434
437 inline const Aws::Map<Aws::String, Aws::String>& GetCustomerMetadataProperties() const { return m_customerMetadataProperties; }
438 template <typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
439 void SetCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) {
440 m_customerMetadataPropertiesHasBeenSet = true;
441 m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value);
442 }
443 template <typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
444 DescribeModelPackageResult& WithCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) {
445 SetCustomerMetadataProperties(std::forward<CustomerMetadataPropertiesT>(value));
446 return *this;
447 }
448 template <typename CustomerMetadataPropertiesKeyT = Aws::String, typename CustomerMetadataPropertiesValueT = Aws::String>
449 DescribeModelPackageResult& AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT&& key,
450 CustomerMetadataPropertiesValueT&& value) {
451 m_customerMetadataPropertiesHasBeenSet = true;
452 m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key),
453 std::forward<CustomerMetadataPropertiesValueT>(value));
454 return *this;
455 }
457
459
466 inline const DriftCheckBaselines& GetDriftCheckBaselines() const { return m_driftCheckBaselines; }
467 template <typename DriftCheckBaselinesT = DriftCheckBaselines>
468 void SetDriftCheckBaselines(DriftCheckBaselinesT&& value) {
469 m_driftCheckBaselinesHasBeenSet = true;
470 m_driftCheckBaselines = std::forward<DriftCheckBaselinesT>(value);
471 }
472 template <typename DriftCheckBaselinesT = DriftCheckBaselines>
474 SetDriftCheckBaselines(std::forward<DriftCheckBaselinesT>(value));
475 return *this;
476 }
478
480
487 return m_additionalInferenceSpecifications;
488 }
489 template <typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
490 void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
491 m_additionalInferenceSpecificationsHasBeenSet = true;
492 m_additionalInferenceSpecifications = std::forward<AdditionalInferenceSpecificationsT>(value);
493 }
494 template <typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
495 DescribeModelPackageResult& WithAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
496 SetAdditionalInferenceSpecifications(std::forward<AdditionalInferenceSpecificationsT>(value));
497 return *this;
498 }
499 template <typename AdditionalInferenceSpecificationsT = AdditionalInferenceSpecificationDefinition>
500 DescribeModelPackageResult& AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
501 m_additionalInferenceSpecificationsHasBeenSet = true;
502 m_additionalInferenceSpecifications.emplace_back(std::forward<AdditionalInferenceSpecificationsT>(value));
503 return *this;
504 }
506
508
511 inline SkipModelValidation GetSkipModelValidation() const { return m_skipModelValidation; }
513 m_skipModelValidationHasBeenSet = true;
514 m_skipModelValidation = value;
515 }
518 return *this;
519 }
521
523
526 inline const Aws::String& GetSourceUri() const { return m_sourceUri; }
527 template <typename SourceUriT = Aws::String>
528 void SetSourceUri(SourceUriT&& value) {
529 m_sourceUriHasBeenSet = true;
530 m_sourceUri = std::forward<SourceUriT>(value);
531 }
532 template <typename SourceUriT = Aws::String>
534 SetSourceUri(std::forward<SourceUriT>(value));
535 return *this;
536 }
538
540
544 inline const ModelPackageSecurityConfig& GetSecurityConfig() const { return m_securityConfig; }
545 template <typename SecurityConfigT = ModelPackageSecurityConfig>
546 void SetSecurityConfig(SecurityConfigT&& value) {
547 m_securityConfigHasBeenSet = true;
548 m_securityConfig = std::forward<SecurityConfigT>(value);
549 }
550 template <typename SecurityConfigT = ModelPackageSecurityConfig>
552 SetSecurityConfig(std::forward<SecurityConfigT>(value));
553 return *this;
554 }
556
558
573 inline const ModelPackageModelCard& GetModelCard() const { return m_modelCard; }
574 template <typename ModelCardT = ModelPackageModelCard>
575 void SetModelCard(ModelCardT&& value) {
576 m_modelCardHasBeenSet = true;
577 m_modelCard = std::forward<ModelCardT>(value);
578 }
579 template <typename ModelCardT = ModelPackageModelCard>
581 SetModelCard(std::forward<ModelCardT>(value));
582 return *this;
583 }
585
587
591 inline const ModelLifeCycle& GetModelLifeCycle() const { return m_modelLifeCycle; }
592 template <typename ModelLifeCycleT = ModelLifeCycle>
593 void SetModelLifeCycle(ModelLifeCycleT&& value) {
594 m_modelLifeCycleHasBeenSet = true;
595 m_modelLifeCycle = std::forward<ModelLifeCycleT>(value);
596 }
597 template <typename ModelLifeCycleT = ModelLifeCycle>
599 SetModelLifeCycle(std::forward<ModelLifeCycleT>(value));
600 return *this;
601 }
603
605
606 inline const Aws::String& GetRequestId() const { return m_requestId; }
607 template <typename RequestIdT = Aws::String>
608 void SetRequestId(RequestIdT&& value) {
609 m_requestIdHasBeenSet = true;
610 m_requestId = std::forward<RequestIdT>(value);
611 }
612 template <typename RequestIdT = Aws::String>
614 SetRequestId(std::forward<RequestIdT>(value));
615 return *this;
616 }
618 private:
619 Aws::String m_modelPackageName;
620
621 Aws::String m_modelPackageGroupName;
622
623 int m_modelPackageVersion{0};
624
626
627 Aws::String m_modelPackageArn;
628
629 Aws::String m_modelPackageDescription;
630
631 Aws::Utils::DateTime m_creationTime{};
632
633 InferenceSpecification m_inferenceSpecification;
634
635 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
636
637 ModelPackageValidationSpecification m_validationSpecification;
638
640
641 ModelPackageStatusDetails m_modelPackageStatusDetails;
642
643 bool m_certifyForMarketplace{false};
644
646
647 UserContext m_createdBy;
648
649 MetadataProperties m_metadataProperties;
650
651 ModelMetrics m_modelMetrics;
652
653 Aws::Utils::DateTime m_lastModifiedTime{};
654
655 UserContext m_lastModifiedBy;
656
657 Aws::String m_approvalDescription;
658
659 Aws::String m_domain;
660
661 Aws::String m_task;
662
663 Aws::String m_samplePayloadUrl;
664
665 Aws::Map<Aws::String, Aws::String> m_customerMetadataProperties;
666
667 DriftCheckBaselines m_driftCheckBaselines;
668
669 Aws::Vector<AdditionalInferenceSpecificationDefinition> m_additionalInferenceSpecifications;
670
672
673 Aws::String m_sourceUri;
674
675 ModelPackageSecurityConfig m_securityConfig;
676
677 ModelPackageModelCard m_modelCard;
678
679 ModelLifeCycle m_modelLifeCycle;
680
681 Aws::String m_requestId;
682 bool m_modelPackageNameHasBeenSet = false;
683 bool m_modelPackageGroupNameHasBeenSet = false;
684 bool m_modelPackageVersionHasBeenSet = false;
685 bool m_modelPackageRegistrationTypeHasBeenSet = false;
686 bool m_modelPackageArnHasBeenSet = false;
687 bool m_modelPackageDescriptionHasBeenSet = false;
688 bool m_creationTimeHasBeenSet = false;
689 bool m_inferenceSpecificationHasBeenSet = false;
690 bool m_sourceAlgorithmSpecificationHasBeenSet = false;
691 bool m_validationSpecificationHasBeenSet = false;
692 bool m_modelPackageStatusHasBeenSet = false;
693 bool m_modelPackageStatusDetailsHasBeenSet = false;
694 bool m_certifyForMarketplaceHasBeenSet = false;
695 bool m_modelApprovalStatusHasBeenSet = false;
696 bool m_createdByHasBeenSet = false;
697 bool m_metadataPropertiesHasBeenSet = false;
698 bool m_modelMetricsHasBeenSet = false;
699 bool m_lastModifiedTimeHasBeenSet = false;
700 bool m_lastModifiedByHasBeenSet = false;
701 bool m_approvalDescriptionHasBeenSet = false;
702 bool m_domainHasBeenSet = false;
703 bool m_taskHasBeenSet = false;
704 bool m_samplePayloadUrlHasBeenSet = false;
705 bool m_customerMetadataPropertiesHasBeenSet = false;
706 bool m_driftCheckBaselinesHasBeenSet = false;
707 bool m_additionalInferenceSpecificationsHasBeenSet = false;
708 bool m_skipModelValidationHasBeenSet = false;
709 bool m_sourceUriHasBeenSet = false;
710 bool m_securityConfigHasBeenSet = false;
711 bool m_modelCardHasBeenSet = false;
712 bool m_modelLifeCycleHasBeenSet = false;
713 bool m_requestIdHasBeenSet = false;
714};
715
716} // namespace Model
717} // namespace SageMaker
718} // 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