/** * 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 { /** *

Updated properties for the public DNS namespace.

See Also:

* AWS * API Reference

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

Updated DNS properties for the hosted zone for the public DNS namespace.

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

Updated DNS properties for the hosted zone for the public DNS namespace.

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

Updated DNS properties for the hosted zone for the public DNS namespace.

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

Updated DNS properties for the hosted zone for the public DNS namespace.

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

Updated DNS properties for the hosted zone for the public DNS namespace.

*/ inline PublicDnsNamespacePropertiesChange& WithDnsProperties(const PublicDnsPropertiesMutableChange& value) { SetDnsProperties(value); return *this;} /** *

Updated DNS properties for the hosted zone for the public DNS namespace.

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