AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackInstanceSummary.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/StackInstanceStatus.h>
11#include <aws/cloudformation/model/StackInstanceComprehensiveStatus.h>
12#include <aws/cloudformation/model/StackDriftStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace CloudFormation
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CLOUDFORMATION_API StackInstanceSummary();
40 AWS_CLOUDFORMATION_API StackInstanceSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_CLOUDFORMATION_API StackInstanceSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
52 inline const Aws::String& GetStackSetId() const{ return m_stackSetId; }
53 inline bool StackSetIdHasBeenSet() const { return m_stackSetIdHasBeenSet; }
54 inline void SetStackSetId(const Aws::String& value) { m_stackSetIdHasBeenSet = true; m_stackSetId = value; }
55 inline void SetStackSetId(Aws::String&& value) { m_stackSetIdHasBeenSet = true; m_stackSetId = std::move(value); }
56 inline void SetStackSetId(const char* value) { m_stackSetIdHasBeenSet = true; m_stackSetId.assign(value); }
57 inline StackInstanceSummary& WithStackSetId(const Aws::String& value) { SetStackSetId(value); return *this;}
58 inline StackInstanceSummary& WithStackSetId(Aws::String&& value) { SetStackSetId(std::move(value)); return *this;}
59 inline StackInstanceSummary& WithStackSetId(const char* value) { SetStackSetId(value); return *this;}
61
63
67 inline const Aws::String& GetRegion() const{ return m_region; }
68 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
69 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
70 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
71 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
72 inline StackInstanceSummary& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
73 inline StackInstanceSummary& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
74 inline StackInstanceSummary& WithRegion(const char* value) { SetRegion(value); return *this;}
76
78
82 inline const Aws::String& GetAccount() const{ return m_account; }
83 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
84 inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
85 inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
86 inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
87 inline StackInstanceSummary& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
88 inline StackInstanceSummary& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
89 inline StackInstanceSummary& WithAccount(const char* value) { SetAccount(value); return *this;}
91
93
96 inline const Aws::String& GetStackId() const{ return m_stackId; }
97 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
98 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
99 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
100 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
101 inline StackInstanceSummary& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
102 inline StackInstanceSummary& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
103 inline StackInstanceSummary& WithStackId(const char* value) { SetStackId(value); return *this;}
105
107
130 inline const StackInstanceStatus& GetStatus() const{ return m_status; }
131 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
132 inline void SetStatus(const StackInstanceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
133 inline void SetStatus(StackInstanceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
134 inline StackInstanceSummary& WithStatus(const StackInstanceStatus& value) { SetStatus(value); return *this;}
135 inline StackInstanceSummary& WithStatus(StackInstanceStatus&& value) { SetStatus(std::move(value)); return *this;}
137
139
143 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
144 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
145 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
146 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
147 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
148 inline StackInstanceSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
149 inline StackInstanceSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
150 inline StackInstanceSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
152
154
157 inline const StackInstanceComprehensiveStatus& GetStackInstanceStatus() const{ return m_stackInstanceStatus; }
158 inline bool StackInstanceStatusHasBeenSet() const { return m_stackInstanceStatusHasBeenSet; }
159 inline void SetStackInstanceStatus(const StackInstanceComprehensiveStatus& value) { m_stackInstanceStatusHasBeenSet = true; m_stackInstanceStatus = value; }
160 inline void SetStackInstanceStatus(StackInstanceComprehensiveStatus&& value) { m_stackInstanceStatusHasBeenSet = true; m_stackInstanceStatus = std::move(value); }
164
166
171 inline const Aws::String& GetOrganizationalUnitId() const{ return m_organizationalUnitId; }
172 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
173 inline void SetOrganizationalUnitId(const Aws::String& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = value; }
174 inline void SetOrganizationalUnitId(Aws::String&& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::move(value); }
175 inline void SetOrganizationalUnitId(const char* value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId.assign(value); }
177 inline StackInstanceSummary& WithOrganizationalUnitId(Aws::String&& value) { SetOrganizationalUnitId(std::move(value)); return *this;}
178 inline StackInstanceSummary& WithOrganizationalUnitId(const char* value) { SetOrganizationalUnitId(value); return *this;}
180
182
195 inline const StackDriftStatus& GetDriftStatus() const{ return m_driftStatus; }
196 inline bool DriftStatusHasBeenSet() const { return m_driftStatusHasBeenSet; }
197 inline void SetDriftStatus(const StackDriftStatus& value) { m_driftStatusHasBeenSet = true; m_driftStatus = value; }
198 inline void SetDriftStatus(StackDriftStatus&& value) { m_driftStatusHasBeenSet = true; m_driftStatus = std::move(value); }
199 inline StackInstanceSummary& WithDriftStatus(const StackDriftStatus& value) { SetDriftStatus(value); return *this;}
200 inline StackInstanceSummary& WithDriftStatus(StackDriftStatus&& value) { SetDriftStatus(std::move(value)); return *this;}
202
204
209 inline const Aws::Utils::DateTime& GetLastDriftCheckTimestamp() const{ return m_lastDriftCheckTimestamp; }
210 inline bool LastDriftCheckTimestampHasBeenSet() const { return m_lastDriftCheckTimestampHasBeenSet; }
211 inline void SetLastDriftCheckTimestamp(const Aws::Utils::DateTime& value) { m_lastDriftCheckTimestampHasBeenSet = true; m_lastDriftCheckTimestamp = value; }
212 inline void SetLastDriftCheckTimestamp(Aws::Utils::DateTime&& value) { m_lastDriftCheckTimestampHasBeenSet = true; m_lastDriftCheckTimestamp = std::move(value); }
216
218
221 inline const Aws::String& GetLastOperationId() const{ return m_lastOperationId; }
222 inline bool LastOperationIdHasBeenSet() const { return m_lastOperationIdHasBeenSet; }
223 inline void SetLastOperationId(const Aws::String& value) { m_lastOperationIdHasBeenSet = true; m_lastOperationId = value; }
224 inline void SetLastOperationId(Aws::String&& value) { m_lastOperationIdHasBeenSet = true; m_lastOperationId = std::move(value); }
225 inline void SetLastOperationId(const char* value) { m_lastOperationIdHasBeenSet = true; m_lastOperationId.assign(value); }
226 inline StackInstanceSummary& WithLastOperationId(const Aws::String& value) { SetLastOperationId(value); return *this;}
227 inline StackInstanceSummary& WithLastOperationId(Aws::String&& value) { SetLastOperationId(std::move(value)); return *this;}
228 inline StackInstanceSummary& WithLastOperationId(const char* value) { SetLastOperationId(value); return *this;}
230 private:
231
232 Aws::String m_stackSetId;
233 bool m_stackSetIdHasBeenSet = false;
234
235 Aws::String m_region;
236 bool m_regionHasBeenSet = false;
237
238 Aws::String m_account;
239 bool m_accountHasBeenSet = false;
240
241 Aws::String m_stackId;
242 bool m_stackIdHasBeenSet = false;
243
244 StackInstanceStatus m_status;
245 bool m_statusHasBeenSet = false;
246
247 Aws::String m_statusReason;
248 bool m_statusReasonHasBeenSet = false;
249
250 StackInstanceComprehensiveStatus m_stackInstanceStatus;
251 bool m_stackInstanceStatusHasBeenSet = false;
252
253 Aws::String m_organizationalUnitId;
254 bool m_organizationalUnitIdHasBeenSet = false;
255
256 StackDriftStatus m_driftStatus;
257 bool m_driftStatusHasBeenSet = false;
258
259 Aws::Utils::DateTime m_lastDriftCheckTimestamp;
260 bool m_lastDriftCheckTimestampHasBeenSet = false;
261
262 Aws::String m_lastOperationId;
263 bool m_lastOperationIdHasBeenSet = false;
264 };
265
266} // namespace Model
267} // namespace CloudFormation
268} // namespace Aws
StackInstanceSummary & WithLastDriftCheckTimestamp(const Aws::Utils::DateTime &value)
StackInstanceSummary & WithOrganizationalUnitId(Aws::String &&value)
StackInstanceSummary & WithRegion(const char *value)
StackInstanceSummary & WithOrganizationalUnitId(const Aws::String &value)
StackInstanceSummary & WithStatusReason(const Aws::String &value)
StackInstanceSummary & WithRegion(const Aws::String &value)
void SetDriftStatus(const StackDriftStatus &value)
StackInstanceSummary & WithLastOperationId(const Aws::String &value)
AWS_CLOUDFORMATION_API StackInstanceSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(const StackInstanceStatus &value)
const Aws::Utils::DateTime & GetLastDriftCheckTimestamp() const
AWS_CLOUDFORMATION_API StackInstanceSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackInstanceSummary & WithStackSetId(const char *value)
StackInstanceSummary & WithStatus(const StackInstanceStatus &value)
void SetLastDriftCheckTimestamp(const Aws::Utils::DateTime &value)
StackInstanceSummary & WithRegion(Aws::String &&value)
StackInstanceSummary & WithStackId(Aws::String &&value)
StackInstanceSummary & WithAccount(const char *value)
StackInstanceSummary & WithDriftStatus(const StackDriftStatus &value)
StackInstanceSummary & WithAccount(const Aws::String &value)
const StackInstanceComprehensiveStatus & GetStackInstanceStatus() const
StackInstanceSummary & WithLastOperationId(Aws::String &&value)
StackInstanceSummary & WithAccount(Aws::String &&value)
StackInstanceSummary & WithStatusReason(Aws::String &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
StackInstanceSummary & WithStackId(const Aws::String &value)
StackInstanceSummary & WithLastDriftCheckTimestamp(Aws::Utils::DateTime &&value)
StackInstanceSummary & WithStatus(StackInstanceStatus &&value)
StackInstanceSummary & WithStackSetId(Aws::String &&value)
StackInstanceSummary & WithStackSetId(const Aws::String &value)
StackInstanceSummary & WithStatusReason(const char *value)
StackInstanceSummary & WithLastOperationId(const char *value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StackInstanceSummary & WithStackInstanceStatus(const StackInstanceComprehensiveStatus &value)
void SetStackInstanceStatus(StackInstanceComprehensiveStatus &&value)
StackInstanceSummary & WithOrganizationalUnitId(const char *value)
StackInstanceSummary & WithStackInstanceStatus(StackInstanceComprehensiveStatus &&value)
StackInstanceSummary & WithDriftStatus(StackDriftStatus &&value)
StackInstanceSummary & WithStackId(const char *value)
void SetStackInstanceStatus(const StackInstanceComprehensiveStatus &value)
void SetLastDriftCheckTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream