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>
33template <
typename RESULT_TYPE>
34class AmazonWebServiceResult;
54 template <
typename ModelPackageNameT = Aws::String>
56 m_modelPackageNameHasBeenSet =
true;
57 m_modelPackageName = std::forward<ModelPackageNameT>(value);
59 template <
typename ModelPackageNameT = Aws::String>
72 template <
typename ModelPackageGroupNameT = Aws::String>
74 m_modelPackageGroupNameHasBeenSet =
true;
75 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
77 template <
typename ModelPackageGroupNameT = Aws::String>
90 m_modelPackageVersionHasBeenSet =
true;
91 m_modelPackageVersion = value;
105 m_modelPackageRegistrationTypeHasBeenSet =
true;
106 m_modelPackageRegistrationType = value;
119 template <
typename ModelPackageArnT = Aws::String>
121 m_modelPackageArnHasBeenSet =
true;
122 m_modelPackageArn = std::forward<ModelPackageArnT>(value);
124 template <
typename ModelPackageArnT = Aws::String>
136 template <
typename ModelPackageDescriptionT = Aws::String>
138 m_modelPackageDescriptionHasBeenSet =
true;
139 m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value);
141 template <
typename ModelPackageDescriptionT = Aws::String>
153 template <
typename CreationTimeT = Aws::Utils::DateTime>
155 m_creationTimeHasBeenSet =
true;
156 m_creationTime = std::forward<CreationTimeT>(value);
158 template <
typename CreationTimeT = Aws::Utils::DateTime>
171 template <
typename InferenceSpecificationT = InferenceSpecification>
173 m_inferenceSpecificationHasBeenSet =
true;
174 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
176 template <
typename InferenceSpecificationT = InferenceSpecification>
188 template <
typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
190 m_sourceAlgorithmSpecificationHasBeenSet =
true;
191 m_sourceAlgorithmSpecification = std::forward<SourceAlgorithmSpecificationT>(value);
193 template <
typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
206 template <
typename Val
idationSpecificationT = ModelPackageVal
idationSpecification>
208 m_validationSpecificationHasBeenSet =
true;
209 m_validationSpecification = std::forward<ValidationSpecificationT>(value);
211 template <
typename Val
idationSpecificationT = ModelPackageVal
idationSpecification>
224 m_modelPackageStatusHasBeenSet =
true;
225 m_modelPackageStatus = value;
238 template <
typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
240 m_modelPackageStatusDetailsHasBeenSet =
true;
241 m_modelPackageStatusDetails = std::forward<ModelPackageStatusDetailsT>(value);
243 template <
typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
257 m_certifyForMarketplaceHasBeenSet =
true;
258 m_certifyForMarketplace = value;
272 m_modelApprovalStatusHasBeenSet =
true;
273 m_modelApprovalStatus = value;
284 template <
typename CreatedByT = UserContext>
286 m_createdByHasBeenSet =
true;
287 m_createdBy = std::forward<CreatedByT>(value);
289 template <
typename CreatedByT = UserContext>
299 template <
typename MetadataPropertiesT = MetadataProperties>
301 m_metadataPropertiesHasBeenSet =
true;
302 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
304 template <
typename MetadataPropertiesT = MetadataProperties>
316 template <
typename ModelMetricsT = ModelMetrics>
318 m_modelMetricsHasBeenSet =
true;
319 m_modelMetrics = std::forward<ModelMetricsT>(value);
321 template <
typename ModelMetricsT = ModelMetrics>
333 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
335 m_lastModifiedTimeHasBeenSet =
true;
336 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
338 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
348 template <
typename LastModifiedByT = UserContext>
350 m_lastModifiedByHasBeenSet =
true;
351 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
353 template <
typename LastModifiedByT = UserContext>
365 template <
typename ApprovalDescriptionT = Aws::String>
367 m_approvalDescriptionHasBeenSet =
true;
368 m_approvalDescription = std::forward<ApprovalDescriptionT>(value);
370 template <
typename ApprovalDescriptionT = Aws::String>
384 template <
typename DomainT = Aws::String>
386 m_domainHasBeenSet =
true;
387 m_domain = std::forward<DomainT>(value);
389 template <
typename DomainT = Aws::String>
403 template <
typename TaskT = Aws::String>
405 m_taskHasBeenSet =
true;
406 m_task = std::forward<TaskT>(value);
408 template <
typename TaskT = Aws::String>
410 SetTask(std::forward<TaskT>(value));
422 template <
typename SamplePayloadUrlT = Aws::String>
424 m_samplePayloadUrlHasBeenSet =
true;
425 m_samplePayloadUrl = std::forward<SamplePayloadUrlT>(value);
427 template <
typename SamplePayloadUrlT = Aws::String>
439 template <
typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
441 m_customerMetadataPropertiesHasBeenSet =
true;
442 m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value);
444 template <
typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
449 template <
typename CustomerMetadataPropertiesKeyT = Aws::String,
typename CustomerMetadataPropertiesValueT = Aws::String>
451 CustomerMetadataPropertiesValueT&& value) {
452 m_customerMetadataPropertiesHasBeenSet =
true;
453 m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key),
454 std::forward<CustomerMetadataPropertiesValueT>(value));
468 template <
typename DriftCheckBaselinesT = DriftCheckBaselines>
470 m_driftCheckBaselinesHasBeenSet =
true;
471 m_driftCheckBaselines = std::forward<DriftCheckBaselinesT>(value);
473 template <
typename DriftCheckBaselinesT = DriftCheckBaselines>
488 return m_additionalInferenceSpecifications;
490 template <
typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
492 m_additionalInferenceSpecificationsHasBeenSet =
true;
493 m_additionalInferenceSpecifications = std::forward<AdditionalInferenceSpecificationsT>(value);
495 template <
typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
500 template <
typename AdditionalInferenceSpecificationsT = AdditionalInferenceSpecificationDefinition>
502 m_additionalInferenceSpecificationsHasBeenSet =
true;
503 m_additionalInferenceSpecifications.emplace_back(std::forward<AdditionalInferenceSpecificationsT>(value));
514 m_skipModelValidationHasBeenSet =
true;
515 m_skipModelValidation = value;
528 template <
typename SourceUriT = Aws::String>
530 m_sourceUriHasBeenSet =
true;
531 m_sourceUri = std::forward<SourceUriT>(value);
533 template <
typename SourceUriT = Aws::String>
546 template <
typename SecurityConfigT = ModelPackageSecurityConfig>
548 m_securityConfigHasBeenSet =
true;
549 m_securityConfig = std::forward<SecurityConfigT>(value);
551 template <
typename SecurityConfigT = ModelPackageSecurityConfig>
575 template <
typename ModelCardT = ModelPackageModelCard>
577 m_modelCardHasBeenSet =
true;
578 m_modelCard = std::forward<ModelCardT>(value);
580 template <
typename ModelCardT = ModelPackageModelCard>
593 template <
typename ModelLifeCycleT = ModelLifeCycle>
595 m_modelLifeCycleHasBeenSet =
true;
596 m_modelLifeCycle = std::forward<ModelLifeCycleT>(value);
598 template <
typename ModelLifeCycleT = ModelLifeCycle>
608 template <
typename RequestIdT = Aws::String>
610 m_requestIdHasBeenSet =
true;
611 m_requestId = std::forward<RequestIdT>(value);
613 template <
typename RequestIdT = Aws::String>
626 int m_modelPackageVersion{0};
636 InferenceSpecification m_inferenceSpecification;
638 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
640 ModelPackageValidationSpecification m_validationSpecification;
644 ModelPackageStatusDetails m_modelPackageStatusDetails;
646 bool m_certifyForMarketplace{
false};
650 UserContext m_createdBy;
652 MetadataProperties m_metadataProperties;
654 ModelMetrics m_modelMetrics;
658 UserContext m_lastModifiedBy;
670 DriftCheckBaselines m_driftCheckBaselines;
678 ModelPackageSecurityConfig m_securityConfig;
680 ModelPackageModelCard m_modelCard;
682 ModelLifeCycle m_modelLifeCycle;
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;
const ModelPackageValidationSpecification & GetValidationSpecification() const
AWS_SAGEMAKER_API DescribeModelPackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeModelPackageResult & WithModelPackageArn(ModelPackageArnT &&value)
DescribeModelPackageResult & WithModelMetrics(ModelMetricsT &&value)
void SetMetadataProperties(MetadataPropertiesT &&value)
DescribeModelPackageResult & WithCustomerMetadataProperties(CustomerMetadataPropertiesT &&value)
void SetModelMetrics(ModelMetricsT &&value)
const UserContext & GetCreatedBy() const
const UserContext & GetLastModifiedBy() const
const Aws::String & GetApprovalDescription() const
void SetSourceUri(SourceUriT &&value)
const Aws::String & GetModelPackageName() const
DescribeModelPackageResult & AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
DescribeModelPackageResult & WithDriftCheckBaselines(DriftCheckBaselinesT &&value)
const Aws::String & GetModelPackageArn() const
DescribeModelPackageResult & WithApprovalDescription(ApprovalDescriptionT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
DescribeModelPackageResult & WithSamplePayloadUrl(SamplePayloadUrlT &&value)
DescribeModelPackageResult & WithCreatedBy(CreatedByT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetModelPackageGroupName() const
void SetCertifyForMarketplace(bool value)
DescribeModelPackageResult & WithSecurityConfig(SecurityConfigT &&value)
DescribeModelPackageResult & WithTask(TaskT &&value)
void SetModelPackageStatus(ModelPackageStatus value)
DescribeModelPackageResult & WithCreationTime(CreationTimeT &&value)
void SetModelPackageStatusDetails(ModelPackageStatusDetailsT &&value)
DescribeModelPackageResult & WithModelPackageName(ModelPackageNameT &&value)
int GetModelPackageVersion() const
void SetCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetSkipModelValidation(SkipModelValidation value)
DescribeModelPackageResult & WithModelPackageStatusDetails(ModelPackageStatusDetailsT &&value)
const Aws::Vector< AdditionalInferenceSpecificationDefinition > & GetAdditionalInferenceSpecifications() const
void SetModelPackageVersion(int value)
DescribeModelPackageResult & WithMetadataProperties(MetadataPropertiesT &&value)
void SetInferenceSpecification(InferenceSpecificationT &&value)
DescribeModelPackageResult & WithModelPackageStatus(ModelPackageStatus value)
void SetModelPackageArn(ModelPackageArnT &&value)
DescribeModelPackageResult & WithInferenceSpecification(InferenceSpecificationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerMetadataProperties() const
DescribeModelPackageResult & WithModelPackageRegistrationType(ModelPackageRegistrationType value)
void SetSecurityConfig(SecurityConfigT &&value)
void SetTask(TaskT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetDomain() const
void SetDomain(DomainT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetModelCard(ModelCardT &&value)
const ModelPackageStatusDetails & GetModelPackageStatusDetails() const
DescribeModelPackageResult & AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT &&key, CustomerMetadataPropertiesValueT &&value)
AWS_SAGEMAKER_API DescribeModelPackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SkipModelValidation GetSkipModelValidation() const
bool GetCertifyForMarketplace() const
ModelPackageStatus GetModelPackageStatus() const
void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT &&value)
void SetModelPackageName(ModelPackageNameT &&value)
void SetModelPackageDescription(ModelPackageDescriptionT &&value)
DescribeModelPackageResult & WithRequestId(RequestIdT &&value)
void SetApprovalDescription(ApprovalDescriptionT &&value)
DescribeModelPackageResult & WithModelPackageDescription(ModelPackageDescriptionT &&value)
const Aws::String & GetSourceUri() const
void SetValidationSpecification(ValidationSpecificationT &&value)
void SetModelPackageRegistrationType(ModelPackageRegistrationType value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(CreationTimeT &&value)
void SetModelApprovalStatus(ModelApprovalStatus value)
DescribeModelPackageResult & WithDomain(DomainT &&value)
DescribeModelPackageResult & WithModelCard(ModelCardT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetTask() const
DescribeModelPackageResult & WithSourceAlgorithmSpecification(SourceAlgorithmSpecificationT &&value)
DescribeModelPackageResult & WithValidationSpecification(ValidationSpecificationT &&value)
ModelPackageRegistrationType GetModelPackageRegistrationType() const
DescribeModelPackageResult & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
void SetModelPackageGroupName(ModelPackageGroupNameT &&value)
DescribeModelPackageResult & WithAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
void SetDriftCheckBaselines(DriftCheckBaselinesT &&value)
void SetSamplePayloadUrl(SamplePayloadUrlT &&value)
void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
DescribeModelPackageResult & WithModelPackageVersion(int value)
const Aws::String & GetModelPackageDescription() const
const InferenceSpecification & GetInferenceSpecification() const
const DriftCheckBaselines & GetDriftCheckBaselines() const
DescribeModelPackageResult & WithSourceUri(SourceUriT &&value)
void SetModelLifeCycle(ModelLifeCycleT &&value)
DescribeModelPackageResult & WithLastModifiedBy(LastModifiedByT &&value)
ModelApprovalStatus GetModelApprovalStatus() const
DescribeModelPackageResult & WithModelApprovalStatus(ModelApprovalStatus value)
const ModelMetrics & GetModelMetrics() const
DescribeModelPackageResult & WithSkipModelValidation(SkipModelValidation value)
const ModelPackageSecurityConfig & GetSecurityConfig() const
void SetCustomerMetadataProperties(CustomerMetadataPropertiesT &&value)
DescribeModelPackageResult & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetSamplePayloadUrl() const
const SourceAlgorithmSpecification & GetSourceAlgorithmSpecification() const
DescribeModelPackageResult & WithCertifyForMarketplace(bool value)
const ModelPackageModelCard & GetModelCard() const
AWS_SAGEMAKER_API DescribeModelPackageResult()=default
const MetadataProperties & GetMetadataProperties() const
DescribeModelPackageResult & WithModelLifeCycle(ModelLifeCycleT &&value)
const ModelLifeCycle & GetModelLifeCycle() const
ModelPackageRegistrationType
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