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::BinaryMessage Class Reference

#include <GreengrassCoreIpcModel.h>

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

Public Member Functions

 BinaryMessage () noexcept
 
 BinaryMessage (const BinaryMessage &)=default
 
void SetMessage (const Aws::Crt::Vector< uint8_t > &message) noexcept
 
Aws::Crt::Optional< Aws::Crt::Vector< uint8_t > > GetMessage () noexcept
 
void SetContext (const MessageContext &context) noexcept
 
Aws::Crt::Optional< MessageContextGetContext () noexcept
 
void SerializeToJsonObject (Aws::Crt::JsonObject &payloadObject) const noexcept override
 
bool operator< (const BinaryMessage &) const noexcept
 
- Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
 AbstractShapeBase () noexcept
 
virtual ~AbstractShapeBase () noexcept=default
 

Static Public Member Functions

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

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

◆ BinaryMessage() [1/2]

Aws::Greengrass::BinaryMessage::BinaryMessage ( )
inlinenoexcept

◆ BinaryMessage() [2/2]

Aws::Greengrass::BinaryMessage::BinaryMessage ( const BinaryMessage )
default

Member Function Documentation

◆ GetContext()

Aws::Crt::Optional<MessageContext> Aws::Greengrass::BinaryMessage::GetContext ( )
inlinenoexcept

The context of the message, such as the topic where the message was published.

◆ GetMessage()

Aws::Crt::Optional<Aws::Crt::Vector<uint8_t> > Aws::Greengrass::BinaryMessage::GetMessage ( )
inlinenoexcept

The binary message as a blob.

◆ GetModelName()

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

◆ operator<()

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

◆ s_allocateFromPayload()

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

◆ s_customDeleter()

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

◆ s_loadFromJsonView()

void Aws::Greengrass::BinaryMessage::s_loadFromJsonView ( BinaryMessage binaryMessage,
const Aws::Crt::JsonView jsonView 
)
staticnoexcept

◆ SerializeToJsonObject()

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

◆ SetContext()

void Aws::Greengrass::BinaryMessage::SetContext ( const MessageContext context)
inlinenoexcept

The context of the message, such as the topic where the message was published.

◆ SetMessage()

void Aws::Greengrass::BinaryMessage::SetMessage ( const Aws::Crt::Vector< uint8_t > &  message)
inlinenoexcept

The binary message as a blob.

Member Data Documentation

◆ MODEL_NAME

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

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