AWS IoT Device SDK C++ v2  1.35.0
AWS IoT Device SDK C++ v2
Public Member Functions | List of all members
Aws::Iot::RequestResponse::UnmodeledResponse Class Reference

#include <MqttRequestResponseClient.h>

Public Member Functions

 UnmodeledResponse ()
 
UnmodeledResponseWithPayload (Aws::Crt::ByteCursor payload)
 
UnmodeledResponseWithTopic (Aws::Crt::ByteCursor topic)
 
Aws::Crt::ByteCursor GetPayload () const
 
Aws::Crt::ByteCursor GetTopic () const
 

Detailed Description

Encapsulates a response to an AWS IoT Core MQTT-based service request

Constructor & Destructor Documentation

◆ UnmodeledResponse()

Aws::Iot::RequestResponse::UnmodeledResponse::UnmodeledResponse ( )
inline

Default constructor

Member Function Documentation

◆ GetPayload()

Aws::Crt::ByteCursor Aws::Iot::RequestResponse::UnmodeledResponse::GetPayload ( ) const
inline

Gets the payload of the response that correlates to a submitted request.

Returns
the payload of the response that correlates to a submitted request

◆ GetTopic()

Aws::Crt::ByteCursor Aws::Iot::RequestResponse::UnmodeledResponse::GetTopic ( ) const
inline

Gets the MQTT Topic that the response was received on.

Returns
the MQTT Topic that the response was received on

◆ WithPayload()

UnmodeledResponse& Aws::Iot::RequestResponse::UnmodeledResponse::WithPayload ( Aws::Crt::ByteCursor  payload)
inline

Sets the payload of the response that correlates to a submitted request.

Parameters
payloadthe payload of the response that correlates to a submitted request
Returns
reference to this

◆ WithTopic()

UnmodeledResponse& Aws::Iot::RequestResponse::UnmodeledResponse::WithTopic ( Aws::Crt::ByteCursor  topic)
inline

Sets the MQTT Topic that the response was received on.

Parameters
topicthe MQTT Topic that the response was received on
Returns
reference to this

The documentation for this class was generated from the following file: