AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
DescribeLoadBalancerAttributesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
10#include <aws/elasticloadbalancingv2/model/LoadBalancerAttribute.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 DescribeLoadBalancerAttributesResult() = default;
29 AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancerAttributesResult(
31 AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancerAttributesResult& operator=(
33
35
38 inline const Aws::Vector<LoadBalancerAttribute>& GetAttributes() const { return m_attributes; }
39 template <typename AttributesT = Aws::Vector<LoadBalancerAttribute>>
40 void SetAttributes(AttributesT&& value) {
41 m_attributesHasBeenSet = true;
42 m_attributes = std::forward<AttributesT>(value);
43 }
44 template <typename AttributesT = Aws::Vector<LoadBalancerAttribute>>
46 SetAttributes(std::forward<AttributesT>(value));
47 return *this;
48 }
49 template <typename AttributesT = LoadBalancerAttribute>
51 m_attributesHasBeenSet = true;
52 m_attributes.emplace_back(std::forward<AttributesT>(value));
53 return *this;
54 }
56
58
59 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
60 template <typename ResponseMetadataT = ResponseMetadata>
61 void SetResponseMetadata(ResponseMetadataT&& value) {
62 m_responseMetadataHasBeenSet = true;
63 m_responseMetadata = std::forward<ResponseMetadataT>(value);
64 }
65 template <typename ResponseMetadataT = ResponseMetadata>
67 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
68 return *this;
69 }
71 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
72
73 private:
75
76 ResponseMetadata m_responseMetadata;
77 Aws::Http::HttpResponseCode m_HttpResponseCode;
78 bool m_attributesHasBeenSet = false;
79 bool m_responseMetadataHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace ElasticLoadBalancingv2
84} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancerAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancerAttributesResult()=default
DescribeLoadBalancerAttributesResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancerAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument