AWS IoT Device SDK C++ v2 1.44.2
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
Aws::Greengrass::PublishToIoTCoreRequest Class Reference

#include <GreengrassCoreIpcModel.h>

Inheritance diagram for Aws::Greengrass::PublishToIoTCoreRequest:
Aws::Eventstreamrpc::AbstractShapeBase

Public Member Functions

 PublishToIoTCoreRequest () noexcept
 PublishToIoTCoreRequest (const PublishToIoTCoreRequest &)=default
void SetTopicName (const Aws::Crt::String &topicName) noexcept
Aws::Crt::Optional< Aws::Crt::StringGetTopicName () const noexcept
void SetQos (QOS qos) noexcept
Aws::Crt::Optional< QOSGetQos () const noexcept
void SetPayload (const Aws::Crt::Vector< uint8_t > &payload) noexcept
Aws::Crt::Optional< Aws::Crt::Vector< uint8_t > > GetPayload () const noexcept
void SetRetain (const bool &retain) noexcept
Aws::Crt::Optional< bool > GetRetain () const noexcept
void SetUserProperties (const Aws::Crt::Vector< UserProperty > &userProperties) noexcept
Aws::Crt::Optional< Aws::Crt::Vector< UserProperty > > GetUserProperties () const noexcept
void SetMessageExpiryIntervalSeconds (const int64_t &messageExpiryIntervalSeconds) noexcept
Aws::Crt::Optional< int64_t > GetMessageExpiryIntervalSeconds () const noexcept
void SetCorrelationData (const Aws::Crt::Vector< uint8_t > &correlationData) noexcept
Aws::Crt::Optional< Aws::Crt::Vector< uint8_t > > GetCorrelationData () const noexcept
void SetResponseTopic (const Aws::Crt::String &responseTopic) noexcept
Aws::Crt::Optional< Aws::Crt::StringGetResponseTopic () const noexcept
void SetPayloadFormat (PayloadFormat payloadFormat) noexcept
Aws::Crt::Optional< PayloadFormatGetPayloadFormat () const noexcept
void SetContentType (const Aws::Crt::String &contentType) noexcept
Aws::Crt::Optional< Aws::Crt::StringGetContentType () const noexcept
void SerializeToJsonObject (Aws::Crt::JsonObject &payloadObject) const noexcept override
bool operator< (const PublishToIoTCoreRequest &) const noexcept
Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
 AbstractShapeBase () noexcept
virtual ~AbstractShapeBase () noexcept=default

Static Public Member Functions

