7#include <aws/iot-data/IoTDataPlane_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename TopicT = Aws::String>
47 void SetTopic(TopicT&& value) { m_topicHasBeenSet =
true; m_topic = std::forward<TopicT>(value); }
48 template<
typename TopicT = Aws::String>
58 inline void SetPayloadSize(
long long value) { m_payloadSizeHasBeenSet =
true; m_payloadSize = value; }
66 inline int GetQos()
const {
return m_qos; }
68 inline void SetQos(
int value) { m_qosHasBeenSet =
true; m_qos = value; }
79 inline void SetLastModifiedTime(
long long value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = value; }
85 bool m_topicHasBeenSet =
false;
87 long long m_payloadSize{0};
88 bool m_payloadSizeHasBeenSet =
false;
91 bool m_qosHasBeenSet =
false;
93 long long m_lastModifiedTime{0};
94 bool m_lastModifiedTimeHasBeenSet =
false;
bool LastModifiedTimeHasBeenSet() const
void SetTopic(TopicT &&value)
RetainedMessageSummary & WithLastModifiedTime(long long value)
AWS_IOTDATAPLANE_API RetainedMessageSummary()=default
void SetLastModifiedTime(long long value)
void SetPayloadSize(long long value)
bool PayloadSizeHasBeenSet() const
AWS_IOTDATAPLANE_API RetainedMessageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool QosHasBeenSet() const
long long GetPayloadSize() const
RetainedMessageSummary & WithQos(int value)
AWS_IOTDATAPLANE_API RetainedMessageSummary(Aws::Utils::Json::JsonView jsonValue)
RetainedMessageSummary & WithTopic(TopicT &&value)
AWS_IOTDATAPLANE_API Aws::Utils::Json::JsonValue Jsonize() const
bool TopicHasBeenSet() const
const Aws::String & GetTopic() const
long long GetLastModifiedTime() const
RetainedMessageSummary & WithPayloadSize(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue