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/ResponseMetadata.h>
11#include <aws/elasticloadbalancingv2/model/TargetHealthDescription.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ElasticLoadBalancingv2 {
38 template <
typename TargetHealthDescriptionsT = Aws::Vector<TargetHealthDescription>>
40 m_targetHealthDescriptionsHasBeenSet =
true;
41 m_targetHealthDescriptions = std::forward<TargetHealthDescriptionsT>(value);
43 template <
typename TargetHealthDescriptionsT = Aws::Vector<TargetHealthDescription>>
48 template <
typename TargetHealthDescriptionsT = TargetHealthDescription>
50 m_targetHealthDescriptionsHasBeenSet =
true;
51 m_targetHealthDescriptions.emplace_back(std::forward<TargetHealthDescriptionsT>(value));
59 template <
typename ResponseMetadataT = ResponseMetadata>
61 m_responseMetadataHasBeenSet =
true;
62 m_responseMetadata = std::forward<ResponseMetadataT>(value);
64 template <
typename ResponseMetadataT = ResponseMetadata>
77 bool m_targetHealthDescriptionsHasBeenSet =
false;
78 bool m_responseMetadataHasBeenSet =
false;
const Aws::Vector< TargetHealthDescription > & GetTargetHealthDescriptions() const
AWS_ELASTICLOADBALANCINGV2_API DescribeTargetHealthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetTargetHealthDescriptions(TargetHealthDescriptionsT &&value)
AWS_ELASTICLOADBALANCINGV2_API DescribeTargetHealthResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeTargetHealthResult & WithTargetHealthDescriptions(TargetHealthDescriptionsT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
DescribeTargetHealthResult & AddTargetHealthDescriptions(TargetHealthDescriptionsT &&value)
DescribeTargetHealthResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICLOADBALANCINGV2_API DescribeTargetHealthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument