AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace AutoScaling
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_AUTOSCALING_API InstanceRefreshWarmPoolProgress();
34 AWS_AUTOSCALING_API InstanceRefreshWarmPoolProgress(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
40
42
49 inline int GetPercentageComplete() const{ return m_percentageComplete; }
50 inline bool PercentageCompleteHasBeenSet() const { return m_percentageCompleteHasBeenSet; }
51 inline void SetPercentageComplete(int value) { m_percentageCompleteHasBeenSet = true; m_percentageComplete = value; }
54
56
59 inline int GetInstancesToUpdate() const{ return m_instancesToUpdate; }
60 inline bool InstancesToUpdateHasBeenSet() const { return m_instancesToUpdateHasBeenSet; }
61 inline void SetInstancesToUpdate(int value) { m_instancesToUpdateHasBeenSet = true; m_instancesToUpdate = value; }
64 private:
65
66 int m_percentageComplete;
67 bool m_percentageCompleteHasBeenSet = false;
68
69 int m_instancesToUpdate;
70 bool m_instancesToUpdateHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace AutoScaling
75} // 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)
std::basic_ostream< char, std::char_traits< char > > OStream