7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/InferenceSpecification.h>
11#include <aws/sagemaker/model/SourceAlgorithmSpecification.h>
12#include <aws/sagemaker/model/ModelPackageValidationSpecification.h>
13#include <aws/sagemaker/model/ModelPackageStatus.h>
14#include <aws/sagemaker/model/ModelPackageStatusDetails.h>
15#include <aws/sagemaker/model/ModelApprovalStatus.h>
16#include <aws/sagemaker/model/UserContext.h>
17#include <aws/sagemaker/model/MetadataProperties.h>
18#include <aws/sagemaker/model/ModelMetrics.h>
19#include <aws/core/utils/memory/stl/AWSMap.h>
20#include <aws/sagemaker/model/DriftCheckBaselines.h>
21#include <aws/core/utils/memory/stl/AWSVector.h>
22#include <aws/sagemaker/model/SkipModelValidation.h>
23#include <aws/sagemaker/model/ModelPackageSecurityConfig.h>
24#include <aws/sagemaker/model/ModelPackageModelCard.h>
25#include <aws/sagemaker/model/ModelLifeCycle.h>
26#include <aws/sagemaker/model/AdditionalInferenceSpecificationDefinition.h>
31template<
typename RESULT_TYPE>
32class AmazonWebServiceResult;
58 template<
typename ModelPackageNameT = Aws::String>
59 void SetModelPackageName(ModelPackageNameT&& value) { m_modelPackageNameHasBeenSet =
true; m_modelPackageName = std::forward<ModelPackageNameT>(value); }
60 template<
typename ModelPackageNameT = Aws::String>
70 template<
typename ModelPackageGroupNameT = Aws::String>
71 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) { m_modelPackageGroupNameHasBeenSet =
true; m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value); }
72 template<
typename ModelPackageGroupNameT = Aws::String>
81 inline void SetModelPackageVersion(
int value) { m_modelPackageVersionHasBeenSet =
true; m_modelPackageVersion = value; }
90 template<
typename ModelPackageArnT = Aws::String>
91 void SetModelPackageArn(ModelPackageArnT&& value) { m_modelPackageArnHasBeenSet =
true; m_modelPackageArn = std::forward<ModelPackageArnT>(value); }
92 template<
typename ModelPackageArnT = Aws::String>
101 template<
typename ModelPackageDescriptionT = Aws::String>
102 void SetModelPackageDescription(ModelPackageDescriptionT&& value) { m_modelPackageDescriptionHasBeenSet =
true; m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value); }
103 template<
typename ModelPackageDescriptionT = Aws::String>
112 template<
typename CreationTimeT = Aws::Utils::DateTime>
113 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
114 template<
typename CreationTimeT = Aws::Utils::DateTime>
124 template<
typename InferenceSpecificationT = InferenceSpecification>
125 void SetInferenceSpecification(InferenceSpecificationT&& value) { m_inferenceSpecificationHasBeenSet =
true; m_inferenceSpecification = std::forward<InferenceSpecificationT>(value); }
126 template<
typename InferenceSpecificationT = InferenceSpecification>
135 template<
typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
136 void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) { m_sourceAlgorithmSpecificationHasBeenSet =
true; m_sourceAlgorithmSpecification = std::forward<SourceAlgorithmSpecificationT>(value); }
137 template<
typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
147 template<
typename Val
idationSpecificationT = ModelPackageVal
idationSpecification>
148 void SetValidationSpecification(ValidationSpecificationT&& value) { m_validationSpecificationHasBeenSet =
true; m_validationSpecification = std::forward<ValidationSpecificationT>(value); }
149 template<
typename Val
idationSpecificationT = ModelPackageVal
idationSpecification>
167 template<
typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
168 void SetModelPackageStatusDetails(ModelPackageStatusDetailsT&& value) { m_modelPackageStatusDetailsHasBeenSet =
true; m_modelPackageStatusDetails = std::forward<ModelPackageStatusDetailsT>(value); }
169 template<
typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
195 template<
typename CreatedByT = UserContext>
196 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
197 template<
typename CreatedByT = UserContext>
204 template<
typename MetadataPropertiesT = MetadataProperties>
205 void SetMetadataProperties(MetadataPropertiesT&& value) { m_metadataPropertiesHasBeenSet =
true; m_metadataProperties = std::forward<MetadataPropertiesT>(value); }
206 template<
typename MetadataPropertiesT = MetadataProperties>
215 template<
typename ModelMetricsT = ModelMetrics>
216 void SetModelMetrics(ModelMetricsT&& value) { m_modelMetricsHasBeenSet =
true; m_modelMetrics = std::forward<ModelMetricsT>(value); }
217 template<
typename ModelMetricsT = ModelMetrics>
226 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
227 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
228 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
235 template<
typename LastModifiedByT = UserContext>
236 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
237 template<
typename LastModifiedByT = UserContext>
246 template<
typename ApprovalDescriptionT = Aws::String>
247 void SetApprovalDescription(ApprovalDescriptionT&& value) { m_approvalDescriptionHasBeenSet =
true; m_approvalDescription = std::forward<ApprovalDescriptionT>(value); }
248 template<
typename ApprovalDescriptionT = Aws::String>
259 template<
typename DomainT = Aws::String>
260 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
261 template<
typename DomainT = Aws::String>
272 template<
typename TaskT = Aws::String>
273 void SetTask(TaskT&& value) { m_taskHasBeenSet =
true; m_task = std::forward<TaskT>(value); }
274 template<
typename TaskT = Aws::String>
285 template<
typename SamplePayloadUrlT = Aws::String>
286 void SetSamplePayloadUrl(SamplePayloadUrlT&& value) { m_samplePayloadUrlHasBeenSet =
true; m_samplePayloadUrl = std::forward<SamplePayloadUrlT>(value); }
287 template<
typename SamplePayloadUrlT = Aws::String>
296 template<
typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
297 void SetCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) { m_customerMetadataPropertiesHasBeenSet =
true; m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value); }
298 template<
typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
300 template<
typename CustomerMetadataPropertiesKeyT = Aws::String,
typename CustomerMetadataPropertiesValueT = Aws::String>
302 m_customerMetadataPropertiesHasBeenSet =
true; m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key), std::forward<CustomerMetadataPropertiesValueT>(value));
return *
this;
315 template<
typename DriftCheckBaselinesT = DriftCheckBaselines>
316 void SetDriftCheckBaselines(DriftCheckBaselinesT&& value) { m_driftCheckBaselinesHasBeenSet =
true; m_driftCheckBaselines = std::forward<DriftCheckBaselinesT>(value); }
317 template<
typename DriftCheckBaselinesT = DriftCheckBaselines>
329 template<
typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
330 void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) { m_additionalInferenceSpecificationsHasBeenSet =
true; m_additionalInferenceSpecifications = std::forward<AdditionalInferenceSpecificationsT>(value); }
331 template<
typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
333 template<
typename AdditionalInferenceSpecificationsT = AdditionalInferenceSpecificationDefinition>
351 template<
typename SourceUriT = Aws::String>
352 void SetSourceUri(SourceUriT&& value) { m_sourceUriHasBeenSet =
true; m_sourceUri = std::forward<SourceUriT>(value); }
353 template<
typename SourceUriT = Aws::String>
363 template<
typename SecurityConfigT = ModelPackageSecurityConfig>
364 void SetSecurityConfig(SecurityConfigT&& value) { m_securityConfigHasBeenSet =
true; m_securityConfig = std::forward<SecurityConfigT>(value); }
365 template<
typename SecurityConfigT = ModelPackageSecurityConfig>
386 template<
typename ModelCardT = ModelPackageModelCard>
387 void SetModelCard(ModelCardT&& value) { m_modelCardHasBeenSet =
true; m_modelCard = std::forward<ModelCardT>(value); }
388 template<
typename ModelCardT = ModelPackageModelCard>
398 template<
typename ModelLifeCycleT = ModelLifeCycle>
399 void SetModelLifeCycle(ModelLifeCycleT&& value) { m_modelLifeCycleHasBeenSet =
true; m_modelLifeCycle = std::forward<ModelLifeCycleT>(value); }
400 template<
typename ModelLifeCycleT = ModelLifeCycle>
407 template<
typename RequestIdT = Aws::String>
408 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
409 template<
typename RequestIdT = Aws::String>
415 bool m_modelPackageNameHasBeenSet =
false;
418 bool m_modelPackageGroupNameHasBeenSet =
false;
420 int m_modelPackageVersion{0};
421 bool m_modelPackageVersionHasBeenSet =
false;
424 bool m_modelPackageArnHasBeenSet =
false;
427 bool m_modelPackageDescriptionHasBeenSet =
false;
430 bool m_creationTimeHasBeenSet =
false;
432 InferenceSpecification m_inferenceSpecification;
433 bool m_inferenceSpecificationHasBeenSet =
false;
435 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
436 bool m_sourceAlgorithmSpecificationHasBeenSet =
false;
438 ModelPackageValidationSpecification m_validationSpecification;
439 bool m_validationSpecificationHasBeenSet =
false;
442 bool m_modelPackageStatusHasBeenSet =
false;
444 ModelPackageStatusDetails m_modelPackageStatusDetails;
445 bool m_modelPackageStatusDetailsHasBeenSet =
false;
447 bool m_certifyForMarketplace{
false};
448 bool m_certifyForMarketplaceHasBeenSet =
false;
451 bool m_modelApprovalStatusHasBeenSet =
false;
453 UserContext m_createdBy;
454 bool m_createdByHasBeenSet =
false;
456 MetadataProperties m_metadataProperties;
457 bool m_metadataPropertiesHasBeenSet =
false;
459 ModelMetrics m_modelMetrics;
460 bool m_modelMetricsHasBeenSet =
false;
463 bool m_lastModifiedTimeHasBeenSet =
false;
465 UserContext m_lastModifiedBy;
466 bool m_lastModifiedByHasBeenSet =
false;
469 bool m_approvalDescriptionHasBeenSet =
false;
472 bool m_domainHasBeenSet =
false;
475 bool m_taskHasBeenSet =
false;
478 bool m_samplePayloadUrlHasBeenSet =
false;
481 bool m_customerMetadataPropertiesHasBeenSet =
false;
483 DriftCheckBaselines m_driftCheckBaselines;
484 bool m_driftCheckBaselinesHasBeenSet =
false;
487 bool m_additionalInferenceSpecificationsHasBeenSet =
false;
490 bool m_skipModelValidationHasBeenSet =
false;
493 bool m_sourceUriHasBeenSet =
false;
495 ModelPackageSecurityConfig m_securityConfig;
496 bool m_securityConfigHasBeenSet =
false;
498 ModelPackageModelCard m_modelCard;
499 bool m_modelCardHasBeenSet =
false;
501 ModelLifeCycle m_modelLifeCycle;
502 bool m_modelLifeCycleHasBeenSet =
false;
505 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
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)
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)
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
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