/** * 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 private DNS namespace.

See Also:

* AWS * API Reference

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

An updated description for the private DNS namespace.

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

An updated description for the private DNS namespace.

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

An updated description for the private DNS namespace.

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

An updated description for the private DNS namespace.

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

An updated description for the private DNS namespace.

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

An updated description for the private DNS namespace.

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

An updated description for the private DNS namespace.

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

An updated description for the private DNS namespace.

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

Properties to be updated in the private DNS namespace.

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

Properties to be updated in the private DNS namespace.

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

Properties to be updated in the private DNS namespace.

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

Properties to be updated in the private DNS namespace.

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

Properties to be updated in the private DNS namespace.

*/ inline PrivateDnsNamespaceChange& WithProperties(const PrivateDnsNamespacePropertiesChange& value) { SetProperties(value); return *this;} /** *

Properties to be updated in the private DNS namespace.

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