AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateActionRequest.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API UpdateActionRequest();
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_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetActionName() const{ return m_actionName; }
45 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
46 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
47 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
48 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
49 inline UpdateActionRequest& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
50 inline UpdateActionRequest& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
51 inline UpdateActionRequest& WithActionName(const char* value) { SetActionName(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline UpdateActionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline UpdateActionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline UpdateActionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const ActionStatus& GetStatus() const{ return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(const ActionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
75 inline void SetStatus(ActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline UpdateActionRequest& WithStatus(const ActionStatus& value) { SetStatus(value); return *this;}
77 inline UpdateActionRequest& WithStatus(ActionStatus&& value) { SetStatus(std::move(value)); return *this;}
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
85 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
86 inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
87 inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
89 inline UpdateActionRequest& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
90 inline UpdateActionRequest& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
91 inline UpdateActionRequest& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
92 inline UpdateActionRequest& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
93 inline UpdateActionRequest& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; }
94 inline UpdateActionRequest& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
95 inline UpdateActionRequest& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
96 inline UpdateActionRequest& AddProperties(const char* key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
98
100
103 inline const Aws::Vector<Aws::String>& GetPropertiesToRemove() const{ return m_propertiesToRemove; }
104 inline bool PropertiesToRemoveHasBeenSet() const { return m_propertiesToRemoveHasBeenSet; }
105 inline void SetPropertiesToRemove(const Aws::Vector<Aws::String>& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove = value; }
106 inline void SetPropertiesToRemove(Aws::Vector<Aws::String>&& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove = std::move(value); }
109 inline UpdateActionRequest& AddPropertiesToRemove(const Aws::String& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(value); return *this; }
110 inline UpdateActionRequest& AddPropertiesToRemove(Aws::String&& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(std::move(value)); return *this; }
111 inline UpdateActionRequest& AddPropertiesToRemove(const char* value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(value); return *this; }
113 private:
114
115 Aws::String m_actionName;
116 bool m_actionNameHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 ActionStatus m_status;
122 bool m_statusHasBeenSet = false;
123
125 bool m_propertiesHasBeenSet = false;
126
127 Aws::Vector<Aws::String> m_propertiesToRemove;
128 bool m_propertiesToRemoveHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace SageMaker
133} // namespace Aws
UpdateActionRequest & AddProperties(const char *key, const char *value)
UpdateActionRequest & WithDescription(Aws::String &&value)
UpdateActionRequest & WithStatus(const ActionStatus &value)
UpdateActionRequest & WithStatus(ActionStatus &&value)
UpdateActionRequest & AddProperties(Aws::String &&key, const char *value)
const Aws::Vector< Aws::String > & GetPropertiesToRemove() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateActionRequest & WithActionName(const Aws::String &value)
UpdateActionRequest & AddPropertiesToRemove(Aws::String &&value)
UpdateActionRequest & AddPropertiesToRemove(const char *value)
virtual const char * GetServiceRequestName() const override
void SetPropertiesToRemove(const Aws::Vector< Aws::String > &value)
UpdateActionRequest & AddProperties(Aws::String &&key, Aws::String &&value)
void SetPropertiesToRemove(Aws::Vector< Aws::String > &&value)
UpdateActionRequest & AddProperties(const Aws::String &key, const Aws::String &value)
UpdateActionRequest & WithActionName(Aws::String &&value)
UpdateActionRequest & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
UpdateActionRequest & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
UpdateActionRequest & AddPropertiesToRemove(const Aws::String &value)
UpdateActionRequest & AddProperties(const char *key, Aws::String &&value)
UpdateActionRequest & AddProperties(const Aws::String &key, Aws::String &&value)
void SetStatus(const ActionStatus &value)
UpdateActionRequest & WithActionName(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDescription(const Aws::String &value)
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
void SetActionName(const Aws::String &value)
UpdateActionRequest & WithPropertiesToRemove(const Aws::Vector< Aws::String > &value)
UpdateActionRequest & WithDescription(const char *value)
UpdateActionRequest & WithPropertiesToRemove(Aws::Vector< Aws::String > &&value)
UpdateActionRequest & AddProperties(Aws::String &&key, const Aws::String &value)
UpdateActionRequest & WithDescription(const Aws::String &value)
void SetProperties(Aws::Map< Aws::String, Aws::String > &&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