AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
RoleProvisioning.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
32 public:
33 AWS_CLOUDFORMATION_API RoleProvisioning() = default;
34 AWS_CLOUDFORMATION_API RoleProvisioning(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_CLOUDFORMATION_API RoleProvisioning& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
41
57 inline StageStatus GetStatus() const { return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(StageStatus value) {
60 m_statusHasBeenSet = true;
61 m_status = value;
62 }
64 SetStatus(value);
65 return *this;
66 }
68
70
73 inline int GetSucceededAccountsCount() const { return m_succeededAccountsCount; }
74 inline bool SucceededAccountsCountHasBeenSet() const { return m_succeededAccountsCountHasBeenSet; }
75 inline void SetSucceededAccountsCount(int value) {
76 m_succeededAccountsCountHasBeenSet = true;
77 m_succeededAccountsCount = value;
78 }
81 return *this;
82 }
84
86
89 inline int GetFailedAccountsCount() const { return m_failedAccountsCount; }
90 inline bool FailedAccountsCountHasBeenSet() const { return m_failedAccountsCountHasBeenSet; }
91 inline void SetFailedAccountsCount(int value) {
92 m_failedAccountsCountHasBeenSet = true;
93 m_failedAccountsCount = value;
94 }
97 return *this;
98 }
100
102
106 inline int GetCompletedAccountsCount() const { return m_completedAccountsCount; }
107 inline bool CompletedAccountsCountHasBeenSet() const { return m_completedAccountsCountHasBeenSet; }
108 inline void SetCompletedAccountsCount(int value) {
109 m_completedAccountsCountHasBeenSet = true;
110 m_completedAccountsCount = value;
111 }
114 return *this;
115 }
117
119
122 inline int GetPendingAccountsCount() const { return m_pendingAccountsCount; }
123 inline bool PendingAccountsCountHasBeenSet() const { return m_pendingAccountsCountHasBeenSet; }
124 inline void SetPendingAccountsCount(int value) {
125 m_pendingAccountsCountHasBeenSet = true;
126 m_pendingAccountsCount = value;
127 }
130 return *this;
131 }
133
135
138 inline double GetPercentageCompleted() const { return m_percentageCompleted; }
139 inline bool PercentageCompletedHasBeenSet() const { return m_percentageCompletedHasBeenSet; }
140 inline void SetPercentageCompleted(double value) {
141 m_percentageCompletedHasBeenSet = true;
142 m_percentageCompleted = value;
143 }
146 return *this;
147 }
149 private:
151
152 int m_succeededAccountsCount{0};
153
154 int m_failedAccountsCount{0};
155
156 int m_completedAccountsCount{0};
157
158 int m_pendingAccountsCount{0};
159
160 double m_percentageCompleted{0.0};
161 bool m_statusHasBeenSet = false;
162 bool m_succeededAccountsCountHasBeenSet = false;
163 bool m_failedAccountsCountHasBeenSet = false;
164 bool m_completedAccountsCountHasBeenSet = false;
165 bool m_pendingAccountsCountHasBeenSet = false;
166 bool m_percentageCompletedHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace CloudFormation
171} // namespace Aws
AWS_CLOUDFORMATION_API RoleProvisioning(const Aws::Utils::Xml::XmlNode &xmlNode)
RoleProvisioning & WithPendingAccountsCount(int value)
RoleProvisioning & WithFailedAccountsCount(int value)
RoleProvisioning & WithSucceededAccountsCount(int value)
RoleProvisioning & WithCompletedAccountsCount(int value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDFORMATION_API RoleProvisioning()=default
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RoleProvisioning & WithStatus(StageStatus value)
RoleProvisioning & WithPercentageCompleted(double value)
AWS_CLOUDFORMATION_API RoleProvisioning & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream