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>
50 template<
typename ModelPackageArnT = Aws::String>
51 void SetModelPackageArn(ModelPackageArnT&& value) { m_modelPackageArnHasBeenSet =
true; m_modelPackageArn = std::forward<ModelPackageArnT>(value); }
52 template<
typename ModelPackageArnT = Aws::String>
72 template<
typename ApprovalDescriptionT = Aws::String>
73 void SetApprovalDescription(ApprovalDescriptionT&& value) { m_approvalDescriptionHasBeenSet =
true; m_approvalDescription = std::forward<ApprovalDescriptionT>(value); }
74 template<
typename ApprovalDescriptionT = Aws::String>
84 template<
typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
85 void SetCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) { m_customerMetadataPropertiesHasBeenSet =
true; m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value); }
86 template<
typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
88 template<
typename CustomerMetadataPropertiesKeyT = Aws::String,
typename CustomerMetadataPropertiesValueT = Aws::String>
90 m_customerMetadataPropertiesHasBeenSet =
true; m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key), std::forward<CustomerMetadataPropertiesValueT>(value));
return *
this;
101 template<
typename CustomerMetadataPropertiesToRemoveT = Aws::Vector<Aws::String>>
102 void SetCustomerMetadataPropertiesToRemove(CustomerMetadataPropertiesToRemoveT&& value) { m_customerMetadataPropertiesToRemoveHasBeenSet =
true; m_customerMetadataPropertiesToRemove = std::forward<CustomerMetadataPropertiesToRemoveT>(value); }
103 template<
typename CustomerMetadataPropertiesToRemoveT = Aws::Vector<Aws::String>>
105 template<
typename CustomerMetadataPropertiesToRemoveT = Aws::String>
120 template<
typename AdditionalInferenceSpecificationsToAddT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
121 void SetAdditionalInferenceSpecificationsToAdd(AdditionalInferenceSpecificationsToAddT&& value) { m_additionalInferenceSpecificationsToAddHasBeenSet =
true; m_additionalInferenceSpecificationsToAdd = std::forward<AdditionalInferenceSpecificationsToAddT>(value); }
122 template<
typename AdditionalInferenceSpecificationsToAddT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
124 template<
typename AdditionalInferenceSpecificationsToAddT = AdditionalInferenceSpecificationDefinition>
140 template<
typename InferenceSpecificationT = InferenceSpecification>
141 void SetInferenceSpecification(InferenceSpecificationT&& value) { m_inferenceSpecificationHasBeenSet =
true; m_inferenceSpecification = std::forward<InferenceSpecificationT>(value); }
142 template<
typename InferenceSpecificationT = InferenceSpecification>
152 template<
typename SourceUriT = Aws::String>
153 void SetSourceUri(SourceUriT&& value) { m_sourceUriHasBeenSet =
true; m_sourceUri = std::forward<SourceUriT>(value); }
154 template<
typename SourceUriT = Aws::String>
176 template<
typename ModelCardT = ModelPackageModelCard>
177 void SetModelCard(ModelCardT&& value) { m_modelCardHasBeenSet =
true; m_modelCard = std::forward<ModelCardT>(value); }
178 template<
typename ModelCardT = ModelPackageModelCard>
189 template<
typename ModelLifeCycleT = ModelLifeCycle>
190 void SetModelLifeCycle(ModelLifeCycleT&& value) { m_modelLifeCycleHasBeenSet =
true; m_modelLifeCycle = std::forward<ModelLifeCycleT>(value); }
191 template<
typename ModelLifeCycleT = ModelLifeCycle>
201 template<
typename ClientTokenT = Aws::String>
202 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
203 template<
typename ClientTokenT = Aws::String>
209 bool m_modelPackageArnHasBeenSet =
false;
212 bool m_modelApprovalStatusHasBeenSet =
false;
215 bool m_approvalDescriptionHasBeenSet =
false;
218 bool m_customerMetadataPropertiesHasBeenSet =
false;
221 bool m_customerMetadataPropertiesToRemoveHasBeenSet =
false;
224 bool m_additionalInferenceSpecificationsToAddHasBeenSet =
false;
226 InferenceSpecification m_inferenceSpecification;
227 bool m_inferenceSpecificationHasBeenSet =
false;
230 bool m_sourceUriHasBeenSet =
false;
232 ModelPackageModelCard m_modelCard;
233 bool m_modelCardHasBeenSet =
false;
235 ModelLifeCycle m_modelLifeCycle;
236 bool m_modelLifeCycleHasBeenSet =
false;
239 bool m_clientTokenHasBeenSet =
false;
void SetApprovalDescription(ApprovalDescriptionT &&value)
UpdateModelPackageRequest & AddAdditionalInferenceSpecificationsToAdd(AdditionalInferenceSpecificationsToAddT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateModelPackageRequest & AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT &&key, CustomerMetadataPropertiesValueT &&value)
const Aws::Vector< Aws::String > & GetCustomerMetadataPropertiesToRemove() const
void SetModelCard(ModelCardT &&value)
bool ModelPackageArnHasBeenSet() const
UpdateModelPackageRequest & WithAdditionalInferenceSpecificationsToAdd(AdditionalInferenceSpecificationsToAddT &&value)
void SetModelApprovalStatus(ModelApprovalStatus value)
bool CustomerMetadataPropertiesToRemoveHasBeenSet() const
const ModelLifeCycle & GetModelLifeCycle() const
virtual const char * GetServiceRequestName() const override
bool CustomerMetadataPropertiesHasBeenSet() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateModelPackageRequest & WithApprovalDescription(ApprovalDescriptionT &&value)
const Aws::Vector< AdditionalInferenceSpecificationDefinition > & GetAdditionalInferenceSpecificationsToAdd() const
ModelApprovalStatus GetModelApprovalStatus() const
const Aws::String & GetClientToken() const
const Aws::String & GetSourceUri() const
bool AdditionalInferenceSpecificationsToAddHasBeenSet() const
const InferenceSpecification & GetInferenceSpecification() const
UpdateModelPackageRequest & WithModelPackageArn(ModelPackageArnT &&value)
AWS_SAGEMAKER_API UpdateModelPackageRequest()=default
bool ApprovalDescriptionHasBeenSet() const
bool ModelApprovalStatusHasBeenSet() const
UpdateModelPackageRequest & AddCustomerMetadataPropertiesToRemove(CustomerMetadataPropertiesToRemoveT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerMetadataProperties() const
UpdateModelPackageRequest & WithModelApprovalStatus(ModelApprovalStatus value)
void SetCustomerMetadataPropertiesToRemove(CustomerMetadataPropertiesToRemoveT &&value)
UpdateModelPackageRequest & WithModelLifeCycle(ModelLifeCycleT &&value)
bool ClientTokenHasBeenSet() const
UpdateModelPackageRequest & WithClientToken(ClientTokenT &&value)
void SetModelLifeCycle(ModelLifeCycleT &&value)
void SetClientToken(ClientTokenT &&value)
void SetInferenceSpecification(InferenceSpecificationT &&value)
UpdateModelPackageRequest & WithSourceUri(SourceUriT &&value)
const Aws::String & GetApprovalDescription() const
void SetModelPackageArn(ModelPackageArnT &&value)
void SetSourceUri(SourceUriT &&value)
const ModelPackageModelCard & GetModelCard() const
void SetCustomerMetadataProperties(CustomerMetadataPropertiesT &&value)
bool InferenceSpecificationHasBeenSet() const
const Aws::String & GetModelPackageArn() const
UpdateModelPackageRequest & WithCustomerMetadataPropertiesToRemove(CustomerMetadataPropertiesToRemoveT &&value)
bool SourceUriHasBeenSet() const
UpdateModelPackageRequest & WithCustomerMetadataProperties(CustomerMetadataPropertiesT &&value)
bool ModelLifeCycleHasBeenSet() const
bool ModelCardHasBeenSet() const
UpdateModelPackageRequest & WithModelCard(ModelCardT &&value)
void SetAdditionalInferenceSpecificationsToAdd(AdditionalInferenceSpecificationsToAddT &&value)
UpdateModelPackageRequest & WithInferenceSpecification(InferenceSpecificationT &&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