AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChangeSetSummary.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudformation/model/ExecutionStatus.h>
11#include <aws/cloudformation/model/ChangeSetStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace CloudFormation
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLOUDFORMATION_API ChangeSetSummary();
39 AWS_CLOUDFORMATION_API ChangeSetSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_CLOUDFORMATION_API ChangeSetSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetStackId() const{ return m_stackId; }
51 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
52 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
53 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
54 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
55 inline ChangeSetSummary& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
56 inline ChangeSetSummary& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
57 inline ChangeSetSummary& WithStackId(const char* value) { SetStackId(value); return *this;}
59
61
64 inline const Aws::String& GetStackName() const{ return m_stackName; }
65 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
66 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
67 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
68 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
69 inline ChangeSetSummary& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
70 inline ChangeSetSummary& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
71 inline ChangeSetSummary& WithStackName(const char* value) { SetStackName(value); return *this;}
73
75
78 inline const Aws::String& GetChangeSetId() const{ return m_changeSetId; }
79 inline bool ChangeSetIdHasBeenSet() const { return m_changeSetIdHasBeenSet; }
80 inline void SetChangeSetId(const Aws::String& value) { m_changeSetIdHasBeenSet = true; m_changeSetId = value; }
81 inline void SetChangeSetId(Aws::String&& value) { m_changeSetIdHasBeenSet = true; m_changeSetId = std::move(value); }
82 inline void SetChangeSetId(const char* value) { m_changeSetIdHasBeenSet = true; m_changeSetId.assign(value); }
83 inline ChangeSetSummary& WithChangeSetId(const Aws::String& value) { SetChangeSetId(value); return *this;}
84 inline ChangeSetSummary& WithChangeSetId(Aws::String&& value) { SetChangeSetId(std::move(value)); return *this;}
85 inline ChangeSetSummary& WithChangeSetId(const char* value) { SetChangeSetId(value); return *this;}
87
89
92 inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; }
93 inline bool ChangeSetNameHasBeenSet() const { return m_changeSetNameHasBeenSet; }
94 inline void SetChangeSetName(const Aws::String& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = value; }
95 inline void SetChangeSetName(Aws::String&& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = std::move(value); }
96 inline void SetChangeSetName(const char* value) { m_changeSetNameHasBeenSet = true; m_changeSetName.assign(value); }
97 inline ChangeSetSummary& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;}
98 inline ChangeSetSummary& WithChangeSetName(Aws::String&& value) { SetChangeSetName(std::move(value)); return *this;}
99 inline ChangeSetSummary& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;}
101
103
110 inline const ExecutionStatus& GetExecutionStatus() const{ return m_executionStatus; }
111 inline bool ExecutionStatusHasBeenSet() const { return m_executionStatusHasBeenSet; }
112 inline void SetExecutionStatus(const ExecutionStatus& value) { m_executionStatusHasBeenSet = true; m_executionStatus = value; }
113 inline void SetExecutionStatus(ExecutionStatus&& value) { m_executionStatusHasBeenSet = true; m_executionStatus = std::move(value); }
114 inline ChangeSetSummary& WithExecutionStatus(const ExecutionStatus& value) { SetExecutionStatus(value); return *this;}
115 inline ChangeSetSummary& WithExecutionStatus(ExecutionStatus&& value) { SetExecutionStatus(std::move(value)); return *this;}
117
119
123 inline const ChangeSetStatus& GetStatus() const{ return m_status; }
124 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
125 inline void SetStatus(const ChangeSetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
126 inline void SetStatus(ChangeSetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
127 inline ChangeSetSummary& WithStatus(const ChangeSetStatus& value) { SetStatus(value); return *this;}
128 inline ChangeSetSummary& WithStatus(ChangeSetStatus&& value) { SetStatus(std::move(value)); return *this;}
130
132
136 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
137 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
138 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
139 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
140 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
141 inline ChangeSetSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
142 inline ChangeSetSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
143 inline ChangeSetSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
151 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
152 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
153 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
154 inline ChangeSetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
155 inline ChangeSetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
157
159
162 inline const Aws::String& GetDescription() const{ return m_description; }
163 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
164 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
165 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
166 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
167 inline ChangeSetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
168 inline ChangeSetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
169 inline ChangeSetSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
171
173
177 inline bool GetIncludeNestedStacks() const{ return m_includeNestedStacks; }
178 inline bool IncludeNestedStacksHasBeenSet() const { return m_includeNestedStacksHasBeenSet; }
179 inline void SetIncludeNestedStacks(bool value) { m_includeNestedStacksHasBeenSet = true; m_includeNestedStacks = value; }
180 inline ChangeSetSummary& WithIncludeNestedStacks(bool value) { SetIncludeNestedStacks(value); return *this;}
182
184
187 inline const Aws::String& GetParentChangeSetId() const{ return m_parentChangeSetId; }
188 inline bool ParentChangeSetIdHasBeenSet() const { return m_parentChangeSetIdHasBeenSet; }
189 inline void SetParentChangeSetId(const Aws::String& value) { m_parentChangeSetIdHasBeenSet = true; m_parentChangeSetId = value; }
190 inline void SetParentChangeSetId(Aws::String&& value) { m_parentChangeSetIdHasBeenSet = true; m_parentChangeSetId = std::move(value); }
191 inline void SetParentChangeSetId(const char* value) { m_parentChangeSetIdHasBeenSet = true; m_parentChangeSetId.assign(value); }
192 inline ChangeSetSummary& WithParentChangeSetId(const Aws::String& value) { SetParentChangeSetId(value); return *this;}
193 inline ChangeSetSummary& WithParentChangeSetId(Aws::String&& value) { SetParentChangeSetId(std::move(value)); return *this;}
194 inline ChangeSetSummary& WithParentChangeSetId(const char* value) { SetParentChangeSetId(value); return *this;}
196
198
201 inline const Aws::String& GetRootChangeSetId() const{ return m_rootChangeSetId; }
202 inline bool RootChangeSetIdHasBeenSet() const { return m_rootChangeSetIdHasBeenSet; }
203 inline void SetRootChangeSetId(const Aws::String& value) { m_rootChangeSetIdHasBeenSet = true; m_rootChangeSetId = value; }
204 inline void SetRootChangeSetId(Aws::String&& value) { m_rootChangeSetIdHasBeenSet = true; m_rootChangeSetId = std::move(value); }
205 inline void SetRootChangeSetId(const char* value) { m_rootChangeSetIdHasBeenSet = true; m_rootChangeSetId.assign(value); }
206 inline ChangeSetSummary& WithRootChangeSetId(const Aws::String& value) { SetRootChangeSetId(value); return *this;}
207 inline ChangeSetSummary& WithRootChangeSetId(Aws::String&& value) { SetRootChangeSetId(std::move(value)); return *this;}
208 inline ChangeSetSummary& WithRootChangeSetId(const char* value) { SetRootChangeSetId(value); return *this;}
210
212
215 inline bool GetImportExistingResources() const{ return m_importExistingResources; }
216 inline bool ImportExistingResourcesHasBeenSet() const { return m_importExistingResourcesHasBeenSet; }
217 inline void SetImportExistingResources(bool value) { m_importExistingResourcesHasBeenSet = true; m_importExistingResources = value; }
220 private:
221
222 Aws::String m_stackId;
223 bool m_stackIdHasBeenSet = false;
224
225 Aws::String m_stackName;
226 bool m_stackNameHasBeenSet = false;
227
228 Aws::String m_changeSetId;
229 bool m_changeSetIdHasBeenSet = false;
230
231 Aws::String m_changeSetName;
232 bool m_changeSetNameHasBeenSet = false;
233
234 ExecutionStatus m_executionStatus;
235 bool m_executionStatusHasBeenSet = false;
236
237 ChangeSetStatus m_status;
238 bool m_statusHasBeenSet = false;
239
240 Aws::String m_statusReason;
241 bool m_statusReasonHasBeenSet = false;
242
243 Aws::Utils::DateTime m_creationTime;
244 bool m_creationTimeHasBeenSet = false;
245
246 Aws::String m_description;
247 bool m_descriptionHasBeenSet = false;
248
249 bool m_includeNestedStacks;
250 bool m_includeNestedStacksHasBeenSet = false;
251
252 Aws::String m_parentChangeSetId;
253 bool m_parentChangeSetIdHasBeenSet = false;
254
255 Aws::String m_rootChangeSetId;
256 bool m_rootChangeSetIdHasBeenSet = false;
257
258 bool m_importExistingResources;
259 bool m_importExistingResourcesHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace CloudFormation
264} // namespace Aws
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetStackId(const Aws::String &value)
ChangeSetSummary & WithDescription(const char *value)
void SetChangeSetId(const Aws::String &value)
ChangeSetSummary & WithRootChangeSetId(Aws::String &&value)
ChangeSetSummary & WithStatusReason(const char *value)
void SetChangeSetName(const Aws::String &value)
ChangeSetSummary & WithChangeSetId(Aws::String &&value)
ChangeSetSummary & WithImportExistingResources(bool value)
ChangeSetSummary & WithParentChangeSetId(const char *value)
void SetStackName(const Aws::String &value)
ChangeSetSummary & WithRootChangeSetId(const char *value)
ChangeSetSummary & WithExecutionStatus(const ExecutionStatus &value)
ChangeSetSummary & WithChangeSetName(Aws::String &&value)
ChangeSetSummary & WithStackName(const Aws::String &value)
ChangeSetSummary & WithStackId(const Aws::String &value)
ChangeSetSummary & WithChangeSetName(const Aws::String &value)
ChangeSetSummary & WithRootChangeSetId(const Aws::String &value)
void SetDescription(const Aws::String &value)
ChangeSetSummary & WithStackId(const char *value)
ChangeSetSummary & WithStackName(const char *value)
const ExecutionStatus & GetExecutionStatus() const
ChangeSetSummary & WithIncludeNestedStacks(bool value)
ChangeSetSummary & WithChangeSetId(const Aws::String &value)
ChangeSetSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ChangeSetSummary & WithStatusReason(const Aws::String &value)
void SetParentChangeSetId(const Aws::String &value)
void SetStatusReason(const Aws::String &value)
void SetStatus(const ChangeSetStatus &value)
ChangeSetSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ChangeSetSummary & WithStatus(const ChangeSetStatus &value)
AWS_CLOUDFORMATION_API ChangeSetSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ChangeSetSummary & WithDescription(const Aws::String &value)
ChangeSetSummary & WithExecutionStatus(ExecutionStatus &&value)
ChangeSetSummary & WithChangeSetName(const char *value)
const Aws::String & GetParentChangeSetId() const
ChangeSetSummary & WithStatusReason(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ChangeSetSummary & WithStackName(Aws::String &&value)
AWS_CLOUDFORMATION_API ChangeSetSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetCreationTime() const
void SetRootChangeSetId(const Aws::String &value)
ChangeSetSummary & WithDescription(Aws::String &&value)
void SetExecutionStatus(const ExecutionStatus &value)
ChangeSetSummary & WithStatus(ChangeSetStatus &&value)
ChangeSetSummary & WithParentChangeSetId(const Aws::String &value)
ChangeSetSummary & WithStackId(Aws::String &&value)
void SetExecutionStatus(ExecutionStatus &&value)
const ChangeSetStatus & GetStatus() const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ChangeSetSummary & WithParentChangeSetId(Aws::String &&value)
ChangeSetSummary & WithChangeSetId(const char *value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream