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

A complex type that contains the name of an HTTP namespace.

See * Also:

AWS * API Reference

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

The name of an HTTP namespace.

*/ inline const Aws::String& GetHttpName() const{ return m_httpName; } /** *

The name of an HTTP namespace.

*/ inline bool HttpNameHasBeenSet() const { return m_httpNameHasBeenSet; } /** *

The name of an HTTP namespace.

*/ inline void SetHttpName(const Aws::String& value) { m_httpNameHasBeenSet = true; m_httpName = value; } /** *

The name of an HTTP namespace.

*/ inline void SetHttpName(Aws::String&& value) { m_httpNameHasBeenSet = true; m_httpName = std::move(value); } /** *

The name of an HTTP namespace.

*/ inline void SetHttpName(const char* value) { m_httpNameHasBeenSet = true; m_httpName.assign(value); } /** *

The name of an HTTP namespace.

*/ inline HttpProperties& WithHttpName(const Aws::String& value) { SetHttpName(value); return *this;} /** *

The name of an HTTP namespace.

*/ inline HttpProperties& WithHttpName(Aws::String&& value) { SetHttpName(std::move(value)); return *this;} /** *

The name of an HTTP namespace.

*/ inline HttpProperties& WithHttpName(const char* value) { SetHttpName(value); return *this;} private: Aws::String m_httpName; bool m_httpNameHasBeenSet = false; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws