/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class AWS_IOT_API CreateTopicRuleDestinationResult { public: CreateTopicRuleDestinationResult(); CreateTopicRuleDestinationResult(const Aws::AmazonWebServiceResult& result); CreateTopicRuleDestinationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The topic rule destination.

*/ inline const TopicRuleDestination& GetTopicRuleDestination() const{ return m_topicRuleDestination; } /** *

The topic rule destination.

*/ inline void SetTopicRuleDestination(const TopicRuleDestination& value) { m_topicRuleDestination = value; } /** *

The topic rule destination.

*/ inline void SetTopicRuleDestination(TopicRuleDestination&& value) { m_topicRuleDestination = std::move(value); } /** *

The topic rule destination.

*/ inline CreateTopicRuleDestinationResult& WithTopicRuleDestination(const TopicRuleDestination& value) { SetTopicRuleDestination(value); return *this;} /** *

The topic rule destination.

*/ inline CreateTopicRuleDestinationResult& WithTopicRuleDestination(TopicRuleDestination&& value) { SetTopicRuleDestination(std::move(value)); return *this;} private: TopicRuleDestination m_topicRuleDestination; }; } // namespace Model } // namespace IoT } // namespace Aws