AWS SDK for C++  1.9.104
AWS SDK for C++
InstanceRefreshProgressDetails.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace AutoScaling
23 {
24 namespace Model
25 {
26 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
50  inline const InstanceRefreshLivePoolProgress& GetLivePoolProgress() const{ return m_livePoolProgress; }
51 
56  inline bool LivePoolProgressHasBeenSet() const { return m_livePoolProgressHasBeenSet; }
57 
62  inline void SetLivePoolProgress(const InstanceRefreshLivePoolProgress& value) { m_livePoolProgressHasBeenSet = true; m_livePoolProgress = value; }
63 
68  inline void SetLivePoolProgress(InstanceRefreshLivePoolProgress&& value) { m_livePoolProgressHasBeenSet = true; m_livePoolProgress = std::move(value); }
69 
74  inline InstanceRefreshProgressDetails& WithLivePoolProgress(const InstanceRefreshLivePoolProgress& value) { SetLivePoolProgress(value); return *this;}
75 
80  inline InstanceRefreshProgressDetails& WithLivePoolProgress(InstanceRefreshLivePoolProgress&& value) { SetLivePoolProgress(std::move(value)); return *this;}
81 
82 
87  inline const InstanceRefreshWarmPoolProgress& GetWarmPoolProgress() const{ return m_warmPoolProgress; }
88 
93  inline bool WarmPoolProgressHasBeenSet() const { return m_warmPoolProgressHasBeenSet; }
94 
99  inline void SetWarmPoolProgress(const InstanceRefreshWarmPoolProgress& value) { m_warmPoolProgressHasBeenSet = true; m_warmPoolProgress = value; }
100 
105  inline void SetWarmPoolProgress(InstanceRefreshWarmPoolProgress&& value) { m_warmPoolProgressHasBeenSet = true; m_warmPoolProgress = std::move(value); }
106 
111  inline InstanceRefreshProgressDetails& WithWarmPoolProgress(const InstanceRefreshWarmPoolProgress& value) { SetWarmPoolProgress(value); return *this;}
112 
117  inline InstanceRefreshProgressDetails& WithWarmPoolProgress(InstanceRefreshWarmPoolProgress&& value) { SetWarmPoolProgress(std::move(value)); return *this;}
118 
119  private:
120 
121  InstanceRefreshLivePoolProgress m_livePoolProgress;
122  bool m_livePoolProgressHasBeenSet;
123 
124  InstanceRefreshWarmPoolProgress m_warmPoolProgress;
125  bool m_warmPoolProgressHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace AutoScaling
130 } // namespace Aws
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::SetWarmPoolProgress
void SetWarmPoolProgress(InstanceRefreshWarmPoolProgress &&value)
Definition: InstanceRefreshProgressDetails.h:105
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::InstanceRefreshProgressDetails
InstanceRefreshProgressDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::AutoScaling::Model::InstanceRefreshLivePoolProgress
Definition: InstanceRefreshLivePoolProgress.h:31
Aws::AutoScaling::Model::InstanceRefreshWarmPoolProgress
Definition: InstanceRefreshWarmPoolProgress.h:31
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::WithWarmPoolProgress
InstanceRefreshProgressDetails & WithWarmPoolProgress(InstanceRefreshWarmPoolProgress &&value)
Definition: InstanceRefreshProgressDetails.h:117
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::GetWarmPoolProgress
const InstanceRefreshWarmPoolProgress & GetWarmPoolProgress() const
Definition: InstanceRefreshProgressDetails.h:87
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::WithLivePoolProgress
InstanceRefreshProgressDetails & WithLivePoolProgress(InstanceRefreshLivePoolProgress &&value)
Definition: InstanceRefreshProgressDetails.h:80
Aws::AutoScaling::Model::InstanceRefreshProgressDetails
Definition: InstanceRefreshProgressDetails.h:36
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::SetLivePoolProgress
void SetLivePoolProgress(InstanceRefreshLivePoolProgress &&value)
Definition: InstanceRefreshProgressDetails.h:68
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::SetLivePoolProgress
void SetLivePoolProgress(const InstanceRefreshLivePoolProgress &value)
Definition: InstanceRefreshProgressDetails.h:62
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::LivePoolProgressHasBeenSet
bool LivePoolProgressHasBeenSet() const
Definition: InstanceRefreshProgressDetails.h:56
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::WarmPoolProgressHasBeenSet
bool WarmPoolProgressHasBeenSet() const
Definition: InstanceRefreshProgressDetails.h:93
AWSStreamFwd.h
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::SetWarmPoolProgress
void SetWarmPoolProgress(const InstanceRefreshWarmPoolProgress &value)
Definition: InstanceRefreshProgressDetails.h:99
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
InstanceRefreshLivePoolProgress.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::GetLivePoolProgress
const InstanceRefreshLivePoolProgress & GetLivePoolProgress() const
Definition: InstanceRefreshProgressDetails.h:50
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::WithWarmPoolProgress
InstanceRefreshProgressDetails & WithWarmPoolProgress(const InstanceRefreshWarmPoolProgress &value)
Definition: InstanceRefreshProgressDetails.h:111
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::InstanceRefreshProgressDetails
InstanceRefreshProgressDetails()
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::WithLivePoolProgress
InstanceRefreshProgressDetails & WithLivePoolProgress(const InstanceRefreshLivePoolProgress &value)
Definition: InstanceRefreshProgressDetails.h:74
InstanceRefreshWarmPoolProgress.h
Aws::AutoScaling::Model::InstanceRefreshProgressDetails::operator=
InstanceRefreshProgressDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AutoScaling_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181