AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeLoadBalancerTargetGroupsResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace AutoScaling
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::Vector<LoadBalancerTargetGroupState>& GetLoadBalancerTargetGroups() const{ return m_loadBalancerTargetGroups; }
42 
46  inline void SetLoadBalancerTargetGroups(const Aws::Vector<LoadBalancerTargetGroupState>& value) { m_loadBalancerTargetGroups = value; }
47 
51  inline void SetLoadBalancerTargetGroups(Aws::Vector<LoadBalancerTargetGroupState>&& value) { m_loadBalancerTargetGroups = std::move(value); }
52 
56  inline DescribeLoadBalancerTargetGroupsResult& WithLoadBalancerTargetGroups(const Aws::Vector<LoadBalancerTargetGroupState>& value) { SetLoadBalancerTargetGroups(value); return *this;}
57 
61  inline DescribeLoadBalancerTargetGroupsResult& WithLoadBalancerTargetGroups(Aws::Vector<LoadBalancerTargetGroupState>&& value) { SetLoadBalancerTargetGroups(std::move(value)); return *this;}
62 
66  inline DescribeLoadBalancerTargetGroupsResult& AddLoadBalancerTargetGroups(const LoadBalancerTargetGroupState& value) { m_loadBalancerTargetGroups.push_back(value); return *this; }
67 
71  inline DescribeLoadBalancerTargetGroupsResult& AddLoadBalancerTargetGroups(LoadBalancerTargetGroupState&& value) { m_loadBalancerTargetGroups.push_back(std::move(value)); return *this; }
72 
73 
80  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
104  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
105 
112  inline DescribeLoadBalancerTargetGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
120  inline DescribeLoadBalancerTargetGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
121 
128  inline DescribeLoadBalancerTargetGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
129 
130 
131 
132  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
133 
134 
135  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
136 
137 
138  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
139 
140 
141  inline DescribeLoadBalancerTargetGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
142 
143 
144  inline DescribeLoadBalancerTargetGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
145 
146  private:
147 
148  Aws::Vector<LoadBalancerTargetGroupState> m_loadBalancerTargetGroups;
149 
150  Aws::String m_nextToken;
151 
152  ResponseMetadata m_responseMetadata;
153  };
154 
155 } // namespace Model
156 } // namespace AutoScaling
157 } // namespace Aws
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::DescribeLoadBalancerTargetGroupsResult
DescribeLoadBalancerTargetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::WithLoadBalancerTargetGroups
DescribeLoadBalancerTargetGroupsResult & WithLoadBalancerTargetGroups(const Aws::Vector< LoadBalancerTargetGroupState > &value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:56
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::WithNextToken
DescribeLoadBalancerTargetGroupsResult & WithNextToken(const char *value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:128
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::WithNextToken
DescribeLoadBalancerTargetGroupsResult & WithNextToken(Aws::String &&value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:120
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::AddLoadBalancerTargetGroups
DescribeLoadBalancerTargetGroupsResult & AddLoadBalancerTargetGroups(LoadBalancerTargetGroupState &&value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:71
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::WithNextToken
DescribeLoadBalancerTargetGroupsResult & WithNextToken(const Aws::String &value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:112
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::WithResponseMetadata
DescribeLoadBalancerTargetGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:141
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::operator=
DescribeLoadBalancerTargetGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWSVector.h
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::WithResponseMetadata
DescribeLoadBalancerTargetGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:144
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::AddLoadBalancerTargetGroups
DescribeLoadBalancerTargetGroupsResult & AddLoadBalancerTargetGroups(const LoadBalancerTargetGroupState &value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:66
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:104
Aws::AutoScaling::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::WithLoadBalancerTargetGroups
DescribeLoadBalancerTargetGroupsResult & WithLoadBalancerTargetGroups(Aws::Vector< LoadBalancerTargetGroupState > &&value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:61
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeLoadBalancerTargetGroupsResult.h:132
AWSString.h
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:135
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:96
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::DescribeLoadBalancerTargetGroupsResult
DescribeLoadBalancerTargetGroupsResult()
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:88
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::SetLoadBalancerTargetGroups
void SetLoadBalancerTargetGroups(Aws::Vector< LoadBalancerTargetGroupState > &&value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:51
AutoScaling_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
LoadBalancerTargetGroupState.h
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::GetLoadBalancerTargetGroups
const Aws::Vector< LoadBalancerTargetGroupState > & GetLoadBalancerTargetGroups() const
Definition: DescribeLoadBalancerTargetGroupsResult.h:41
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::AutoScaling::Model::LoadBalancerTargetGroupState
Definition: LoadBalancerTargetGroupState.h:32
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeLoadBalancerTargetGroupsResult.h:80
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:138
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult::SetLoadBalancerTargetGroups
void SetLoadBalancerTargetGroups(const Aws::Vector< LoadBalancerTargetGroupState > &value)
Definition: DescribeLoadBalancerTargetGroupsResult.h:46
Aws::AutoScaling::Model::DescribeLoadBalancerTargetGroupsResult
Definition: DescribeLoadBalancerTargetGroupsResult.h:31