AWS SDK for C++  1.9.109
AWS SDK for C++
InstanceRefreshWarmPoolProgress.h
Go to the documentation of this file.
1 
6 #pragma once
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace AutoScaling
20 {
21 namespace Model
22 {
23 
31  {
32  public:
36 
37  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38  void OutputToStream(Aws::OStream& oStream, const char* location) const;
39 
40 
48  inline int GetPercentageComplete() const{ return m_percentageComplete; }
49 
57  inline bool PercentageCompleteHasBeenSet() const { return m_percentageCompleteHasBeenSet; }
58 
66  inline void SetPercentageComplete(int value) { m_percentageCompleteHasBeenSet = true; m_percentageComplete = value; }
67 
75  inline InstanceRefreshWarmPoolProgress& WithPercentageComplete(int value) { SetPercentageComplete(value); return *this;}
76 
77 
81  inline int GetInstancesToUpdate() const{ return m_instancesToUpdate; }
82 
86  inline bool InstancesToUpdateHasBeenSet() const { return m_instancesToUpdateHasBeenSet; }
87 
91  inline void SetInstancesToUpdate(int value) { m_instancesToUpdateHasBeenSet = true; m_instancesToUpdate = value; }
92 
96  inline InstanceRefreshWarmPoolProgress& WithInstancesToUpdate(int value) { SetInstancesToUpdate(value); return *this;}
97 
98  private:
99 
100  int m_percentageComplete;
101  bool m_percentageCompleteHasBeenSet;
102 
103  int m_instancesToUpdate;
104  bool m_instancesToUpdateHasBeenSet;
105  };
106 
107 } // namespace Model
108 } // namespace AutoScaling
109 } // namespace Aws
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::InstanceRefreshWarmPoolProgress
InstanceRefreshWarmPoolProgress(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress
Definition: InstanceRefreshWarmPoolProgress.h:31
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::SetPercentageComplete
void SetPercentageComplete(int value)
Definition: InstanceRefreshWarmPoolProgress.h:66
AWSStreamFwd.h
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::GetPercentageComplete
int GetPercentageComplete() const
Definition: InstanceRefreshWarmPoolProgress.h:48
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::InstancesToUpdateHasBeenSet
bool InstancesToUpdateHasBeenSet() const
Definition: InstanceRefreshWarmPoolProgress.h:86
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::WithInstancesToUpdate
InstanceRefreshWarmPoolProgress & WithInstancesToUpdate(int value)
Definition: InstanceRefreshWarmPoolProgress.h:96
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::GetInstancesToUpdate
int GetInstancesToUpdate() const
Definition: InstanceRefreshWarmPoolProgress.h:81
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::operator=
InstanceRefreshWarmPoolProgress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AutoScaling_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::SetInstancesToUpdate
void SetInstancesToUpdate(int value)
Definition: InstanceRefreshWarmPoolProgress.h:91
index
int index
Definition: cJSON.h:181
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::PercentageCompleteHasBeenSet
bool PercentageCompleteHasBeenSet() const
Definition: InstanceRefreshWarmPoolProgress.h:57
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::InstanceRefreshWarmPoolProgress
InstanceRefreshWarmPoolProgress()
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress::WithPercentageComplete
InstanceRefreshWarmPoolProgress & WithPercentageComplete(int value)
Definition: InstanceRefreshWarmPoolProgress.h:75