/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 for CreateLoadBalancer.

See Also:

AWS * API Reference

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

The DNS name of the load balancer.

*/ inline const Aws::String& GetDNSName() const{ return m_dNSName; } /** *

The DNS name of the load balancer.

*/ inline void SetDNSName(const Aws::String& value) { m_dNSName = value; } /** *

The DNS name of the load balancer.

*/ inline void SetDNSName(Aws::String&& value) { m_dNSName = std::move(value); } /** *

The DNS name of the load balancer.

*/ inline void SetDNSName(const char* value) { m_dNSName.assign(value); } /** *

The DNS name of the load balancer.

*/ inline CreateLoadBalancerResult& WithDNSName(const Aws::String& value) { SetDNSName(value); return *this;} /** *

The DNS name of the load balancer.

*/ inline CreateLoadBalancerResult& WithDNSName(Aws::String&& value) { SetDNSName(std::move(value)); return *this;} /** *

The DNS name of the load balancer.

*/ inline CreateLoadBalancerResult& WithDNSName(const char* value) { SetDNSName(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 CreateLoadBalancerResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateLoadBalancerResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_dNSName; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticLoadBalancing } // namespace Aws