/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class CreateTopicRuleDestinationResult { public: AWS_IOT_API CreateTopicRuleDestinationResult(); AWS_IOT_API CreateTopicRuleDestinationResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateTopicRuleDestinationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateTopicRuleDestinationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateTopicRuleDestinationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: TopicRuleDestination m_topicRuleDestination; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws