/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 PublicDnsNamespaceChange { public: AWS_SERVICEDISCOVERY_API PublicDnsNamespaceChange(); AWS_SERVICEDISCOVERY_API PublicDnsNamespaceChange(Aws::Utils::Json::JsonView jsonValue); AWS_SERVICEDISCOVERY_API PublicDnsNamespaceChange& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An updated description for the public DNS namespace.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

An updated description for the public DNS namespace.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

An updated description for the public DNS namespace.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

An updated description for the public DNS namespace.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

An updated description for the public DNS namespace.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

An updated description for the public DNS namespace.

*/ inline PublicDnsNamespaceChange& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

An updated description for the public DNS namespace.

*/ inline PublicDnsNamespaceChange& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

An updated description for the public DNS namespace.

*/ inline PublicDnsNamespaceChange& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Properties to be updated in the public DNS namespace.

*/ inline const PublicDnsNamespacePropertiesChange& GetProperties() const{ return m_properties; } /** *

Properties to be updated in the public DNS namespace.

*/ inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } /** *

Properties to be updated in the public DNS namespace.

*/ inline void SetProperties(const PublicDnsNamespacePropertiesChange& value) { m_propertiesHasBeenSet = true; m_properties = value; } /** *

Properties to be updated in the public DNS namespace.

*/ inline void SetProperties(PublicDnsNamespacePropertiesChange&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); } /** *

Properties to be updated in the public DNS namespace.

*/ inline PublicDnsNamespaceChange& WithProperties(const PublicDnsNamespacePropertiesChange& value) { SetProperties(value); return *this;} /** *

Properties to be updated in the public DNS namespace.

*/ inline PublicDnsNamespaceChange& WithProperties(PublicDnsNamespacePropertiesChange&& value) { SetProperties(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; PublicDnsNamespacePropertiesChange m_properties; bool m_propertiesHasBeenSet = false; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws