7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-data/IoTDataPlane_EXPORTS.h>
19namespace IoTDataPlane {
40 template <
typename TopicT = Aws::String>
42 m_topicHasBeenSet =
true;
43 m_topic = std::forward<TopicT>(value);
45 template <
typename TopicT = Aws::String>
47 SetTopic(std::forward<TopicT>(value));
59 m_payloadSizeHasBeenSet =
true;
60 m_payloadSize = value;
72 inline int GetQos()
const {
return m_qos; }
75 m_qosHasBeenSet =
true;
92 m_lastModifiedTimeHasBeenSet =
true;
93 m_lastModifiedTime = value;
103 long long m_payloadSize{0};
107 long long m_lastModifiedTime{0};
108 bool m_topicHasBeenSet =
false;
109 bool m_payloadSizeHasBeenSet =
false;
110 bool m_qosHasBeenSet =
false;
111 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