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/ContextSource.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/Tag.h>
48 template<
typename ContextNameT = Aws::String>
49 void SetContextName(ContextNameT&& value) { m_contextNameHasBeenSet =
true; m_contextName = std::forward<ContextNameT>(value); }
50 template<
typename ContextNameT = Aws::String>
60 template<
typename SourceT = ContextSource>
61 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
62 template<
typename SourceT = ContextSource>
72 template<
typename ContextTypeT = Aws::String>
73 void SetContextType(ContextTypeT&& value) { m_contextTypeHasBeenSet =
true; m_contextType = std::forward<ContextTypeT>(value); }
74 template<
typename ContextTypeT = Aws::String>
84 template<
typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
86 template<
typename DescriptionT = Aws::String>
96 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
97 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
98 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
100 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
102 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
112 template<
typename TagsT = Aws::Vector<Tag>>
113 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
114 template<
typename TagsT = Aws::Vector<Tag>>
116 template<
typename TagsT = Tag>
122 bool m_contextNameHasBeenSet =
false;
125 bool m_sourceHasBeenSet =
false;
128 bool m_contextTypeHasBeenSet =
false;
131 bool m_descriptionHasBeenSet =
false;
134 bool m_propertiesHasBeenSet =
false;
137 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