/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input for the GetRetainedMessage operation.See Also:
AWS
* API Reference
The topic name of the retained message to retrieve.
*/ inline const Aws::String& GetTopic() const{ return m_topic; } /** *The topic name of the retained message to retrieve.
*/ inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; } /** *The topic name of the retained message to retrieve.
*/ inline void SetTopic(const Aws::String& value) { m_topicHasBeenSet = true; m_topic = value; } /** *The topic name of the retained message to retrieve.
*/ inline void SetTopic(Aws::String&& value) { m_topicHasBeenSet = true; m_topic = std::move(value); } /** *The topic name of the retained message to retrieve.
*/ inline void SetTopic(const char* value) { m_topicHasBeenSet = true; m_topic.assign(value); } /** *The topic name of the retained message to retrieve.
*/ inline GetRetainedMessageRequest& WithTopic(const Aws::String& value) { SetTopic(value); return *this;} /** *The topic name of the retained message to retrieve.
*/ inline GetRetainedMessageRequest& WithTopic(Aws::String&& value) { SetTopic(std::move(value)); return *this;} /** *The topic name of the retained message to retrieve.
*/ inline GetRetainedMessageRequest& WithTopic(const char* value) { SetTopic(value); return *this;} private: Aws::String m_topic; bool m_topicHasBeenSet = false; }; } // namespace Model } // namespace IoTDataPlane } // namespace Aws