AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
35 AWS_MGN_API PutTemplateActionResult() = default;
38
39
41
44 inline const Aws::String& GetActionID() const { return m_actionID; }
45 template<typename ActionIDT = Aws::String>
46 void SetActionID(ActionIDT&& value) { m_actionIDHasBeenSet = true; m_actionID = std::forward<ActionIDT>(value); }
47 template<typename ActionIDT = Aws::String>
48 PutTemplateActionResult& WithActionID(ActionIDT&& value) { SetActionID(std::forward<ActionIDT>(value)); return *this;}
50
52
55 inline const Aws::String& GetActionName() const { return m_actionName; }
56 template<typename ActionNameT = Aws::String>
57 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet = true; m_actionName = std::forward<ActionNameT>(value); }
58 template<typename ActionNameT = Aws::String>
59 PutTemplateActionResult& WithActionName(ActionNameT&& value) { SetActionName(std::forward<ActionNameT>(value)); return *this;}
61
63
66 inline bool GetActive() const { return m_active; }
67 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
68 inline PutTemplateActionResult& WithActive(bool value) { SetActive(value); return *this;}
70
72
75 inline ActionCategory GetCategory() const { return m_category; }
76 inline void SetCategory(ActionCategory value) { m_categoryHasBeenSet = true; m_category = value; }
77 inline PutTemplateActionResult& WithCategory(ActionCategory value) { SetCategory(value); return *this;}
79
81
84 inline const Aws::String& GetDescription() const { return m_description; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 PutTemplateActionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
95 inline const Aws::String& GetDocumentIdentifier() const { return m_documentIdentifier; }
96 template<typename DocumentIdentifierT = Aws::String>
97 void SetDocumentIdentifier(DocumentIdentifierT&& value) { m_documentIdentifierHasBeenSet = true; m_documentIdentifier = std::forward<DocumentIdentifierT>(value); }
98 template<typename DocumentIdentifierT = Aws::String>
99 PutTemplateActionResult& WithDocumentIdentifier(DocumentIdentifierT&& value) { SetDocumentIdentifier(std::forward<DocumentIdentifierT>(value)); return *this;}
101
103
106 inline const Aws::String& GetDocumentVersion() const { return m_documentVersion; }
107 template<typename DocumentVersionT = Aws::String>
108 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::forward<DocumentVersionT>(value); }
109 template<typename DocumentVersionT = Aws::String>
110 PutTemplateActionResult& WithDocumentVersion(DocumentVersionT&& value) { SetDocumentVersion(std::forward<DocumentVersionT>(value)); return *this;}
112
114
117 inline const Aws::Map<Aws::String, SsmExternalParameter>& GetExternalParameters() const { return m_externalParameters; }
118 template<typename ExternalParametersT = Aws::Map<Aws::String, SsmExternalParameter>>
119 void SetExternalParameters(ExternalParametersT&& value) { m_externalParametersHasBeenSet = true; m_externalParameters = std::forward<ExternalParametersT>(value); }
120 template<typename ExternalParametersT = Aws::Map<Aws::String, SsmExternalParameter>>
121 PutTemplateActionResult& WithExternalParameters(ExternalParametersT&& value) { SetExternalParameters(std::forward<ExternalParametersT>(value)); return *this;}
122 template<typename ExternalParametersKeyT = Aws::String, typename ExternalParametersValueT = SsmExternalParameter>
123 PutTemplateActionResult& AddExternalParameters(ExternalParametersKeyT&& key, ExternalParametersValueT&& value) {
124 m_externalParametersHasBeenSet = true; m_externalParameters.emplace(std::forward<ExternalParametersKeyT>(key), std::forward<ExternalParametersValueT>(value)); return *this;
125 }
127
129
132 inline bool GetMustSucceedForCutover() const { return m_mustSucceedForCutover; }
133 inline void SetMustSucceedForCutover(bool value) { m_mustSucceedForCutoverHasBeenSet = true; m_mustSucceedForCutover = value; }
136
138
141 inline const Aws::String& GetOperatingSystem() const { return m_operatingSystem; }
142 template<typename OperatingSystemT = Aws::String>
143 void SetOperatingSystem(OperatingSystemT&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::forward<OperatingSystemT>(value); }
144 template<typename OperatingSystemT = Aws::String>
145 PutTemplateActionResult& WithOperatingSystem(OperatingSystemT&& value) { SetOperatingSystem(std::forward<OperatingSystemT>(value)); return *this;}
147
149
152 inline int GetOrder() const { return m_order; }
153 inline void SetOrder(int value) { m_orderHasBeenSet = true; m_order = value; }
154 inline PutTemplateActionResult& WithOrder(int value) { SetOrder(value); return *this;}
156
158
162 template<typename ParametersT = Aws::Map<Aws::String, Aws::Vector<SsmParameterStoreParameter>>>
163 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
164 template<typename ParametersT = Aws::Map<Aws::String, Aws::Vector<SsmParameterStoreParameter>>>
165 PutTemplateActionResult& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
166 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::Vector<SsmParameterStoreParameter>>
167 PutTemplateActionResult& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
168 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
169 }
171
173
176 inline int GetTimeoutSeconds() const { return m_timeoutSeconds; }
177 inline void SetTimeoutSeconds(int value) { m_timeoutSecondsHasBeenSet = true; m_timeoutSeconds = value; }
178 inline PutTemplateActionResult& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;}
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 template<typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
186 template<typename RequestIdT = Aws::String>
187 PutTemplateActionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
189 private:
190
191 Aws::String m_actionID;
192 bool m_actionIDHasBeenSet = false;
193
194 Aws::String m_actionName;
195 bool m_actionNameHasBeenSet = false;
196
197 bool m_active{false};
198 bool m_activeHasBeenSet = false;
199
201 bool m_categoryHasBeenSet = false;
202
203 Aws::String m_description;
204 bool m_descriptionHasBeenSet = false;
205
206 Aws::String m_documentIdentifier;
207 bool m_documentIdentifierHasBeenSet = false;
208
209 Aws::String m_documentVersion;
210 bool m_documentVersionHasBeenSet = false;
211
213 bool m_externalParametersHasBeenSet = false;
214
215 bool m_mustSucceedForCutover{false};
216 bool m_mustSucceedForCutoverHasBeenSet = false;
217
218 Aws::String m_operatingSystem;
219 bool m_operatingSystemHasBeenSet = false;
220
221 int m_order{0};
222 bool m_orderHasBeenSet = false;
223
225 bool m_parametersHasBeenSet = false;
226
227 int m_timeoutSeconds{0};
228 bool m_timeoutSecondsHasBeenSet = false;
229
230 Aws::String m_requestId;
231 bool m_requestIdHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace mgn
236} // namespace Aws
void SetDocumentIdentifier(DocumentIdentifierT &&value)
AWS_MGN_API PutTemplateActionResult()=default
PutTemplateActionResult & WithParameters(ParametersT &&value)
PutTemplateActionResult & WithActionID(ActionIDT &&value)
const Aws::Map< Aws::String, Aws::Vector< SsmParameterStoreParameter > > & GetParameters() const
PutTemplateActionResult & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
PutTemplateActionResult & WithActionName(ActionNameT &&value)
void SetOperatingSystem(OperatingSystemT &&value)
void SetExternalParameters(ExternalParametersT &&value)
PutTemplateActionResult & WithDocumentIdentifier(DocumentIdentifierT &&value)
AWS_MGN_API PutTemplateActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutTemplateActionResult & WithMustSucceedForCutover(bool value)
PutTemplateActionResult & WithRequestId(RequestIdT &&value)
PutTemplateActionResult & WithTimeoutSeconds(int value)
PutTemplateActionResult & WithDocumentVersion(DocumentVersionT &&value)
PutTemplateActionResult & WithExternalParameters(ExternalParametersT &&value)
PutTemplateActionResult & WithCategory(ActionCategory value)
AWS_MGN_API PutTemplateActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDocumentVersion(DocumentVersionT &&value)
PutTemplateActionResult & WithDescription(DescriptionT &&value)
PutTemplateActionResult & AddExternalParameters(ExternalParametersKeyT &&key, ExternalParametersValueT &&value)
PutTemplateActionResult & WithOperatingSystem(OperatingSystemT &&value)
const Aws::Map< Aws::String, SsmExternalParameter > & GetExternalParameters() const
PutTemplateActionResult & WithActive(bool value)
PutTemplateActionResult & WithOrder(int 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