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 ContextNameT = Aws::String>
46 void SetContextName(ContextNameT&& value) { m_contextNameHasBeenSet =
true; m_contextName = std::forward<ContextNameT>(value); }
47 template<
typename ContextNameT = Aws::String>
57 template<
typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
59 template<
typename DescriptionT = 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_contextNameHasBeenSet =
false;
98 bool m_descriptionHasBeenSet =
false;
101 bool m_propertiesHasBeenSet =
false;
104 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