/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the details of a LoadBalancer.See Also:
AWS
* API Reference
The name of the LoadBalancer.
*/ inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; } /** *The name of the LoadBalancer.
*/ inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; } /** *The name of the LoadBalancer.
*/ inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; } /** *The name of the LoadBalancer.
*/ inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); } /** *The name of the LoadBalancer.
*/ inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); } /** *The name of the LoadBalancer.
*/ inline LoadBalancerDescription& WithLoadBalancerName(const Aws::String& value) { SetLoadBalancerName(value); return *this;} /** *The name of the LoadBalancer.
*/ inline LoadBalancerDescription& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;} /** *The name of the LoadBalancer.
*/ inline LoadBalancerDescription& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;} /** *The domain name of the LoadBalancer.
*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *The domain name of the LoadBalancer.
*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *The domain name of the LoadBalancer.
*/ inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } /** *The domain name of the LoadBalancer.
*/ inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *The domain name of the LoadBalancer.
*/ inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } /** *The domain name of the LoadBalancer.
*/ inline LoadBalancerDescription& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *The domain name of the LoadBalancer.
*/ inline LoadBalancerDescription& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *The domain name of the LoadBalancer.
*/ inline LoadBalancerDescription& WithDomain(const char* value) { SetDomain(value); return *this;} /** *A list of Listeners used by the LoadBalancer.
*/ inline const Aws::VectorA list of Listeners used by the LoadBalancer.
*/ inline bool ListenersHasBeenSet() const { return m_listenersHasBeenSet; } /** *A list of Listeners used by the LoadBalancer.
*/ inline void SetListeners(const Aws::VectorA list of Listeners used by the LoadBalancer.
*/ inline void SetListeners(Aws::VectorA list of Listeners used by the LoadBalancer.
*/ inline LoadBalancerDescription& WithListeners(const Aws::VectorA list of Listeners used by the LoadBalancer.
*/ inline LoadBalancerDescription& WithListeners(Aws::VectorA list of Listeners used by the LoadBalancer.
*/ inline LoadBalancerDescription& AddListeners(const Listener& value) { m_listenersHasBeenSet = true; m_listeners.push_back(value); return *this; } /** *A list of Listeners used by the LoadBalancer.
*/ inline LoadBalancerDescription& AddListeners(Listener&& value) { m_listenersHasBeenSet = true; m_listeners.push_back(std::move(value)); return *this; } private: Aws::String m_loadBalancerName; bool m_loadBalancerNameHasBeenSet = false; Aws::String m_domain; bool m_domainHasBeenSet = false; Aws::Vector