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

#include <GreengrassCoreIpcModel.h>

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

Public Member Functions

 PublishMessage () noexcept
PublishMessageoperator= (const PublishMessage &) noexcept
 PublishMessage (const PublishMessage &objectToCopy)
void SetJsonMessage (const JsonMessage &jsonMessage) noexcept
Aws::Crt::Optional< JsonMessageGetJsonMessage () const noexcept
void SetBinaryMessage (const BinaryMessage &binaryMessage) noexcept
Aws::Crt::Optional< BinaryMessageGetBinaryMessage () const noexcept
void SerializeToJsonObject (Aws::Crt::JsonObject &payloadObject) const noexcept override
bool operator< (const PublishMessage &) const noexcept
Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
 AbstractShapeBase () noexcept
virtual ~AbstractShapeBase () noexcept=default

Static Public Member Functions

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

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

◆ PublishMessage() [1/2]

Aws::Greengrass::PublishMessage::PublishMessage ( )
inlinenoexcept

◆ PublishMessage() [2/2]

Aws::Greengrass::PublishMessage::PublishMessage ( const PublishMessage & objectToCopy)
inline

Member Function Documentation

◆ GetBinaryMessage()

Aws::Crt::Optional< BinaryMessage > Aws::Greengrass::PublishMessage::GetBinaryMessage ( ) const
inlinenoexcept

(Optional) A binary message.

◆ GetJsonMessage()

Aws::Crt::Optional< JsonMessage > Aws::Greengrass::PublishMessage::GetJsonMessage ( ) const
inlinenoexcept

(Optional) A JSON message.

◆ GetModelName()

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

◆ operator<()

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

◆ operator=()

PublishMessage & Aws::Greengrass::PublishMessage::operator= ( const PublishMessage & objectToCopy)
noexcept

◆ s_allocateFromPayload()

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

◆ s_customDeleter()

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

◆ s_loadFromJsonView()

void Aws::Greengrass::PublishMessage::s_loadFromJsonView ( PublishMessage & publishMessage,
const Aws::Crt::JsonView & jsonView )
staticnoexcept

◆ SerializeToJsonObject()

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

◆ SetBinaryMessage()

void Aws::Greengrass::PublishMessage::SetBinaryMessage ( const BinaryMessage & binaryMessage)
inlinenoexcept

(Optional) A binary message.

◆ SetJsonMessage()

void Aws::Greengrass::PublishMessage::SetJsonMessage ( const JsonMessage & jsonMessage)
inlinenoexcept

(Optional) A JSON message.

Member Data Documentation

◆ MODEL_NAME

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

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