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>
41 template <
typename ContextNameT = Aws::String>
43 m_contextNameHasBeenSet =
true;
44 m_contextName = std::forward<ContextNameT>(value);
46 template <
typename ContextNameT = Aws::String>
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
79 m_propertiesHasBeenSet =
true;
80 m_properties = std::forward<PropertiesT>(value);
82 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
87 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
89 m_propertiesHasBeenSet =
true;
90 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
101 template <
typename PropertiesToRemoveT = Aws::Vector<Aws::String>>
103 m_propertiesToRemoveHasBeenSet =
true;
104 m_propertiesToRemove = std::forward<PropertiesToRemoveT>(value);
106 template <
typename PropertiesToRemoveT = Aws::Vector<Aws::String>>
111 template <
typename PropertiesToRemoveT = Aws::String>
113 m_propertiesToRemoveHasBeenSet =
true;
114 m_propertiesToRemove.emplace_back(std::forward<PropertiesToRemoveT>(value));
126 bool m_contextNameHasBeenSet =
false;
127 bool m_descriptionHasBeenSet =
false;
128 bool m_propertiesHasBeenSet =
false;
129 bool m_propertiesToRemoveHasBeenSet =
false;
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API UpdateContextRequest()=default
const Aws::String & GetDescription() const
UpdateContextRequest & WithProperties(PropertiesT &&value)
const Aws::Vector< Aws::String > & GetPropertiesToRemove() const
bool ContextNameHasBeenSet() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateContextRequest & WithDescription(DescriptionT &&value)
bool PropertiesToRemoveHasBeenSet() const
UpdateContextRequest & WithContextName(ContextNameT &&value)
const Aws::String & GetContextName() const
void SetContextName(ContextNameT &&value)
void SetProperties(PropertiesT &&value)
UpdateContextRequest & AddPropertiesToRemove(PropertiesToRemoveT &&value)
void SetPropertiesToRemove(PropertiesToRemoveT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
bool PropertiesHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
UpdateContextRequest & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
UpdateContextRequest & WithPropertiesToRemove(PropertiesToRemoveT &&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