/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ServiceDiscovery { namespace Model { /** *

DNS properties for the public DNS namespace.

See Also:

AWS * API Reference

*/ class PublicDnsNamespaceProperties { public: AWS_SERVICEDISCOVERY_API PublicDnsNamespaceProperties(); AWS_SERVICEDISCOVERY_API PublicDnsNamespaceProperties(Aws::Utils::Json::JsonView jsonValue); AWS_SERVICEDISCOVERY_API PublicDnsNamespaceProperties& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

DNS properties for the public DNS namespace.

*/ inline const PublicDnsPropertiesMutable& GetDnsProperties() const{ return m_dnsProperties; } /** *

DNS properties for the public DNS namespace.

*/ inline bool DnsPropertiesHasBeenSet() const { return m_dnsPropertiesHasBeenSet; } /** *

DNS properties for the public DNS namespace.

*/ inline void SetDnsProperties(const PublicDnsPropertiesMutable& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = value; } /** *

DNS properties for the public DNS namespace.

*/ inline void SetDnsProperties(PublicDnsPropertiesMutable&& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = std::move(value); } /** *

DNS properties for the public DNS namespace.

*/ inline PublicDnsNamespaceProperties& WithDnsProperties(const PublicDnsPropertiesMutable& value) { SetDnsProperties(value); return *this;} /** *

DNS properties for the public DNS namespace.

*/ inline PublicDnsNamespaceProperties& WithDnsProperties(PublicDnsPropertiesMutable&& value) { SetDnsProperties(std::move(value)); return *this;} private: PublicDnsPropertiesMutable m_dnsProperties; bool m_dnsPropertiesHasBeenSet = false; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws