AWS SDK for C++  1.9.160
AWS SDK for C++
UpdateActionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateAction"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetActionName() const{ return m_actionName; }
44 
48  inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
49 
53  inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
54 
58  inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
59 
63  inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
64 
68  inline UpdateActionRequest& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
69 
73  inline UpdateActionRequest& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
74 
78  inline UpdateActionRequest& WithActionName(const char* value) { SetActionName(value); return *this;}
79 
80 
84  inline const Aws::String& GetDescription() const{ return m_description; }
85 
89  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 
94  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 
99  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
100 
104  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 
109  inline UpdateActionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
110 
114  inline UpdateActionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 
119  inline UpdateActionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
120 
121 
125  inline const ActionStatus& GetStatus() const{ return m_status; }
126 
130  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
131 
135  inline void SetStatus(const ActionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
136 
140  inline void SetStatus(ActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
141 
145  inline UpdateActionRequest& WithStatus(const ActionStatus& value) { SetStatus(value); return *this;}
146 
150  inline UpdateActionRequest& WithStatus(ActionStatus&& value) { SetStatus(std::move(value)); return *this;}
151 
152 
156  inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
157 
161  inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
162 
166  inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
167 
171  inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
172 
176  inline UpdateActionRequest& WithProperties(const Aws::Map<Aws::String, Aws::String>& value) { SetProperties(value); return *this;}
177 
181  inline UpdateActionRequest& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
182 
186  inline UpdateActionRequest& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
187 
191  inline UpdateActionRequest& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
192 
196  inline UpdateActionRequest& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
197 
201  inline UpdateActionRequest& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; }
202 
206  inline UpdateActionRequest& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
207 
211  inline UpdateActionRequest& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
212 
216  inline UpdateActionRequest& AddProperties(const char* key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
217 
218 
222  inline const Aws::Vector<Aws::String>& GetPropertiesToRemove() const{ return m_propertiesToRemove; }
223 
227  inline bool PropertiesToRemoveHasBeenSet() const { return m_propertiesToRemoveHasBeenSet; }
228 
232  inline void SetPropertiesToRemove(const Aws::Vector<Aws::String>& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove = value; }
233 
237  inline void SetPropertiesToRemove(Aws::Vector<Aws::String>&& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove = std::move(value); }
238 
242  inline UpdateActionRequest& WithPropertiesToRemove(const Aws::Vector<Aws::String>& value) { SetPropertiesToRemove(value); return *this;}
243 
247  inline UpdateActionRequest& WithPropertiesToRemove(Aws::Vector<Aws::String>&& value) { SetPropertiesToRemove(std::move(value)); return *this;}
248 
252  inline UpdateActionRequest& AddPropertiesToRemove(const Aws::String& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(value); return *this; }
253 
257  inline UpdateActionRequest& AddPropertiesToRemove(Aws::String&& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(std::move(value)); return *this; }
258 
262  inline UpdateActionRequest& AddPropertiesToRemove(const char* value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(value); return *this; }
263 
264  private:
265 
266  Aws::String m_actionName;
267  bool m_actionNameHasBeenSet;
268 
269  Aws::String m_description;
270  bool m_descriptionHasBeenSet;
271 
272  ActionStatus m_status;
273  bool m_statusHasBeenSet;
274 
276  bool m_propertiesHasBeenSet;
277 
278  Aws::Vector<Aws::String> m_propertiesToRemove;
279  bool m_propertiesToRemoveHasBeenSet;
280  };
281 
282 } // namespace Model
283 } // namespace SageMaker
284 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::UpdateActionRequest::SetActionName
void SetActionName(const char *value)
Definition: UpdateActionRequest.h:63
Aws::SageMaker::Model::UpdateActionRequest::AddPropertiesToRemove
UpdateActionRequest & AddPropertiesToRemove(Aws::String &&value)
Definition: UpdateActionRequest.h:257
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::UpdateActionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::UpdateActionRequest::WithDescription
UpdateActionRequest & WithDescription(const Aws::String &value)
Definition: UpdateActionRequest.h:109
Aws::SageMaker::Model::UpdateActionRequest::SetProperties
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateActionRequest.h:166
Aws::SageMaker::Model::UpdateActionRequest::AddProperties
UpdateActionRequest & AddProperties(const Aws::String &key, Aws::String &&value)
Definition: UpdateActionRequest.h:196
Aws::SageMaker::Model::UpdateActionRequest::WithPropertiesToRemove
UpdateActionRequest & WithPropertiesToRemove(const Aws::Vector< Aws::String > &value)
Definition: UpdateActionRequest.h:242
Aws::SageMaker::Model::UpdateActionRequest::WithProperties
UpdateActionRequest & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateActionRequest.h:181
Aws::SageMaker::Model::UpdateActionRequest::WithDescription
UpdateActionRequest & WithDescription(const char *value)
Definition: UpdateActionRequest.h:119
Aws::SageMaker::Model::UpdateActionRequest::SetPropertiesToRemove
void SetPropertiesToRemove(Aws::Vector< Aws::String > &&value)
Definition: UpdateActionRequest.h:237
Aws::SageMaker::Model::UpdateActionRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateActionRequest.h:94
Aws::SageMaker::Model::UpdateActionRequest::SetPropertiesToRemove
void SetPropertiesToRemove(const Aws::Vector< Aws::String > &value)
Definition: UpdateActionRequest.h:232
Aws::SageMaker::Model::ActionStatus
ActionStatus
Definition: ActionStatus.h:17
Aws::SageMaker::Model::UpdateActionRequest::AddProperties
UpdateActionRequest & AddProperties(Aws::String &&key, Aws::String &&value)
Definition: UpdateActionRequest.h:201
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::UpdateActionRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: UpdateActionRequest.h:130
Aws::SageMaker::Model::UpdateActionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSVector.h
Aws::SageMaker::Model::UpdateActionRequest::AddProperties
UpdateActionRequest & AddProperties(const char *key, const char *value)
Definition: UpdateActionRequest.h:216
Aws::SageMaker::Model::UpdateActionRequest::SetStatus
void SetStatus(ActionStatus &&value)
Definition: UpdateActionRequest.h:140
Aws::SageMaker::Model::UpdateActionRequest::GetActionName
const Aws::String & GetActionName() const
Definition: UpdateActionRequest.h:43
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::UpdateActionRequest::GetStatus
const ActionStatus & GetStatus() const
Definition: UpdateActionRequest.h:125
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateActionRequest::WithActionName
UpdateActionRequest & WithActionName(Aws::String &&value)
Definition: UpdateActionRequest.h:73
Aws::SageMaker::Model::UpdateActionRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateActionRequest.h:89
Aws::SageMaker::Model::UpdateActionRequest::AddPropertiesToRemove
UpdateActionRequest & AddPropertiesToRemove(const char *value)
Definition: UpdateActionRequest.h:262
AWSString.h
Aws::SageMaker::Model::UpdateActionRequest::WithPropertiesToRemove
UpdateActionRequest & WithPropertiesToRemove(Aws::Vector< Aws::String > &&value)
Definition: UpdateActionRequest.h:247
Aws::SageMaker::Model::UpdateActionRequest::PropertiesToRemoveHasBeenSet
bool PropertiesToRemoveHasBeenSet() const
Definition: UpdateActionRequest.h:227
Aws::SageMaker::Model::UpdateActionRequest::AddProperties
UpdateActionRequest & AddProperties(Aws::String &&key, const Aws::String &value)
Definition: UpdateActionRequest.h:191
Aws::SageMaker::Model::UpdateActionRequest::ActionNameHasBeenSet
bool ActionNameHasBeenSet() const
Definition: UpdateActionRequest.h:48
Aws::SageMaker::Model::UpdateActionRequest::AddProperties
UpdateActionRequest & AddProperties(Aws::String &&key, const char *value)
Definition: UpdateActionRequest.h:211
Aws::SageMaker::Model::UpdateActionRequest::SetProperties
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateActionRequest.h:171
Aws::SageMaker::Model::UpdateActionRequest::WithActionName
UpdateActionRequest & WithActionName(const Aws::String &value)
Definition: UpdateActionRequest.h:68
Aws::SageMaker::Model::UpdateActionRequest::SetStatus
void SetStatus(const ActionStatus &value)
Definition: UpdateActionRequest.h:135
Aws::SageMaker::Model::UpdateActionRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateActionRequest.h:99
Aws::SageMaker::Model::UpdateActionRequest::WithStatus
UpdateActionRequest & WithStatus(const ActionStatus &value)
Definition: UpdateActionRequest.h:145
Aws::SageMaker::Model::UpdateActionRequest::AddPropertiesToRemove
UpdateActionRequest & AddPropertiesToRemove(const Aws::String &value)
Definition: UpdateActionRequest.h:252
Aws::SageMaker::Model::UpdateActionRequest::AddProperties
UpdateActionRequest & AddProperties(const Aws::String &key, const Aws::String &value)
Definition: UpdateActionRequest.h:186
ActionStatus.h
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::UpdateActionRequest::WithActionName
UpdateActionRequest & WithActionName(const char *value)
Definition: UpdateActionRequest.h:78
SageMakerRequest.h
Aws::SageMaker::Model::UpdateActionRequest::SetActionName
void SetActionName(const Aws::String &value)
Definition: UpdateActionRequest.h:53
Aws::SageMaker::Model::UpdateActionRequest::WithStatus
UpdateActionRequest & WithStatus(ActionStatus &&value)
Definition: UpdateActionRequest.h:150
Aws::SageMaker::Model::UpdateActionRequest::PropertiesHasBeenSet
bool PropertiesHasBeenSet() const
Definition: UpdateActionRequest.h:161
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateActionRequest::GetProperties
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
Definition: UpdateActionRequest.h:156
Aws::SageMaker::Model::UpdateActionRequest::GetPropertiesToRemove
const Aws::Vector< Aws::String > & GetPropertiesToRemove() const
Definition: UpdateActionRequest.h:222
Aws::SageMaker::Model::UpdateActionRequest
Definition: UpdateActionRequest.h:25
Aws::SageMaker::Model::UpdateActionRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateActionRequest.h:84
Aws::SageMaker::Model::UpdateActionRequest::WithDescription
UpdateActionRequest & WithDescription(Aws::String &&value)
Definition: UpdateActionRequest.h:114
Aws::SageMaker::Model::UpdateActionRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateActionRequest.h:104
Aws::SageMaker::Model::UpdateActionRequest::AddProperties
UpdateActionRequest & AddProperties(const char *key, Aws::String &&value)
Definition: UpdateActionRequest.h:206
Aws::SageMaker::Model::UpdateActionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateActionRequest.h:33
AWSMap.h
Aws::SageMaker::Model::UpdateActionRequest::SetActionName
void SetActionName(Aws::String &&value)
Definition: UpdateActionRequest.h:58
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::SageMaker::Model::UpdateActionRequest::UpdateActionRequest
UpdateActionRequest()
Aws::SageMaker::Model::UpdateActionRequest::WithProperties
UpdateActionRequest & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateActionRequest.h:176