/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace ElasticLoadBalancingv2 { namespace Model { class DescribeTargetHealthResult { public: AWS_ELASTICLOADBALANCINGV2_API DescribeTargetHealthResult(); AWS_ELASTICLOADBALANCINGV2_API DescribeTargetHealthResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICLOADBALANCINGV2_API DescribeTargetHealthResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the health of the targets.

*/ inline const Aws::Vector& GetTargetHealthDescriptions() const{ return m_targetHealthDescriptions; } /** *

Information about the health of the targets.

*/ inline void SetTargetHealthDescriptions(const Aws::Vector& value) { m_targetHealthDescriptions = value; } /** *

Information about the health of the targets.

*/ inline void SetTargetHealthDescriptions(Aws::Vector&& value) { m_targetHealthDescriptions = std::move(value); } /** *

Information about the health of the targets.

*/ inline DescribeTargetHealthResult& WithTargetHealthDescriptions(const Aws::Vector& value) { SetTargetHealthDescriptions(value); return *this;} /** *

Information about the health of the targets.

*/ inline DescribeTargetHealthResult& WithTargetHealthDescriptions(Aws::Vector&& value) { SetTargetHealthDescriptions(std::move(value)); return *this;} /** *

Information about the health of the targets.

*/ inline DescribeTargetHealthResult& AddTargetHealthDescriptions(const TargetHealthDescription& value) { m_targetHealthDescriptions.push_back(value); return *this; } /** *

Information about the health of the targets.

*/ inline DescribeTargetHealthResult& AddTargetHealthDescriptions(TargetHealthDescription&& value) { m_targetHealthDescriptions.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeTargetHealthResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeTargetHealthResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_targetHealthDescriptions; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticLoadBalancingv2 } // namespace Aws