AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLoadBalancersResult.h
1
6#pragma once
7#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticloadbalancing/model/ResponseMetadata.h>
11#include <aws/elasticloadbalancing/model/LoadBalancerDescription.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace ElasticLoadBalancing
27{
28namespace Model
29{
37 {
38 public:
39 AWS_ELASTICLOADBALANCING_API DescribeLoadBalancersResult();
42
43
45
48 inline const Aws::Vector<LoadBalancerDescription>& GetLoadBalancerDescriptions() const{ return m_loadBalancerDescriptions; }
49 inline void SetLoadBalancerDescriptions(const Aws::Vector<LoadBalancerDescription>& value) { m_loadBalancerDescriptions = value; }
50 inline void SetLoadBalancerDescriptions(Aws::Vector<LoadBalancerDescription>&& value) { m_loadBalancerDescriptions = std::move(value); }
53 inline DescribeLoadBalancersResult& AddLoadBalancerDescriptions(const LoadBalancerDescription& value) { m_loadBalancerDescriptions.push_back(value); return *this; }
54 inline DescribeLoadBalancersResult& AddLoadBalancerDescriptions(LoadBalancerDescription&& value) { m_loadBalancerDescriptions.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
63 inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
64 inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
65 inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
66 inline DescribeLoadBalancersResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
67 inline DescribeLoadBalancersResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
68 inline DescribeLoadBalancersResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
70
72
73 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
75 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
77 inline DescribeLoadBalancersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
79 private:
80
81 Aws::Vector<LoadBalancerDescription> m_loadBalancerDescriptions;
82
83 Aws::String m_nextMarker;
84
85 ResponseMetadata m_responseMetadata;
86 };
87
88} // namespace Model
89} // namespace ElasticLoadBalancing
90} // namespace Aws
DescribeLoadBalancersResult & AddLoadBalancerDescriptions(LoadBalancerDescription &&value)
DescribeLoadBalancersResult & WithNextMarker(const Aws::String &value)
DescribeLoadBalancersResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< LoadBalancerDescription > & GetLoadBalancerDescriptions() const
void SetLoadBalancerDescriptions(const Aws::Vector< LoadBalancerDescription > &value)
DescribeLoadBalancersResult & WithNextMarker(const char *value)
void SetLoadBalancerDescriptions(Aws::Vector< LoadBalancerDescription > &&value)
DescribeLoadBalancersResult & WithLoadBalancerDescriptions(Aws::Vector< LoadBalancerDescription > &&value)
DescribeLoadBalancersResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_ELASTICLOADBALANCING_API DescribeLoadBalancersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeLoadBalancersResult & WithLoadBalancerDescriptions(const Aws::Vector< LoadBalancerDescription > &value)
DescribeLoadBalancersResult & AddLoadBalancerDescriptions(const LoadBalancerDescription &value)
DescribeLoadBalancersResult & WithNextMarker(Aws::String &&value)
AWS_ELASTICLOADBALANCING_API DescribeLoadBalancersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument