AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeLoadBalancersResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
10#include <aws/elasticloadbalancingv2/model/LoadBalancer.h>
11#include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElasticLoadBalancingv2 {
25namespace Model {
27 public:
28 AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancersResult() = default;
30 AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancersResult& operator=(
32
34
37 inline const Aws::Vector<LoadBalancer>& GetLoadBalancers() const { return m_loadBalancers; }
38 template <typename LoadBalancersT = Aws::Vector<LoadBalancer>>
39 void SetLoadBalancers(LoadBalancersT&& value) {
40 m_loadBalancersHasBeenSet = true;
41 m_loadBalancers = std::forward<LoadBalancersT>(value);
42 }
43 template <typename LoadBalancersT = Aws::Vector<LoadBalancer>>
45 SetLoadBalancers(std::forward<LoadBalancersT>(value));
46 return *this;
47 }
48 template <typename LoadBalancersT = LoadBalancer>
50 m_loadBalancersHasBeenSet = true;
51 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
62 template <typename NextMarkerT = Aws::String>
63 void SetNextMarker(NextMarkerT&& value) {
64 m_nextMarkerHasBeenSet = true;
65 m_nextMarker = std::forward<NextMarkerT>(value);
66 }
67 template <typename NextMarkerT = Aws::String>
69 SetNextMarker(std::forward<NextMarkerT>(value));
70 return *this;
71 }
73
75
76 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
77 template <typename ResponseMetadataT = ResponseMetadata>
78 void SetResponseMetadata(ResponseMetadataT&& value) {
79 m_responseMetadataHasBeenSet = true;
80 m_responseMetadata = std::forward<ResponseMetadataT>(value);
81 }
82 template <typename ResponseMetadataT = ResponseMetadata>
84 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
85 return *this;
86 }
88 private:
89 Aws::Vector<LoadBalancer> m_loadBalancers;
90
91 Aws::String m_nextMarker;
92
93 ResponseMetadata m_responseMetadata;
94 bool m_loadBalancersHasBeenSet = false;
95 bool m_nextMarkerHasBeenSet = false;
96 bool m_responseMetadataHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ElasticLoadBalancingv2
101} // namespace Aws
DescribeLoadBalancersResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancersResult()=default
DescribeLoadBalancersResult & WithLoadBalancers(LoadBalancersT &&value)
DescribeLoadBalancersResult & WithNextMarker(NextMarkerT &&value)
AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeLoadBalancersResult & AddLoadBalancers(LoadBalancersT &&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