AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
RegionalStackInstancesDeployment.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/model/StageStatus.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace CloudFormation {
20namespace Model {
21
30 public:
31 AWS_CLOUDFORMATION_API RegionalStackInstancesDeployment() = default;
32 AWS_CLOUDFORMATION_API RegionalStackInstancesDeployment(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
36 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
53 inline StageStatus GetStatus() const { return m_status; }
54 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
55 inline void SetStatus(StageStatus value) {
56 m_statusHasBeenSet = true;
57 m_status = value;
58 }
60 SetStatus(value);
61 return *this;
62 }
64
66
69 inline int GetSucceededStackInstancesCount() const { return m_succeededStackInstancesCount; }
70 inline bool SucceededStackInstancesCountHasBeenSet() const { return m_succeededStackInstancesCountHasBeenSet; }
71 inline void SetSucceededStackInstancesCount(int value) {
72 m_succeededStackInstancesCountHasBeenSet = true;
73 m_succeededStackInstancesCount = value;
74 }
80
82
85 inline int GetFailedStackInstancesCount() const { return m_failedStackInstancesCount; }
86 inline bool FailedStackInstancesCountHasBeenSet() const { return m_failedStackInstancesCountHasBeenSet; }
87 inline void SetFailedStackInstancesCount(int value) {
88 m_failedStackInstancesCountHasBeenSet = true;
89 m_failedStackInstancesCount = value;
90 }
96
98
103 inline int GetCompletedStackInstancesCount() const { return m_completedStackInstancesCount; }
104 inline bool CompletedStackInstancesCountHasBeenSet() const { return m_completedStackInstancesCountHasBeenSet; }
105 inline void SetCompletedStackInstancesCount(int value) {
106 m_completedStackInstancesCountHasBeenSet = true;
107 m_completedStackInstancesCount = value;
108 }
114
116
121 inline int GetPendingStackInstancesCount() const { return m_pendingStackInstancesCount; }
122 inline bool PendingStackInstancesCountHasBeenSet() const { return m_pendingStackInstancesCountHasBeenSet; }
123 inline void SetPendingStackInstancesCount(int value) {
124 m_pendingStackInstancesCountHasBeenSet = true;
125 m_pendingStackInstancesCount = value;
126 }
132
134
138 inline int GetCancelledStackInstancesCount() const { return m_cancelledStackInstancesCount; }
139 inline bool CancelledStackInstancesCountHasBeenSet() const { return m_cancelledStackInstancesCountHasBeenSet; }
140 inline void SetCancelledStackInstancesCount(int value) {
141 m_cancelledStackInstancesCountHasBeenSet = true;
142 m_cancelledStackInstancesCount = value;
143 }
149
151
155 inline int GetSkippedStackInstancesCount() const { return m_skippedStackInstancesCount; }
156 inline bool SkippedStackInstancesCountHasBeenSet() const { return m_skippedStackInstancesCountHasBeenSet; }
157 inline void SetSkippedStackInstancesCount(int value) {
158 m_skippedStackInstancesCountHasBeenSet = true;
159 m_skippedStackInstancesCount = value;
160 }
166
168
172 inline int GetTotalStackInstancesCount() const { return m_totalStackInstancesCount; }
173 inline bool TotalStackInstancesCountHasBeenSet() const { return m_totalStackInstancesCountHasBeenSet; }
174 inline void SetTotalStackInstancesCount(int value) {
175 m_totalStackInstancesCountHasBeenSet = true;
176 m_totalStackInstancesCount = value;
177 }
180 return *this;
181 }
183
185
189 inline double GetPercentageCompleted() const { return m_percentageCompleted; }
190 inline bool PercentageCompletedHasBeenSet() const { return m_percentageCompletedHasBeenSet; }
191 inline void SetPercentageCompleted(double value) {
192 m_percentageCompletedHasBeenSet = true;
193 m_percentageCompleted = value;
194 }
197 return *this;
198 }
200 private:
202
203 int m_succeededStackInstancesCount{0};
204
205 int m_failedStackInstancesCount{0};
206
207 int m_completedStackInstancesCount{0};
208
209 int m_pendingStackInstancesCount{0};
210
211 int m_cancelledStackInstancesCount{0};
212
213 int m_skippedStackInstancesCount{0};
214
215 int m_totalStackInstancesCount{0};
216
217 double m_percentageCompleted{0.0};
218 bool m_statusHasBeenSet = false;
219 bool m_succeededStackInstancesCountHasBeenSet = false;
220 bool m_failedStackInstancesCountHasBeenSet = false;
221 bool m_completedStackInstancesCountHasBeenSet = false;
222 bool m_pendingStackInstancesCountHasBeenSet = false;
223 bool m_cancelledStackInstancesCountHasBeenSet = false;
224 bool m_skippedStackInstancesCountHasBeenSet = false;
225 bool m_totalStackInstancesCountHasBeenSet = false;
226 bool m_percentageCompletedHasBeenSet = false;
227};
228
229} // namespace Model
230} // namespace CloudFormation
231} // namespace Aws
RegionalStackInstancesDeployment & WithFailedStackInstancesCount(int value)
RegionalStackInstancesDeployment & WithCancelledStackInstancesCount(int value)
RegionalStackInstancesDeployment & WithPercentageCompleted(double value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
RegionalStackInstancesDeployment & WithPendingStackInstancesCount(int value)
RegionalStackInstancesDeployment & WithSkippedStackInstancesCount(int value)
RegionalStackInstancesDeployment & WithCompletedStackInstancesCount(int value)
AWS_CLOUDFORMATION_API RegionalStackInstancesDeployment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API RegionalStackInstancesDeployment(const Aws::Utils::Xml::XmlNode &xmlNode)
RegionalStackInstancesDeployment & WithSucceededStackInstancesCount(int value)
AWS_CLOUDFORMATION_API RegionalStackInstancesDeployment()=default
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RegionalStackInstancesDeployment & WithStatus(StageStatus value)
std::basic_ostream< char, std::char_traits< char > > OStream