aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <MqttRequestResponseClient.h>
Public Member Functions | |
IncomingPublishEvent () | |
IncomingPublishEvent & | WithTopic (Aws::Crt::ByteCursor topic) |
IncomingPublishEvent & | WithPayload (Aws::Crt::ByteCursor payload) |
IncomingPublishEvent & | WithContentType (Aws::Crt::ByteCursor contentType) |
IncomingPublishEvent & | WithUserProperties (Aws::Crt::Vector< UserPropertyView > userProperties) |
IncomingPublishEvent & | WithMessageExpiryIntervalSeconds (uint32_t messageExpiryIntervalSeconds) |
Aws::Crt::ByteCursor | GetTopic () const |
Aws::Crt::ByteCursor | GetPayload () const |
const Aws::Crt::Optional< Aws::Crt::ByteCursor > & | GetContentType () const |
const Aws::Crt::Optional< Aws::Crt::Vector< UserPropertyView > > & | GetUserProperties () const |
const Aws::Crt::Optional< uint32_t > & | GetMessageExpiryIntervalSeconds () const |
An event that describes an incoming publish message received on a streaming operation.
|
inline |
Default constructor
|
inline |
Gets the message content type associated with this event.
|
inline |
|
inline |
Gets the message payload associated with this event.
|
inline |
Gets the message response topic associated with this event.
|
inline |
Gets the message user properties associated with this event.
|
inline |
Sets the message content type associated with this event. The event does not own this content type.
contentType | the message content type associated with this event |
|
inline |
Sets the message expiry interval seconds associated with this event.
messageExpiryIntervalSeconds | the message expiry interval seconds associated with this event |
|
inline |
Sets the message payload associated with this event. The event does not own this payload.
payload | the message payload associated with this event |
|
inline |
Sets the message response topic associated with this event. The event does not own this topic.
topic | the message response topic associated with this event |
|
inline |
Sets the message user properties associated with this event.
userProperties | the message user properties associated with this event |