AWS IoT Device SDK C++ v2
1.36.0
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 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;
virtual bool DeleteShadow(const DeleteShadowRequest &request, const DeleteShadowResultHandler &handler)=0
std::function< void(GetNamedShadowResult &&)> GetNamedShadowResultHandler
Definition: IotShadowClientV2.h:94
std::function< void(GetShadowResult &&)> GetShadowResultHandler
Definition: IotShadowClientV2.h:97
ServiceErrorV2(const ServiceErrorV2< E > &rhs)=default
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition: Allocator.cpp:24
Definition: UpdateNamedShadowRequest.h:26
std::function< void(DeleteShadowResult &&)> DeleteShadowResultHandler
Definition: IotShadowClientV2.h:90
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
virtual ~IClientV2()=default
virtual bool GetNamedShadow(const GetNamedShadowRequest &request, const GetNamedShadowResultHandler &handler)=0
ServiceErrorV2< E > & operator=(ServiceErrorV2< E > &&rhs)=default
virtual bool DeleteNamedShadow(const DeleteNamedShadowRequest &request, const DeleteNamedShadowResultHandler &handler)=0
Definition: ShadowDeltaUpdatedSubscriptionRequest.h:24
Definition: NamedShadowDeltaUpdatedSubscriptionRequest.h:24
Definition: MqttConnection.h:158
Definition: DeleteNamedShadowRequest.h:24
Definition: Mqtt5Client.h:332
Definition: IotShadowClientV2.h:116
bool has_value() const noexcept
Definition: Optional.h:122
std::function< void(UpdateNamedShadowResult &&)> UpdateNamedShadowResultHandler
Definition: IotShadowClientV2.h:101
bool HasModeledError() const
Definition: IotShadowClientV2.h:58
Definition: UpdateShadowRequest.h:26
Definition: MqttRequestResponseClient.h:499
Definition: NamedShadowUpdatedSubscriptionRequest.h:24
Definition: DeleteShadowRequest.h:24
ServiceErrorV2(ServiceErrorV2< E > &&rhs)=default
int GetErrorCode() const
Definition: IotShadowClientV2.h:56
ServiceErrorV2(int errorCode)
Definition: IotShadowClientV2.h:44
Definition: ShadowUpdatedSubscriptionRequest.h:24
Definition: MqttRequestResponseClient.h:330
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateShadowUpdatedStream(const ShadowUpdatedSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< ShadowUpdatedEvent > &options)=0
T & value() &
Definition: Optional.h:124
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 UpdateShadow(const UpdateShadowRequest &request, const UpdateShadowResultHandler &handler)=0
virtual bool GetShadow(const GetShadowRequest &request, const GetShadowResultHandler &handler)=0
ServiceErrorV2< E > & operator=(const ServiceErrorV2< E > &rhs)=default
Definition: IotShadowClientV2.h:38
Definition: StringView.h:862
Definition: Allocator.h:11
Definition: GetNamedShadowRequest.h:24
Definition: GetShadowRequest.h:24
aws_allocator Allocator
Definition: Allocator.h:14
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateNamedShadowUpdatedStream(const NamedShadowUpdatedSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< ShadowUpdatedEvent > &options)=0
virtual bool UpdateNamedShadow(const UpdateNamedShadowRequest &request, const UpdateNamedShadowResultHandler &handler)=0
Definition: MqttRequestResponseClient.h:405
std::function< void(DeleteNamedShadowResult &&)> DeleteNamedShadowResultHandler
Definition: IotShadowClientV2.h:86
ServiceErrorV2(int errorCode, E &&modeledError)
Definition: IotShadowClientV2.h:46
~ServiceErrorV2()=default
const E & GetModeledError() const
Definition: IotShadowClientV2.h:59
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
std::function< void(UpdateShadowResult &&)> UpdateShadowResultHandler
Definition: IotShadowClientV2.h:105
#define AWS_IOTSHADOW_API
Definition: Exports.h:20