AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackSetDriftDetectionDetails.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/cloudformation/model/StackSetDriftStatus.h>
10#include <aws/cloudformation/model/StackSetDriftDetectionStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace CloudFormation
24{
25namespace Model
26{
27
42 {
43 public:
44 AWS_CLOUDFORMATION_API StackSetDriftDetectionDetails();
45 AWS_CLOUDFORMATION_API StackSetDriftDetectionDetails(const Aws::Utils::Xml::XmlNode& xmlNode);
46 AWS_CLOUDFORMATION_API StackSetDriftDetectionDetails& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
47
48 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
50
51
53
66 inline const StackSetDriftStatus& GetDriftStatus() const{ return m_driftStatus; }
67 inline bool DriftStatusHasBeenSet() const { return m_driftStatusHasBeenSet; }
68 inline void SetDriftStatus(const StackSetDriftStatus& value) { m_driftStatusHasBeenSet = true; m_driftStatus = value; }
69 inline void SetDriftStatus(StackSetDriftStatus&& value) { m_driftStatusHasBeenSet = true; m_driftStatus = std::move(value); }
71 inline StackSetDriftDetectionDetails& WithDriftStatus(StackSetDriftStatus&& value) { SetDriftStatus(std::move(value)); return *this;}
73
75
86 inline const StackSetDriftDetectionStatus& GetDriftDetectionStatus() const{ return m_driftDetectionStatus; }
87 inline bool DriftDetectionStatusHasBeenSet() const { return m_driftDetectionStatusHasBeenSet; }
88 inline void SetDriftDetectionStatus(const StackSetDriftDetectionStatus& value) { m_driftDetectionStatusHasBeenSet = true; m_driftDetectionStatus = value; }
89 inline void SetDriftDetectionStatus(StackSetDriftDetectionStatus&& value) { m_driftDetectionStatusHasBeenSet = true; m_driftDetectionStatus = std::move(value); }
93
95
100 inline const Aws::Utils::DateTime& GetLastDriftCheckTimestamp() const{ return m_lastDriftCheckTimestamp; }
101 inline bool LastDriftCheckTimestampHasBeenSet() const { return m_lastDriftCheckTimestampHasBeenSet; }
102 inline void SetLastDriftCheckTimestamp(const Aws::Utils::DateTime& value) { m_lastDriftCheckTimestampHasBeenSet = true; m_lastDriftCheckTimestamp = value; }
103 inline void SetLastDriftCheckTimestamp(Aws::Utils::DateTime&& value) { m_lastDriftCheckTimestampHasBeenSet = true; m_lastDriftCheckTimestamp = std::move(value); }
107
109
117 inline int GetTotalStackInstancesCount() const{ return m_totalStackInstancesCount; }
118 inline bool TotalStackInstancesCountHasBeenSet() const { return m_totalStackInstancesCountHasBeenSet; }
119 inline void SetTotalStackInstancesCount(int value) { m_totalStackInstancesCountHasBeenSet = true; m_totalStackInstancesCount = value; }
122
124
130 inline int GetDriftedStackInstancesCount() const{ return m_driftedStackInstancesCount; }
131 inline bool DriftedStackInstancesCountHasBeenSet() const { return m_driftedStackInstancesCountHasBeenSet; }
132 inline void SetDriftedStackInstancesCount(int value) { m_driftedStackInstancesCountHasBeenSet = true; m_driftedStackInstancesCount = value; }
135
137
141 inline int GetInSyncStackInstancesCount() const{ return m_inSyncStackInstancesCount; }
142 inline bool InSyncStackInstancesCountHasBeenSet() const { return m_inSyncStackInstancesCountHasBeenSet; }
143 inline void SetInSyncStackInstancesCount(int value) { m_inSyncStackInstancesCountHasBeenSet = true; m_inSyncStackInstancesCount = value; }
146
148
151 inline int GetInProgressStackInstancesCount() const{ return m_inProgressStackInstancesCount; }
152 inline bool InProgressStackInstancesCountHasBeenSet() const { return m_inProgressStackInstancesCountHasBeenSet; }
153 inline void SetInProgressStackInstancesCount(int value) { m_inProgressStackInstancesCountHasBeenSet = true; m_inProgressStackInstancesCount = value; }
156
158
162 inline int GetFailedStackInstancesCount() const{ return m_failedStackInstancesCount; }
163 inline bool FailedStackInstancesCountHasBeenSet() const { return m_failedStackInstancesCountHasBeenSet; }
164 inline void SetFailedStackInstancesCount(int value) { m_failedStackInstancesCountHasBeenSet = true; m_failedStackInstancesCount = value; }
167 private:
168
169 StackSetDriftStatus m_driftStatus;
170 bool m_driftStatusHasBeenSet = false;
171
172 StackSetDriftDetectionStatus m_driftDetectionStatus;
173 bool m_driftDetectionStatusHasBeenSet = false;
174
175 Aws::Utils::DateTime m_lastDriftCheckTimestamp;
176 bool m_lastDriftCheckTimestampHasBeenSet = false;
177
178 int m_totalStackInstancesCount;
179 bool m_totalStackInstancesCountHasBeenSet = false;
180
181 int m_driftedStackInstancesCount;
182 bool m_driftedStackInstancesCountHasBeenSet = false;
183
184 int m_inSyncStackInstancesCount;
185 bool m_inSyncStackInstancesCountHasBeenSet = false;
186
187 int m_inProgressStackInstancesCount;
188 bool m_inProgressStackInstancesCountHasBeenSet = false;
189
190 int m_failedStackInstancesCount;
191 bool m_failedStackInstancesCountHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace CloudFormation
196} // namespace Aws
StackSetDriftDetectionDetails & WithDriftStatus(const StackSetDriftStatus &value)
void SetDriftDetectionStatus(const StackSetDriftDetectionStatus &value)
StackSetDriftDetectionDetails & WithLastDriftCheckTimestamp(Aws::Utils::DateTime &&value)
StackSetDriftDetectionDetails & WithFailedStackInstancesCount(int value)
AWS_CLOUDFORMATION_API StackSetDriftDetectionDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
StackSetDriftDetectionDetails & WithTotalStackInstancesCount(int value)
StackSetDriftDetectionDetails & WithInSyncStackInstancesCount(int value)
StackSetDriftDetectionDetails & WithDriftDetectionStatus(const StackSetDriftDetectionStatus &value)
StackSetDriftDetectionDetails & WithDriftDetectionStatus(StackSetDriftDetectionStatus &&value)
StackSetDriftDetectionDetails & WithLastDriftCheckTimestamp(const Aws::Utils::DateTime &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StackSetDriftDetectionDetails & WithDriftedStackInstancesCount(int value)
AWS_CLOUDFORMATION_API StackSetDriftDetectionDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackSetDriftDetectionDetails & WithDriftStatus(StackSetDriftStatus &&value)
StackSetDriftDetectionDetails & WithInProgressStackInstancesCount(int value)
const StackSetDriftDetectionStatus & GetDriftDetectionStatus() const
std::basic_ostream< char, std::char_traits< char > > OStream