AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutTemplateActionResult.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/ActionCategory.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/mgn/model/SsmExternalParameter.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/mgn/model/SsmParameterStoreParameter.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace mgn
29{
30namespace Model
31{
33 {
34 public:
38
39
41
44 inline const Aws::String& GetActionID() const{ return m_actionID; }
45 inline void SetActionID(const Aws::String& value) { m_actionID = value; }
46 inline void SetActionID(Aws::String&& value) { m_actionID = std::move(value); }
47 inline void SetActionID(const char* value) { m_actionID.assign(value); }
48 inline PutTemplateActionResult& WithActionID(const Aws::String& value) { SetActionID(value); return *this;}
49 inline PutTemplateActionResult& WithActionID(Aws::String&& value) { SetActionID(std::move(value)); return *this;}
50 inline PutTemplateActionResult& WithActionID(const char* value) { SetActionID(value); return *this;}
52
54
57 inline const Aws::String& GetActionName() const{ return m_actionName; }
58 inline void SetActionName(const Aws::String& value) { m_actionName = value; }
59 inline void SetActionName(Aws::String&& value) { m_actionName = std::move(value); }
60 inline void SetActionName(const char* value) { m_actionName.assign(value); }
61 inline PutTemplateActionResult& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
62 inline PutTemplateActionResult& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
63 inline PutTemplateActionResult& WithActionName(const char* value) { SetActionName(value); return *this;}
65
67
70 inline bool GetActive() const{ return m_active; }
71 inline void SetActive(bool value) { m_active = value; }
72 inline PutTemplateActionResult& WithActive(bool value) { SetActive(value); return *this;}
74
76
79 inline const ActionCategory& GetCategory() const{ return m_category; }
80 inline void SetCategory(const ActionCategory& value) { m_category = value; }
81 inline void SetCategory(ActionCategory&& value) { m_category = std::move(value); }
82 inline PutTemplateActionResult& WithCategory(const ActionCategory& value) { SetCategory(value); return *this;}
83 inline PutTemplateActionResult& WithCategory(ActionCategory&& value) { SetCategory(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetDescription() const{ return m_description; }
91 inline void SetDescription(const Aws::String& value) { m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_description.assign(value); }
94 inline PutTemplateActionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline PutTemplateActionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline PutTemplateActionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
103 inline const Aws::String& GetDocumentIdentifier() const{ return m_documentIdentifier; }
104 inline void SetDocumentIdentifier(const Aws::String& value) { m_documentIdentifier = value; }
105 inline void SetDocumentIdentifier(Aws::String&& value) { m_documentIdentifier = std::move(value); }
106 inline void SetDocumentIdentifier(const char* value) { m_documentIdentifier.assign(value); }
108 inline PutTemplateActionResult& WithDocumentIdentifier(Aws::String&& value) { SetDocumentIdentifier(std::move(value)); return *this;}
109 inline PutTemplateActionResult& WithDocumentIdentifier(const char* value) { SetDocumentIdentifier(value); return *this;}
111
113
116 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
117 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersion = value; }
118 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersion = std::move(value); }
119 inline void SetDocumentVersion(const char* value) { m_documentVersion.assign(value); }
120 inline PutTemplateActionResult& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;}
121 inline PutTemplateActionResult& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
122 inline PutTemplateActionResult& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
124
126
129 inline const Aws::Map<Aws::String, SsmExternalParameter>& GetExternalParameters() const{ return m_externalParameters; }
130 inline void SetExternalParameters(const Aws::Map<Aws::String, SsmExternalParameter>& value) { m_externalParameters = value; }
131 inline void SetExternalParameters(Aws::Map<Aws::String, SsmExternalParameter>&& value) { m_externalParameters = std::move(value); }
134 inline PutTemplateActionResult& AddExternalParameters(const Aws::String& key, const SsmExternalParameter& value) { m_externalParameters.emplace(key, value); return *this; }
135 inline PutTemplateActionResult& AddExternalParameters(Aws::String&& key, const SsmExternalParameter& value) { m_externalParameters.emplace(std::move(key), value); return *this; }
136 inline PutTemplateActionResult& AddExternalParameters(const Aws::String& key, SsmExternalParameter&& value) { m_externalParameters.emplace(key, std::move(value)); return *this; }
137 inline PutTemplateActionResult& AddExternalParameters(Aws::String&& key, SsmExternalParameter&& value) { m_externalParameters.emplace(std::move(key), std::move(value)); return *this; }
138 inline PutTemplateActionResult& AddExternalParameters(const char* key, SsmExternalParameter&& value) { m_externalParameters.emplace(key, std::move(value)); return *this; }
139 inline PutTemplateActionResult& AddExternalParameters(const char* key, const SsmExternalParameter& value) { m_externalParameters.emplace(key, value); return *this; }
141
143
146 inline bool GetMustSucceedForCutover() const{ return m_mustSucceedForCutover; }
147 inline void SetMustSucceedForCutover(bool value) { m_mustSucceedForCutover = value; }
150
152
155 inline const Aws::String& GetOperatingSystem() const{ return m_operatingSystem; }
156 inline void SetOperatingSystem(const Aws::String& value) { m_operatingSystem = value; }
157 inline void SetOperatingSystem(Aws::String&& value) { m_operatingSystem = std::move(value); }
158 inline void SetOperatingSystem(const char* value) { m_operatingSystem.assign(value); }
159 inline PutTemplateActionResult& WithOperatingSystem(const Aws::String& value) { SetOperatingSystem(value); return *this;}
160 inline PutTemplateActionResult& WithOperatingSystem(Aws::String&& value) { SetOperatingSystem(std::move(value)); return *this;}
161 inline PutTemplateActionResult& WithOperatingSystem(const char* value) { SetOperatingSystem(value); return *this;}
163
165
168 inline int GetOrder() const{ return m_order; }
169 inline void SetOrder(int value) { m_order = value; }
170 inline PutTemplateActionResult& WithOrder(int value) { SetOrder(value); return *this;}
172
174
178 inline void SetParameters(const Aws::Map<Aws::String, Aws::Vector<SsmParameterStoreParameter>>& value) { m_parameters = value; }
179 inline void SetParameters(Aws::Map<Aws::String, Aws::Vector<SsmParameterStoreParameter>>&& value) { m_parameters = std::move(value); }
182 inline PutTemplateActionResult& AddParameters(const Aws::String& key, const Aws::Vector<SsmParameterStoreParameter>& value) { m_parameters.emplace(key, value); return *this; }
183 inline PutTemplateActionResult& AddParameters(Aws::String&& key, const Aws::Vector<SsmParameterStoreParameter>& value) { m_parameters.emplace(std::move(key), value); return *this; }
184 inline PutTemplateActionResult& AddParameters(const Aws::String& key, Aws::Vector<SsmParameterStoreParameter>&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
185 inline PutTemplateActionResult& AddParameters(Aws::String&& key, Aws::Vector<SsmParameterStoreParameter>&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; }
186 inline PutTemplateActionResult& AddParameters(const char* key, Aws::Vector<SsmParameterStoreParameter>&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
187 inline PutTemplateActionResult& AddParameters(const char* key, const Aws::Vector<SsmParameterStoreParameter>& value) { m_parameters.emplace(key, value); return *this; }
189
191
194 inline int GetTimeoutSeconds() const{ return m_timeoutSeconds; }
195 inline void SetTimeoutSeconds(int value) { m_timeoutSeconds = value; }
196 inline PutTemplateActionResult& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;}
198
200
201 inline const Aws::String& GetRequestId() const{ return m_requestId; }
202 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
203 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
204 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
205 inline PutTemplateActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
206 inline PutTemplateActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
207 inline PutTemplateActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
209 private:
210
211 Aws::String m_actionID;
212
213 Aws::String m_actionName;
214
215 bool m_active;
216
217 ActionCategory m_category;
218
219 Aws::String m_description;
220
221 Aws::String m_documentIdentifier;
222
223 Aws::String m_documentVersion;
224
226
227 bool m_mustSucceedForCutover;
228
229 Aws::String m_operatingSystem;
230
231 int m_order;
232
234
235 int m_timeoutSeconds;
236
237 Aws::String m_requestId;
238 };
239
240} // namespace Model
241} // namespace mgn
242} // namespace Aws
void SetOperatingSystem(const Aws::String &value)
PutTemplateActionResult & WithRequestId(const char *value)
const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > & GetParameters() const
PutTemplateActionResult & AddExternalParameters(const Aws::String &key, const SsmExternalParameter &value)
PutTemplateActionResult & WithCategory(const ActionCategory &value)
PutTemplateActionResult & WithDocumentVersion(const char *value)
void SetExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
PutTemplateActionResult & WithOperatingSystem(Aws::String &&value)
PutTemplateActionResult & AddExternalParameters(const char *key, const SsmExternalParameter &value)
PutTemplateActionResult & WithDescription(const Aws::String &value)
PutTemplateActionResult & WithParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
PutTemplateActionResult & WithExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
PutTemplateActionResult & WithActionID(const char *value)
PutTemplateActionResult & WithDocumentVersion(const Aws::String &value)
AWS_MGN_API PutTemplateActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutTemplateActionResult & WithMustSucceedForCutover(bool value)
PutTemplateActionResult & WithTimeoutSeconds(int value)
PutTemplateActionResult & AddParameters(Aws::String &&key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutTemplateActionResult & WithActionID(Aws::String &&value)
PutTemplateActionResult & WithDocumentIdentifier(const Aws::String &value)
void SetExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
PutTemplateActionResult & WithActionID(const Aws::String &value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
PutTemplateActionResult & AddExternalParameters(const Aws::String &key, SsmExternalParameter &&value)
PutTemplateActionResult & WithRequestId(const Aws::String &value)
PutTemplateActionResult & WithActionName(const Aws::String &value)
PutTemplateActionResult & WithActionName(Aws::String &&value)
PutTemplateActionResult & WithDescription(Aws::String &&value)
PutTemplateActionResult & WithParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
PutTemplateActionResult & AddParameters(const char *key, Aws::Vector< SsmParameterStoreParameter > &&value)
void SetDocumentIdentifier(const Aws::String &value)
PutTemplateActionResult & WithExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
PutTemplateActionResult & AddParameters(const Aws::String &key, const Aws::Vector< SsmParameterStoreParameter > &value)
PutTemplateActionResult & AddParameters(const char *key, const Aws::Vector< SsmParameterStoreParameter > &value)
PutTemplateActionResult & WithActionName(const char *value)
PutTemplateActionResult & WithCategory(ActionCategory &&value)
AWS_MGN_API PutTemplateActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutTemplateActionResult & WithOperatingSystem(const Aws::String &value)
PutTemplateActionResult & WithDocumentIdentifier(const char *value)
PutTemplateActionResult & AddParameters(const Aws::String &key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutTemplateActionResult & WithRequestId(Aws::String &&value)
PutTemplateActionResult & AddParameters(Aws::String &&key, const Aws::Vector< SsmParameterStoreParameter > &value)
PutTemplateActionResult & AddExternalParameters(const char *key, SsmExternalParameter &&value)
PutTemplateActionResult & WithOperatingSystem(const char *value)
const Aws::Map< Aws::String, SsmExternalParameter > & GetExternalParameters() const
PutTemplateActionResult & WithActive(bool value)
PutTemplateActionResult & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
void SetDocumentVersion(const Aws::String &value)
PutTemplateActionResult & AddExternalParameters(Aws::String &&key, const SsmExternalParameter &value)
PutTemplateActionResult & AddExternalParameters(Aws::String &&key, SsmExternalParameter &&value)
PutTemplateActionResult & WithDocumentIdentifier(Aws::String &&value)
PutTemplateActionResult & WithOrder(int value)
void SetCategory(const ActionCategory &value)
PutTemplateActionResult & WithDocumentVersion(Aws::String &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue