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/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
45 template<
typename ArtifactArnT = Aws::String>
46 void SetArtifactArn(ArtifactArnT&& value) { m_artifactArnHasBeenSet =
true; m_artifactArn = std::forward<ArtifactArnT>(value); }
47 template<
typename ArtifactArnT = Aws::String>
57 template<
typename ArtifactNameT = Aws::String>
58 void SetArtifactName(ArtifactNameT&& value) { m_artifactNameHasBeenSet =
true; m_artifactName = std::forward<ArtifactNameT>(value); }
59 template<
typename ArtifactNameT = Aws::String>
69 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
70 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
71 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
73 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
75 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
85 template<
typename PropertiesToRemoveT = Aws::Vector<Aws::String>>
86 void SetPropertiesToRemove(PropertiesToRemoveT&& value) { m_propertiesToRemoveHasBeenSet =
true; m_propertiesToRemove = std::forward<PropertiesToRemoveT>(value); }
87 template<
typename PropertiesToRemoveT = Aws::Vector<Aws::String>>
89 template<
typename PropertiesToRemoveT = Aws::String>
95 bool m_artifactArnHasBeenSet =
false;
98 bool m_artifactNameHasBeenSet =
false;
101 bool m_propertiesHasBeenSet =
false;
104 bool m_propertiesToRemoveHasBeenSet =
false;
UpdateArtifactRequest & WithPropertiesToRemove(PropertiesToRemoveT &&value)
void SetProperties(PropertiesT &&value)
void SetArtifactName(ArtifactNameT &&value)
bool PropertiesHasBeenSet() const
UpdateArtifactRequest & WithProperties(PropertiesT &&value)
bool PropertiesToRemoveHasBeenSet() const
void SetPropertiesToRemove(PropertiesToRemoveT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateArtifactRequest & WithArtifactName(ArtifactNameT &&value)
AWS_SAGEMAKER_API UpdateArtifactRequest()=default
const Aws::Vector< Aws::String > & GetPropertiesToRemove() const
const Aws::String & GetArtifactName() const
bool ArtifactArnHasBeenSet() const
void SetArtifactArn(ArtifactArnT &&value)
UpdateArtifactRequest & AddPropertiesToRemove(PropertiesToRemoveT &&value)
const Aws::String & GetArtifactArn() const
bool ArtifactNameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
UpdateArtifactRequest & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
UpdateArtifactRequest & WithArtifactArn(ArtifactArnT &&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