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

See Also:

AWS * API Reference

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

An updated description for the HTTP namespace.

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

An updated description for the HTTP namespace.

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

An updated description for the HTTP namespace.

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

An updated description for the HTTP namespace.

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

An updated description for the HTTP namespace.

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

An updated description for the HTTP namespace.

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

An updated description for the HTTP namespace.

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

An updated description for the HTTP namespace.

*/ inline HttpNamespaceChange& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws