/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 TopicRuleDestinationConfiguration { public: AWS_IOT_API TopicRuleDestinationConfiguration(); AWS_IOT_API TopicRuleDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API TopicRuleDestinationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API 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;} /** *

Configuration of the virtual private cloud (VPC) connection.

*/ inline const VpcDestinationConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; } /** *

Configuration of the virtual private cloud (VPC) connection.

*/ inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; } /** *

Configuration of the virtual private cloud (VPC) connection.

*/ inline void SetVpcConfiguration(const VpcDestinationConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; } /** *

Configuration of the virtual private cloud (VPC) connection.

*/ inline void SetVpcConfiguration(VpcDestinationConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); } /** *

Configuration of the virtual private cloud (VPC) connection.

*/ inline TopicRuleDestinationConfiguration& WithVpcConfiguration(const VpcDestinationConfiguration& value) { SetVpcConfiguration(value); return *this;} /** *

Configuration of the virtual private cloud (VPC) connection.

*/ inline TopicRuleDestinationConfiguration& WithVpcConfiguration(VpcDestinationConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;} private: HttpUrlDestinationConfiguration m_httpUrlConfiguration; bool m_httpUrlConfigurationHasBeenSet = false; VpcDestinationConfiguration m_vpcConfiguration; bool m_vpcConfigurationHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws