AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
InstanceRefreshWarmPoolProgress.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_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 AutoScaling {
17namespace Model {
18
26 public:
27 AWS_AUTOSCALING_API InstanceRefreshWarmPoolProgress() = default;
28 AWS_AUTOSCALING_API InstanceRefreshWarmPoolProgress(const Aws::Utils::Xml::XmlNode& xmlNode);
30
31 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
32 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
33
35
42 inline int GetPercentageComplete() const { return m_percentageComplete; }
43 inline bool PercentageCompleteHasBeenSet() const { return m_percentageCompleteHasBeenSet; }
44 inline void SetPercentageComplete(int value) {
45 m_percentageCompleteHasBeenSet = true;
46 m_percentageComplete = value;
47 }
50 return *this;
51 }
53
55
58 inline int GetInstancesToUpdate() const { return m_instancesToUpdate; }
59 inline bool InstancesToUpdateHasBeenSet() const { return m_instancesToUpdateHasBeenSet; }
60 inline void SetInstancesToUpdate(int value) {
61 m_instancesToUpdateHasBeenSet = true;
62 m_instancesToUpdate = value;
63 }
66 return *this;
67 }
69 private:
70 int m_percentageComplete{0};
71
72 int m_instancesToUpdate{0};
73 bool m_percentageCompleteHasBeenSet = false;
74 bool m_instancesToUpdateHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace AutoScaling
79} // namespace Aws
InstanceRefreshWarmPoolProgress & WithInstancesToUpdate(int value)
AWS_AUTOSCALING_API InstanceRefreshWarmPoolProgress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InstanceRefreshWarmPoolProgress & WithPercentageComplete(int value)
AWS_AUTOSCALING_API InstanceRefreshWarmPoolProgress(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API InstanceRefreshWarmPoolProgress()=default
std::basic_ostream< char, std::char_traits< char > > OStream