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>
32template <
typename RESULT_TYPE>
33class AmazonWebServiceResult;
53 template <
typename ModelPackageNameT = Aws::String>
55 m_modelPackageNameHasBeenSet =
true;
56 m_modelPackageName = std::forward<ModelPackageNameT>(value);
58 template <
typename ModelPackageNameT = Aws::String>
71 template <
typename ModelPackageGroupNameT = Aws::String>
73 m_modelPackageGroupNameHasBeenSet =
true;
74 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
76 template <
typename ModelPackageGroupNameT = Aws::String>
89 m_modelPackageVersionHasBeenSet =
true;
90 m_modelPackageVersion = value;
104 m_modelPackageRegistrationTypeHasBeenSet =
true;
105 m_modelPackageRegistrationType = value;
118 template <
typename ModelPackageArnT = Aws::String>
120 m_modelPackageArnHasBeenSet =
true;
121 m_modelPackageArn = std::forward<ModelPackageArnT>(value);
123 template <
typename ModelPackageArnT = Aws::String>
135 template <
typename ModelPackageDescriptionT = Aws::String>
137 m_modelPackageDescriptionHasBeenSet =
true;
138 m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value);
140 template <
typename ModelPackageDescriptionT = Aws::String>
152 template <
typename CreationTimeT = Aws::Utils::DateTime>
154 m_creationTimeHasBeenSet =
true;
155 m_creationTime = std::forward<CreationTimeT>(value);
157 template <
typename CreationTimeT = Aws::Utils::DateTime>
170 template <
typename InferenceSpecificationT = InferenceSpecification>
172 m_inferenceSpecificationHasBeenSet =
true;
173 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
175 template <
typename InferenceSpecificationT = InferenceSpecification>
187 template <
typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
189 m_sourceAlgorithmSpecificationHasBeenSet =
true;
190 m_sourceAlgorithmSpecification = std::forward<SourceAlgorithmSpecificationT>(value);
192 template <
typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
205 template <
typename Val
idationSpecificationT = ModelPackageVal
idationSpecification>
207 m_validationSpecificationHasBeenSet =
true;
208 m_validationSpecification = std::forward<ValidationSpecificationT>(value);
210 template <
typename Val
idationSpecificationT = ModelPackageVal
idationSpecification>
223 m_modelPackageStatusHasBeenSet =
true;
224 m_modelPackageStatus = value;
237 template <
typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
239 m_modelPackageStatusDetailsHasBeenSet =
true;
240 m_modelPackageStatusDetails = std::forward<ModelPackageStatusDetailsT>(value);
242 template <
typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
256 m_certifyForMarketplaceHasBeenSet =
true;
257 m_certifyForMarketplace = value;
271 m_modelApprovalStatusHasBeenSet =
true;
272 m_modelApprovalStatus = value;
283 template <
typename CreatedByT = UserContext>
285 m_createdByHasBeenSet =
true;
286 m_createdBy = std::forward<CreatedByT>(value);
288 template <
typename CreatedByT = UserContext>
298 template <
typename MetadataPropertiesT = MetadataProperties>
300 m_metadataPropertiesHasBeenSet =
true;
301 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
303 template <
typename MetadataPropertiesT = MetadataProperties>
315 template <
typename ModelMetricsT = ModelMetrics>
317 m_modelMetricsHasBeenSet =
true;
318 m_modelMetrics = std::forward<ModelMetricsT>(value);
320 template <
typename ModelMetricsT = ModelMetrics>
332 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
334 m_lastModifiedTimeHasBeenSet =
true;
335 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
337 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
347 template <
typename LastModifiedByT = UserContext>
349 m_lastModifiedByHasBeenSet =
true;
350 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
352 template <
typename LastModifiedByT = UserContext>
364 template <
typename ApprovalDescriptionT = Aws::String>
366 m_approvalDescriptionHasBeenSet =
true;
367 m_approvalDescription = std::forward<ApprovalDescriptionT>(value);
369 template <
typename ApprovalDescriptionT = Aws::String>
383 template <
typename DomainT = Aws::String>
385 m_domainHasBeenSet =
true;
386 m_domain = std::forward<DomainT>(value);
388 template <
typename DomainT = Aws::String>
402 template <
typename TaskT = Aws::String>
404 m_taskHasBeenSet =
true;
405 m_task = std::forward<TaskT>(value);
407 template <
typename TaskT = Aws::String>
409 SetTask(std::forward<TaskT>(value));
421 template <
typename SamplePayloadUrlT = Aws::String>
423 m_samplePayloadUrlHasBeenSet =
true;
424 m_samplePayloadUrl = std::forward<SamplePayloadUrlT>(value);
426 template <
typename SamplePayloadUrlT = Aws::String>
438 template <
typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
440 m_customerMetadataPropertiesHasBeenSet =
true;
441 m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value);
443 template <
typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
448 template <
typename CustomerMetadataPropertiesKeyT = Aws::String,
typename CustomerMetadataPropertiesValueT = Aws::String>
450 CustomerMetadataPropertiesValueT&& value) {
451 m_customerMetadataPropertiesHasBeenSet =
true;
452 m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key),
453 std::forward<CustomerMetadataPropertiesValueT>(value));
467 template <
typename DriftCheckBaselinesT = DriftCheckBaselines>
469 m_driftCheckBaselinesHasBeenSet =
true;
470 m_driftCheckBaselines = std::forward<DriftCheckBaselinesT>(value);
472 template <
typename DriftCheckBaselinesT = DriftCheckBaselines>
487 return m_additionalInferenceSpecifications;
489 template <
typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
491 m_additionalInferenceSpecificationsHasBeenSet =
true;
492 m_additionalInferenceSpecifications = std::forward<AdditionalInferenceSpecificationsT>(value);
494 template <
typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
499 template <
typename AdditionalInferenceSpecificationsT = AdditionalInferenceSpecificationDefinition>
501 m_additionalInferenceSpecificationsHasBeenSet =
true;
502 m_additionalInferenceSpecifications.emplace_back(std::forward<AdditionalInferenceSpecificationsT>(value));
513 m_skipModelValidationHasBeenSet =
true;
514 m_skipModelValidation = value;
527 template <
typename SourceUriT = Aws::String>
529 m_sourceUriHasBeenSet =
true;
530 m_sourceUri = std::forward<SourceUriT>(value);
532 template <
typename SourceUriT = Aws::String>
545 template <
typename SecurityConfigT = ModelPackageSecurityConfig>
547 m_securityConfigHasBeenSet =
true;
548 m_securityConfig = std::forward<SecurityConfigT>(value);
550 template <
typename SecurityConfigT = ModelPackageSecurityConfig>
574 template <
typename ModelCardT = ModelPackageModelCard>
576 m_modelCardHasBeenSet =
true;
577 m_modelCard = std::forward<ModelCardT>(value);
579 template <
typename ModelCardT = ModelPackageModelCard>
592 template <
typename ModelLifeCycleT = ModelLifeCycle>
594 m_modelLifeCycleHasBeenSet =
true;
595 m_modelLifeCycle = std::forward<ModelLifeCycleT>(value);
597 template <
typename ModelLifeCycleT = ModelLifeCycle>
607 template <
typename RequestIdT = Aws::String>
609 m_requestIdHasBeenSet =
true;
610 m_requestId = std::forward<RequestIdT>(value);
612 template <
typename RequestIdT = Aws::String>
623 int m_modelPackageVersion{0};
633 InferenceSpecification m_inferenceSpecification;
635 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
637 ModelPackageValidationSpecification m_validationSpecification;
641 ModelPackageStatusDetails m_modelPackageStatusDetails;
643 bool m_certifyForMarketplace{
false};
647 UserContext m_createdBy;
649 MetadataProperties m_metadataProperties;
651 ModelMetrics m_modelMetrics;
655 UserContext m_lastModifiedBy;
667 DriftCheckBaselines m_driftCheckBaselines;
675 ModelPackageSecurityConfig m_securityConfig;
677 ModelPackageModelCard m_modelCard;
679 ModelLifeCycle m_modelLifeCycle;
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;
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)
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