AWS IoT Device SDK C++ v2  1.34.0
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::PublishToTopicRequest Class Reference

#include <GreengrassCoreIpcModel.h>

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

Public Member Functions

 PublishToTopicRequest () noexcept
 
 PublishToTopicRequest (const PublishToTopicRequest &)=default
 
void SetTopic (const Aws::Crt::String &topic) noexcept
 
Aws::Crt::Optional< Aws::Crt::StringGetTopic () noexcept
 
void SetPublishMessage (const PublishMessage &publishMessage) noexcept
 
Aws::Crt::Optional< PublishMessageGetPublishMessage () noexcept
 
void SerializeToJsonObject (Aws::Crt::JsonObject &payloadObject) const noexcept override
 
bool operator< (const PublishToTopicRequest &) const noexcept
 
- Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
 AbstractShapeBase () noexcept
 
virtual ~AbstractShapeBase () noexcept=default
 

Static Public Member Functions

static void s_loadFromJsonView (PublishToTopicRequest &, const Aws::Crt::JsonView &) noexcept
 
static Aws::Crt::ScopedResource< AbstractShapeBases_allocateFromPayload (Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept
 
static void s_customDeleter (PublishToTopicRequest *) 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#PublishToTopicRequest"
 

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

◆ PublishToTopicRequest() [1/2]

Aws::Greengrass::PublishToTopicRequest::PublishToTopicRequest ( )
inlinenoexcept

◆ PublishToTopicRequest() [2/2]

Aws::Greengrass::PublishToTopicRequest::PublishToTopicRequest ( const PublishToTopicRequest )
default

Member Function Documentation

◆ GetModelName()

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

◆ GetPublishMessage()

Aws::Crt::Optional<PublishMessage> Aws::Greengrass::PublishToTopicRequest::GetPublishMessage ( )
inlinenoexcept

The message to publish.

◆ GetTopic()

Aws::Crt::Optional<Aws::Crt::String> Aws::Greengrass::PublishToTopicRequest::GetTopic ( )
inlinenoexcept

The topic to publish the message.

◆ operator<()

bool Aws::Greengrass::PublishToTopicRequest::operator< ( const PublishToTopicRequest ) const
noexcept

◆ s_allocateFromPayload()

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

◆ s_customDeleter()

void Aws::Greengrass::PublishToTopicRequest::s_customDeleter ( PublishToTopicRequest shape)
staticnoexcept

◆ s_loadFromJsonView()

void Aws::Greengrass::PublishToTopicRequest::s_loadFromJsonView ( PublishToTopicRequest publishToTopicRequest,
const Aws::Crt::JsonView jsonView 
)
staticnoexcept

◆ SerializeToJsonObject()

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

◆ SetPublishMessage()

void Aws::Greengrass::PublishToTopicRequest::SetPublishMessage ( const PublishMessage publishMessage)
inlinenoexcept

The message to publish.

◆ SetTopic()

void Aws::Greengrass::PublishToTopicRequest::SetTopic ( const Aws::Crt::String topic)
inlinenoexcept

The topic to publish the message.

Member Data Documentation

◆ MODEL_NAME

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

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