AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeLoadBalancerAttributesResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
9#include <aws/elasticloadbalancingv2/model/LoadBalancerAttribute.h>
10#include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticLoadBalancingv2 {
24namespace Model {
26 public:
27 AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancerAttributesResult() = default;
28 AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancerAttributesResult(
30 AWS_ELASTICLOADBALANCINGV2_API DescribeLoadBalancerAttributesResult& operator=(
32
34
37 inline const Aws::Vector<LoadBalancerAttribute>& GetAttributes() const { return m_attributes; }
38 template <typename AttributesT = Aws::Vector<LoadBalancerAttribute>>
39 void SetAttributes(AttributesT&& value) {
40 m_attributesHasBeenSet = true;
41 m_attributes = std::forward<AttributesT>(value);
42 }
43 template <typename AttributesT = Aws::Vector<LoadBalancerAttribute>>
45 SetAttributes(std::forward<AttributesT>(value));
46 return *this;
47 }
48 template <typename AttributesT = LoadBalancerAttribute>
50 m_attributesHasBeenSet = true;
51 m_attributes.emplace_back(std::forward<AttributesT>(value));
52 return *this;
53 }
55
57
58 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
59 template <typename ResponseMetadataT = ResponseMetadata>
60 void SetResponseMetadata(ResponseMetadataT&& value) {
61 m_responseMetadataHasBeenSet = true;
62 m_responseMetadata = std::forward<ResponseMetadataT>(value);
63 }
64 template <typename ResponseMetadataT = ResponseMetadata>
66 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
67 return *this;
68 }
70 private:
72
73 ResponseMetadata m_responseMetadata;
74 bool m_attributesHasBeenSet = false;
75 bool m_responseMetadataHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace ElasticLoadBalancingv2
80} // 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