7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMakerRequest.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/ArtifactSource.h>
13#include <aws/sagemaker/model/MetadataProperties.h>
14#include <aws/sagemaker/model/Tag.h>
45 template <
typename ArtifactNameT = Aws::String>
47 m_artifactNameHasBeenSet =
true;
48 m_artifactName = std::forward<ArtifactNameT>(value);
50 template <
typename ArtifactNameT = Aws::String>
63 template <
typename SourceT = ArtifactSource>
65 m_sourceHasBeenSet =
true;
66 m_source = std::forward<SourceT>(value);
68 template <
typename SourceT = ArtifactSource>
81 template <
typename ArtifactTypeT = Aws::String>
83 m_artifactTypeHasBeenSet =
true;
84 m_artifactType = std::forward<ArtifactTypeT>(value);
86 template <
typename ArtifactTypeT = Aws::String>
99 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
101 m_propertiesHasBeenSet =
true;
102 m_properties = std::forward<PropertiesT>(value);
104 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
109 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
111 m_propertiesHasBeenSet =
true;
112 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
121 template <
typename MetadataPropertiesT = MetadataProperties>
123 m_metadataPropertiesHasBeenSet =
true;
124 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
126 template <
typename MetadataPropertiesT = MetadataProperties>
139 template <
typename TagsT = Aws::Vector<Tag>>
141 m_tagsHasBeenSet =
true;
142 m_tags = std::forward<TagsT>(value);
144 template <
typename TagsT = Aws::Vector<Tag>>
146 SetTags(std::forward<TagsT>(value));
149 template <
typename TagsT = Tag>
151 m_tagsHasBeenSet =
true;
152 m_tags.emplace_back(std::forward<TagsT>(value));
168 bool m_artifactNameHasBeenSet =
false;
169 bool m_sourceHasBeenSet =
false;
170 bool m_artifactTypeHasBeenSet =
false;
171 bool m_propertiesHasBeenSet =
false;
172 bool m_metadataPropertiesHasBeenSet =
false;
173 bool m_tagsHasBeenSet =
false;
void SetSource(SourceT &&value)
CreateArtifactRequest & WithProperties(PropertiesT &&value)
void SetArtifactName(ArtifactNameT &&value)
const Aws::String & GetArtifactType() const
void SetTags(TagsT &&value)
AWS_SAGEMAKER_API CreateArtifactRequest()=default
const ArtifactSource & GetSource() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
virtual const char * GetServiceRequestName() const override
CreateArtifactRequest & WithTags(TagsT &&value)
CreateArtifactRequest & WithArtifactType(ArtifactTypeT &&value)
bool SourceHasBeenSet() const
CreateArtifactRequest & WithArtifactName(ArtifactNameT &&value)
CreateArtifactRequest & AddTags(TagsT &&value)
CreateArtifactRequest & WithMetadataProperties(MetadataPropertiesT &&value)
CreateArtifactRequest & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetMetadataProperties(MetadataPropertiesT &&value)
bool MetadataPropertiesHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetArtifactName() const
bool PropertiesHasBeenSet() const
const MetadataProperties & GetMetadataProperties() const
void SetProperties(PropertiesT &&value)
bool ArtifactTypeHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool ArtifactNameHasBeenSet() const
void SetArtifactType(ArtifactTypeT &&value)
CreateArtifactRequest & WithSource(SourceT &&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