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

Configuration of the topic rule destination.

See Also:

AWS * API Reference

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

Configuration of the HTTP URL.

*/ inline const HttpUrlDestinationConfiguration& GetHttpUrlConfiguration() const{ return m_httpUrlConfiguration; } /** *

Configuration of the HTTP URL.

*/ inline bool HttpUrlConfigurationHasBeenSet() const { return m_httpUrlConfigurationHasBeenSet; } /** *

Configuration of the HTTP URL.

*/ inline void SetHttpUrlConfiguration(const HttpUrlDestinationConfiguration& value) { m_httpUrlConfigurationHasBeenSet = true; m_httpUrlConfiguration = value; } /** *

Configuration of the HTTP URL.

*/ inline void SetHttpUrlConfiguration(HttpUrlDestinationConfiguration&& value) { m_httpUrlConfigurationHasBeenSet = true; m_httpUrlConfiguration = std::move(value); } /** *

Configuration of the HTTP URL.

*/ inline TopicRuleDestinationConfiguration& WithHttpUrlConfiguration(const HttpUrlDestinationConfiguration& value) { SetHttpUrlConfiguration(value); return *this;} /** *

Configuration of the HTTP URL.

*/ inline TopicRuleDestinationConfiguration& WithHttpUrlConfiguration(HttpUrlDestinationConfiguration&& value) { SetHttpUrlConfiguration(std::move(value)); return *this;} private: HttpUrlDestinationConfiguration m_httpUrlConfiguration; bool m_httpUrlConfigurationHasBeenSet; }; } // namespace Model } // namespace IoT } // namespace Aws