AWS SDK for C++  1.9.159
AWS SDK for C++
InstanceRefreshLivePoolProgress.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 InstanceRefreshLivePoolProgress& 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 InstanceRefreshLivePoolProgress& 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::InstanceRefreshLivePoolProgress::WithInstancesToUpdate
InstanceRefreshLivePoolProgress & WithInstancesToUpdate(int value)
Definition: InstanceRefreshLivePoolProgress.h:96
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress
Definition: InstanceRefreshLivePoolProgress.h:31
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::GetInstancesToUpdate
int GetInstancesToUpdate() const
Definition: InstanceRefreshLivePoolProgress.h:81
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::InstanceRefreshLivePoolProgress
InstanceRefreshLivePoolProgress(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::GetPercentageComplete
int GetPercentageComplete() const
Definition: InstanceRefreshLivePoolProgress.h:48
AWSStreamFwd.h
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::InstanceRefreshLivePoolProgress
InstanceRefreshLivePoolProgress()
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::PercentageCompleteHasBeenSet
bool PercentageCompleteHasBeenSet() const
Definition: InstanceRefreshLivePoolProgress.h:57
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::WithPercentageComplete
InstanceRefreshLivePoolProgress & WithPercentageComplete(int value)
Definition: InstanceRefreshLivePoolProgress.h:75
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::SetInstancesToUpdate
void SetInstancesToUpdate(int value)
Definition: InstanceRefreshLivePoolProgress.h:91
AutoScaling_EXPORTS.h
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::SetPercentageComplete
void SetPercentageComplete(int value)
Definition: InstanceRefreshLivePoolProgress.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::operator=
InstanceRefreshLivePoolProgress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
index
int index
Definition: cJSON.h:181
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress::InstancesToUpdateHasBeenSet
bool InstancesToUpdateHasBeenSet() const
Definition: InstanceRefreshLivePoolProgress.h:86