/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the DNS service discovery information for your
* virtual
node.See Also:
AWS
* API Reference
Specifies the DNS service discovery hostname for the virtual node.
*/ inline const Aws::String& GetHostname() const{ return m_hostname; } /** *Specifies the DNS service discovery hostname for the virtual node.
*/ inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; } /** *Specifies the DNS service discovery hostname for the virtual node.
*/ inline void SetHostname(const Aws::String& value) { m_hostnameHasBeenSet = true; m_hostname = value; } /** *Specifies the DNS service discovery hostname for the virtual node.
*/ inline void SetHostname(Aws::String&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); } /** *Specifies the DNS service discovery hostname for the virtual node.
*/ inline void SetHostname(const char* value) { m_hostnameHasBeenSet = true; m_hostname.assign(value); } /** *Specifies the DNS service discovery hostname for the virtual node.
*/ inline DnsServiceDiscovery& WithHostname(const Aws::String& value) { SetHostname(value); return *this;} /** *Specifies the DNS service discovery hostname for the virtual node.
*/ inline DnsServiceDiscovery& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;} /** *Specifies the DNS service discovery hostname for the virtual node.
*/ inline DnsServiceDiscovery& WithHostname(const char* value) { SetHostname(value); return *this;} private: Aws::String m_hostname; bool m_hostnameHasBeenSet; }; } // namespace Model } // namespace AppMesh } // namespace Aws