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

#include <GreengrassCoreIpcModel.h>

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

Public Member Functions

 SubscribeToTopicRequest () noexcept
 SubscribeToTopicRequest (const SubscribeToTopicRequest &)=default
void SetTopic (const Aws::Crt::String &topic) noexcept
Aws::Crt::Optional< Aws::Crt::StringGetTopic () const noexcept
void SetReceiveMode (ReceiveMode receiveMode) noexcept
Aws::Crt::Optional< ReceiveModeGetReceiveMode () const noexcept
void SerializeToJsonObject (Aws::Crt::JsonObject &payloadObject) const noexcept override
bool operator< (const SubscribeToTopicRequest &) const noexcept
Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
 AbstractShapeBase () noexcept
virtual ~AbstractShapeBase () noexcept=default

Static Public Member Functions

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

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

◆ SubscribeToTopicRequest() [1/2]

Aws::Greengrass::SubscribeToTopicRequest::SubscribeToTopicRequest ( )
inlinenoexcept

◆ SubscribeToTopicRequest() [2/2]

Aws::Greengrass::SubscribeToTopicRequest::SubscribeToTopicRequest ( const SubscribeToTopicRequest & )
default

Member Function Documentation

◆ GetModelName()

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

◆ GetReceiveMode()

Aws::Crt::Optional< ReceiveMode > Aws::Greengrass::SubscribeToTopicRequest::GetReceiveMode ( ) const
noexcept

(Optional) The behavior that specifies whether the component receives messages from itself.

◆ GetTopic()

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

The topic to subscribe to. Supports MQTT-style wildcards.

◆ operator<()

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

◆ s_allocateFromPayload()

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

◆ s_customDeleter()

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

◆ s_loadFromJsonView()

void Aws::Greengrass::SubscribeToTopicRequest::s_loadFromJsonView ( SubscribeToTopicRequest & subscribeToTopicRequest,
const Aws::Crt::JsonView & jsonView )
staticnoexcept

◆ SerializeToJsonObject()

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

◆ SetReceiveMode()

void Aws::Greengrass::SubscribeToTopicRequest::SetReceiveMode ( ReceiveMode receiveMode)
noexcept

(Optional) The behavior that specifies whether the component receives messages from itself.

◆ SetTopic()

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

The topic to subscribe to. Supports MQTT-style wildcards.

Member Data Documentation

◆ MODEL_NAME

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

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