7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
11#include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
12#include <aws/elasticloadbalancingv2/model/TargetGroup.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace ElasticLoadBalancingv2 {
39 template <
typename TargetGroupsT = Aws::Vector<TargetGroup>>
41 m_targetGroupsHasBeenSet =
true;
42 m_targetGroups = std::forward<TargetGroupsT>(value);
44 template <
typename TargetGroupsT = Aws::Vector<TargetGroup>>
49 template <
typename TargetGroupsT = TargetGroup>
51 m_targetGroupsHasBeenSet =
true;
52 m_targetGroups.emplace_back(std::forward<TargetGroupsT>(value));
63 template <
typename NextMarkerT = Aws::String>
65 m_nextMarkerHasBeenSet =
true;
66 m_nextMarker = std::forward<NextMarkerT>(value);
68 template <
typename NextMarkerT = Aws::String>
78 template <
typename ResponseMetadataT = ResponseMetadata>
80 m_responseMetadataHasBeenSet =
true;
81 m_responseMetadata = std::forward<ResponseMetadataT>(value);
83 template <
typename ResponseMetadataT = ResponseMetadata>
98 bool m_targetGroupsHasBeenSet =
false;
99 bool m_nextMarkerHasBeenSet =
false;
100 bool m_responseMetadataHasBeenSet =
false;
DescribeTargetGroupsResult & WithTargetGroups(TargetGroupsT &&value)
DescribeTargetGroupsResult & AddTargetGroups(TargetGroupsT &&value)
AWS_ELASTICLOADBALANCINGV2_API DescribeTargetGroupsResult()=default
const ResponseMetadata & GetResponseMetadata() const
const Aws::String & GetNextMarker() const
DescribeTargetGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
void SetTargetGroups(TargetGroupsT &&value)
DescribeTargetGroupsResult & WithNextMarker(NextMarkerT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< TargetGroup > & GetTargetGroups() const
AWS_ELASTICLOADBALANCINGV2_API DescribeTargetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetNextMarker(NextMarkerT &&value)
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