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

HTTP URL destination properties.

See Also:

AWS * API Reference

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

The URL used to confirm the HTTP topic rule destination URL.

*/ inline const Aws::String& GetConfirmationUrl() const{ return m_confirmationUrl; } /** *

The URL used to confirm the HTTP topic rule destination URL.

*/ inline bool ConfirmationUrlHasBeenSet() const { return m_confirmationUrlHasBeenSet; } /** *

The URL used to confirm the HTTP topic rule destination URL.

*/ inline void SetConfirmationUrl(const Aws::String& value) { m_confirmationUrlHasBeenSet = true; m_confirmationUrl = value; } /** *

The URL used to confirm the HTTP topic rule destination URL.

*/ inline void SetConfirmationUrl(Aws::String&& value) { m_confirmationUrlHasBeenSet = true; m_confirmationUrl = std::move(value); } /** *

The URL used to confirm the HTTP topic rule destination URL.

*/ inline void SetConfirmationUrl(const char* value) { m_confirmationUrlHasBeenSet = true; m_confirmationUrl.assign(value); } /** *

The URL used to confirm the HTTP topic rule destination URL.

*/ inline HttpUrlDestinationProperties& WithConfirmationUrl(const Aws::String& value) { SetConfirmationUrl(value); return *this;} /** *

The URL used to confirm the HTTP topic rule destination URL.

*/ inline HttpUrlDestinationProperties& WithConfirmationUrl(Aws::String&& value) { SetConfirmationUrl(std::move(value)); return *this;} /** *

The URL used to confirm the HTTP topic rule destination URL.

*/ inline HttpUrlDestinationProperties& WithConfirmationUrl(const char* value) { SetConfirmationUrl(value); return *this;} private: Aws::String m_confirmationUrl; bool m_confirmationUrlHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws