AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeWarmPoolResult.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/WarmPoolConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/autoscaling/model/ResponseMetadata.h>
12#include <aws/autoscaling/model/Instance.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace AutoScaling
28{
29namespace Model
30{
32 {
33 public:
34 AWS_AUTOSCALING_API DescribeWarmPoolResult();
37
38
40
43 inline const WarmPoolConfiguration& GetWarmPoolConfiguration() const{ return m_warmPoolConfiguration; }
44 inline void SetWarmPoolConfiguration(const WarmPoolConfiguration& value) { m_warmPoolConfiguration = value; }
45 inline void SetWarmPoolConfiguration(WarmPoolConfiguration&& value) { m_warmPoolConfiguration = std::move(value); }
49
51
54 inline const Aws::Vector<Instance>& GetInstances() const{ return m_instances; }
55 inline void SetInstances(const Aws::Vector<Instance>& value) { m_instances = value; }
56 inline void SetInstances(Aws::Vector<Instance>&& value) { m_instances = std::move(value); }
57 inline DescribeWarmPoolResult& WithInstances(const Aws::Vector<Instance>& value) { SetInstances(value); return *this;}
58 inline DescribeWarmPoolResult& WithInstances(Aws::Vector<Instance>&& value) { SetInstances(std::move(value)); return *this;}
59 inline DescribeWarmPoolResult& AddInstances(const Instance& value) { m_instances.push_back(value); return *this; }
60 inline DescribeWarmPoolResult& AddInstances(Instance&& value) { m_instances.push_back(std::move(value)); return *this; }
62
64
70 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
71 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
72 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
73 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
74 inline DescribeWarmPoolResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
75 inline DescribeWarmPoolResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
76 inline DescribeWarmPoolResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78
80
81 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
82 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
83 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
85 inline DescribeWarmPoolResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
87 private:
88
89 WarmPoolConfiguration m_warmPoolConfiguration;
90
91 Aws::Vector<Instance> m_instances;
92
93 Aws::String m_nextToken;
94
95 ResponseMetadata m_responseMetadata;
96 };
97
98} // namespace Model
99} // namespace AutoScaling
100} // namespace Aws
AWS_AUTOSCALING_API DescribeWarmPoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetWarmPoolConfiguration(WarmPoolConfiguration &&value)
DescribeWarmPoolResult & WithWarmPoolConfiguration(WarmPoolConfiguration &&value)
DescribeWarmPoolResult & WithNextToken(const char *value)
const WarmPoolConfiguration & GetWarmPoolConfiguration() const
DescribeWarmPoolResult & WithInstances(const Aws::Vector< Instance > &value)
DescribeWarmPoolResult & WithInstances(Aws::Vector< Instance > &&value)
AWS_AUTOSCALING_API DescribeWarmPoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeWarmPoolResult & AddInstances(const Instance &value)
const Aws::Vector< Instance > & GetInstances() const
void SetInstances(const Aws::Vector< Instance > &value)
void SetInstances(Aws::Vector< Instance > &&value)
DescribeWarmPoolResult & WithWarmPoolConfiguration(const WarmPoolConfiguration &value)
void SetWarmPoolConfiguration(const WarmPoolConfiguration &value)
DescribeWarmPoolResult & WithNextToken(Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
DescribeWarmPoolResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeWarmPoolResult & WithNextToken(const Aws::String &value)
DescribeWarmPoolResult & AddInstances(Instance &&value)
DescribeWarmPoolResult & WithResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument