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

#include <GreengrassCoreIpcModel.h>

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

Public Member Functions

 RestartComponentResponse () noexcept
 RestartComponentResponse (const RestartComponentResponse &)=default
void SetRestartStatus (RequestStatus restartStatus) noexcept
Aws::Crt::Optional< RequestStatusGetRestartStatus () const noexcept
void SetMessage (const Aws::Crt::String &message) noexcept
Aws::Crt::Optional< Aws::Crt::StringGetMessage () const noexcept
void SerializeToJsonObject (Aws::Crt::JsonObject &payloadObject) const noexcept override
bool operator< (const RestartComponentResponse &) const noexcept
Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
 AbstractShapeBase () noexcept
virtual ~AbstractShapeBase () noexcept=default

Static Public Member Functions

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

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

◆ RestartComponentResponse() [1/2]

Aws::Greengrass::RestartComponentResponse::RestartComponentResponse ( )
inlinenoexcept

◆ RestartComponentResponse() [2/2]

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

Member Function Documentation

◆ GetMessage()

Aws::Crt::Optional< Aws::Crt::String > Aws::Greengrass::RestartComponentResponse::GetMessage ( ) const
inlinenoexcept

A message about why the component failed to restart, if the request failed.

◆ GetModelName()

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

◆ GetRestartStatus()

Aws::Crt::Optional< RequestStatus > Aws::Greengrass::RestartComponentResponse::GetRestartStatus ( ) const
noexcept

The status of the restart request.

◆ operator<()

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

◆ s_allocateFromPayload()

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

◆ s_customDeleter()

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

◆ s_loadFromJsonView()

void Aws::Greengrass::RestartComponentResponse::s_loadFromJsonView ( RestartComponentResponse & restartComponentResponse,
const Aws::Crt::JsonView & jsonView )
staticnoexcept

◆ SerializeToJsonObject()

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

◆ SetMessage()

void Aws::Greengrass::RestartComponentResponse::SetMessage ( const Aws::Crt::String & message)
inlinenoexcept

A message about why the component failed to restart, if the request failed.

◆ SetRestartStatus()

void Aws::Greengrass::RestartComponentResponse::SetRestartStatus ( RequestStatus restartStatus)
noexcept

The status of the restart request.

Member Data Documentation

◆ MODEL_NAME

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

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