AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeChangeSetResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/cloudformation/model/ExecutionStatus.h>
12#include <aws/cloudformation/model/ChangeSetStatus.h>
13#include <aws/cloudformation/model/RollbackConfiguration.h>
14#include <aws/cloudformation/model/OnStackFailure.h>
15#include <aws/cloudformation/model/ResponseMetadata.h>
16#include <aws/cloudformation/model/Parameter.h>
17#include <aws/cloudformation/model/Capability.h>
18#include <aws/cloudformation/model/Tag.h>
19#include <aws/cloudformation/model/Change.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Xml
30{
31 class XmlDocument;
32} // namespace Xml
33} // namespace Utils
34namespace CloudFormation
35{
36namespace Model
37{
45 {
46 public:
47 AWS_CLOUDFORMATION_API DescribeChangeSetResult();
50
51
53
56 inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; }
57 inline void SetChangeSetName(const Aws::String& value) { m_changeSetName = value; }
58 inline void SetChangeSetName(Aws::String&& value) { m_changeSetName = std::move(value); }
59 inline void SetChangeSetName(const char* value) { m_changeSetName.assign(value); }
60 inline DescribeChangeSetResult& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;}
61 inline DescribeChangeSetResult& WithChangeSetName(Aws::String&& value) { SetChangeSetName(std::move(value)); return *this;}
62 inline DescribeChangeSetResult& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;}
64
66
69 inline const Aws::String& GetChangeSetId() const{ return m_changeSetId; }
70 inline void SetChangeSetId(const Aws::String& value) { m_changeSetId = value; }
71 inline void SetChangeSetId(Aws::String&& value) { m_changeSetId = std::move(value); }
72 inline void SetChangeSetId(const char* value) { m_changeSetId.assign(value); }
73 inline DescribeChangeSetResult& WithChangeSetId(const Aws::String& value) { SetChangeSetId(value); return *this;}
74 inline DescribeChangeSetResult& WithChangeSetId(Aws::String&& value) { SetChangeSetId(std::move(value)); return *this;}
75 inline DescribeChangeSetResult& WithChangeSetId(const char* value) { SetChangeSetId(value); return *this;}
77
79
83 inline const Aws::String& GetStackId() const{ return m_stackId; }
84 inline void SetStackId(const Aws::String& value) { m_stackId = value; }
85 inline void SetStackId(Aws::String&& value) { m_stackId = std::move(value); }
86 inline void SetStackId(const char* value) { m_stackId.assign(value); }
87 inline DescribeChangeSetResult& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
88 inline DescribeChangeSetResult& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
89 inline DescribeChangeSetResult& WithStackId(const char* value) { SetStackId(value); return *this;}
91
93
96 inline const Aws::String& GetStackName() const{ return m_stackName; }
97 inline void SetStackName(const Aws::String& value) { m_stackName = value; }
98 inline void SetStackName(Aws::String&& value) { m_stackName = std::move(value); }
99 inline void SetStackName(const char* value) { m_stackName.assign(value); }
100 inline DescribeChangeSetResult& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
101 inline DescribeChangeSetResult& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
102 inline DescribeChangeSetResult& WithStackName(const char* value) { SetStackName(value); return *this;}
104
106
109 inline const Aws::String& GetDescription() const{ return m_description; }
110 inline void SetDescription(const Aws::String& value) { m_description = value; }
111 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
112 inline void SetDescription(const char* value) { m_description.assign(value); }
113 inline DescribeChangeSetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114 inline DescribeChangeSetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 inline DescribeChangeSetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
117
119
126 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
127 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parameters = value; }
128 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parameters = std::move(value); }
129 inline DescribeChangeSetResult& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
130 inline DescribeChangeSetResult& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
131 inline DescribeChangeSetResult& AddParameters(const Parameter& value) { m_parameters.push_back(value); return *this; }
132 inline DescribeChangeSetResult& AddParameters(Parameter&& value) { m_parameters.push_back(std::move(value)); return *this; }
134
136
139 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
140 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
141 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
143 inline DescribeChangeSetResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
145
147
154 inline const ExecutionStatus& GetExecutionStatus() const{ return m_executionStatus; }
155 inline void SetExecutionStatus(const ExecutionStatus& value) { m_executionStatus = value; }
156 inline void SetExecutionStatus(ExecutionStatus&& value) { m_executionStatus = std::move(value); }
158 inline DescribeChangeSetResult& WithExecutionStatus(ExecutionStatus&& value) { SetExecutionStatus(std::move(value)); return *this;}
160
162
167 inline const ChangeSetStatus& GetStatus() const{ return m_status; }
168 inline void SetStatus(const ChangeSetStatus& value) { m_status = value; }
169 inline void SetStatus(ChangeSetStatus&& value) { m_status = std::move(value); }
170 inline DescribeChangeSetResult& WithStatus(const ChangeSetStatus& value) { SetStatus(value); return *this;}
171 inline DescribeChangeSetResult& WithStatus(ChangeSetStatus&& value) { SetStatus(std::move(value)); return *this;}
173
175
179 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
180 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
181 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
182 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
183 inline DescribeChangeSetResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
184 inline DescribeChangeSetResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
185 inline DescribeChangeSetResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
187
189
193 inline const Aws::Vector<Aws::String>& GetNotificationARNs() const{ return m_notificationARNs; }
194 inline void SetNotificationARNs(const Aws::Vector<Aws::String>& value) { m_notificationARNs = value; }
195 inline void SetNotificationARNs(Aws::Vector<Aws::String>&& value) { m_notificationARNs = std::move(value); }
198 inline DescribeChangeSetResult& AddNotificationARNs(const Aws::String& value) { m_notificationARNs.push_back(value); return *this; }
199 inline DescribeChangeSetResult& AddNotificationARNs(Aws::String&& value) { m_notificationARNs.push_back(std::move(value)); return *this; }
200 inline DescribeChangeSetResult& AddNotificationARNs(const char* value) { m_notificationARNs.push_back(value); return *this; }
202
204
208 inline const RollbackConfiguration& GetRollbackConfiguration() const{ return m_rollbackConfiguration; }
209 inline void SetRollbackConfiguration(const RollbackConfiguration& value) { m_rollbackConfiguration = value; }
210 inline void SetRollbackConfiguration(RollbackConfiguration&& value) { m_rollbackConfiguration = std::move(value); }
214
216
220 inline const Aws::Vector<Capability>& GetCapabilities() const{ return m_capabilities; }
221 inline void SetCapabilities(const Aws::Vector<Capability>& value) { m_capabilities = value; }
222 inline void SetCapabilities(Aws::Vector<Capability>&& value) { m_capabilities = std::move(value); }
224 inline DescribeChangeSetResult& WithCapabilities(Aws::Vector<Capability>&& value) { SetCapabilities(std::move(value)); return *this;}
225 inline DescribeChangeSetResult& AddCapabilities(const Capability& value) { m_capabilities.push_back(value); return *this; }
226 inline DescribeChangeSetResult& AddCapabilities(Capability&& value) { m_capabilities.push_back(std::move(value)); return *this; }
228
230
234 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
235 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
236 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
237 inline DescribeChangeSetResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
238 inline DescribeChangeSetResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
239 inline DescribeChangeSetResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
240 inline DescribeChangeSetResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
242
244
248 inline const Aws::Vector<Change>& GetChanges() const{ return m_changes; }
249 inline void SetChanges(const Aws::Vector<Change>& value) { m_changes = value; }
250 inline void SetChanges(Aws::Vector<Change>&& value) { m_changes = std::move(value); }
251 inline DescribeChangeSetResult& WithChanges(const Aws::Vector<Change>& value) { SetChanges(value); return *this;}
252 inline DescribeChangeSetResult& WithChanges(Aws::Vector<Change>&& value) { SetChanges(std::move(value)); return *this;}
253 inline DescribeChangeSetResult& AddChanges(const Change& value) { m_changes.push_back(value); return *this; }
254 inline DescribeChangeSetResult& AddChanges(Change&& value) { m_changes.push_back(std::move(value)); return *this; }
256
258
262 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
263 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
264 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
265 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
266 inline DescribeChangeSetResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
267 inline DescribeChangeSetResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
268 inline DescribeChangeSetResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
270
272
275 inline bool GetIncludeNestedStacks() const{ return m_includeNestedStacks; }
276 inline void SetIncludeNestedStacks(bool value) { m_includeNestedStacks = value; }
277 inline DescribeChangeSetResult& WithIncludeNestedStacks(bool value) { SetIncludeNestedStacks(value); return *this;}
279
281
285 inline const Aws::String& GetParentChangeSetId() const{ return m_parentChangeSetId; }
286 inline void SetParentChangeSetId(const Aws::String& value) { m_parentChangeSetId = value; }
287 inline void SetParentChangeSetId(Aws::String&& value) { m_parentChangeSetId = std::move(value); }
288 inline void SetParentChangeSetId(const char* value) { m_parentChangeSetId.assign(value); }
290 inline DescribeChangeSetResult& WithParentChangeSetId(Aws::String&& value) { SetParentChangeSetId(std::move(value)); return *this;}
291 inline DescribeChangeSetResult& WithParentChangeSetId(const char* value) { SetParentChangeSetId(value); return *this;}
293
295
299 inline const Aws::String& GetRootChangeSetId() const{ return m_rootChangeSetId; }
300 inline void SetRootChangeSetId(const Aws::String& value) { m_rootChangeSetId = value; }
301 inline void SetRootChangeSetId(Aws::String&& value) { m_rootChangeSetId = std::move(value); }
302 inline void SetRootChangeSetId(const char* value) { m_rootChangeSetId.assign(value); }
303 inline DescribeChangeSetResult& WithRootChangeSetId(const Aws::String& value) { SetRootChangeSetId(value); return *this;}
304 inline DescribeChangeSetResult& WithRootChangeSetId(Aws::String&& value) { SetRootChangeSetId(std::move(value)); return *this;}
305 inline DescribeChangeSetResult& WithRootChangeSetId(const char* value) { SetRootChangeSetId(value); return *this;}
307
309
327 inline const OnStackFailure& GetOnStackFailure() const{ return m_onStackFailure; }
328 inline void SetOnStackFailure(const OnStackFailure& value) { m_onStackFailure = value; }
329 inline void SetOnStackFailure(OnStackFailure&& value) { m_onStackFailure = std::move(value); }
330 inline DescribeChangeSetResult& WithOnStackFailure(const OnStackFailure& value) { SetOnStackFailure(value); return *this;}
331 inline DescribeChangeSetResult& WithOnStackFailure(OnStackFailure&& value) { SetOnStackFailure(std::move(value)); return *this;}
333
335
344 inline bool GetImportExistingResources() const{ return m_importExistingResources; }
345 inline void SetImportExistingResources(bool value) { m_importExistingResources = value; }
348
350
351 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
352 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
353 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
355 inline DescribeChangeSetResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
357 private:
358
359 Aws::String m_changeSetName;
360
361 Aws::String m_changeSetId;
362
363 Aws::String m_stackId;
364
365 Aws::String m_stackName;
366
367 Aws::String m_description;
368
369 Aws::Vector<Parameter> m_parameters;
370
371 Aws::Utils::DateTime m_creationTime;
372
373 ExecutionStatus m_executionStatus;
374
375 ChangeSetStatus m_status;
376
377 Aws::String m_statusReason;
378
379 Aws::Vector<Aws::String> m_notificationARNs;
380
381 RollbackConfiguration m_rollbackConfiguration;
382
383 Aws::Vector<Capability> m_capabilities;
384
385 Aws::Vector<Tag> m_tags;
386
387 Aws::Vector<Change> m_changes;
388
389 Aws::String m_nextToken;
390
391 bool m_includeNestedStacks;
392
393 Aws::String m_parentChangeSetId;
394
395 Aws::String m_rootChangeSetId;
396
397 OnStackFailure m_onStackFailure;
398
399 bool m_importExistingResources;
400
401 ResponseMetadata m_responseMetadata;
402 };
403
404} // namespace Model
405} // namespace CloudFormation
406} // namespace Aws
DescribeChangeSetResult & WithStatus(const ChangeSetStatus &value)
DescribeChangeSetResult & WithParameters(Aws::Vector< Parameter > &&value)
DescribeChangeSetResult & AddParameters(const Parameter &value)
DescribeChangeSetResult & WithCapabilities(Aws::Vector< Capability > &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeChangeSetResult & WithStatusReason(const Aws::String &value)
DescribeChangeSetResult & WithExecutionStatus(ExecutionStatus &&value)
DescribeChangeSetResult & WithDescription(const char *value)
DescribeChangeSetResult & WithCapabilities(const Aws::Vector< Capability > &value)
DescribeChangeSetResult & WithParentChangeSetId(const Aws::String &value)
DescribeChangeSetResult & WithNextToken(const Aws::String &value)
void SetChanges(const Aws::Vector< Change > &value)
DescribeChangeSetResult & WithIncludeNestedStacks(bool value)
DescribeChangeSetResult & WithNextToken(Aws::String &&value)
DescribeChangeSetResult & WithChangeSetId(Aws::String &&value)
DescribeChangeSetResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetRollbackConfiguration(RollbackConfiguration &&value)
DescribeChangeSetResult & WithRollbackConfiguration(const RollbackConfiguration &value)
DescribeChangeSetResult & WithRootChangeSetId(const Aws::String &value)
DescribeChangeSetResult & WithTags(Aws::Vector< Tag > &&value)
DescribeChangeSetResult & AddChanges(const Change &value)
DescribeChangeSetResult & WithExecutionStatus(const ExecutionStatus &value)
DescribeChangeSetResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeChangeSetResult & AddCapabilities(Capability &&value)
DescribeChangeSetResult & WithStatus(ChangeSetStatus &&value)
DescribeChangeSetResult & WithParentChangeSetId(const char *value)
const Aws::Vector< Aws::String > & GetNotificationARNs() const
DescribeChangeSetResult & WithStatusReason(const char *value)
DescribeChangeSetResult & WithStackId(const char *value)
DescribeChangeSetResult & WithRootChangeSetId(Aws::String &&value)
void SetCapabilities(Aws::Vector< Capability > &&value)
void SetCapabilities(const Aws::Vector< Capability > &value)
DescribeChangeSetResult & WithStackName(const char *value)
DescribeChangeSetResult & WithTags(const Aws::Vector< Tag > &value)
DescribeChangeSetResult & AddNotificationARNs(const Aws::String &value)
DescribeChangeSetResult & WithImportExistingResources(bool value)
void SetRollbackConfiguration(const RollbackConfiguration &value)
DescribeChangeSetResult & WithOnStackFailure(const OnStackFailure &value)
DescribeChangeSetResult & AddParameters(Parameter &&value)
DescribeChangeSetResult & WithStackId(Aws::String &&value)
DescribeChangeSetResult & WithStatusReason(Aws::String &&value)
DescribeChangeSetResult & AddTags(const Tag &value)
DescribeChangeSetResult & WithChangeSetId(const Aws::String &value)
DescribeChangeSetResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeChangeSetResult & WithChanges(const Aws::Vector< Change > &value)
DescribeChangeSetResult & WithDescription(Aws::String &&value)
DescribeChangeSetResult & WithNotificationARNs(Aws::Vector< Aws::String > &&value)
DescribeChangeSetResult & AddCapabilities(const Capability &value)
const Aws::Vector< Capability > & GetCapabilities() const
void SetParameters(const Aws::Vector< Parameter > &value)
DescribeChangeSetResult & WithRollbackConfiguration(RollbackConfiguration &&value)
DescribeChangeSetResult & WithChangeSetId(const char *value)
DescribeChangeSetResult & WithStackId(const Aws::String &value)
DescribeChangeSetResult & WithChangeSetName(const char *value)
DescribeChangeSetResult & WithDescription(const Aws::String &value)
DescribeChangeSetResult & WithNextToken(const char *value)
DescribeChangeSetResult & WithStackName(Aws::String &&value)
DescribeChangeSetResult & WithRootChangeSetId(const char *value)
const RollbackConfiguration & GetRollbackConfiguration() const
DescribeChangeSetResult & WithStackName(const Aws::String &value)
const Aws::Vector< Parameter > & GetParameters() const
AWS_CLOUDFORMATION_API DescribeChangeSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeChangeSetResult & WithChangeSetName(const Aws::String &value)
DescribeChangeSetResult & WithChangeSetName(Aws::String &&value)
DescribeChangeSetResult & WithParameters(const Aws::Vector< Parameter > &value)
DescribeChangeSetResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeChangeSetResult & AddNotificationARNs(Aws::String &&value)
DescribeChangeSetResult & WithNotificationARNs(const Aws::Vector< Aws::String > &value)
void SetNotificationARNs(const Aws::Vector< Aws::String > &value)
void SetNotificationARNs(Aws::Vector< Aws::String > &&value)
DescribeChangeSetResult & AddChanges(Change &&value)
DescribeChangeSetResult & AddNotificationARNs(const char *value)
DescribeChangeSetResult & WithChanges(Aws::Vector< Change > &&value)
AWS_CLOUDFORMATION_API DescribeChangeSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeChangeSetResult & WithParentChangeSetId(Aws::String &&value)
DescribeChangeSetResult & WithOnStackFailure(OnStackFailure &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument