/** * 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 AWS_ELASTICLOADBALANCINGV2_API SetSubnetsResult { public: SetSubnetsResult(); SetSubnetsResult(const Aws::AmazonWebServiceResult& result); SetSubnetsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the subnet and Availability Zone.

*/ inline const Aws::Vector& GetAvailabilityZones() const{ return m_availabilityZones; } /** *

Information about the subnet and Availability Zone.

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

Information about the subnet and Availability Zone.

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

Information about the subnet and Availability Zone.

*/ inline SetSubnetsResult& WithAvailabilityZones(const Aws::Vector& value) { SetAvailabilityZones(value); return *this;} /** *

Information about the subnet and Availability Zone.

*/ inline SetSubnetsResult& WithAvailabilityZones(Aws::Vector&& value) { SetAvailabilityZones(std::move(value)); return *this;} /** *

Information about the subnet and Availability Zone.

*/ inline SetSubnetsResult& AddAvailabilityZones(const AvailabilityZone& value) { m_availabilityZones.push_back(value); return *this; } /** *

Information about the subnet and Availability Zone.

*/ inline SetSubnetsResult& AddAvailabilityZones(AvailabilityZone&& value) { m_availabilityZones.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 SetSubnetsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline SetSubnetsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_availabilityZones; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticLoadBalancingv2 } // namespace Aws