AWS IoT Device SDK C++ v2  1.32.6
AWS IoT Device SDK C++ v2
Public Member Functions | List of all members
Aws::Iotsecuretunneling::Message Class Reference

#include <SecureTunnel.h>

Public Member Functions

 Message (const aws_secure_tunnel_message_view &raw_options, Crt::Allocator *allocator=Crt::ApiAllocator()) noexcept
 
 Message (Crt::Allocator *allocator=Crt::ApiAllocator()) noexcept
 
 Message (Crt::ByteCursor payload, Crt::Allocator *allocator=Crt::ApiAllocator()) noexcept
 
 Message (Crt::ByteCursor payload, uint32_t connectionId, Crt::Allocator *allocator=Crt::ApiAllocator()) noexcept
 
 Message (Crt::ByteCursor serviceId, Crt::ByteCursor payload, Crt::Allocator *allocator=Crt::ApiAllocator()) noexcept
 
 Message (Crt::ByteCursor serviceId, uint32_t connectionId, Crt::ByteCursor payload, Crt::Allocator *allocator=Crt::ApiAllocator()) noexcept
 
MessageWithServiceId (Crt::ByteCursor serviceId) noexcept
 
MessageWithConnectionId (uint32_t connectionId) noexcept
 
MessageWithPayload (Crt::ByteCursor payload) noexcept
 
bool initializeRawOptions (aws_secure_tunnel_message_view &raw_options) noexcept
 
const Crt::Optional< Crt::ByteCursor > & getServiceId () const noexcept
 
const uint32_t & getConnectionId () const noexcept
 
const Crt::Optional< Crt::ByteCursor > & getPayload () const noexcept
 
virtual ~Message ()
 
 Message (const Message &)=delete
 
 Message (Message &&) noexcept=delete
 
Messageoperator= (const Message &)=delete
 
Messageoperator= (Message &&) noexcept=delete
 

Detailed Description

Data model for Secure Tunnel messages.

Constructor & Destructor Documentation

◆ Message() [1/8]

Aws::Iotsecuretunneling::Message::Message ( const aws_secure_tunnel_message_view &  raw_options,
Crt::Allocator allocator = Crt::ApiAllocator() 
)
noexcept

◆ Message() [2/8]

Aws::Iotsecuretunneling::Message::Message ( Crt::Allocator allocator = Crt::ApiAllocator())
noexcept

◆ Message() [3/8]

Aws::Iotsecuretunneling::Message::Message ( Crt::ByteCursor  payload,
Crt::Allocator allocator = Crt::ApiAllocator() 
)
noexcept

◆ Message() [4/8]

Aws::Iotsecuretunneling::Message::Message ( Crt::ByteCursor  payload,
uint32_t  connectionId,
Crt::Allocator allocator = Crt::ApiAllocator() 
)
noexcept

◆ Message() [5/8]

Aws::Iotsecuretunneling::Message::Message ( Crt::ByteCursor  serviceId,
Crt::ByteCursor  payload,
Crt::Allocator allocator = Crt::ApiAllocator() 
)
noexcept

◆ Message() [6/8]

Aws::Iotsecuretunneling::Message::Message ( Crt::ByteCursor  serviceId,
uint32_t  connectionId,
Crt::ByteCursor  payload,
Crt::Allocator allocator = Crt::ApiAllocator() 
)
noexcept

◆ ~Message()

Aws::Iotsecuretunneling::Message::~Message ( )
virtual

◆ Message() [7/8]

Aws::Iotsecuretunneling::Message::Message ( const Message )
delete

◆ Message() [8/8]

Aws::Iotsecuretunneling::Message::Message ( Message &&  )
deletenoexcept

Member Function Documentation

◆ getConnectionId()

const uint32_t & Aws::Iotsecuretunneling::Message::getConnectionId ( ) const
noexcept

The connection id of the secure tunnel message.

Returns
The connection id of the secure tunnel message.

◆ getPayload()

const Crt::Optional< Crt::ByteCursor > & Aws::Iotsecuretunneling::Message::getPayload ( ) const
noexcept

The payload of the secure tunnel message.

Returns
The payload of the secure tunnel message.

◆ getServiceId()

const Crt::Optional< Crt::ByteCursor > & Aws::Iotsecuretunneling::Message::getServiceId ( ) const
noexcept

The service id of the secure tunnel message.

Returns
The service id of the secure tunnel message.

◆ initializeRawOptions()

bool Aws::Iotsecuretunneling::Message::initializeRawOptions ( aws_secure_tunnel_message_view &  raw_options)
noexcept

◆ operator=() [1/2]

Message& Aws::Iotsecuretunneling::Message::operator= ( const Message )
delete

◆ operator=() [2/2]

Message& Aws::Iotsecuretunneling::Message::operator= ( Message &&  )
deletenoexcept

◆ WithConnectionId()

Message & Aws::Iotsecuretunneling::Message::WithConnectionId ( uint32_t  connectionId)
noexcept

Sets the connection id for the secure tunnel message.

Parameters
connectionIdThe connection id for the secure tunnel message.
Returns
The Message Object after setting the payload.

◆ WithPayload()

Message & Aws::Iotsecuretunneling::Message::WithPayload ( Crt::ByteCursor  payload)
noexcept

Sets the payload for the secure tunnel message.

Parameters
payloadThe payload for the secure tunnel message.
Returns
The Message Object after setting the payload.

◆ WithServiceId()

Message & Aws::Iotsecuretunneling::Message::WithServiceId ( Crt::ByteCursor  serviceId)
noexcept

Sets the service id for the secure tunnel message.

Parameters
serviceIdThe service id for the secure tunnel message.
Returns
The Message Object after setting the payload.

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