AWS IoT Device SDK C++ v2  1.32.6
AWS IoT Device SDK C++ v2
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
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 () noexcept
 
void SetQos (QOS qos) noexcept
 
Aws::Crt::Optional< QOSGetQos () noexcept
 
void SetPayload (const Aws::Crt::Vector< uint8_t > &payload) noexcept
 
Aws::Crt::Optional< Aws::Crt::Vector< uint8_t > > GetPayload () noexcept
 
void SetRetain (const bool &retain) noexcept
 
Aws::Crt::Optional< bool > GetRetain () noexcept
 
void SetUserProperties (const Aws::Crt::Vector< UserProperty > &userProperties) noexcept
 
Aws::Crt::Optional< Aws::Crt::Vector< UserProperty > > GetUserProperties () noexcept
 
void SetMessageExpiryIntervalSeconds (const int64_t &messageExpiryIntervalSeconds) noexcept
 
Aws::Crt::Optional< int64_t > GetMessageExpiryIntervalSeconds () noexcept
 
void SetCorrelationData (const Aws::Crt::Vector< uint8_t > &correlationData) noexcept
 
Aws::Crt::Optional< Aws::Crt::Vector< uint8_t > > GetCorrelationData () noexcept
 
void SetResponseTopic (const Aws::Crt::String &responseTopic) noexcept
 
Aws::Crt::Optional< Aws::Crt::StringGetResponseTopic () noexcept
 
void SetPayloadFormat (PayloadFormat payloadFormat) noexcept
 
Aws::Crt::Optional< PayloadFormatGetPayloadFormat () noexcept
 
void SetContentType (const Aws::Crt::String &contentType) noexcept
 
Aws::Crt::Optional< Aws::Crt::StringGetContentType () 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 ( )
inlinenoexcept

(Optional) Message content type.

◆ GetCorrelationData()

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

(Optional) Correlation data blob for request/response.

◆ GetMessageExpiryIntervalSeconds()

Aws::Crt::Optional<int64_t> Aws::Greengrass::PublishToIoTCoreRequest::GetMessageExpiryIntervalSeconds ( )
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 ( )
inlinenoexcept

(Optional) The message payload as a blob.

◆ GetPayloadFormat()

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

(Optional) Message payload format.

◆ GetQos()

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

The MQTT QoS to use.

◆ GetResponseTopic()

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

(Optional) Response topic for request/response.

◆ GetRetain()

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

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

◆ GetTopicName()

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

The topic to which to publish the message.

◆ GetUserProperties()

Aws::Crt::Optional<Aws::Crt::Vector<UserProperty> > Aws::Greengrass::PublishToIoTCoreRequest::GetUserProperties ( )
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: