AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename StackIdT = Aws::String>
53 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet = true; m_stackId = std::forward<StackIdT>(value); }
54 template<typename StackIdT = Aws::String>
55 ChangeSetSummary& WithStackId(StackIdT&& value) { SetStackId(std::forward<StackIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetStackName() const { return m_stackName; }
63 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
64 template<typename StackNameT = Aws::String>
65 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
66 template<typename StackNameT = Aws::String>
67 ChangeSetSummary& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetChangeSetId() const { return m_changeSetId; }
75 inline bool ChangeSetIdHasBeenSet() const { return m_changeSetIdHasBeenSet; }
76 template<typename ChangeSetIdT = Aws::String>
77 void SetChangeSetId(ChangeSetIdT&& value) { m_changeSetIdHasBeenSet = true; m_changeSetId = std::forward<ChangeSetIdT>(value); }
78 template<typename ChangeSetIdT = Aws::String>
79 ChangeSetSummary& WithChangeSetId(ChangeSetIdT&& value) { SetChangeSetId(std::forward<ChangeSetIdT>(value)); return *this;}
81
83
86 inline const Aws::String& GetChangeSetName() const { return m_changeSetName; }
87 inline bool ChangeSetNameHasBeenSet() const { return m_changeSetNameHasBeenSet; }
88 template<typename ChangeSetNameT = Aws::String>
89 void SetChangeSetName(ChangeSetNameT&& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = std::forward<ChangeSetNameT>(value); }
90 template<typename ChangeSetNameT = Aws::String>
91 ChangeSetSummary& WithChangeSetName(ChangeSetNameT&& value) { SetChangeSetName(std::forward<ChangeSetNameT>(value)); return *this;}
93
95
102 inline ExecutionStatus GetExecutionStatus() const { return m_executionStatus; }
103 inline bool ExecutionStatusHasBeenSet() const { return m_executionStatusHasBeenSet; }
104 inline void SetExecutionStatus(ExecutionStatus value) { m_executionStatusHasBeenSet = true; m_executionStatus = value; }
107
109
113 inline ChangeSetStatus GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(ChangeSetStatus value) { m_statusHasBeenSet = true; m_status = value; }
116 inline ChangeSetSummary& WithStatus(ChangeSetStatus value) { SetStatus(value); return *this;}
118
120
124 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
125 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
126 template<typename StatusReasonT = Aws::String>
127 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
128 template<typename StatusReasonT = Aws::String>
129 ChangeSetSummary& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
131
133
136 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
137 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
138 template<typename CreationTimeT = Aws::Utils::DateTime>
139 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
140 template<typename CreationTimeT = Aws::Utils::DateTime>
141 ChangeSetSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
143
145
148 inline const Aws::String& GetDescription() const { return m_description; }
149 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
150 template<typename DescriptionT = Aws::String>
151 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
152 template<typename DescriptionT = Aws::String>
153 ChangeSetSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
155
157
161 inline bool GetIncludeNestedStacks() const { return m_includeNestedStacks; }
162 inline bool IncludeNestedStacksHasBeenSet() const { return m_includeNestedStacksHasBeenSet; }
163 inline void SetIncludeNestedStacks(bool value) { m_includeNestedStacksHasBeenSet = true; m_includeNestedStacks = value; }
164 inline ChangeSetSummary& WithIncludeNestedStacks(bool value) { SetIncludeNestedStacks(value); return *this;}
166
168
171 inline const Aws::String& GetParentChangeSetId() const { return m_parentChangeSetId; }
172 inline bool ParentChangeSetIdHasBeenSet() const { return m_parentChangeSetIdHasBeenSet; }
173 template<typename ParentChangeSetIdT = Aws::String>
174 void SetParentChangeSetId(ParentChangeSetIdT&& value) { m_parentChangeSetIdHasBeenSet = true; m_parentChangeSetId = std::forward<ParentChangeSetIdT>(value); }
175 template<typename ParentChangeSetIdT = Aws::String>
176 ChangeSetSummary& WithParentChangeSetId(ParentChangeSetIdT&& value) { SetParentChangeSetId(std::forward<ParentChangeSetIdT>(value)); return *this;}
178
180
183 inline const Aws::String& GetRootChangeSetId() const { return m_rootChangeSetId; }
184 inline bool RootChangeSetIdHasBeenSet() const { return m_rootChangeSetIdHasBeenSet; }
185 template<typename RootChangeSetIdT = Aws::String>
186 void SetRootChangeSetId(RootChangeSetIdT&& value) { m_rootChangeSetIdHasBeenSet = true; m_rootChangeSetId = std::forward<RootChangeSetIdT>(value); }
187 template<typename RootChangeSetIdT = Aws::String>
188 ChangeSetSummary& WithRootChangeSetId(RootChangeSetIdT&& value) { SetRootChangeSetId(std::forward<RootChangeSetIdT>(value)); return *this;}
190
192
195 inline bool GetImportExistingResources() const { return m_importExistingResources; }
196 inline bool ImportExistingResourcesHasBeenSet() const { return m_importExistingResourcesHasBeenSet; }
197 inline void SetImportExistingResources(bool value) { m_importExistingResourcesHasBeenSet = true; m_importExistingResources = value; }
200 private:
201
202 Aws::String m_stackId;
203 bool m_stackIdHasBeenSet = false;
204
205 Aws::String m_stackName;
206 bool m_stackNameHasBeenSet = false;
207
208 Aws::String m_changeSetId;
209 bool m_changeSetIdHasBeenSet = false;
210
211 Aws::String m_changeSetName;
212 bool m_changeSetNameHasBeenSet = false;
213
214 ExecutionStatus m_executionStatus{ExecutionStatus::NOT_SET};
215 bool m_executionStatusHasBeenSet = false;
216
218 bool m_statusHasBeenSet = false;
219
220 Aws::String m_statusReason;
221 bool m_statusReasonHasBeenSet = false;
222
223 Aws::Utils::DateTime m_creationTime{};
224 bool m_creationTimeHasBeenSet = false;
225
226 Aws::String m_description;
227 bool m_descriptionHasBeenSet = false;
228
229 bool m_includeNestedStacks{false};
230 bool m_includeNestedStacksHasBeenSet = false;
231
232 Aws::String m_parentChangeSetId;
233 bool m_parentChangeSetIdHasBeenSet = false;
234
235 Aws::String m_rootChangeSetId;
236 bool m_rootChangeSetIdHasBeenSet = false;
237
238 bool m_importExistingResources{false};
239 bool m_importExistingResourcesHasBeenSet = false;
240 };
241
242} // namespace Model
243} // namespace CloudFormation
244} // namespace Aws
ChangeSetSummary & WithExecutionStatus(ExecutionStatus value)
void SetParentChangeSetId(ParentChangeSetIdT &&value)
AWS_CLOUDFORMATION_API ChangeSetSummary()=default
ChangeSetSummary & WithStackId(StackIdT &&value)
ChangeSetSummary & WithImportExistingResources(bool value)
ChangeSetSummary & WithStatus(ChangeSetStatus value)
ChangeSetSummary & WithIncludeNestedStacks(bool value)
ChangeSetSummary & WithStatusReason(StatusReasonT &&value)
ChangeSetSummary & WithChangeSetId(ChangeSetIdT &&value)
ChangeSetSummary & WithCreationTime(CreationTimeT &&value)
ChangeSetSummary & WithRootChangeSetId(RootChangeSetIdT &&value)
AWS_CLOUDFORMATION_API ChangeSetSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetParentChangeSetId() const
ChangeSetSummary & WithDescription(DescriptionT &&value)
ChangeSetSummary & WithParentChangeSetId(ParentChangeSetIdT &&value)
AWS_CLOUDFORMATION_API ChangeSetSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetCreationTime() const
void SetRootChangeSetId(RootChangeSetIdT &&value)
ChangeSetSummary & WithStackName(StackNameT &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ChangeSetSummary & WithChangeSetName(ChangeSetNameT &&value)
void SetChangeSetName(ChangeSetNameT &&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