/** * 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 DetachLoadBalancerFromSubnets.

See * Also:

AWS * API Reference

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

The IDs of the remaining subnets for the load balancer.

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

The IDs of the remaining subnets for the load balancer.

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

The IDs of the remaining subnets for the load balancer.

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

The IDs of the remaining subnets for the load balancer.

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

The IDs of the remaining subnets for the load balancer.

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

The IDs of the remaining subnets for the load balancer.

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

The IDs of the remaining subnets for the load balancer.

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

The IDs of the remaining subnets for the load balancer.

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