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 CreateCertificateFromCsrRequest;
68 class CreateCertificateFromCsrResponse;
69 class CreateKeysAndCertificateRequest;
70 class CreateKeysAndCertificateResponse;
71 class RegisterThingRequest;
72 class RegisterThingResponse;
73 class V2ErrorResponse;
ServiceErrorV2(int errorCode, E &&modeledError)
Definition: IotIdentityClientV2.h:46
Definition: CreateKeysAndCertificateRequest.h:24
const E & GetModeledError() const
Definition: IotIdentityClientV2.h:59
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition: Allocator.cpp:24
ServiceErrorV2(ServiceErrorV2< E > &&rhs)=default
virtual ~IClientV2()=default
virtual bool RegisterThing(const RegisterThingRequest &request, const RegisterThingResultHandler &handler)=0
#define AWS_IOTIDENTITY_API
Definition: Exports.h:20
Definition: MqttConnection.h:158
ServiceErrorV2< E > & operator=(ServiceErrorV2< E > &&rhs)=default
Definition: Mqtt5Client.h:332
Definition: CreateCertificateFromCsrRequest.h:24
int GetErrorCode() const
Definition: IotIdentityClientV2.h:56
ServiceErrorV2< E > & operator=(const ServiceErrorV2< E > &rhs)=default
bool has_value() const noexcept
Definition: Optional.h:122
virtual bool CreateKeysAndCertificate(const CreateKeysAndCertificateRequest &request, const CreateKeysAndCertificateResultHandler &handler)=0
bool HasModeledError() const
Definition: IotIdentityClientV2.h:58
Definition: MqttRequestResponseClient.h:499
Definition: MqttRequestResponseClient.h:330
std::function< void(CreateCertificateFromCsrResult &&)> CreateCertificateFromCsrResultHandler
Definition: IotIdentityClientV2.h:77
T & value() &
Definition: Optional.h:124
ServiceErrorV2(int errorCode)
Definition: IotIdentityClientV2.h:44
Definition: IotIdentityClientV2.h:38
~ServiceErrorV2()=default
ServiceErrorV2(const ServiceErrorV2< E > &rhs)=default
AWS_IOTIDENTITY_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: IotIdentityClientV2.cpp:392
Definition: StringView.h:862
Definition: Allocator.h:11
Definition: IotIdentityClientV2.h:94
aws_allocator Allocator
Definition: Allocator.h:14
std::function< void(RegisterThingResult &&)> RegisterThingResultHandler
Definition: IotIdentityClientV2.h:85
AWS_IOTIDENTITY_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: IotIdentityClientV2.cpp:408
std::function< void(CreateKeysAndCertificateResult &&)> CreateKeysAndCertificateResultHandler
Definition: IotIdentityClientV2.h:81
virtual bool CreateCertificateFromCsr(const CreateCertificateFromCsrRequest &request, const CreateCertificateFromCsrResultHandler &handler)=0
Definition: RegisterThingRequest.h:24