AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackSummary.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/core/utils/DateTime.h>
11#include <aws/cloudformation/model/StackStatus.h>
12#include <aws/cloudformation/model/StackDriftInformationSummary.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
35 {
36 public:
37 AWS_CLOUDFORMATION_API StackSummary();
38 AWS_CLOUDFORMATION_API StackSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_CLOUDFORMATION_API StackSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetStackId() const{ return m_stackId; }
50 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
51 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
52 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
53 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
54 inline StackSummary& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
55 inline StackSummary& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
56 inline StackSummary& WithStackId(const char* value) { SetStackId(value); return *this;}
58
60
63 inline const Aws::String& GetStackName() const{ return m_stackName; }
64 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
65 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
66 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
67 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
68 inline StackSummary& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
69 inline StackSummary& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
70 inline StackSummary& WithStackName(const char* value) { SetStackName(value); return *this;}
72
74
77 inline const Aws::String& GetTemplateDescription() const{ return m_templateDescription; }
78 inline bool TemplateDescriptionHasBeenSet() const { return m_templateDescriptionHasBeenSet; }
79 inline void SetTemplateDescription(const Aws::String& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = value; }
80 inline void SetTemplateDescription(Aws::String&& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = std::move(value); }
81 inline void SetTemplateDescription(const char* value) { m_templateDescriptionHasBeenSet = true; m_templateDescription.assign(value); }
82 inline StackSummary& WithTemplateDescription(const Aws::String& value) { SetTemplateDescription(value); return *this;}
83 inline StackSummary& WithTemplateDescription(Aws::String&& value) { SetTemplateDescription(std::move(value)); return *this;}
84 inline StackSummary& WithTemplateDescription(const char* value) { SetTemplateDescription(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
92 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
93 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
94 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
95 inline StackSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
96 inline StackSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
98
100
104 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
105 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
106 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
107 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
108 inline StackSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
109 inline StackSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetDeletionTime() const{ return m_deletionTime; }
117 inline bool DeletionTimeHasBeenSet() const { return m_deletionTimeHasBeenSet; }
118 inline void SetDeletionTime(const Aws::Utils::DateTime& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = value; }
119 inline void SetDeletionTime(Aws::Utils::DateTime&& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = std::move(value); }
120 inline StackSummary& WithDeletionTime(const Aws::Utils::DateTime& value) { SetDeletionTime(value); return *this;}
121 inline StackSummary& WithDeletionTime(Aws::Utils::DateTime&& value) { SetDeletionTime(std::move(value)); return *this;}
123
125
128 inline const StackStatus& GetStackStatus() const{ return m_stackStatus; }
129 inline bool StackStatusHasBeenSet() const { return m_stackStatusHasBeenSet; }
130 inline void SetStackStatus(const StackStatus& value) { m_stackStatusHasBeenSet = true; m_stackStatus = value; }
131 inline void SetStackStatus(StackStatus&& value) { m_stackStatusHasBeenSet = true; m_stackStatus = std::move(value); }
132 inline StackSummary& WithStackStatus(const StackStatus& value) { SetStackStatus(value); return *this;}
133 inline StackSummary& WithStackStatus(StackStatus&& value) { SetStackStatus(std::move(value)); return *this;}
135
137
140 inline const Aws::String& GetStackStatusReason() const{ return m_stackStatusReason; }
141 inline bool StackStatusReasonHasBeenSet() const { return m_stackStatusReasonHasBeenSet; }
142 inline void SetStackStatusReason(const Aws::String& value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason = value; }
143 inline void SetStackStatusReason(Aws::String&& value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason = std::move(value); }
144 inline void SetStackStatusReason(const char* value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason.assign(value); }
145 inline StackSummary& WithStackStatusReason(const Aws::String& value) { SetStackStatusReason(value); return *this;}
146 inline StackSummary& WithStackStatusReason(Aws::String&& value) { SetStackStatusReason(std::move(value)); return *this;}
147 inline StackSummary& WithStackStatusReason(const char* value) { SetStackStatusReason(value); return *this;}
149
151
159 inline const Aws::String& GetParentId() const{ return m_parentId; }
160 inline bool ParentIdHasBeenSet() const { return m_parentIdHasBeenSet; }
161 inline void SetParentId(const Aws::String& value) { m_parentIdHasBeenSet = true; m_parentId = value; }
162 inline void SetParentId(Aws::String&& value) { m_parentIdHasBeenSet = true; m_parentId = std::move(value); }
163 inline void SetParentId(const char* value) { m_parentIdHasBeenSet = true; m_parentId.assign(value); }
164 inline StackSummary& WithParentId(const Aws::String& value) { SetParentId(value); return *this;}
165 inline StackSummary& WithParentId(Aws::String&& value) { SetParentId(std::move(value)); return *this;}
166 inline StackSummary& WithParentId(const char* value) { SetParentId(value); return *this;}
168
170
178 inline const Aws::String& GetRootId() const{ return m_rootId; }
179 inline bool RootIdHasBeenSet() const { return m_rootIdHasBeenSet; }
180 inline void SetRootId(const Aws::String& value) { m_rootIdHasBeenSet = true; m_rootId = value; }
181 inline void SetRootId(Aws::String&& value) { m_rootIdHasBeenSet = true; m_rootId = std::move(value); }
182 inline void SetRootId(const char* value) { m_rootIdHasBeenSet = true; m_rootId.assign(value); }
183 inline StackSummary& WithRootId(const Aws::String& value) { SetRootId(value); return *this;}
184 inline StackSummary& WithRootId(Aws::String&& value) { SetRootId(std::move(value)); return *this;}
185 inline StackSummary& WithRootId(const char* value) { SetRootId(value); return *this;}
187
189
198 inline const StackDriftInformationSummary& GetDriftInformation() const{ return m_driftInformation; }
199 inline bool DriftInformationHasBeenSet() const { return m_driftInformationHasBeenSet; }
200 inline void SetDriftInformation(const StackDriftInformationSummary& value) { m_driftInformationHasBeenSet = true; m_driftInformation = value; }
201 inline void SetDriftInformation(StackDriftInformationSummary&& value) { m_driftInformationHasBeenSet = true; m_driftInformation = std::move(value); }
203 inline StackSummary& WithDriftInformation(StackDriftInformationSummary&& value) { SetDriftInformation(std::move(value)); return *this;}
205 private:
206
207 Aws::String m_stackId;
208 bool m_stackIdHasBeenSet = false;
209
210 Aws::String m_stackName;
211 bool m_stackNameHasBeenSet = false;
212
213 Aws::String m_templateDescription;
214 bool m_templateDescriptionHasBeenSet = false;
215
216 Aws::Utils::DateTime m_creationTime;
217 bool m_creationTimeHasBeenSet = false;
218
219 Aws::Utils::DateTime m_lastUpdatedTime;
220 bool m_lastUpdatedTimeHasBeenSet = false;
221
222 Aws::Utils::DateTime m_deletionTime;
223 bool m_deletionTimeHasBeenSet = false;
224
225 StackStatus m_stackStatus;
226 bool m_stackStatusHasBeenSet = false;
227
228 Aws::String m_stackStatusReason;
229 bool m_stackStatusReasonHasBeenSet = false;
230
231 Aws::String m_parentId;
232 bool m_parentIdHasBeenSet = false;
233
234 Aws::String m_rootId;
235 bool m_rootIdHasBeenSet = false;
236
237 StackDriftInformationSummary m_driftInformation;
238 bool m_driftInformationHasBeenSet = false;
239 };
240
241} // namespace Model
242} // namespace CloudFormation
243} // namespace Aws
StackSummary & WithDriftInformation(StackDriftInformationSummary &&value)
void SetDeletionTime(Aws::Utils::DateTime &&value)
StackSummary & WithParentId(Aws::String &&value)
void SetTemplateDescription(Aws::String &&value)
void SetStackId(const Aws::String &value)
StackSummary & WithStackStatus(StackStatus &&value)
const Aws::String & GetParentId() const
void SetDriftInformation(StackDriftInformationSummary &&value)
void SetTemplateDescription(const Aws::String &value)
void SetStackId(Aws::String &&value)
StackSummary & WithTemplateDescription(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetStackId() const
StackSummary & WithStackName(const char *value)
StackSummary & WithParentId(const char *value)
StackSummary & WithTemplateDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetStackStatus(StackStatus &&value)
void SetDeletionTime(const Aws::Utils::DateTime &value)
StackSummary & WithDeletionTime(const Aws::Utils::DateTime &value)
void SetStackStatusReason(const char *value)
StackSummary & WithRootId(const char *value)
StackSummary & WithStackStatusReason(const Aws::String &value)
StackSummary & WithStackStatusReason(const char *value)
StackSummary & WithParentId(const Aws::String &value)
StackSummary & WithStackId(Aws::String &&value)
StackSummary & WithRootId(Aws::String &&value)
StackSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetRootId(const Aws::String &value)
StackSummary & WithDeletionTime(Aws::Utils::DateTime &&value)
StackSummary & WithStackId(const char *value)
StackSummary & WithStackName(Aws::String &&value)
void SetStackStatusReason(const Aws::String &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const StackDriftInformationSummary & GetDriftInformation() const
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetDeletionTime() const
const Aws::String & GetRootId() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
StackSummary & WithStackName(const Aws::String &value)
AWS_CLOUDFORMATION_API StackSummary()
StackSummary & WithStackStatusReason(Aws::String &&value)
AWS_CLOUDFORMATION_API StackSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetStackName() const
AWS_CLOUDFORMATION_API StackSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetParentId(const Aws::String &value)
void SetDriftInformation(const StackDriftInformationSummary &value)
StackSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetTemplateDescription(const char *value)
StackSummary & WithRootId(const Aws::String &value)
StackSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetStackStatus(const StackStatus &value)
const StackStatus & GetStackStatus() const
StackSummary & WithTemplateDescription(Aws::String &&value)
StackSummary & WithStackId(const Aws::String &value)
void SetStackStatusReason(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetParentId(Aws::String &&value)
StackSummary & WithStackStatus(const StackStatus &value)
const Aws::String & GetTemplateDescription() const
StackSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetStackStatusReason() const
void SetCreationTime(Aws::Utils::DateTime &&value)
StackSummary & WithDriftInformation(const StackDriftInformationSummary &value)
void SetRootId(Aws::String &&value)
void SetStackName(const Aws::String &value)
void SetStackName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream