AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeWarmPoolResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Xml
23 {
24  class XmlDocument;
25 } // namespace Xml
26 } // namespace Utils
27 namespace AutoScaling
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const WarmPoolConfiguration& GetWarmPoolConfiguration() const{ return m_warmPoolConfiguration; }
43 
47  inline void SetWarmPoolConfiguration(const WarmPoolConfiguration& value) { m_warmPoolConfiguration = value; }
48 
52  inline void SetWarmPoolConfiguration(WarmPoolConfiguration&& value) { m_warmPoolConfiguration = std::move(value); }
53 
57  inline DescribeWarmPoolResult& WithWarmPoolConfiguration(const WarmPoolConfiguration& value) { SetWarmPoolConfiguration(value); return *this;}
58 
62  inline DescribeWarmPoolResult& WithWarmPoolConfiguration(WarmPoolConfiguration&& value) { SetWarmPoolConfiguration(std::move(value)); return *this;}
63 
64 
68  inline const Aws::Vector<Instance>& GetInstances() const{ return m_instances; }
69 
73  inline void SetInstances(const Aws::Vector<Instance>& value) { m_instances = value; }
74 
78  inline void SetInstances(Aws::Vector<Instance>&& value) { m_instances = std::move(value); }
79 
83  inline DescribeWarmPoolResult& WithInstances(const Aws::Vector<Instance>& value) { SetInstances(value); return *this;}
84 
88  inline DescribeWarmPoolResult& WithInstances(Aws::Vector<Instance>&& value) { SetInstances(std::move(value)); return *this;}
89 
93  inline DescribeWarmPoolResult& AddInstances(const Instance& value) { m_instances.push_back(value); return *this; }
94 
98  inline DescribeWarmPoolResult& AddInstances(Instance&& value) { m_instances.push_back(std::move(value)); return *this; }
99 
100 
105  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
106 
111  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
112 
117  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
118 
123  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
124 
129  inline DescribeWarmPoolResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
130 
135  inline DescribeWarmPoolResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
136 
141  inline DescribeWarmPoolResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143 
144 
145  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
146 
147 
148  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
149 
150 
151  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
152 
153 
154  inline DescribeWarmPoolResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
155 
156 
157  inline DescribeWarmPoolResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
158 
159  private:
160 
161  WarmPoolConfiguration m_warmPoolConfiguration;
162 
163  Aws::Vector<Instance> m_instances;
164 
165  Aws::String m_nextToken;
166 
167  ResponseMetadata m_responseMetadata;
168  };
169 
170 } // namespace Model
171 } // namespace AutoScaling
172 } // namespace Aws
Aws::AutoScaling::Model::DescribeWarmPoolResult
Definition: DescribeWarmPoolResult.h:32
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AutoScaling::Model::DescribeWarmPoolResult::WithWarmPoolConfiguration
DescribeWarmPoolResult & WithWarmPoolConfiguration(WarmPoolConfiguration &&value)
Definition: DescribeWarmPoolResult.h:62
Aws::AutoScaling::Model::DescribeWarmPoolResult::WithNextToken
DescribeWarmPoolResult & WithNextToken(const char *value)
Definition: DescribeWarmPoolResult.h:141
Aws::AutoScaling::Model::DescribeWarmPoolResult::AddInstances
DescribeWarmPoolResult & AddInstances(Instance &&value)
Definition: DescribeWarmPoolResult.h:98
Aws::AutoScaling::Model::DescribeWarmPoolResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeWarmPoolResult.h:148
Aws::AutoScaling::Model::DescribeWarmPoolResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeWarmPoolResult.h:105
Aws::AutoScaling::Model::DescribeWarmPoolResult::SetInstances
void SetInstances(const Aws::Vector< Instance > &value)
Definition: DescribeWarmPoolResult.h:73
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AutoScaling::Model::DescribeWarmPoolResult::GetInstances
const Aws::Vector< Instance > & GetInstances() const
Definition: DescribeWarmPoolResult.h:68
AWSVector.h
Aws::AutoScaling::Model::DescribeWarmPoolResult::WithNextToken
DescribeWarmPoolResult & WithNextToken(const Aws::String &value)
Definition: DescribeWarmPoolResult.h:129
Instance.h
Aws::AutoScaling::Model::DescribeWarmPoolResult::SetWarmPoolConfiguration
void SetWarmPoolConfiguration(const WarmPoolConfiguration &value)
Definition: DescribeWarmPoolResult.h:47
Aws::AutoScaling::Model::DescribeWarmPoolResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeWarmPoolResult.h:117
Aws::AutoScaling::Model::DescribeWarmPoolResult::WithNextToken
DescribeWarmPoolResult & WithNextToken(Aws::String &&value)
Definition: DescribeWarmPoolResult.h:135
Aws::AutoScaling::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::DescribeWarmPoolResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeWarmPoolResult.h:145
Aws::AutoScaling::Model::DescribeWarmPoolResult::DescribeWarmPoolResult
DescribeWarmPoolResult()
WarmPoolConfiguration.h
AWSString.h
Aws::AutoScaling::Model::DescribeWarmPoolResult::DescribeWarmPoolResult
DescribeWarmPoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::DescribeWarmPoolResult::operator=
DescribeWarmPoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::DescribeWarmPoolResult::WithInstances
DescribeWarmPoolResult & WithInstances(Aws::Vector< Instance > &&value)
Definition: DescribeWarmPoolResult.h:88
Aws::AutoScaling::Model::DescribeWarmPoolResult::WithInstances
DescribeWarmPoolResult & WithInstances(const Aws::Vector< Instance > &value)
Definition: DescribeWarmPoolResult.h:83
Aws::AutoScaling::Model::DescribeWarmPoolResult::AddInstances
DescribeWarmPoolResult & AddInstances(const Instance &value)
Definition: DescribeWarmPoolResult.h:93
Aws::AutoScaling::Model::DescribeWarmPoolResult::WithResponseMetadata
DescribeWarmPoolResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeWarmPoolResult.h:154
AutoScaling_EXPORTS.h
Aws::AutoScaling::Model::DescribeWarmPoolResult::WithResponseMetadata
DescribeWarmPoolResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeWarmPoolResult.h:157
Aws::AutoScaling::Model::DescribeWarmPoolResult::WithWarmPoolConfiguration
DescribeWarmPoolResult & WithWarmPoolConfiguration(const WarmPoolConfiguration &value)
Definition: DescribeWarmPoolResult.h:57
Aws::AutoScaling::Model::Instance
Definition: Instance.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::DescribeWarmPoolResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeWarmPoolResult.h:151
Aws::AutoScaling::Model::DescribeWarmPoolResult::SetInstances
void SetInstances(Aws::Vector< Instance > &&value)
Definition: DescribeWarmPoolResult.h:78
Aws::AutoScaling::Model::DescribeWarmPoolResult::SetWarmPoolConfiguration
void SetWarmPoolConfiguration(WarmPoolConfiguration &&value)
Definition: DescribeWarmPoolResult.h:52
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::AutoScaling::Model::DescribeWarmPoolResult::GetWarmPoolConfiguration
const WarmPoolConfiguration & GetWarmPoolConfiguration() const
Definition: DescribeWarmPoolResult.h:42
Aws::AutoScaling::Model::DescribeWarmPoolResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeWarmPoolResult.h:111
Aws::AutoScaling::Model::WarmPoolConfiguration
Definition: WarmPoolConfiguration.h:33
Aws::AutoScaling::Model::DescribeWarmPoolResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeWarmPoolResult.h:123