7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/InferenceSpecification.h>
11#include <aws/sagemaker/model/ModelPackageValidationSpecification.h>
12#include <aws/sagemaker/model/SourceAlgorithmSpecification.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/ModelApprovalStatus.h>
15#include <aws/sagemaker/model/MetadataProperties.h>
16#include <aws/sagemaker/model/ModelMetrics.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/sagemaker/model/DriftCheckBaselines.h>
19#include <aws/sagemaker/model/SkipModelValidation.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/sagemaker/model/Tag.h>
24#include <aws/sagemaker/model/AdditionalInferenceSpecificationDefinition.h>
26#include <aws/core/utils/UUID.h>
63 inline void SetModelPackageName(
const char* value) { m_modelPackageNameHasBeenSet =
true; m_modelPackageName.assign(value); }
79 inline void SetModelPackageGroupName(
const char* value) { m_modelPackageGroupNameHasBeenSet =
true; m_modelPackageGroupName.assign(value); }
93 inline void SetModelPackageDescription(
const char* value) { m_modelPackageDescriptionHasBeenSet =
true; m_modelPackageDescription.assign(value); }
220 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
236 inline void SetDomain(
const char* value) { m_domainHasBeenSet =
true; m_domain.assign(value); }
257 inline void SetTask(
const char* value) { m_taskHasBeenSet =
true; m_task.assign(value); }
276 inline void SetSamplePayloadUrl(
const char* value) { m_samplePayloadUrlHasBeenSet =
true; m_samplePayloadUrl.assign(value); }
356 inline void SetSourceUri(
const char* value) { m_sourceUriHasBeenSet =
true; m_sourceUri.assign(value); }
414 bool m_modelPackageNameHasBeenSet =
false;
417 bool m_modelPackageGroupNameHasBeenSet =
false;
420 bool m_modelPackageDescriptionHasBeenSet =
false;
423 bool m_inferenceSpecificationHasBeenSet =
false;
426 bool m_validationSpecificationHasBeenSet =
false;
429 bool m_sourceAlgorithmSpecificationHasBeenSet =
false;
431 bool m_certifyForMarketplace;
432 bool m_certifyForMarketplaceHasBeenSet =
false;
435 bool m_tagsHasBeenSet =
false;
438 bool m_modelApprovalStatusHasBeenSet =
false;
441 bool m_metadataPropertiesHasBeenSet =
false;
444 bool m_modelMetricsHasBeenSet =
false;
447 bool m_clientTokenHasBeenSet =
false;
450 bool m_domainHasBeenSet =
false;
453 bool m_taskHasBeenSet =
false;
456 bool m_samplePayloadUrlHasBeenSet =
false;
459 bool m_customerMetadataPropertiesHasBeenSet =
false;
462 bool m_driftCheckBaselinesHasBeenSet =
false;
465 bool m_additionalInferenceSpecificationsHasBeenSet =
false;
468 bool m_skipModelValidationHasBeenSet =
false;
471 bool m_sourceUriHasBeenSet =
false;
474 bool m_securityConfigHasBeenSet =
false;
477 bool m_modelCardHasBeenSet =
false;
480 bool m_modelLifeCycleHasBeenSet =
false;
void SetMetadataProperties(MetadataProperties &&value)
virtual const char * GetServiceRequestName() const override
CreateModelPackageRequest & WithModelCard(ModelPackageModelCard &&value)
CreateModelPackageRequest & WithSecurityConfig(const ModelPackageSecurityConfig &value)
CreateModelPackageRequest & WithSamplePayloadUrl(Aws::String &&value)
CreateModelPackageRequest & WithMetadataProperties(MetadataProperties &&value)
CreateModelPackageRequest & WithModelMetrics(const ModelMetrics &value)
void SetSourceUri(const char *value)
CreateModelPackageRequest & WithValidationSpecification(const ModelPackageValidationSpecification &value)
bool SourceAlgorithmSpecificationHasBeenSet() const
void SetModelApprovalStatus(ModelApprovalStatus &&value)
void SetModelMetrics(ModelMetrics &&value)
void SetInferenceSpecification(const InferenceSpecification &value)
const Aws::String & GetDomain() const
CreateModelPackageRequest & WithDomain(const Aws::String &value)
const Aws::String & GetSourceUri() const
void SetModelPackageGroupName(Aws::String &&value)
CreateModelPackageRequest & WithClientToken(const char *value)
const InferenceSpecification & GetInferenceSpecification() const
void SetSkipModelValidation(const SkipModelValidation &value)
CreateModelPackageRequest & WithSourceUri(const Aws::String &value)
const Aws::Vector< AdditionalInferenceSpecificationDefinition > & GetAdditionalInferenceSpecifications() const
bool CustomerMetadataPropertiesHasBeenSet() const
void SetSourceAlgorithmSpecification(const SourceAlgorithmSpecification &value)
bool AdditionalInferenceSpecificationsHasBeenSet() const
CreateModelPackageRequest & WithModelCard(const ModelPackageModelCard &value)
void SetSecurityConfig(ModelPackageSecurityConfig &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetDriftCheckBaselines(DriftCheckBaselines &&value)
bool ModelCardHasBeenSet() const
void SetAdditionalInferenceSpecifications(const Aws::Vector< AdditionalInferenceSpecificationDefinition > &value)
void SetTask(const char *value)
CreateModelPackageRequest & WithValidationSpecification(ModelPackageValidationSpecification &&value)
void SetTask(Aws::String &&value)
const ModelPackageModelCard & GetModelCard() const
bool CertifyForMarketplaceHasBeenSet() const
CreateModelPackageRequest & AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition &&value)
const Aws::String & GetModelPackageDescription() const
CreateModelPackageRequest & WithTask(Aws::String &&value)
bool ModelPackageGroupNameHasBeenSet() const
const ModelMetrics & GetModelMetrics() const
CreateModelPackageRequest & WithSourceUri(const char *value)
CreateModelPackageRequest & WithCertifyForMarketplace(bool value)
void SetDomain(Aws::String &&value)
CreateModelPackageRequest & WithMetadataProperties(const MetadataProperties &value)
const Aws::String & GetModelPackageGroupName() const
const Aws::Vector< Tag > & GetTags() const
void SetClientToken(const Aws::String &value)
CreateModelPackageRequest & WithModelPackageGroupName(Aws::String &&value)
CreateModelPackageRequest & WithClientToken(Aws::String &&value)
CreateModelPackageRequest & WithSourceAlgorithmSpecification(const SourceAlgorithmSpecification &value)
CreateModelPackageRequest & WithModelPackageDescription(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerMetadataProperties() const
CreateModelPackageRequest & WithModelLifeCycle(ModelLifeCycle &&value)
void SetDomain(const char *value)
CreateModelPackageRequest & AddCustomerMetadataProperties(const Aws::String &key, Aws::String &&value)
bool ValidationSpecificationHasBeenSet() const
void SetValidationSpecification(ModelPackageValidationSpecification &&value)
void SetModelMetrics(const ModelMetrics &value)
CreateModelPackageRequest & WithDomain(const char *value)
CreateModelPackageRequest & WithModelApprovalStatus(ModelApprovalStatus &&value)
void SetModelPackageName(const char *value)
CreateModelPackageRequest & WithDriftCheckBaselines(const DriftCheckBaselines &value)
void SetSecurityConfig(const ModelPackageSecurityConfig &value)
CreateModelPackageRequest & WithSecurityConfig(ModelPackageSecurityConfig &&value)
CreateModelPackageRequest & WithCustomerMetadataProperties(const Aws::Map< Aws::String, Aws::String > &value)
bool ModelMetricsHasBeenSet() const
CreateModelPackageRequest & WithModelPackageDescription(const Aws::String &value)
CreateModelPackageRequest & AddCustomerMetadataProperties(Aws::String &&key, Aws::String &&value)
AWS_SAGEMAKER_API CreateModelPackageRequest()
void SetModelPackageName(const Aws::String &value)
void SetModelPackageDescription(const char *value)
bool TaskHasBeenSet() const
const ModelPackageSecurityConfig & GetSecurityConfig() const
void SetMetadataProperties(const MetadataProperties &value)
bool ModelPackageNameHasBeenSet() const
void SetModelPackageDescription(Aws::String &&value)
CreateModelPackageRequest & WithAdditionalInferenceSpecifications(const Aws::Vector< AdditionalInferenceSpecificationDefinition > &value)
void SetClientToken(Aws::String &&value)
bool ModelPackageDescriptionHasBeenSet() const
CreateModelPackageRequest & AddCustomerMetadataProperties(Aws::String &&key, const char *value)
void SetTask(const Aws::String &value)
void SetAdditionalInferenceSpecifications(Aws::Vector< AdditionalInferenceSpecificationDefinition > &&value)
CreateModelPackageRequest & AddTags(Tag &&value)
const DriftCheckBaselines & GetDriftCheckBaselines() const
const Aws::String & GetSamplePayloadUrl() const
bool SourceUriHasBeenSet() const
bool SkipModelValidationHasBeenSet() const
void SetModelPackageGroupName(const Aws::String &value)
CreateModelPackageRequest & WithSkipModelValidation(const SkipModelValidation &value)
CreateModelPackageRequest & AddCustomerMetadataProperties(const char *key, Aws::String &&value)
bool SecurityConfigHasBeenSet() const
CreateModelPackageRequest & WithModelMetrics(ModelMetrics &&value)
CreateModelPackageRequest & WithModelPackageDescription(const char *value)
CreateModelPackageRequest & WithInferenceSpecification(const InferenceSpecification &value)
const ModelPackageValidationSpecification & GetValidationSpecification() const
void SetModelCard(const ModelPackageModelCard &value)
void SetSamplePayloadUrl(const Aws::String &value)
CreateModelPackageRequest & WithInferenceSpecification(InferenceSpecification &&value)
void SetSamplePayloadUrl(const char *value)
CreateModelPackageRequest & WithAdditionalInferenceSpecifications(Aws::Vector< AdditionalInferenceSpecificationDefinition > &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetDomain(const Aws::String &value)
const Aws::String & GetModelPackageName() const
CreateModelPackageRequest & AddCustomerMetadataProperties(Aws::String &&key, const Aws::String &value)
CreateModelPackageRequest & WithModelLifeCycle(const ModelLifeCycle &value)
void SetClientToken(const char *value)
void SetInferenceSpecification(InferenceSpecification &&value)
CreateModelPackageRequest & WithSourceUri(Aws::String &&value)
void SetModelLifeCycle(const ModelLifeCycle &value)
void SetSkipModelValidation(SkipModelValidation &&value)
void SetModelPackageGroupName(const char *value)
CreateModelPackageRequest & WithCustomerMetadataProperties(Aws::Map< Aws::String, Aws::String > &&value)
CreateModelPackageRequest & WithTask(const Aws::String &value)
CreateModelPackageRequest & WithModelPackageName(const Aws::String &value)
CreateModelPackageRequest & AddCustomerMetadataProperties(const char *key, const char *value)
bool ModelApprovalStatusHasBeenSet() const
const ModelApprovalStatus & GetModelApprovalStatus() const
CreateModelPackageRequest & AddAdditionalInferenceSpecifications(const AdditionalInferenceSpecificationDefinition &value)
CreateModelPackageRequest & WithModelApprovalStatus(const ModelApprovalStatus &value)
CreateModelPackageRequest & WithSourceAlgorithmSpecification(SourceAlgorithmSpecification &&value)
CreateModelPackageRequest & WithModelPackageGroupName(const Aws::String &value)
const Aws::String & GetTask() const
void SetModelCard(ModelPackageModelCard &&value)
void SetDriftCheckBaselines(const DriftCheckBaselines &value)
void SetCustomerMetadataProperties(const Aws::Map< Aws::String, Aws::String > &value)
bool SamplePayloadUrlHasBeenSet() const
void SetModelLifeCycle(ModelLifeCycle &&value)
CreateModelPackageRequest & WithTags(Aws::Vector< Tag > &&value)
CreateModelPackageRequest & WithModelPackageName(const char *value)
CreateModelPackageRequest & WithSkipModelValidation(SkipModelValidation &&value)
const ModelLifeCycle & GetModelLifeCycle() const
void SetSourceUri(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
bool GetCertifyForMarketplace() const
CreateModelPackageRequest & WithModelPackageName(Aws::String &&value)
void SetModelPackageDescription(const Aws::String &value)
const SourceAlgorithmSpecification & GetSourceAlgorithmSpecification() const
CreateModelPackageRequest & WithTask(const char *value)
const Aws::String & GetClientToken() const
void SetModelPackageName(Aws::String &&value)
void SetCustomerMetadataProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetSamplePayloadUrl(Aws::String &&value)
void SetValidationSpecification(const ModelPackageValidationSpecification &value)
bool ClientTokenHasBeenSet() const
CreateModelPackageRequest & WithDriftCheckBaselines(DriftCheckBaselines &&value)
const SkipModelValidation & GetSkipModelValidation() const
bool InferenceSpecificationHasBeenSet() const
const MetadataProperties & GetMetadataProperties() const
CreateModelPackageRequest & WithSamplePayloadUrl(const Aws::String &value)
CreateModelPackageRequest & WithModelPackageGroupName(const char *value)
bool DomainHasBeenSet() const
CreateModelPackageRequest & WithClientToken(const Aws::String &value)
CreateModelPackageRequest & WithDomain(Aws::String &&value)
void SetCertifyForMarketplace(bool value)
bool MetadataPropertiesHasBeenSet() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool TagsHasBeenSet() const
CreateModelPackageRequest & AddTags(const Tag &value)
void SetModelApprovalStatus(const ModelApprovalStatus &value)
CreateModelPackageRequest & WithTags(const Aws::Vector< Tag > &value)
bool ModelLifeCycleHasBeenSet() const
void SetSourceUri(Aws::String &&value)
CreateModelPackageRequest & AddCustomerMetadataProperties(const Aws::String &key, const Aws::String &value)
void SetSourceAlgorithmSpecification(SourceAlgorithmSpecification &&value)
CreateModelPackageRequest & WithSamplePayloadUrl(const char *value)
bool DriftCheckBaselinesHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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