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>
34template <
typename RESULT_TYPE>
35class AmazonWebServiceResult;
55 template <
typename ModelPackageNameT = Aws::String>
57 m_modelPackageNameHasBeenSet =
true;
58 m_modelPackageName = std::forward<ModelPackageNameT>(value);
60 template <
typename ModelPackageNameT = Aws::String>
73 template <
typename ModelPackageGroupNameT = Aws::String>
75 m_modelPackageGroupNameHasBeenSet =
true;
76 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
78 template <
typename ModelPackageGroupNameT = Aws::String>
91 m_modelPackageVersionHasBeenSet =
true;
92 m_modelPackageVersion = value;
106 m_modelPackageRegistrationTypeHasBeenSet =
true;
107 m_modelPackageRegistrationType = value;
120 template <
typename ModelPackageArnT = Aws::String>
122 m_modelPackageArnHasBeenSet =
true;
123 m_modelPackageArn = std::forward<ModelPackageArnT>(value);
125 template <
typename ModelPackageArnT = Aws::String>
137 template <
typename ModelPackageDescriptionT = Aws::String>
139 m_modelPackageDescriptionHasBeenSet =
true;
140 m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value);
142 template <
typename ModelPackageDescriptionT = Aws::String>
154 template <
typename CreationTimeT = Aws::Utils::DateTime>
156 m_creationTimeHasBeenSet =
true;
157 m_creationTime = std::forward<CreationTimeT>(value);
159 template <
typename CreationTimeT = Aws::Utils::DateTime>
172 template <
typename InferenceSpecificationT = InferenceSpecification>
174 m_inferenceSpecificationHasBeenSet =
true;
175 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
177 template <
typename InferenceSpecificationT = InferenceSpecification>
189 template <
typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
191 m_sourceAlgorithmSpecificationHasBeenSet =
true;
192 m_sourceAlgorithmSpecification = std::forward<SourceAlgorithmSpecificationT>(value);
194 template <
typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
207 template <
typename Val
idationSpecificationT = ModelPackageVal
idationSpecification>
209 m_validationSpecificationHasBeenSet =
true;
210 m_validationSpecification = std::forward<ValidationSpecificationT>(value);
212 template <
typename Val
idationSpecificationT = ModelPackageVal
idationSpecification>
225 m_modelPackageStatusHasBeenSet =
true;
226 m_modelPackageStatus = value;
239 template <
typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
241 m_modelPackageStatusDetailsHasBeenSet =
true;
242 m_modelPackageStatusDetails = std::forward<ModelPackageStatusDetailsT>(value);
244 template <
typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
258 m_certifyForMarketplaceHasBeenSet =
true;
259 m_certifyForMarketplace = value;
273 m_modelApprovalStatusHasBeenSet =
true;
274 m_modelApprovalStatus = value;
285 template <
typename CreatedByT = UserContext>
287 m_createdByHasBeenSet =
true;
288 m_createdBy = std::forward<CreatedByT>(value);
290 template <
typename CreatedByT = UserContext>
300 template <
typename MetadataPropertiesT = MetadataProperties>
302 m_metadataPropertiesHasBeenSet =
true;
303 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
305 template <
typename MetadataPropertiesT = MetadataProperties>
317 template <
typename ModelMetricsT = ModelMetrics>
319 m_modelMetricsHasBeenSet =
true;
320 m_modelMetrics = std::forward<ModelMetricsT>(value);
322 template <
typename ModelMetricsT = ModelMetrics>
334 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
336 m_lastModifiedTimeHasBeenSet =
true;
337 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
339 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
349 template <
typename LastModifiedByT = UserContext>
351 m_lastModifiedByHasBeenSet =
true;
352 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
354 template <
typename LastModifiedByT = UserContext>
366 template <
typename ApprovalDescriptionT = Aws::String>
368 m_approvalDescriptionHasBeenSet =
true;
369 m_approvalDescription = std::forward<ApprovalDescriptionT>(value);
371 template <
typename ApprovalDescriptionT = Aws::String>
385 template <
typename DomainT = Aws::String>
387 m_domainHasBeenSet =
true;
388 m_domain = std::forward<DomainT>(value);
390 template <
typename DomainT = Aws::String>
404 template <
typename TaskT = Aws::String>
406 m_taskHasBeenSet =
true;
407 m_task = std::forward<TaskT>(value);
409 template <
typename TaskT = Aws::String>
411 SetTask(std::forward<TaskT>(value));
423 template <
typename SamplePayloadUrlT = Aws::String>
425 m_samplePayloadUrlHasBeenSet =
true;
426 m_samplePayloadUrl = std::forward<SamplePayloadUrlT>(value);
428 template <
typename SamplePayloadUrlT = Aws::String>
440 template <
typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
442 m_customerMetadataPropertiesHasBeenSet =
true;
443 m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value);
445 template <
typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
450 template <
typename CustomerMetadataPropertiesKeyT = Aws::String,
typename CustomerMetadataPropertiesValueT = Aws::String>
452 CustomerMetadataPropertiesValueT&& value) {
453 m_customerMetadataPropertiesHasBeenSet =
true;
454 m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key),
455 std::forward<CustomerMetadataPropertiesValueT>(value));
469 template <
typename DriftCheckBaselinesT = DriftCheckBaselines>
471 m_driftCheckBaselinesHasBeenSet =
true;
472 m_driftCheckBaselines = std::forward<DriftCheckBaselinesT>(value);
474 template <
typename DriftCheckBaselinesT = DriftCheckBaselines>
489 return m_additionalInferenceSpecifications;
491 template <
typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
493 m_additionalInferenceSpecificationsHasBeenSet =
true;
494 m_additionalInferenceSpecifications = std::forward<AdditionalInferenceSpecificationsT>(value);
496 template <
typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
501 template <
typename AdditionalInferenceSpecificationsT = AdditionalInferenceSpecificationDefinition>
503 m_additionalInferenceSpecificationsHasBeenSet =
true;
504 m_additionalInferenceSpecifications.emplace_back(std::forward<AdditionalInferenceSpecificationsT>(value));
515 m_skipModelValidationHasBeenSet =
true;
516 m_skipModelValidation = value;
529 template <
typename SourceUriT = Aws::String>
531 m_sourceUriHasBeenSet =
true;
532 m_sourceUri = std::forward<SourceUriT>(value);
534 template <
typename SourceUriT = Aws::String>
547 template <
typename SecurityConfigT = ModelPackageSecurityConfig>
549 m_securityConfigHasBeenSet =
true;
550 m_securityConfig = std::forward<SecurityConfigT>(value);
552 template <
typename SecurityConfigT = ModelPackageSecurityConfig>
576 template <
typename ModelCardT = ModelPackageModelCard>
578 m_modelCardHasBeenSet =
true;
579 m_modelCard = std::forward<ModelCardT>(value);
581 template <
typename ModelCardT = ModelPackageModelCard>
594 template <
typename ModelLifeCycleT = ModelLifeCycle>
596 m_modelLifeCycleHasBeenSet =
true;
597 m_modelLifeCycle = std::forward<ModelLifeCycleT>(value);
599 template <
typename ModelLifeCycleT = ModelLifeCycle>
612 m_managedStorageTypeHasBeenSet =
true;
613 m_managedStorageType = value;
624 template <
typename RequestIdT = Aws::String>
626 m_requestIdHasBeenSet =
true;
627 m_requestId = std::forward<RequestIdT>(value);
629 template <
typename RequestIdT = Aws::String>
642 int m_modelPackageVersion{0};
652 InferenceSpecification m_inferenceSpecification;
654 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
656 ModelPackageValidationSpecification m_validationSpecification;
660 ModelPackageStatusDetails m_modelPackageStatusDetails;
662 bool m_certifyForMarketplace{
false};
666 UserContext m_createdBy;
668 MetadataProperties m_metadataProperties;
670 ModelMetrics m_modelMetrics;
674 UserContext m_lastModifiedBy;
686 DriftCheckBaselines m_driftCheckBaselines;
694 ModelPackageSecurityConfig m_securityConfig;
696 ModelPackageModelCard m_modelCard;
698 ModelLifeCycle m_modelLifeCycle;
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;
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
ManagedStorageType GetManagedStorageType() 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)
void SetManagedStorageType(ManagedStorageType 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)
DescribeModelPackageResult & WithManagedStorageType(ManagedStorageType 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