AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeTargetGroupsResult.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/ResponseMetadata.h>
11#include <aws/elasticloadbalancingv2/model/TargetGroup.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 DescribeTargetGroupsResult() = default;
30 AWS_ELASTICLOADBALANCINGV2_API DescribeTargetGroupsResult& operator=(
32
34
37 inline const Aws::Vector<TargetGroup>& GetTargetGroups() const { return m_targetGroups; }
38 template <typename TargetGroupsT = Aws::Vector<TargetGroup>>
39 void SetTargetGroups(TargetGroupsT&& value) {
40 m_targetGroupsHasBeenSet = true;
41 m_targetGroups = std::forward<TargetGroupsT>(value);
42 }
43 template <typename TargetGroupsT = Aws::Vector<TargetGroup>>
45 SetTargetGroups(std::forward<TargetGroupsT>(value));
46 return *this;
47 }
48 template <typename TargetGroupsT = TargetGroup>
50 m_targetGroupsHasBeenSet = true;
51 m_targetGroups.emplace_back(std::forward<TargetGroupsT>(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<TargetGroup> m_targetGroups;
90
91 Aws::String m_nextMarker;
92
93 ResponseMetadata m_responseMetadata;
94 bool m_targetGroupsHasBeenSet = false;
95 bool m_nextMarkerHasBeenSet = false;
96 bool m_responseMetadataHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ElasticLoadBalancingv2
101} // namespace Aws
DescribeTargetGroupsResult & WithTargetGroups(TargetGroupsT &&value)
DescribeTargetGroupsResult & AddTargetGroups(TargetGroupsT &&value)
AWS_ELASTICLOADBALANCINGV2_API DescribeTargetGroupsResult()=default
DescribeTargetGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeTargetGroupsResult & WithNextMarker(NextMarkerT &&value)
AWS_ELASTICLOADBALANCINGV2_API DescribeTargetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICLOADBALANCINGV2_API DescribeTargetGroupsResult & 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