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/ActionSource.h>
11#include <aws/sagemaker/model/ActionStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/sagemaker/model/MetadataProperties.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/Tag.h>
50 template<
typename ActionNameT = Aws::String>
51 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet =
true; m_actionName = std::forward<ActionNameT>(value); }
52 template<
typename ActionNameT = Aws::String>
62 template<
typename SourceT = ActionSource>
63 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
64 template<
typename SourceT = ActionSource>
74 template<
typename ActionTypeT = Aws::String>
75 void SetActionType(ActionTypeT&& value) { m_actionTypeHasBeenSet =
true; m_actionType = std::forward<ActionTypeT>(value); }
76 template<
typename ActionTypeT = Aws::String>
86 template<
typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
88 template<
typename DescriptionT = Aws::String>
108 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
109 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
110 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
112 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
114 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
122 template<
typename MetadataPropertiesT = MetadataProperties>
123 void SetMetadataProperties(MetadataPropertiesT&& value) { m_metadataPropertiesHasBeenSet =
true; m_metadataProperties = std::forward<MetadataPropertiesT>(value); }
124 template<
typename MetadataPropertiesT = MetadataProperties>
134 template<
typename TagsT = Aws::Vector<Tag>>
135 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
136 template<
typename TagsT = Aws::Vector<Tag>>
138 template<
typename TagsT = Tag>
144 bool m_actionNameHasBeenSet =
false;
147 bool m_sourceHasBeenSet =
false;
150 bool m_actionTypeHasBeenSet =
false;
153 bool m_descriptionHasBeenSet =
false;
156 bool m_statusHasBeenSet =
false;
159 bool m_propertiesHasBeenSet =
false;
161 MetadataProperties m_metadataProperties;
162 bool m_metadataPropertiesHasBeenSet =
false;
165 bool m_tagsHasBeenSet =
false;
void SetSource(SourceT &&value)
CreateActionRequest & WithDescription(DescriptionT &&value)
const MetadataProperties & GetMetadataProperties() const
const Aws::String & GetDescription() const
CreateActionRequest & WithTags(TagsT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateActionRequest & WithStatus(ActionStatus value)
const Aws::String & GetActionName() const
void SetMetadataProperties(MetadataPropertiesT &&value)
bool StatusHasBeenSet() const
AWS_SAGEMAKER_API CreateActionRequest()=default
bool MetadataPropertiesHasBeenSet() const
CreateActionRequest & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
bool TagsHasBeenSet() const
CreateActionRequest & WithSource(SourceT &&value)
CreateActionRequest & WithMetadataProperties(MetadataPropertiesT &&value)
void SetActionName(ActionNameT &&value)
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
bool SourceHasBeenSet() const
void SetActionType(ActionTypeT &&value)
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
const ActionSource & GetSource() const
CreateActionRequest & WithActionName(ActionNameT &&value)
bool ActionNameHasBeenSet() const
CreateActionRequest & AddTags(TagsT &&value)
CreateActionRequest & WithProperties(PropertiesT &&value)
bool ActionTypeHasBeenSet() const
CreateActionRequest & WithActionType(ActionTypeT &&value)
bool DescriptionHasBeenSet() const
void SetStatus(ActionStatus value)
bool PropertiesHasBeenSet() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetDescription(DescriptionT &&value)
void SetProperties(PropertiesT &&value)
const Aws::String & GetActionType() const
ActionStatus GetStatus() const
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