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/AWSVector.h>
20#include <aws/sagemaker/model/ModelPackageSecurityConfig.h>
21#include <aws/sagemaker/model/ModelPackageModelCard.h>
22#include <aws/sagemaker/model/ModelLifeCycle.h>
23#include <aws/core/utils/memory/stl/AWSMap.h>
24#include <aws/sagemaker/model/DriftCheckBaselines.h>
25#include <aws/sagemaker/model/SkipModelValidation.h>
26#include <aws/sagemaker/model/AdditionalInferenceSpecificationDefinition.h>
27#include <aws/sagemaker/model/Tag.h>
68 inline void SetModelPackageName(
const char* value) { m_modelPackageNameHasBeenSet =
true; m_modelPackageName.assign(value); }
82 inline void SetModelPackageGroupName(
const char* value) { m_modelPackageGroupNameHasBeenSet =
true; m_modelPackageGroupName.assign(value); }
94 inline void SetModelPackageVersion(
int value) { m_modelPackageVersionHasBeenSet =
true; m_modelPackageVersion = value; }
106 inline void SetModelPackageArn(
const char* value) { m_modelPackageArnHasBeenSet =
true; m_modelPackageArn.assign(value); }
120 inline void SetModelPackageDescription(
const char* value) { m_modelPackageDescriptionHasBeenSet =
true; m_modelPackageDescription.assign(value); }
305 inline void SetApprovalDescription(
const char* value) { m_approvalDescriptionHasBeenSet =
true; m_approvalDescription.assign(value); }
321 inline void SetDomain(
const char* value) { m_domainHasBeenSet =
true; m_domain.assign(value); }
336 inline void SetTask(
const char* value) { m_taskHasBeenSet =
true; m_task.assign(value); }
352 inline void SetSamplePayloadUrl(
const char* value) { m_samplePayloadUrlHasBeenSet =
true; m_samplePayloadUrl.assign(value); }
380 inline void SetSourceUri(
const char* value) { m_sourceUriHasBeenSet =
true; m_sourceUri.assign(value); }
483 bool m_modelPackageNameHasBeenSet =
false;
486 bool m_modelPackageGroupNameHasBeenSet =
false;
488 int m_modelPackageVersion;
489 bool m_modelPackageVersionHasBeenSet =
false;
492 bool m_modelPackageArnHasBeenSet =
false;
495 bool m_modelPackageDescriptionHasBeenSet =
false;
498 bool m_creationTimeHasBeenSet =
false;
501 bool m_inferenceSpecificationHasBeenSet =
false;
504 bool m_sourceAlgorithmSpecificationHasBeenSet =
false;
507 bool m_validationSpecificationHasBeenSet =
false;
510 bool m_modelPackageStatusHasBeenSet =
false;
513 bool m_modelPackageStatusDetailsHasBeenSet =
false;
515 bool m_certifyForMarketplace;
516 bool m_certifyForMarketplaceHasBeenSet =
false;
519 bool m_modelApprovalStatusHasBeenSet =
false;
522 bool m_createdByHasBeenSet =
false;
525 bool m_metadataPropertiesHasBeenSet =
false;
528 bool m_modelMetricsHasBeenSet =
false;
531 bool m_lastModifiedTimeHasBeenSet =
false;
534 bool m_lastModifiedByHasBeenSet =
false;
537 bool m_approvalDescriptionHasBeenSet =
false;
540 bool m_domainHasBeenSet =
false;
543 bool m_taskHasBeenSet =
false;
546 bool m_samplePayloadUrlHasBeenSet =
false;
549 bool m_additionalInferenceSpecificationsHasBeenSet =
false;
552 bool m_sourceUriHasBeenSet =
false;
555 bool m_securityConfigHasBeenSet =
false;
558 bool m_modelCardHasBeenSet =
false;
561 bool m_modelLifeCycleHasBeenSet =
false;
564 bool m_tagsHasBeenSet =
false;
567 bool m_customerMetadataPropertiesHasBeenSet =
false;
570 bool m_driftCheckBaselinesHasBeenSet =
false;
573 bool m_skipModelValidationHasBeenSet =
false;
ModelPackage & WithSourceAlgorithmSpecification(SourceAlgorithmSpecification &&value)
void SetSecurityConfig(const ModelPackageSecurityConfig &value)
ModelPackage & AddCustomerMetadataProperties(Aws::String &&key, const Aws::String &value)
ModelPackage & AddCustomerMetadataProperties(const Aws::String &key, Aws::String &&value)
bool TaskHasBeenSet() const
const Aws::Vector< AdditionalInferenceSpecificationDefinition > & GetAdditionalInferenceSpecifications() const
ModelPackage & WithTags(Aws::Vector< Tag > &&value)
ModelPackage & WithSourceUri(const char *value)
ModelPackage & WithModelPackageArn(const Aws::String &value)
const Aws::String & GetSamplePayloadUrl() const
ModelPackage & WithTask(Aws::String &&value)
bool SamplePayloadUrlHasBeenSet() const
const UserContext & GetCreatedBy() const
ModelPackage & AddTags(Tag &&value)
bool LastModifiedByHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelPackage & WithInferenceSpecification(const InferenceSpecification &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool CustomerMetadataPropertiesHasBeenSet() const
const Aws::String & GetDomain() const
void SetCreationTime(const Aws::Utils::DateTime &value)
ModelPackage & WithLastModifiedBy(const UserContext &value)
ModelPackage & WithCreationTime(const Aws::Utils::DateTime &value)
const ModelPackageModelCard & GetModelCard() const
void SetCreatedBy(UserContext &&value)
void SetModelPackageArn(Aws::String &&value)
ModelPackage & WithAdditionalInferenceSpecifications(const Aws::Vector< AdditionalInferenceSpecificationDefinition > &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ModelPackage & WithModelPackageDescription(const Aws::String &value)
void SetModelPackageVersion(int value)
bool ModelPackageStatusHasBeenSet() const
void SetSamplePayloadUrl(Aws::String &&value)
ModelPackage & AddCustomerMetadataProperties(Aws::String &&key, const char *value)
ModelPackage & WithModelCard(const ModelPackageModelCard &value)
ModelPackage & WithSkipModelValidation(const SkipModelValidation &value)
bool ModelApprovalStatusHasBeenSet() const
ModelPackage & WithModelPackageStatusDetails(ModelPackageStatusDetails &&value)
ModelPackage & WithModelPackageGroupName(const char *value)
ModelPackage & WithCreatedBy(UserContext &&value)
bool ModelPackageGroupNameHasBeenSet() const
const UserContext & GetLastModifiedBy() const
const SkipModelValidation & GetSkipModelValidation() const
void SetSourceUri(const Aws::String &value)
bool ModelLifeCycleHasBeenSet() const
ModelPackage & WithModelPackageVersion(int value)
void SetModelPackageGroupName(const Aws::String &value)
void SetModelMetrics(ModelMetrics &&value)
const Aws::String & GetModelPackageName() const
ModelPackage & WithCustomerMetadataProperties(const Aws::Map< Aws::String, Aws::String > &value)
ModelPackage & WithModelPackageStatusDetails(const ModelPackageStatusDetails &value)
void SetModelApprovalStatus(ModelApprovalStatus &&value)
void SetSamplePayloadUrl(const char *value)
void SetAdditionalInferenceSpecifications(const Aws::Vector< AdditionalInferenceSpecificationDefinition > &value)
const Aws::String & GetModelPackageGroupName() const
AWS_SAGEMAKER_API ModelPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackage & WithValidationSpecification(ModelPackageValidationSpecification &&value)
ModelPackage & WithAdditionalInferenceSpecifications(Aws::Vector< AdditionalInferenceSpecificationDefinition > &&value)
void SetSamplePayloadUrl(const Aws::String &value)
int GetModelPackageVersion() const
ModelPackage & WithCreationTime(Aws::Utils::DateTime &&value)
const ModelPackageValidationSpecification & GetValidationSpecification() const
void SetModelPackageDescription(const char *value)
ModelPackage & WithDriftCheckBaselines(DriftCheckBaselines &&value)
void SetDriftCheckBaselines(DriftCheckBaselines &&value)
void SetModelPackageName(const Aws::String &value)
bool AdditionalInferenceSpecificationsHasBeenSet() const
bool InferenceSpecificationHasBeenSet() const
bool ModelMetricsHasBeenSet() const
const SourceAlgorithmSpecification & GetSourceAlgorithmSpecification() const
bool ModelPackageDescriptionHasBeenSet() const
void SetApprovalDescription(const Aws::String &value)
ModelPackage & WithModelPackageArn(const char *value)
const MetadataProperties & GetMetadataProperties() const
ModelPackage & WithApprovalDescription(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
ModelPackage & AddTags(const Tag &value)
void SetModelPackageArn(const char *value)
void SetAdditionalInferenceSpecifications(Aws::Vector< AdditionalInferenceSpecificationDefinition > &&value)
void SetModelPackageGroupName(Aws::String &&value)
bool ModelPackageStatusDetailsHasBeenSet() const
ModelPackage & WithModelLifeCycle(const ModelLifeCycle &value)
void SetLastModifiedBy(const UserContext &value)
ModelPackage & WithDriftCheckBaselines(const DriftCheckBaselines &value)
bool ModelPackageArnHasBeenSet() const
ModelPackage & WithMetadataProperties(const MetadataProperties &value)
const ModelPackageStatusDetails & GetModelPackageStatusDetails() const
ModelPackage & WithModelPackageGroupName(Aws::String &&value)
void SetModelLifeCycle(const ModelLifeCycle &value)
ModelPackage & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetApprovalDescription() const
void SetMetadataProperties(const MetadataProperties &value)
ModelPackage & WithDomain(const Aws::String &value)
ModelPackage & AddCustomerMetadataProperties(Aws::String &&key, Aws::String &&value)
void SetSkipModelValidation(const SkipModelValidation &value)
ModelPackage & AddCustomerMetadataProperties(const char *key, const char *value)
ModelPackage & WithSamplePayloadUrl(const char *value)
bool LastModifiedTimeHasBeenSet() const
const InferenceSpecification & GetInferenceSpecification() const
ModelPackage & WithModelApprovalStatus(const ModelApprovalStatus &value)
const ModelPackageStatus & GetModelPackageStatus() const
ModelPackage & WithTask(const char *value)
ModelPackage & WithSecurityConfig(const ModelPackageSecurityConfig &value)
void SetSecurityConfig(ModelPackageSecurityConfig &&value)
void SetInferenceSpecification(InferenceSpecification &&value)
AWS_SAGEMAKER_API ModelPackage()
ModelPackage & WithTask(const Aws::String &value)
bool SecurityConfigHasBeenSet() const
ModelPackage & WithInferenceSpecification(InferenceSpecification &&value)
ModelPackage & WithModelPackageStatus(const ModelPackageStatus &value)
void SetInferenceSpecification(const InferenceSpecification &value)
const Aws::String & GetTask() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetModelApprovalStatus(const ModelApprovalStatus &value)
ModelPackage & WithModelPackageName(Aws::String &&value)
bool SourceUriHasBeenSet() const
ModelPackage & WithSourceUri(const Aws::String &value)
void SetSourceUri(Aws::String &&value)
ModelPackage & WithSourceUri(Aws::String &&value)
void SetMetadataProperties(MetadataProperties &&value)
const Aws::String & GetSourceUri() const
void SetLastModifiedBy(UserContext &&value)
bool ModelPackageNameHasBeenSet() const
ModelPackage & WithModelMetrics(const ModelMetrics &value)
void SetModelLifeCycle(ModelLifeCycle &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerMetadataProperties() const
ModelPackage & WithApprovalDescription(Aws::String &&value)
void SetTask(Aws::String &&value)
void SetDomain(const Aws::String &value)
void SetCustomerMetadataProperties(const Aws::Map< Aws::String, Aws::String > &value)
ModelPackage & WithSamplePayloadUrl(const Aws::String &value)
bool GetCertifyForMarketplace() const
void SetSourceUri(const char *value)
bool MetadataPropertiesHasBeenSet() const
ModelPackage & WithApprovalDescription(const char *value)
ModelPackage & AddCustomerMetadataProperties(const char *key, Aws::String &&value)
void SetSourceAlgorithmSpecification(SourceAlgorithmSpecification &&value)
void SetModelMetrics(const ModelMetrics &value)
void SetModelPackageDescription(const Aws::String &value)
bool CertifyForMarketplaceHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
void SetDomain(Aws::String &&value)
ModelPackage & WithLastModifiedTime(Aws::Utils::DateTime &&value)
ModelPackage & WithValidationSpecification(const ModelPackageValidationSpecification &value)
void SetModelPackageName(const char *value)
ModelPackage & WithLastModifiedBy(UserContext &&value)
void SetCertifyForMarketplace(bool value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ModelPackage & WithMetadataProperties(MetadataProperties &&value)
const ModelPackageSecurityConfig & GetSecurityConfig() const
void SetSkipModelValidation(SkipModelValidation &&value)
ModelPackage & AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelPackage & WithModelApprovalStatus(ModelApprovalStatus &&value)
const ModelApprovalStatus & GetModelApprovalStatus() const
AWS_SAGEMAKER_API ModelPackage(Aws::Utils::Json::JsonView jsonValue)
void SetModelCard(ModelPackageModelCard &&value)
ModelPackage & WithSamplePayloadUrl(Aws::String &&value)
ModelPackage & WithModelPackageGroupName(const Aws::String &value)
const ModelLifeCycle & GetModelLifeCycle() const
ModelPackage & AddCustomerMetadataProperties(const Aws::String &key, const Aws::String &value)
ModelPackage & WithCreatedBy(const UserContext &value)
bool CreatedByHasBeenSet() const
ModelPackage & WithSkipModelValidation(SkipModelValidation &&value)
void SetModelPackageStatus(ModelPackageStatus &&value)
ModelPackage & WithTags(const Aws::Vector< Tag > &value)
void SetApprovalDescription(Aws::String &&value)
void SetApprovalDescription(const char *value)
void SetCreatedBy(const UserContext &value)
void SetModelPackageArn(const Aws::String &value)
const ModelMetrics & GetModelMetrics() const
ModelPackage & WithModelPackageDescription(const char *value)
bool ValidationSpecificationHasBeenSet() const
bool TagsHasBeenSet() const
ModelPackage & WithCustomerMetadataProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetModelCard(const ModelPackageModelCard &value)
void SetModelPackageDescription(Aws::String &&value)
ModelPackage & WithModelCard(ModelPackageModelCard &&value)
bool SourceAlgorithmSpecificationHasBeenSet() const
ModelPackage & WithModelLifeCycle(ModelLifeCycle &&value)
const Aws::Vector< Tag > & GetTags() const
ModelPackage & WithModelPackageName(const Aws::String &value)
ModelPackage & WithModelMetrics(ModelMetrics &&value)
ModelPackage & WithDomain(const char *value)
ModelPackage & AddAdditionalInferenceSpecifications(const AdditionalInferenceSpecificationDefinition &value)
void SetCustomerMetadataProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetModelPackageStatus(const ModelPackageStatus &value)
void SetModelPackageStatusDetails(ModelPackageStatusDetails &&value)
void SetValidationSpecification(const ModelPackageValidationSpecification &value)
void SetModelPackageGroupName(const char *value)
void SetDriftCheckBaselines(const DriftCheckBaselines &value)
bool SkipModelValidationHasBeenSet() const
bool ModelCardHasBeenSet() const
ModelPackage & WithCertifyForMarketplace(bool value)
void SetModelPackageStatusDetails(const ModelPackageStatusDetails &value)
const Aws::String & GetModelPackageDescription() const
ModelPackage & WithSecurityConfig(ModelPackageSecurityConfig &&value)
void SetTask(const char *value)
void SetModelPackageName(Aws::String &&value)
const Aws::String & GetModelPackageArn() const
bool ApprovalDescriptionHasBeenSet() const
bool DriftCheckBaselinesHasBeenSet() const
void SetValidationSpecification(ModelPackageValidationSpecification &&value)
bool ModelPackageVersionHasBeenSet() const
ModelPackage & WithModelPackageStatus(ModelPackageStatus &&value)
ModelPackage & WithModelPackageArn(Aws::String &&value)
bool DomainHasBeenSet() const
void SetDomain(const char *value)
const DriftCheckBaselines & GetDriftCheckBaselines() const
ModelPackage & WithSourceAlgorithmSpecification(const SourceAlgorithmSpecification &value)
ModelPackage & WithModelPackageDescription(Aws::String &&value)
void SetTask(const Aws::String &value)
ModelPackage & WithDomain(Aws::String &&value)
ModelPackage & WithModelPackageName(const char *value)
bool CreationTimeHasBeenSet() const
void SetSourceAlgorithmSpecification(const SourceAlgorithmSpecification &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