AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace CloudFormation
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_CLOUDFORMATION_API TemplateProgress();
34 AWS_CLOUDFORMATION_API TemplateProgress(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_CLOUDFORMATION_API TemplateProgress& 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
40
42
45 inline int GetResourcesSucceeded() const{ return m_resourcesSucceeded; }
46 inline bool ResourcesSucceededHasBeenSet() const { return m_resourcesSucceededHasBeenSet; }
47 inline void SetResourcesSucceeded(int value) { m_resourcesSucceededHasBeenSet = true; m_resourcesSucceeded = value; }
48 inline TemplateProgress& WithResourcesSucceeded(int value) { SetResourcesSucceeded(value); return *this;}
50
52
55 inline int GetResourcesFailed() const{ return m_resourcesFailed; }
56 inline bool ResourcesFailedHasBeenSet() const { return m_resourcesFailedHasBeenSet; }
57 inline void SetResourcesFailed(int value) { m_resourcesFailedHasBeenSet = true; m_resourcesFailed = value; }
58 inline TemplateProgress& WithResourcesFailed(int value) { SetResourcesFailed(value); return *this;}
60
62
65 inline int GetResourcesProcessing() const{ return m_resourcesProcessing; }
66 inline bool ResourcesProcessingHasBeenSet() const { return m_resourcesProcessingHasBeenSet; }
67 inline void SetResourcesProcessing(int value) { m_resourcesProcessingHasBeenSet = true; m_resourcesProcessing = value; }
68 inline TemplateProgress& WithResourcesProcessing(int value) { SetResourcesProcessing(value); return *this;}
70
72
75 inline int GetResourcesPending() const{ return m_resourcesPending; }
76 inline bool ResourcesPendingHasBeenSet() const { return m_resourcesPendingHasBeenSet; }
77 inline void SetResourcesPending(int value) { m_resourcesPendingHasBeenSet = true; m_resourcesPending = value; }
78 inline TemplateProgress& WithResourcesPending(int value) { SetResourcesPending(value); return *this;}
80 private:
81
82 int m_resourcesSucceeded;
83 bool m_resourcesSucceededHasBeenSet = false;
84
85 int m_resourcesFailed;
86 bool m_resourcesFailedHasBeenSet = false;
87
88 int m_resourcesProcessing;
89 bool m_resourcesProcessingHasBeenSet = false;
90
91 int m_resourcesPending;
92 bool m_resourcesPendingHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CloudFormation
97} // namespace Aws
TemplateProgress & WithResourcesSucceeded(int value)
TemplateProgress & WithResourcesProcessing(int value)
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