/** * 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 configuration used by the topic rule's HTTP * action.

See Also:

AWS * API Reference

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

The URL IoT uses to confirm ownership of or access to the topic rule * destination URL.

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

The URL IoT uses to confirm ownership of or access to the topic rule * destination URL.

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

The URL IoT uses to confirm ownership of or access to the topic rule * destination URL.

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

The URL IoT uses to confirm ownership of or access to the topic rule * destination URL.

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

The URL IoT uses to confirm ownership of or access to the topic rule * destination URL.

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

The URL IoT uses to confirm ownership of or access to the topic rule * destination URL.

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

The URL IoT uses to confirm ownership of or access to the topic rule * destination URL.

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

The URL IoT uses to confirm ownership of or access to the topic rule * destination URL.

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