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/ActionStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
46 template<
typename ActionNameT = Aws::String>
47 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet =
true; m_actionName = std::forward<ActionNameT>(value); }
48 template<
typename ActionNameT = Aws::String>
58 template<
typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
60 template<
typename DescriptionT = Aws::String>
80 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
81 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
82 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
84 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
86 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
96 template<
typename PropertiesToRemoveT = Aws::Vector<Aws::String>>
97 void SetPropertiesToRemove(PropertiesToRemoveT&& value) { m_propertiesToRemoveHasBeenSet =
true; m_propertiesToRemove = std::forward<PropertiesToRemoveT>(value); }
98 template<
typename PropertiesToRemoveT = Aws::Vector<Aws::String>>
100 template<
typename PropertiesToRemoveT = Aws::String>
106 bool m_actionNameHasBeenSet =
false;
109 bool m_descriptionHasBeenSet =
false;
112 bool m_statusHasBeenSet =
false;
115 bool m_propertiesHasBeenSet =
false;
118 bool m_propertiesToRemoveHasBeenSet =
false;
UpdateActionRequest & WithActionName(ActionNameT &&value)
void SetDescription(DescriptionT &&value)
AWS_SAGEMAKER_API UpdateActionRequest()=default
const Aws::String & GetActionName() const
const Aws::Vector< Aws::String > & GetPropertiesToRemove() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetActionName(ActionNameT &&value)
void SetProperties(PropertiesT &&value)
virtual const char * GetServiceRequestName() const override
UpdateActionRequest & WithStatus(ActionStatus value)
bool PropertiesHasBeenSet() const
UpdateActionRequest & WithProperties(PropertiesT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ActionStatus GetStatus() const
UpdateActionRequest & WithPropertiesToRemove(PropertiesToRemoveT &&value)
bool StatusHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
bool PropertiesToRemoveHasBeenSet() const
void SetPropertiesToRemove(PropertiesToRemoveT &&value)
const Aws::String & GetDescription() const
bool ActionNameHasBeenSet() const
UpdateActionRequest & AddPropertiesToRemove(PropertiesToRemoveT &&value)
bool DescriptionHasBeenSet() const
UpdateActionRequest & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
UpdateActionRequest & WithDescription(DescriptionT &&value)
void SetStatus(ActionStatus 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