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/ModelApprovalStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/InferenceSpecification.h>
14#include <aws/sagemaker/model/ModelPackageModelCard.h>
15#include <aws/sagemaker/model/ModelLifeCycle.h>
16#include <aws/sagemaker/model/AdditionalInferenceSpecificationDefinition.h>
52 inline void SetModelPackageArn(
const char* value) { m_modelPackageArnHasBeenSet =
true; m_modelPackageArn.assign(value); }
78 inline void SetApprovalDescription(
const char* value) { m_approvalDescriptionHasBeenSet =
true; m_approvalDescription.assign(value); }
164 inline void SetSourceUri(
const char* value) { m_sourceUriHasBeenSet =
true; m_sourceUri.assign(value); }
215 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
223 bool m_modelPackageArnHasBeenSet =
false;
226 bool m_modelApprovalStatusHasBeenSet =
false;
229 bool m_approvalDescriptionHasBeenSet =
false;
232 bool m_customerMetadataPropertiesHasBeenSet =
false;
235 bool m_customerMetadataPropertiesToRemoveHasBeenSet =
false;
238 bool m_additionalInferenceSpecificationsToAddHasBeenSet =
false;
241 bool m_inferenceSpecificationHasBeenSet =
false;
244 bool m_sourceUriHasBeenSet =
false;
247 bool m_modelCardHasBeenSet =
false;
250 bool m_modelLifeCycleHasBeenSet =
false;
253 bool m_clientTokenHasBeenSet =
false;
void SetModelPackageArn(const Aws::String &value)
UpdateModelPackageRequest & WithApprovalDescription(const char *value)
void SetModelPackageArn(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetModelLifeCycle(const ModelLifeCycle &value)
UpdateModelPackageRequest & WithAdditionalInferenceSpecificationsToAdd(Aws::Vector< AdditionalInferenceSpecificationDefinition > &&value)
UpdateModelPackageRequest & WithInferenceSpecification(InferenceSpecification &&value)
const Aws::Vector< Aws::String > & GetCustomerMetadataPropertiesToRemove() const
void SetSourceUri(const Aws::String &value)
void SetApprovalDescription(const Aws::String &value)
void SetCustomerMetadataProperties(Aws::Map< Aws::String, Aws::String > &&value)
bool ModelPackageArnHasBeenSet() const
void SetAdditionalInferenceSpecificationsToAdd(const Aws::Vector< AdditionalInferenceSpecificationDefinition > &value)
UpdateModelPackageRequest & WithModelPackageArn(const Aws::String &value)
UpdateModelPackageRequest & WithCustomerMetadataProperties(const Aws::Map< Aws::String, Aws::String > &value)
void SetModelApprovalStatus(ModelApprovalStatus &&value)
void SetClientToken(const char *value)
UpdateModelPackageRequest & AddCustomerMetadataProperties(Aws::String &&key, const Aws::String &value)
UpdateModelPackageRequest & WithModelPackageArn(const char *value)
UpdateModelPackageRequest & AddCustomerMetadataProperties(const Aws::String &key, const Aws::String &value)
bool CustomerMetadataPropertiesToRemoveHasBeenSet() const
void SetClientToken(Aws::String &&value)
UpdateModelPackageRequest & WithClientToken(const char *value)
void SetAdditionalInferenceSpecificationsToAdd(Aws::Vector< AdditionalInferenceSpecificationDefinition > &&value)
const ModelLifeCycle & GetModelLifeCycle() const
void SetClientToken(const Aws::String &value)
UpdateModelPackageRequest & WithApprovalDescription(Aws::String &&value)
void SetSourceUri(const char *value)
UpdateModelPackageRequest & WithClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool CustomerMetadataPropertiesHasBeenSet() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateModelPackageRequest & AddAdditionalInferenceSpecificationsToAdd(const AdditionalInferenceSpecificationDefinition &value)
void SetApprovalDescription(Aws::String &&value)
const Aws::Vector< AdditionalInferenceSpecificationDefinition > & GetAdditionalInferenceSpecificationsToAdd() const
UpdateModelPackageRequest & AddCustomerMetadataPropertiesToRemove(const char *value)
void SetApprovalDescription(const char *value)
void SetCustomerMetadataProperties(const Aws::Map< Aws::String, Aws::String > &value)
UpdateModelPackageRequest & WithSourceUri(const Aws::String &value)
const Aws::String & GetClientToken() const
void SetModelCard(const ModelPackageModelCard &value)
const Aws::String & GetSourceUri() const
AWS_SAGEMAKER_API UpdateModelPackageRequest()
UpdateModelPackageRequest & AddAdditionalInferenceSpecificationsToAdd(AdditionalInferenceSpecificationDefinition &&value)
bool AdditionalInferenceSpecificationsToAddHasBeenSet() const
UpdateModelPackageRequest & AddCustomerMetadataProperties(const char *key, Aws::String &&value)
UpdateModelPackageRequest & WithModelApprovalStatus(const ModelApprovalStatus &value)
const InferenceSpecification & GetInferenceSpecification() const
UpdateModelPackageRequest & AddCustomerMetadataProperties(const Aws::String &key, Aws::String &&value)
UpdateModelPackageRequest & WithModelLifeCycle(const ModelLifeCycle &value)
UpdateModelPackageRequest & WithInferenceSpecification(const InferenceSpecification &value)
bool ApprovalDescriptionHasBeenSet() const
void SetSourceUri(Aws::String &&value)
void SetCustomerMetadataPropertiesToRemove(Aws::Vector< Aws::String > &&value)
UpdateModelPackageRequest & WithCustomerMetadataProperties(Aws::Map< Aws::String, Aws::String > &&value)
bool ModelApprovalStatusHasBeenSet() const
UpdateModelPackageRequest & AddCustomerMetadataProperties(const char *key, const char *value)
UpdateModelPackageRequest & AddCustomerMetadataPropertiesToRemove(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerMetadataProperties() const
void SetInferenceSpecification(InferenceSpecification &&value)
UpdateModelPackageRequest & AddCustomerMetadataProperties(Aws::String &&key, const char *value)
const ModelApprovalStatus & GetModelApprovalStatus() const
UpdateModelPackageRequest & WithSourceUri(const char *value)
bool ClientTokenHasBeenSet() const
UpdateModelPackageRequest & WithSourceUri(Aws::String &&value)
void SetCustomerMetadataPropertiesToRemove(const Aws::Vector< Aws::String > &value)
UpdateModelPackageRequest & WithModelCard(const ModelPackageModelCard &value)
UpdateModelPackageRequest & WithCustomerMetadataPropertiesToRemove(Aws::Vector< Aws::String > &&value)
void SetInferenceSpecification(const InferenceSpecification &value)
UpdateModelPackageRequest & WithModelPackageArn(Aws::String &&value)
UpdateModelPackageRequest & WithCustomerMetadataPropertiesToRemove(const Aws::Vector< Aws::String > &value)
const Aws::String & GetApprovalDescription() const
void SetModelApprovalStatus(const ModelApprovalStatus &value)
UpdateModelPackageRequest & WithModelApprovalStatus(ModelApprovalStatus &&value)
const ModelPackageModelCard & GetModelCard() const
UpdateModelPackageRequest & WithModelCard(ModelPackageModelCard &&value)
bool InferenceSpecificationHasBeenSet() const
const Aws::String & GetModelPackageArn() const
bool SourceUriHasBeenSet() const
void SetModelCard(ModelPackageModelCard &&value)
UpdateModelPackageRequest & AddCustomerMetadataPropertiesToRemove(const Aws::String &value)
UpdateModelPackageRequest & WithAdditionalInferenceSpecificationsToAdd(const Aws::Vector< AdditionalInferenceSpecificationDefinition > &value)
UpdateModelPackageRequest & WithModelLifeCycle(ModelLifeCycle &&value)
bool ModelLifeCycleHasBeenSet() const
void SetModelPackageArn(Aws::String &&value)
bool ModelCardHasBeenSet() const
UpdateModelPackageRequest & WithClientToken(Aws::String &&value)
UpdateModelPackageRequest & AddCustomerMetadataProperties(Aws::String &&key, Aws::String &&value)
UpdateModelPackageRequest & WithApprovalDescription(const Aws::String &value)
void SetModelLifeCycle(ModelLifeCycle &&value)
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