AWS IoT Device SDK C++ v2 1.14.0
AWS IoT Device SDK C++ v2
Public Member Functions | Protected Member Functions | List of all members
Aws::Greengrass::UpdateConfigurationOperation Class Reference

#include <GreengrassCoreIpcModel.h>

Inheritance diagram for Aws::Greengrass::UpdateConfigurationOperation:
Aws::Eventstreamrpc::ClientOperation Aws::Eventstreamrpc::ClientContinuationHandler

Public Member Functions

 UpdateConfigurationOperation (ClientConnection &connection, const UpdateConfigurationOperationContext &operationContext, Aws::Crt::Allocator *allocator=Aws::Crt::g_allocator) noexcept
 
std::future< RpcErrorActivate (const UpdateConfigurationRequest &request, OnMessageFlushCallback onMessageFlushCallback=nullptr) noexcept
 
std::future< UpdateConfigurationResultGetResult () noexcept
 
- Public Member Functions inherited from Aws::Eventstreamrpc::ClientOperation
 ClientOperation (ClientConnection &connection, StreamResponseHandler *streamHandler, const OperationModelContext &operationModelContext, Crt::Allocator *allocator) noexcept
 
 ~ClientOperation () noexcept
 
 ClientOperation (const ClientOperation &clientOperation) noexcept=delete
 
 ClientOperation (ClientOperation &&clientOperation) noexcept
 
std::future< RpcErrorClose (OnMessageFlushCallback onMessageFlushCallback=nullptr) noexcept
 
std::future< TaggedResultGetOperationResult () noexcept
 

Protected Member Functions

Aws::Crt::String GetModelName () const noexcept override
 
- Protected Member Functions inherited from Aws::Eventstreamrpc::ClientOperation
std::future< RpcErrorActivate (const AbstractShapeBase *shape, OnMessageFlushCallback onMessageFlushCallback) noexcept
 
std::future< RpcErrorSendStreamEvent (AbstractShapeBase *shape, OnMessageFlushCallback onMessageFlushCallback) noexcept
 

Additional Inherited Members

- Protected Attributes inherited from Aws::Eventstreamrpc::ClientOperation
const OperationModelContextm_operationModelContext
 

Constructor & Destructor Documentation

◆ UpdateConfigurationOperation()

Aws::Greengrass::UpdateConfigurationOperation::UpdateConfigurationOperation ( ClientConnection connection,
const UpdateConfigurationOperationContext operationContext,
Aws::Crt::Allocator allocator = Aws::Crt::g_allocator 
)
noexcept

Member Function Documentation

◆ Activate()

std::future< RpcError > Aws::Greengrass::UpdateConfigurationOperation::Activate ( const UpdateConfigurationRequest request,
OnMessageFlushCallback  onMessageFlushCallback = nullptr 
)
noexcept

Used to activate a stream for the UpdateConfigurationOperation

Parameters
requestThe request used for the UpdateConfigurationOperation
onMessageFlushCallbackAn optional callback that is invoked when the request is flushed.
Returns
An RpcError that can be used to check whether the stream was activated.

◆ GetModelName()

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

◆ GetResult()

std::future< UpdateConfigurationResult > Aws::Greengrass::UpdateConfigurationOperation::GetResult ( )
noexcept

Retrieve the result from activating the stream.


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