|
AWS IoT Device SDK C++ v2
1.43.1
AWS IoT Device SDK C++ v2
|
Go to the documentation of this file.
44 explicit ServiceErrorV2(
int errorCode) : m_errorCode(errorCode), m_modeledError() {}
47 : m_errorCode(errorCode), m_modeledError(
std::move(modeledError))
67 class CommandExecutionEvent;
68 class CommandExecutionsSubscriptionRequest;
69 class UpdateCommandExecutionRequest;
70 class UpdateCommandExecutionResponse;
71 class V2ErrorResponse;
112 virtual std::shared_ptr<Aws::Iot::RequestResponse::IStreamingOperation>
127 virtual std::shared_ptr<Aws::Iot::RequestResponse::IStreamingOperation>
142 virtual std::shared_ptr<Aws::Iot::RequestResponse::IStreamingOperation>
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateCommandExecutionsGenericPayloadStream(const CommandExecutionsSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > &options)=0
ServiceErrorV2(int errorCode)
Definition: IotCommandsClientV2.h:44
AWS_IOTCOMMANDS_API std::shared_ptr< IClientV2 > NewClientFrom311(const Aws::Crt::Mqtt::MqttConnection &protocolClient, const Aws::Iot::RequestResponse::RequestResponseClientOptions &options, Aws::Crt::Allocator *allocator=Aws::Crt::ApiAllocator())
Definition: IotCommandsClientV2.cpp:336
const E & GetModeledError() const
Definition: IotCommandsClientV2.h:59
int GetErrorCode() const
Definition: IotCommandsClientV2.h:56
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition: Allocator.cpp:24
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateCommandExecutionsCborPayloadStream(const CommandExecutionsSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > &options)=0
ServiceErrorV2(ServiceErrorV2< E > &&rhs)=default
Definition: MqttConnection.h:158
#define AWS_IOTCOMMANDS_API
Definition: Exports.h:20
Definition: Mqtt5Client.h:361
ServiceErrorV2(int errorCode, E &&modeledError)
Definition: IotCommandsClientV2.h:46
bool has_value() const noexcept
Definition: Optional.h:122
Definition: MqttRequestResponseClient.h:499
Definition: IotCommandsClientV2.h:38
bool HasModeledError() const
Definition: IotCommandsClientV2.h:58
Definition: IotCommandsClientV2.h:85
Definition: MqttRequestResponseClient.h:330
T & value() &
Definition: Optional.h:124
ServiceErrorV2(const ServiceErrorV2< E > &rhs)=default
virtual bool UpdateCommandExecution(const UpdateCommandExecutionRequest &request, const UpdateCommandExecutionResultHandler &handler)=0
Definition: CommandExecutionsSubscriptionRequest.h:26
Definition: StringView.h:862
ServiceErrorV2< E > & operator=(const ServiceErrorV2< E > &rhs)=default
~ServiceErrorV2()=default
Definition: Allocator.h:11
Definition: UpdateCommandExecutionRequest.h:29
aws_allocator Allocator
Definition: Allocator.h:14
Definition: MqttRequestResponseClient.h:405
std::function< void(UpdateCommandExecutionResult &&)> UpdateCommandExecutionResultHandler
Definition: IotCommandsClientV2.h:75
ServiceErrorV2< E > & operator=(ServiceErrorV2< E > &&rhs)=default
virtual ~IClientV2()=default
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateCommandExecutionsJsonPayloadStream(const CommandExecutionsSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > &options)=0
AWS_IOTCOMMANDS_API std::shared_ptr< IClientV2 > NewClientFrom5(const Aws::Crt::Mqtt5::Mqtt5Client &protocolClient, const Aws::Iot::RequestResponse::RequestResponseClientOptions &options, Aws::Crt::Allocator *allocator=Aws::Crt::ApiAllocator())
Definition: IotCommandsClientV2.cpp:320