/** * 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 ElasticLoadBalancing { namespace Model { /** *

Contains the output of AttachLoadBalancerToSubnets.

See Also:

* AWS * API Reference

*/ class AttachLoadBalancerToSubnetsResult { public: AWS_ELASTICLOADBALANCING_API AttachLoadBalancerToSubnetsResult(); AWS_ELASTICLOADBALANCING_API AttachLoadBalancerToSubnetsResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICLOADBALANCING_API AttachLoadBalancerToSubnetsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The IDs of the subnets attached to the load balancer.

*/ inline const Aws::Vector& GetSubnets() const{ return m_subnets; } /** *

The IDs of the subnets attached to the load balancer.

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

The IDs of the subnets attached to the load balancer.

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

The IDs of the subnets attached to the load balancer.

*/ inline AttachLoadBalancerToSubnetsResult& WithSubnets(const Aws::Vector& value) { SetSubnets(value); return *this;} /** *

The IDs of the subnets attached to the load balancer.

*/ inline AttachLoadBalancerToSubnetsResult& WithSubnets(Aws::Vector&& value) { SetSubnets(std::move(value)); return *this;} /** *

The IDs of the subnets attached to the load balancer.

*/ inline AttachLoadBalancerToSubnetsResult& AddSubnets(const Aws::String& value) { m_subnets.push_back(value); return *this; } /** *

The IDs of the subnets attached to the load balancer.

*/ inline AttachLoadBalancerToSubnetsResult& AddSubnets(Aws::String&& value) { m_subnets.push_back(std::move(value)); return *this; } /** *

The IDs of the subnets attached to the load balancer.

*/ inline AttachLoadBalancerToSubnetsResult& AddSubnets(const char* value) { m_subnets.push_back(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 AttachLoadBalancerToSubnetsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline AttachLoadBalancerToSubnetsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_subnets; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticLoadBalancing } // namespace Aws