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

See * Also:

AWS * API Reference

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

The IDs of the security groups associated with the load balancer.

*/ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } /** *

The IDs of the security groups associated with the load balancer.

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

The IDs of the security groups associated with the load balancer.

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

The IDs of the security groups associated with the load balancer.

*/ inline ApplySecurityGroupsToLoadBalancerResult& WithSecurityGroups(const Aws::Vector& value) { SetSecurityGroups(value); return *this;} /** *

The IDs of the security groups associated with the load balancer.

*/ inline ApplySecurityGroupsToLoadBalancerResult& WithSecurityGroups(Aws::Vector&& value) { SetSecurityGroups(std::move(value)); return *this;} /** *

The IDs of the security groups associated with the load balancer.

*/ inline ApplySecurityGroupsToLoadBalancerResult& AddSecurityGroups(const Aws::String& value) { m_securityGroups.push_back(value); return *this; } /** *

The IDs of the security groups associated with the load balancer.

*/ inline ApplySecurityGroupsToLoadBalancerResult& AddSecurityGroups(Aws::String&& value) { m_securityGroups.push_back(std::move(value)); return *this; } /** *

The IDs of the security groups associated with the load balancer.

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