44 explicit ServiceErrorV2(
int errorCode) : m_errorCode(errorCode), m_modeledError() {}
47 : m_errorCode(errorCode), m_modeledError(
std::move(modeledError))
67 class DeleteNamedShadowRequest;
68 class DeleteShadowRequest;
69 class DeleteShadowResponse;
70 class GetNamedShadowRequest;
71 class GetShadowRequest;
72 class GetShadowResponse;
73 class NamedShadowDeltaUpdatedSubscriptionRequest;
74 class NamedShadowUpdatedSubscriptionRequest;
75 class ShadowDeltaUpdatedEvent;
76 class ShadowDeltaUpdatedSubscriptionRequest;
77 class ShadowUpdatedEvent;
78 class ShadowUpdatedSubscriptionRequest;
79 class UpdateNamedShadowRequest;
80 class UpdateShadowRequest;
81 class UpdateShadowResponse;
82 class V2ErrorResponse;
Definition Mqtt5Client.h:361
Definition MqttConnection.h:158
Definition MqttRequestResponseClient.h:499
Definition MqttRequestResponseClient.h:330
Definition MqttRequestResponseClient.h:405
Definition DeleteNamedShadowRequest.h:24
Definition DeleteShadowRequest.h:24
Definition GetNamedShadowRequest.h:24
Definition GetShadowRequest.h:24
Definition IotShadowClientV2.h:116
virtual bool DeleteShadow(const DeleteShadowRequest &request, const DeleteShadowResultHandler &handler)=0
virtual ~IClientV2()=default
virtual bool UpdateShadow(const UpdateShadowRequest &request, const UpdateShadowResultHandler &handler)=0
virtual bool GetShadow(const GetShadowRequest &request, const GetShadowResultHandler &handler)=0
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateShadowDeltaUpdatedStream(const ShadowDeltaUpdatedSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< ShadowDeltaUpdatedEvent > &options)=0
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateNamedShadowDeltaUpdatedStream(const NamedShadowDeltaUpdatedSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< ShadowDeltaUpdatedEvent > &options)=0
virtual bool UpdateNamedShadow(const UpdateNamedShadowRequest &request, const UpdateNamedShadowResultHandler &handler)=0
virtual bool DeleteNamedShadow(const DeleteNamedShadowRequest &request, const DeleteNamedShadowResultHandler &handler)=0
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateNamedShadowUpdatedStream(const NamedShadowUpdatedSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< ShadowUpdatedEvent > &options)=0
virtual bool GetNamedShadow(const GetNamedShadowRequest &request, const GetNamedShadowResultHandler &handler)=0
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateShadowUpdatedStream(const ShadowUpdatedSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< ShadowUpdatedEvent > &options)=0
Definition NamedShadowDeltaUpdatedSubscriptionRequest.h:24
Definition NamedShadowUpdatedSubscriptionRequest.h:24
ServiceErrorV2(int errorCode, E &&modeledError)
Definition IotShadowClientV2.h:46
ServiceErrorV2< E > & operator=(ServiceErrorV2< E > &&rhs)=default
~ServiceErrorV2()=default
ServiceErrorV2(ServiceErrorV2< E > &&rhs)=default
const E & GetModeledError() const
Definition IotShadowClientV2.h:59
ServiceErrorV2< E > & operator=(const ServiceErrorV2< E > &rhs)=default
int GetErrorCode() const
Definition IotShadowClientV2.h:56
ServiceErrorV2(const ServiceErrorV2< E > &rhs)=default
ServiceErrorV2(int errorCode)
Definition IotShadowClientV2.h:44
bool HasModeledError() const
Definition IotShadowClientV2.h:58
Definition ShadowDeltaUpdatedSubscriptionRequest.h:24
Definition ShadowUpdatedSubscriptionRequest.h:24
Definition UpdateNamedShadowRequest.h:26
Definition UpdateShadowRequest.h:26
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 DeleteNamedShadowRequest.h:17
std::function< void(GetNamedShadowResult &&)> GetNamedShadowResultHandler
Definition IotShadowClientV2.h:94
Aws::Iot::RequestResponse::Result< UpdateShadowResponse, ServiceErrorV2< V2ErrorResponse > > UpdateShadowResult
Definition IotShadowClientV2.h:103
Aws::Iot::RequestResponse::Result< DeleteShadowResponse, ServiceErrorV2< V2ErrorResponse > > DeleteNamedShadowResult
Definition IotShadowClientV2.h:84
Aws::Iot::RequestResponse::Result< GetShadowResponse, ServiceErrorV2< V2ErrorResponse > > GetShadowResult
Definition IotShadowClientV2.h:96
Aws::Iot::RequestResponse::Result< GetShadowResponse, ServiceErrorV2< V2ErrorResponse > > GetNamedShadowResult
Definition IotShadowClientV2.h:92
std::function< void(UpdateShadowResult &&)> UpdateShadowResultHandler
Definition IotShadowClientV2.h:105
AWS_IOTSHADOW_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 IotShadowClientV2.cpp:893
AWS_IOTSHADOW_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 IotShadowClientV2.cpp:877
std::function< void(GetShadowResult &&)> GetShadowResultHandler
Definition IotShadowClientV2.h:97
Aws::Iot::RequestResponse::Result< DeleteShadowResponse, ServiceErrorV2< V2ErrorResponse > > DeleteShadowResult
Definition IotShadowClientV2.h:88
std::function< void(UpdateNamedShadowResult &&)> UpdateNamedShadowResultHandler
Definition IotShadowClientV2.h:101
std::function< void(DeleteShadowResult &&)> DeleteShadowResultHandler
Definition IotShadowClientV2.h:90
Aws::Iot::RequestResponse::Result< UpdateShadowResponse, ServiceErrorV2< V2ErrorResponse > > UpdateNamedShadowResult
Definition IotShadowClientV2.h:99
std::function< void(DeleteNamedShadowResult &&)> DeleteNamedShadowResultHandler
Definition IotShadowClientV2.h:86
Definition Allocator.h:11
Definition StringView.h:862
#define AWS_IOTSHADOW_API
Definition Exports.h:20