/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a DNS entry.See Also:
AWS API
* Reference
The DNS name.
*/ inline const Aws::String& GetDnsName() const{ return m_dnsName; } /** *The DNS name.
*/ inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; } /** *The DNS name.
*/ inline void SetDnsName(const Aws::String& value) { m_dnsNameHasBeenSet = true; m_dnsName = value; } /** *The DNS name.
*/ inline void SetDnsName(Aws::String&& value) { m_dnsNameHasBeenSet = true; m_dnsName = std::move(value); } /** *The DNS name.
*/ inline void SetDnsName(const char* value) { m_dnsNameHasBeenSet = true; m_dnsName.assign(value); } /** *The DNS name.
*/ inline DnsEntry& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;} /** *The DNS name.
*/ inline DnsEntry& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;} /** *The DNS name.
*/ inline DnsEntry& WithDnsName(const char* value) { SetDnsName(value); return *this;} /** *The ID of the private hosted zone.
*/ inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; } /** *The ID of the private hosted zone.
*/ inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; } /** *The ID of the private hosted zone.
*/ inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; } /** *The ID of the private hosted zone.
*/ inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); } /** *The ID of the private hosted zone.
*/ inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); } /** *The ID of the private hosted zone.
*/ inline DnsEntry& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;} /** *The ID of the private hosted zone.
*/ inline DnsEntry& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;} /** *The ID of the private hosted zone.
*/ inline DnsEntry& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;} private: Aws::String m_dnsName; bool m_dnsNameHasBeenSet = false; Aws::String m_hostedZoneId; bool m_hostedZoneIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws