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>
Definition Mqtt5Client.h:361
Definition MqttConnection.h:158
Definition MqttRequestResponseClient.h:499
Definition MqttRequestResponseClient.h:330
Definition MqttRequestResponseClient.h:405
Definition CommandExecutionsSubscriptionRequest.h:26
Definition IotCommandsClientV2.h:85
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateCommandExecutionsCborPayloadStream(const CommandExecutionsSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > &options)=0
virtual bool UpdateCommandExecution(const UpdateCommandExecutionRequest &request, const UpdateCommandExecutionResultHandler &handler)=0
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateCommandExecutionsJsonPayloadStream(const CommandExecutionsSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > &options)=0
virtual ~IClientV2()=default
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateCommandExecutionsGenericPayloadStream(const CommandExecutionsSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< CommandExecutionEvent > &options)=0
const E & GetModeledError() const
Definition IotCommandsClientV2.h:59
ServiceErrorV2(int errorCode, E &&modeledError)
Definition IotCommandsClientV2.h:46
ServiceErrorV2(const ServiceErrorV2< E > &rhs)=default
ServiceErrorV2(ServiceErrorV2< E > &&rhs)=default
ServiceErrorV2< E > & operator=(ServiceErrorV2< E > &&rhs)=default
int GetErrorCode() const
Definition IotCommandsClientV2.h:56
ServiceErrorV2(int errorCode)
Definition IotCommandsClientV2.h:44
~ServiceErrorV2()=default
ServiceErrorV2< E > & operator=(const ServiceErrorV2< E > &rhs)=default
bool HasModeledError() const
Definition IotCommandsClientV2.h:58
Definition UpdateCommandExecutionRequest.h:29
#define AWS_IOTCOMMANDS_API
Definition Exports.h:20
Definition HttpRequestResponse.h:24
Definition HttpRequestResponse.h:19
Definition Allocator.h:13
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition Allocator.cpp:24
aws_allocator Allocator
Definition Allocator.h:14
Definition CommandExecutionEvent.h:17
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
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
Aws::Iot::RequestResponse::Result< UpdateCommandExecutionResponse, ServiceErrorV2< V2ErrorResponse > > UpdateCommandExecutionResult
Definition IotCommandsClientV2.h:73
std::function< void(UpdateCommandExecutionResult &&)> UpdateCommandExecutionResultHandler
Definition IotCommandsClientV2.h:75
Definition Allocator.h:11
Definition StringView.h:862