static void s_loadFromJsonView (PublishToIoTCoreRequest &, const Aws::Crt::JsonView &) noexcept
static Aws::Crt::ScopedResource< AbstractShapeBases_allocateFromPayload (Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept
static void s_customDeleter (PublishToIoTCoreRequest *) noexcept
Static Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
static void s_customDeleter (AbstractShapeBase *shape) noexcept

Static Public Attributes

static const char * MODEL_NAME = "aws.greengrass#PublishToIoTCoreRequest"

Protected Member Functions

Aws::Crt::String GetModelName () const noexcept override

Additional Inherited Members

Protected Attributes inherited from Aws::Eventstreamrpc::AbstractShapeBase
Crt::Allocatorm_allocator

Constructor & Destructor Documentation

◆ PublishToIoTCoreRequest() [1/2]

Aws::Greengrass::PublishToIoTCoreRequest::PublishToIoTCoreRequest ( )
inlinenoexcept

◆ PublishToIoTCoreRequest() [2/2]

Aws::Greengrass::PublishToIoTCoreRequest::PublishToIoTCoreRequest ( const PublishToIoTCoreRequest & )
default

Member Function Documentation

◆ GetContentType()

Aws::Crt::Optional< Aws::Crt::String > Aws::Greengrass::PublishToIoTCoreRequest::GetContentType ( ) const
inlinenoexcept

(Optional) Message content type.

◆ GetCorrelationData()

Aws::Crt::Optional< Aws::Crt::Vector< uint8_t > > Aws::Greengrass::PublishToIoTCoreRequest::GetCorrelationData ( ) const
inlinenoexcept

(Optional) Correlation data blob for request/response.

◆ GetMessageExpiryIntervalSeconds()

Aws::Crt::Optional< int64_t > Aws::Greengrass::PublishToIoTCoreRequest::GetMessageExpiryIntervalSeconds ( ) const
inlinenoexcept

(Optional) Message expiry interval in seconds.

◆ GetModelName()

Aws::Crt::String Aws::Greengrass::PublishToIoTCoreRequest::GetModelName ( ) const
overrideprotectedvirtualnoexcept

◆ GetPayload()

Aws::Crt::Optional< Aws::Crt::Vector< uint8_t > > Aws::Greengrass::PublishToIoTCoreRequest::GetPayload ( ) const
inlinenoexcept

(Optional) The message payload as a blob.

◆ GetPayloadFormat()

Aws::Crt::Optional< PayloadFormat > Aws::Greengrass::PublishToIoTCoreRequest::GetPayloadFormat ( ) const
noexcept

(Optional) Message payload format.

◆ GetQos()

Aws::Crt::Optional< QOS > Aws::Greengrass::PublishToIoTCoreRequest::GetQos ( ) const
noexcept

The MQTT QoS to use.

◆ GetResponseTopic()

Aws::Crt::Optional< Aws::Crt::String > Aws::Greengrass::PublishToIoTCoreRequest::GetResponseTopic ( ) const
inlinenoexcept

(Optional) Response topic for request/response.

◆ GetRetain()

Aws::Crt::Optional< bool > Aws::Greengrass::PublishToIoTCoreRequest::GetRetain ( ) const
inlinenoexcept

(Optional) Whether to set MQTT retain option to true when publishing.

◆ GetTopicName()

Aws::Crt::Optional< Aws::Crt::String > Aws::Greengrass::PublishToIoTCoreRequest::GetTopicName ( ) const
inlinenoexcept

The topic to which to publish the message.

◆ GetUserProperties()

Aws::Crt::Optional< Aws::Crt::Vector< UserProperty > > Aws::Greengrass::PublishToIoTCoreRequest::GetUserProperties ( ) const
inlinenoexcept

(Optional) MQTT user properties associated with the message.

◆ operator<()

bool Aws::Greengrass::PublishToIoTCoreRequest::operator< ( const PublishToIoTCoreRequest & ) const
noexcept

◆ s_allocateFromPayload()

Aws::Crt::ScopedResource< AbstractShapeBase > Aws::Greengrass::PublishToIoTCoreRequest::s_allocateFromPayload ( Aws::Crt::StringView stringView,
Aws::Crt::Allocator * allocator )
staticnoexcept

◆ s_customDeleter()

void Aws::Greengrass::PublishToIoTCoreRequest::s_customDeleter ( PublishToIoTCoreRequest * shape)
staticnoexcept

◆ s_loadFromJsonView()

void Aws::Greengrass::PublishToIoTCoreRequest::s_loadFromJsonView ( PublishToIoTCoreRequest & publishToIoTCoreRequest,
const Aws::Crt::JsonView & jsonView )
staticnoexcept

◆ SerializeToJsonObject()

void Aws::Greengrass::PublishToIoTCoreRequest::SerializeToJsonObject ( Aws::Crt::JsonObject & payloadObject) const
overridevirtualnoexcept

◆ SetContentType()

void Aws::Greengrass::PublishToIoTCoreRequest::SetContentType ( const Aws::Crt::String & contentType)
inlinenoexcept

(Optional) Message content type.

◆ SetCorrelationData()

void Aws::Greengrass::PublishToIoTCoreRequest::SetCorrelationData ( const Aws::Crt::Vector< uint8_t > & correlationData)
inlinenoexcept

(Optional) Correlation data blob for request/response.

◆ SetMessageExpiryIntervalSeconds()

void Aws::Greengrass::PublishToIoTCoreRequest::SetMessageExpiryIntervalSeconds ( const int64_t & messageExpiryIntervalSeconds)
inlinenoexcept

(Optional) Message expiry interval in seconds.

◆ SetPayload()

void Aws::Greengrass::PublishToIoTCoreRequest::SetPayload ( const Aws::Crt::Vector< uint8_t > & payload)
inlinenoexcept

(Optional) The message payload as a blob.

◆ SetPayloadFormat()

void Aws::Greengrass::PublishToIoTCoreRequest::SetPayloadFormat ( PayloadFormat payloadFormat)
noexcept

(Optional) Message payload format.

◆ SetQos()

void Aws::Greengrass::PublishToIoTCoreRequest::SetQos ( QOS qos)
noexcept

The MQTT QoS to use.

◆ SetResponseTopic()

void Aws::Greengrass::PublishToIoTCoreRequest::SetResponseTopic ( const Aws::Crt::String & responseTopic)
inlinenoexcept

(Optional) Response topic for request/response.

◆ SetRetain()

void Aws::Greengrass::PublishToIoTCoreRequest::SetRetain ( const bool & retain)
inlinenoexcept

(Optional) Whether to set MQTT retain option to true when publishing.

◆ SetTopicName()

void Aws::Greengrass::PublishToIoTCoreRequest::SetTopicName ( const Aws::Crt::String & topicName)
inlinenoexcept

The topic to which to publish the message.

◆ SetUserProperties()

void Aws::Greengrass::PublishToIoTCoreRequest::SetUserProperties ( const Aws::Crt::Vector< UserProperty > & userProperties)
inlinenoexcept

(Optional) MQTT user properties associated with the message.

Member Data Documentation

◆ MODEL_NAME

const char * Aws::Greengrass::PublishToIoTCoreRequest::MODEL_NAME = "aws.greengrass#PublishToIoTCoreRequest"
static

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