AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutSourceServerActionResult.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 PutSourceServerActionResult& WithActionID(const Aws::String& value) { SetActionID(value); return *this;}
49 inline PutSourceServerActionResult& WithActionID(Aws::String&& value) { SetActionID(std::move(value)); return *this;}
50 inline PutSourceServerActionResult& 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 PutSourceServerActionResult& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
62 inline PutSourceServerActionResult& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
63 inline PutSourceServerActionResult& 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 PutSourceServerActionResult& 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 PutSourceServerActionResult& WithCategory(const ActionCategory& value) { SetCategory(value); return *this;}
83 inline PutSourceServerActionResult& 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 PutSourceServerActionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline PutSourceServerActionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline PutSourceServerActionResult& 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 PutSourceServerActionResult& WithDocumentIdentifier(Aws::String&& value) { SetDocumentIdentifier(std::move(value)); return *this;}
109 inline PutSourceServerActionResult& 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); }
121 inline PutSourceServerActionResult& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
122 inline PutSourceServerActionResult& 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 PutSourceServerActionResult& AddExternalParameters(const Aws::String& key, const SsmExternalParameter& value) { m_externalParameters.emplace(key, value); return *this; }
135 inline PutSourceServerActionResult& AddExternalParameters(Aws::String&& key, const SsmExternalParameter& value) { m_externalParameters.emplace(std::move(key), value); return *this; }
136 inline PutSourceServerActionResult& AddExternalParameters(const Aws::String& key, SsmExternalParameter&& value) { m_externalParameters.emplace(key, std::move(value)); return *this; }
137 inline PutSourceServerActionResult& AddExternalParameters(Aws::String&& key, SsmExternalParameter&& value) { m_externalParameters.emplace(std::move(key), std::move(value)); return *this; }
138 inline PutSourceServerActionResult& AddExternalParameters(const char* key, SsmExternalParameter&& value) { m_externalParameters.emplace(key, std::move(value)); return *this; }
139 inline PutSourceServerActionResult& 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 int GetOrder() const{ return m_order; }
156 inline void SetOrder(int value) { m_order = value; }
157 inline PutSourceServerActionResult& WithOrder(int value) { SetOrder(value); return *this;}
159
161
165 inline void SetParameters(const Aws::Map<Aws::String, Aws::Vector<SsmParameterStoreParameter>>& value) { m_parameters = value; }
166 inline void SetParameters(Aws::Map<Aws::String, Aws::Vector<SsmParameterStoreParameter>>&& value) { m_parameters = std::move(value); }
169 inline PutSourceServerActionResult& AddParameters(const Aws::String& key, const Aws::Vector<SsmParameterStoreParameter>& value) { m_parameters.emplace(key, value); return *this; }
170 inline PutSourceServerActionResult& AddParameters(Aws::String&& key, const Aws::Vector<SsmParameterStoreParameter>& value) { m_parameters.emplace(std::move(key), value); return *this; }
171 inline PutSourceServerActionResult& AddParameters(const Aws::String& key, Aws::Vector<SsmParameterStoreParameter>&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
172 inline PutSourceServerActionResult& AddParameters(Aws::String&& key, Aws::Vector<SsmParameterStoreParameter>&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; }
173 inline PutSourceServerActionResult& AddParameters(const char* key, Aws::Vector<SsmParameterStoreParameter>&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
174 inline PutSourceServerActionResult& AddParameters(const char* key, const Aws::Vector<SsmParameterStoreParameter>& value) { m_parameters.emplace(key, value); return *this; }
176
178
181 inline int GetTimeoutSeconds() const{ return m_timeoutSeconds; }
182 inline void SetTimeoutSeconds(int value) { m_timeoutSeconds = value; }
183 inline PutSourceServerActionResult& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;}
185
187
188 inline const Aws::String& GetRequestId() const{ return m_requestId; }
189 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
190 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
191 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
192 inline PutSourceServerActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
193 inline PutSourceServerActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
194 inline PutSourceServerActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
196 private:
197
198 Aws::String m_actionID;
199
200 Aws::String m_actionName;
201
202 bool m_active;
203
204 ActionCategory m_category;
205
206 Aws::String m_description;
207
208 Aws::String m_documentIdentifier;
209
210 Aws::String m_documentVersion;
211
213
214 bool m_mustSucceedForCutover;
215
216 int m_order;
217
219
220 int m_timeoutSeconds;
221
222 Aws::String m_requestId;
223 };
224
225} // namespace Model
226} // namespace mgn
227} // namespace Aws
PutSourceServerActionResult & WithActionName(const Aws::String &value)
PutSourceServerActionResult & AddExternalParameters(const char *key, SsmExternalParameter &&value)
PutSourceServerActionResult & WithRequestId(Aws::String &&value)
AWS_MGN_API PutSourceServerActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
PutSourceServerActionResult & WithParameters(Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &&value)
PutSourceServerActionResult & WithDocumentIdentifier(Aws::String &&value)
PutSourceServerActionResult & WithRequestId(const char *value)
PutSourceServerActionResult & WithDocumentIdentifier(const char *value)
PutSourceServerActionResult & AddParameters(Aws::String &&key, const Aws::Vector< SsmParameterStoreParameter > &value)
PutSourceServerActionResult & WithActionName(Aws::String &&value)
PutSourceServerActionResult & AddParameters(const char *key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutSourceServerActionResult & AddExternalParameters(Aws::String &&key, SsmExternalParameter &&value)
PutSourceServerActionResult & WithMustSucceedForCutover(bool value)
AWS_MGN_API PutSourceServerActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutSourceServerActionResult & WithDocumentVersion(const Aws::String &value)
PutSourceServerActionResult & AddParameters(const char *key, const Aws::Vector< SsmParameterStoreParameter > &value)
void SetExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
PutSourceServerActionResult & AddExternalParameters(const Aws::String &key, SsmExternalParameter &&value)
PutSourceServerActionResult & WithExternalParameters(Aws::Map< Aws::String, SsmExternalParameter > &&value)
PutSourceServerActionResult & AddExternalParameters(Aws::String &&key, const SsmExternalParameter &value)
PutSourceServerActionResult & WithDescription(const Aws::String &value)
PutSourceServerActionResult & WithCategory(ActionCategory &&value)
PutSourceServerActionResult & AddExternalParameters(const Aws::String &key, const SsmExternalParameter &value)
PutSourceServerActionResult & AddParameters(const Aws::String &key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutSourceServerActionResult & AddParameters(const Aws::String &key, const Aws::Vector< SsmParameterStoreParameter > &value)
PutSourceServerActionResult & WithTimeoutSeconds(int value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
PutSourceServerActionResult & WithActionID(const Aws::String &value)
PutSourceServerActionResult & WithActionID(Aws::String &&value)
PutSourceServerActionResult & WithActionName(const char *value)
PutSourceServerActionResult & WithParameters(const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > &value)
PutSourceServerActionResult & WithDocumentVersion(const char *value)
PutSourceServerActionResult & WithActive(bool value)
void SetExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
PutSourceServerActionResult & WithDescription(const char *value)
PutSourceServerActionResult & WithCategory(const ActionCategory &value)
PutSourceServerActionResult & WithOrder(int value)
const Aws::Map< Aws::String, SsmExternalParameter > & GetExternalParameters() const
PutSourceServerActionResult & AddParameters(Aws::String &&key, Aws::Vector< SsmParameterStoreParameter > &&value)
PutSourceServerActionResult & WithActionID(const char *value)
PutSourceServerActionResult & WithRequestId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > & GetParameters() const
PutSourceServerActionResult & WithDescription(Aws::String &&value)
PutSourceServerActionResult & WithDocumentVersion(Aws::String &&value)
PutSourceServerActionResult & WithExternalParameters(const Aws::Map< Aws::String, SsmExternalParameter > &value)
PutSourceServerActionResult & WithDocumentIdentifier(const Aws::String &value)
PutSourceServerActionResult & AddExternalParameters(const char *key, const SsmExternalParameter &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