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/ContextSource.h>
13#include <aws/sagemaker/model/Tag.h>
44 template <
typename ContextNameT = Aws::String>
46 m_contextNameHasBeenSet =
true;
47 m_contextName = std::forward<ContextNameT>(value);
49 template <
typename ContextNameT = Aws::String>
62 template <
typename SourceT = ContextSource>
64 m_sourceHasBeenSet =
true;
65 m_source = std::forward<SourceT>(value);
67 template <
typename SourceT = ContextSource>
80 template <
typename ContextTypeT = Aws::String>
82 m_contextTypeHasBeenSet =
true;
83 m_contextType = std::forward<ContextTypeT>(value);
85 template <
typename ContextTypeT = Aws::String>
98 template <
typename DescriptionT = Aws::String>
100 m_descriptionHasBeenSet =
true;
101 m_description = std::forward<DescriptionT>(value);
103 template <
typename DescriptionT = Aws::String>
116 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
118 m_propertiesHasBeenSet =
true;
119 m_properties = std::forward<PropertiesT>(value);
121 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
126 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
128 m_propertiesHasBeenSet =
true;
129 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
140 template <
typename TagsT = Aws::Vector<Tag>>
142 m_tagsHasBeenSet =
true;
143 m_tags = std::forward<TagsT>(value);
145 template <
typename TagsT = Aws::Vector<Tag>>
147 SetTags(std::forward<TagsT>(value));
150 template <
typename TagsT = Tag>
152 m_tagsHasBeenSet =
true;
153 m_tags.emplace_back(std::forward<TagsT>(value));
169 bool m_contextNameHasBeenSet =
false;
170 bool m_sourceHasBeenSet =
false;
171 bool m_contextTypeHasBeenSet =
false;
172 bool m_descriptionHasBeenSet =
false;
173 bool m_propertiesHasBeenSet =
false;
174 bool m_tagsHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
void SetTags(TagsT &&value)
CreateContextRequest & WithSource(SourceT &&value)
const Aws::String & GetContextType() const
void SetContextName(ContextNameT &&value)
void SetDescription(DescriptionT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const ContextSource & GetSource() const
CreateContextRequest & WithTags(TagsT &&value)
bool SourceHasBeenSet() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
CreateContextRequest & WithContextName(ContextNameT &&value)
void SetProperties(PropertiesT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetSource(SourceT &&value)
CreateContextRequest & WithContextType(ContextTypeT &&value)
AWS_SAGEMAKER_API CreateContextRequest()=default
bool ContextTypeHasBeenSet() const
CreateContextRequest & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
virtual const char * GetServiceRequestName() const override
bool PropertiesHasBeenSet() const
CreateContextRequest & WithDescription(DescriptionT &&value)
bool ContextNameHasBeenSet() const
const Aws::String & GetContextName() const
bool DescriptionHasBeenSet() const
CreateContextRequest & WithProperties(PropertiesT &&value)
const Aws::String & GetDescription() const
void SetContextType(ContextTypeT &&value)
CreateContextRequest & AddTags(TagsT &&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