AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 StackSetDriftStatus GetDriftStatus() const { return m_driftStatus; }
67 inline bool DriftStatusHasBeenSet() const { return m_driftStatusHasBeenSet; }
68 inline void SetDriftStatus(StackSetDriftStatus value) { m_driftStatusHasBeenSet = true; m_driftStatus = value; }
71
73
84 inline StackSetDriftDetectionStatus GetDriftDetectionStatus() const { return m_driftDetectionStatus; }
85 inline bool DriftDetectionStatusHasBeenSet() const { return m_driftDetectionStatusHasBeenSet; }
86 inline void SetDriftDetectionStatus(StackSetDriftDetectionStatus value) { m_driftDetectionStatusHasBeenSet = true; m_driftDetectionStatus = value; }
89
91
96 inline const Aws::Utils::DateTime& GetLastDriftCheckTimestamp() const { return m_lastDriftCheckTimestamp; }
97 inline bool LastDriftCheckTimestampHasBeenSet() const { return m_lastDriftCheckTimestampHasBeenSet; }
98 template<typename LastDriftCheckTimestampT = Aws::Utils::DateTime>
99 void SetLastDriftCheckTimestamp(LastDriftCheckTimestampT&& value) { m_lastDriftCheckTimestampHasBeenSet = true; m_lastDriftCheckTimestamp = std::forward<LastDriftCheckTimestampT>(value); }
100 template<typename LastDriftCheckTimestampT = Aws::Utils::DateTime>
101 StackSetDriftDetectionDetails& WithLastDriftCheckTimestamp(LastDriftCheckTimestampT&& value) { SetLastDriftCheckTimestamp(std::forward<LastDriftCheckTimestampT>(value)); return *this;}
103
105
113 inline int GetTotalStackInstancesCount() const { return m_totalStackInstancesCount; }
114 inline bool TotalStackInstancesCountHasBeenSet() const { return m_totalStackInstancesCountHasBeenSet; }
115 inline void SetTotalStackInstancesCount(int value) { m_totalStackInstancesCountHasBeenSet = true; m_totalStackInstancesCount = value; }
118
120
126 inline int GetDriftedStackInstancesCount() const { return m_driftedStackInstancesCount; }
127 inline bool DriftedStackInstancesCountHasBeenSet() const { return m_driftedStackInstancesCountHasBeenSet; }
128 inline void SetDriftedStackInstancesCount(int value) { m_driftedStackInstancesCountHasBeenSet = true; m_driftedStackInstancesCount = value; }
131
133
137 inline int GetInSyncStackInstancesCount() const { return m_inSyncStackInstancesCount; }
138 inline bool InSyncStackInstancesCountHasBeenSet() const { return m_inSyncStackInstancesCountHasBeenSet; }
139 inline void SetInSyncStackInstancesCount(int value) { m_inSyncStackInstancesCountHasBeenSet = true; m_inSyncStackInstancesCount = value; }
142
144
147 inline int GetInProgressStackInstancesCount() const { return m_inProgressStackInstancesCount; }
148 inline bool InProgressStackInstancesCountHasBeenSet() const { return m_inProgressStackInstancesCountHasBeenSet; }
149 inline void SetInProgressStackInstancesCount(int value) { m_inProgressStackInstancesCountHasBeenSet = true; m_inProgressStackInstancesCount = value; }
152
154
158 inline int GetFailedStackInstancesCount() const { return m_failedStackInstancesCount; }
159 inline bool FailedStackInstancesCountHasBeenSet() const { return m_failedStackInstancesCountHasBeenSet; }
160 inline void SetFailedStackInstancesCount(int value) { m_failedStackInstancesCountHasBeenSet = true; m_failedStackInstancesCount = value; }
163 private:
164
166 bool m_driftStatusHasBeenSet = false;
167
169 bool m_driftDetectionStatusHasBeenSet = false;
170
171 Aws::Utils::DateTime m_lastDriftCheckTimestamp{};
172 bool m_lastDriftCheckTimestampHasBeenSet = false;
173
174 int m_totalStackInstancesCount{0};
175 bool m_totalStackInstancesCountHasBeenSet = false;
176
177 int m_driftedStackInstancesCount{0};
178 bool m_driftedStackInstancesCountHasBeenSet = false;
179
180 int m_inSyncStackInstancesCount{0};
181 bool m_inSyncStackInstancesCountHasBeenSet = false;
182
183 int m_inProgressStackInstancesCount{0};
184 bool m_inProgressStackInstancesCountHasBeenSet = false;
185
186 int m_failedStackInstancesCount{0};
187 bool m_failedStackInstancesCountHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace CloudFormation
192} // namespace Aws
StackSetDriftDetectionDetails & WithDriftDetectionStatus(StackSetDriftDetectionStatus value)
StackSetDriftDetectionDetails & WithLastDriftCheckTimestamp(LastDriftCheckTimestampT &&value)
StackSetDriftDetectionDetails & WithFailedStackInstancesCount(int value)
AWS_CLOUDFORMATION_API StackSetDriftDetectionDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
StackSetDriftDetectionDetails & WithTotalStackInstancesCount(int value)
StackSetDriftDetectionDetails & WithInSyncStackInstancesCount(int 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()=default
StackSetDriftDetectionDetails & WithDriftStatus(StackSetDriftStatus value)
AWS_CLOUDFORMATION_API StackSetDriftDetectionDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackSetDriftDetectionDetails & WithInProgressStackInstancesCount(int value)
std::basic_ostream< char, std::char_traits< char > > OStream