/** * 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 Firehose { namespace Model { /** *

Describes the HTTP endpoint selected as the destination.

See * Also:

AWS * API Reference

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

The URL of the HTTP endpoint selected as the destination.

*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *

The URL of the HTTP endpoint selected as the destination.

*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *

The URL of the HTTP endpoint selected as the destination.

*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *

The URL of the HTTP endpoint selected as the destination.

*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *

The URL of the HTTP endpoint selected as the destination.

*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *

The URL of the HTTP endpoint selected as the destination.

*/ inline HttpEndpointDescription& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *

The URL of the HTTP endpoint selected as the destination.

*/ inline HttpEndpointDescription& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *

The URL of the HTTP endpoint selected as the destination.

*/ inline HttpEndpointDescription& WithUrl(const char* value) { SetUrl(value); return *this;} /** *

The name of the HTTP endpoint selected as the destination.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the HTTP endpoint selected as the destination.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the HTTP endpoint selected as the destination.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the HTTP endpoint selected as the destination.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the HTTP endpoint selected as the destination.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the HTTP endpoint selected as the destination.

*/ inline HttpEndpointDescription& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the HTTP endpoint selected as the destination.

*/ inline HttpEndpointDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the HTTP endpoint selected as the destination.

*/ inline HttpEndpointDescription& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_url; bool m_urlHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws