AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutLaunchActionResult.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/model/LaunchActionCategory.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/drs/model/LaunchActionType.h>
12#include <aws/drs/model/LaunchActionParameter.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace drs
28{
29namespace Model
30{
32 {
33 public:
34 AWS_DRS_API PutLaunchActionResult();
37
38
40
43 inline const Aws::String& GetActionCode() const{ return m_actionCode; }
44 inline void SetActionCode(const Aws::String& value) { m_actionCode = value; }
45 inline void SetActionCode(Aws::String&& value) { m_actionCode = std::move(value); }
46 inline void SetActionCode(const char* value) { m_actionCode.assign(value); }
47 inline PutLaunchActionResult& WithActionCode(const Aws::String& value) { SetActionCode(value); return *this;}
48 inline PutLaunchActionResult& WithActionCode(Aws::String&& value) { SetActionCode(std::move(value)); return *this;}
49 inline PutLaunchActionResult& WithActionCode(const char* value) { SetActionCode(value); return *this;}
51
53
54 inline const Aws::String& GetActionId() const{ return m_actionId; }
55 inline void SetActionId(const Aws::String& value) { m_actionId = value; }
56 inline void SetActionId(Aws::String&& value) { m_actionId = std::move(value); }
57 inline void SetActionId(const char* value) { m_actionId.assign(value); }
58 inline PutLaunchActionResult& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
59 inline PutLaunchActionResult& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
60 inline PutLaunchActionResult& WithActionId(const char* value) { SetActionId(value); return *this;}
62
64
65 inline const Aws::String& GetActionVersion() const{ return m_actionVersion; }
66 inline void SetActionVersion(const Aws::String& value) { m_actionVersion = value; }
67 inline void SetActionVersion(Aws::String&& value) { m_actionVersion = std::move(value); }
68 inline void SetActionVersion(const char* value) { m_actionVersion.assign(value); }
69 inline PutLaunchActionResult& WithActionVersion(const Aws::String& value) { SetActionVersion(value); return *this;}
70 inline PutLaunchActionResult& WithActionVersion(Aws::String&& value) { SetActionVersion(std::move(value)); return *this;}
71 inline PutLaunchActionResult& WithActionVersion(const char* value) { SetActionVersion(value); return *this;}
73
75
78 inline bool GetActive() const{ return m_active; }
79 inline void SetActive(bool value) { m_active = value; }
80 inline PutLaunchActionResult& WithActive(bool value) { SetActive(value); return *this;}
82
84
85 inline const LaunchActionCategory& GetCategory() const{ return m_category; }
86 inline void SetCategory(const LaunchActionCategory& value) { m_category = value; }
87 inline void SetCategory(LaunchActionCategory&& value) { m_category = std::move(value); }
88 inline PutLaunchActionResult& WithCategory(const LaunchActionCategory& value) { SetCategory(value); return *this;}
89 inline PutLaunchActionResult& WithCategory(LaunchActionCategory&& value) { SetCategory(std::move(value)); return *this;}
91
93
94 inline const Aws::String& GetDescription() const{ return m_description; }
95 inline void SetDescription(const Aws::String& value) { m_description = value; }
96 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
97 inline void SetDescription(const char* value) { m_description.assign(value); }
98 inline PutLaunchActionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
99 inline PutLaunchActionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
100 inline PutLaunchActionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
102
104
105 inline const Aws::String& GetName() const{ return m_name; }
106 inline void SetName(const Aws::String& value) { m_name = value; }
107 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
108 inline void SetName(const char* value) { m_name.assign(value); }
109 inline PutLaunchActionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
110 inline PutLaunchActionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
111 inline PutLaunchActionResult& WithName(const char* value) { SetName(value); return *this;}
113
115
118 inline bool GetOptional() const{ return m_optional; }
119 inline void SetOptional(bool value) { m_optional = value; }
120 inline PutLaunchActionResult& WithOptional(bool value) { SetOptional(value); return *this;}
122
124
125 inline int GetOrder() const{ return m_order; }
126 inline void SetOrder(int value) { m_order = value; }
127 inline PutLaunchActionResult& WithOrder(int value) { SetOrder(value); return *this;}
129
131
132 inline const Aws::Map<Aws::String, LaunchActionParameter>& GetParameters() const{ return m_parameters; }
133 inline void SetParameters(const Aws::Map<Aws::String, LaunchActionParameter>& value) { m_parameters = value; }
134 inline void SetParameters(Aws::Map<Aws::String, LaunchActionParameter>&& value) { m_parameters = std::move(value); }
137 inline PutLaunchActionResult& AddParameters(const Aws::String& key, const LaunchActionParameter& value) { m_parameters.emplace(key, value); return *this; }
138 inline PutLaunchActionResult& AddParameters(Aws::String&& key, const LaunchActionParameter& value) { m_parameters.emplace(std::move(key), value); return *this; }
139 inline PutLaunchActionResult& AddParameters(const Aws::String& key, LaunchActionParameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
140 inline PutLaunchActionResult& AddParameters(Aws::String&& key, LaunchActionParameter&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; }
141 inline PutLaunchActionResult& AddParameters(const char* key, LaunchActionParameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
142 inline PutLaunchActionResult& AddParameters(const char* key, const LaunchActionParameter& value) { m_parameters.emplace(key, value); return *this; }
144
146
147 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
148 inline void SetResourceId(const Aws::String& value) { m_resourceId = value; }
149 inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); }
150 inline void SetResourceId(const char* value) { m_resourceId.assign(value); }
151 inline PutLaunchActionResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
152 inline PutLaunchActionResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
153 inline PutLaunchActionResult& WithResourceId(const char* value) { SetResourceId(value); return *this;}
155
157
160 inline const LaunchActionType& GetType() const{ return m_type; }
161 inline void SetType(const LaunchActionType& value) { m_type = value; }
162 inline void SetType(LaunchActionType&& value) { m_type = std::move(value); }
163 inline PutLaunchActionResult& WithType(const LaunchActionType& value) { SetType(value); return *this;}
164 inline PutLaunchActionResult& WithType(LaunchActionType&& value) { SetType(std::move(value)); return *this;}
166
168
169 inline const Aws::String& GetRequestId() const{ return m_requestId; }
170 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
171 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
172 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
173 inline PutLaunchActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
174 inline PutLaunchActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
175 inline PutLaunchActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
177 private:
178
179 Aws::String m_actionCode;
180
181 Aws::String m_actionId;
182
183 Aws::String m_actionVersion;
184
185 bool m_active;
186
187 LaunchActionCategory m_category;
188
189 Aws::String m_description;
190
191 Aws::String m_name;
192
193 bool m_optional;
194
195 int m_order;
196
198
199 Aws::String m_resourceId;
200
201 LaunchActionType m_type;
202
203 Aws::String m_requestId;
204 };
205
206} // namespace Model
207} // namespace drs
208} // namespace Aws
void SetParameters(Aws::Map< Aws::String, LaunchActionParameter > &&value)
PutLaunchActionResult & WithActionId(Aws::String &&value)
PutLaunchActionResult & WithActionId(const char *value)
PutLaunchActionResult & WithCategory(LaunchActionCategory &&value)
PutLaunchActionResult & WithActionCode(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetDescription(const Aws::String &value)
PutLaunchActionResult & WithParameters(Aws::Map< Aws::String, LaunchActionParameter > &&value)
PutLaunchActionResult & WithName(const Aws::String &value)
void SetCategory(const LaunchActionCategory &value)
PutLaunchActionResult & WithActionId(const Aws::String &value)
PutLaunchActionResult & WithName(const char *value)
void SetActionCode(const Aws::String &value)
PutLaunchActionResult & WithType(const LaunchActionType &value)
PutLaunchActionResult & AddParameters(const char *key, LaunchActionParameter &&value)
PutLaunchActionResult & WithOrder(int value)
void SetCategory(LaunchActionCategory &&value)
const LaunchActionType & GetType() const
const Aws::Map< Aws::String, LaunchActionParameter > & GetParameters() const
const LaunchActionCategory & GetCategory() const
PutLaunchActionResult & WithCategory(const LaunchActionCategory &value)
void SetActionId(const Aws::String &value)
PutLaunchActionResult & WithRequestId(const char *value)
PutLaunchActionResult & WithRequestId(Aws::String &&value)
AWS_DRS_API PutLaunchActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutLaunchActionResult & AddParameters(const Aws::String &key, const LaunchActionParameter &value)
void SetResourceId(const Aws::String &value)
const Aws::String & GetActionVersion() const
AWS_DRS_API PutLaunchActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutLaunchActionResult & WithResourceId(Aws::String &&value)
void SetActionVersion(const Aws::String &value)
PutLaunchActionResult & WithParameters(const Aws::Map< Aws::String, LaunchActionParameter > &value)
PutLaunchActionResult & WithDescription(const char *value)
PutLaunchActionResult & WithType(LaunchActionType &&value)
PutLaunchActionResult & WithOptional(bool value)
PutLaunchActionResult & WithName(Aws::String &&value)
PutLaunchActionResult & WithActionVersion(Aws::String &&value)
PutLaunchActionResult & WithDescription(const Aws::String &value)
PutLaunchActionResult & WithActionVersion(const char *value)
void SetType(const LaunchActionType &value)
PutLaunchActionResult & WithDescription(Aws::String &&value)
PutLaunchActionResult & AddParameters(const char *key, const LaunchActionParameter &value)
PutLaunchActionResult & WithResourceId(const char *value)
PutLaunchActionResult & WithActionCode(const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, LaunchActionParameter > &value)
PutLaunchActionResult & WithActionCode(const char *value)
PutLaunchActionResult & AddParameters(const Aws::String &key, LaunchActionParameter &&value)
PutLaunchActionResult & AddParameters(Aws::String &&key, const LaunchActionParameter &value)
PutLaunchActionResult & WithActionVersion(const Aws::String &value)
PutLaunchActionResult & WithRequestId(const Aws::String &value)
PutLaunchActionResult & WithResourceId(const Aws::String &value)
PutLaunchActionResult & AddParameters(Aws::String &&key, LaunchActionParameter &&value)
PutLaunchActionResult & WithActive(bool value)
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
Aws::Utils::Json::JsonValue JsonValue