AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
TemplateProgress.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace CloudFormation {
17namespace Model {
18
26 public:
27 AWS_CLOUDFORMATION_API TemplateProgress() = default;
28 AWS_CLOUDFORMATION_API TemplateProgress(const Aws::Utils::Xml::XmlNode& xmlNode);
29 AWS_CLOUDFORMATION_API TemplateProgress& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
30
31 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
32 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
33
35
38 inline int GetResourcesSucceeded() const { return m_resourcesSucceeded; }
39 inline bool ResourcesSucceededHasBeenSet() const { return m_resourcesSucceededHasBeenSet; }
40 inline void SetResourcesSucceeded(int value) {
41 m_resourcesSucceededHasBeenSet = true;
42 m_resourcesSucceeded = value;
43 }
46 return *this;
47 }
49
51
54 inline int GetResourcesFailed() const { return m_resourcesFailed; }
55 inline bool ResourcesFailedHasBeenSet() const { return m_resourcesFailedHasBeenSet; }
56 inline void SetResourcesFailed(int value) {
57 m_resourcesFailedHasBeenSet = true;
58 m_resourcesFailed = value;
59 }
61 SetResourcesFailed(value);
62 return *this;
63 }
65
67
70 inline int GetResourcesProcessing() const { return m_resourcesProcessing; }
71 inline bool ResourcesProcessingHasBeenSet() const { return m_resourcesProcessingHasBeenSet; }
72 inline void SetResourcesProcessing(int value) {
73 m_resourcesProcessingHasBeenSet = true;
74 m_resourcesProcessing = value;
75 }
78 return *this;
79 }
81
83
86 inline int GetResourcesPending() const { return m_resourcesPending; }
87 inline bool ResourcesPendingHasBeenSet() const { return m_resourcesPendingHasBeenSet; }
88 inline void SetResourcesPending(int value) {
89 m_resourcesPendingHasBeenSet = true;
90 m_resourcesPending = value;
91 }
94 return *this;
95 }
97 private:
98 int m_resourcesSucceeded{0};
99
100 int m_resourcesFailed{0};
101
102 int m_resourcesProcessing{0};
103
104 int m_resourcesPending{0};
105 bool m_resourcesSucceededHasBeenSet = false;
106 bool m_resourcesFailedHasBeenSet = false;
107 bool m_resourcesProcessingHasBeenSet = false;
108 bool m_resourcesPendingHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace CloudFormation
113} // namespace Aws
TemplateProgress & WithResourcesSucceeded(int value)
TemplateProgress & WithResourcesProcessing(int value)
AWS_CLOUDFORMATION_API TemplateProgress()=default
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TemplateProgress & WithResourcesFailed(int value)
AWS_CLOUDFORMATION_API TemplateProgress(const Aws::Utils::Xml::XmlNode &xmlNode)
TemplateProgress & WithResourcesPending(int value)
AWS_CLOUDFORMATION_API TemplateProgress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream