7#include <aws/iot-data/IoTDataPlane_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetTopic(
const char* value) { m_topicHasBeenSet =
true; m_topic.assign(value); }
60 inline void SetPayloadSize(
long long value) { m_payloadSizeHasBeenSet =
true; m_payloadSize = value; }
68 inline int GetQos()
const{
return m_qos; }
70 inline void SetQos(
int value) { m_qosHasBeenSet =
true; m_qos = value; }
81 inline void SetLastModifiedTime(
long long value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = value; }
87 bool m_topicHasBeenSet =
false;
89 long long m_payloadSize;
90 bool m_payloadSizeHasBeenSet =
false;
93 bool m_qosHasBeenSet =
false;
95 long long m_lastModifiedTime;
96 bool m_lastModifiedTimeHasBeenSet =
false;
bool LastModifiedTimeHasBeenSet() const
RetainedMessageSummary & WithLastModifiedTime(long long value)
RetainedMessageSummary & WithTopic(const Aws::String &value)
void SetTopic(Aws::String &&value)
void SetLastModifiedTime(long long value)
RetainedMessageSummary & WithTopic(Aws::String &&value)
void SetPayloadSize(long long value)
bool PayloadSizeHasBeenSet() const
RetainedMessageSummary & WithTopic(const char *value)
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)
AWS_IOTDATAPLANE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTDATAPLANE_API RetainedMessageSummary()
void SetTopic(const Aws::String &value)
bool TopicHasBeenSet() const
const Aws::String & GetTopic() const
long long GetLastModifiedTime() const
RetainedMessageSummary & WithPayloadSize(long long value)
void SetTopic(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue