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;
Definition Mqtt5Client.h:361
Definition MqttConnection.h:158
Definition MqttRequestResponseClient.h:499
Definition MqttRequestResponseClient.h:330
Definition CreateCertificateFromCsrRequest.h:24
Definition CreateKeysAndCertificateRequest.h:24
Definition IotIdentityClientV2.h:94
virtual bool RegisterThing(const RegisterThingRequest &request, const RegisterThingResultHandler &handler)=0
virtual ~IClientV2()=default
virtual bool CreateCertificateFromCsr(const CreateCertificateFromCsrRequest &request, const CreateCertificateFromCsrResultHandler &handler)=0
virtual bool CreateKeysAndCertificate(const CreateKeysAndCertificateRequest &request, const CreateKeysAndCertificateResultHandler &handler)=0
Definition RegisterThingRequest.h:24
const E & GetModeledError() const
Definition IotIdentityClientV2.h:59
ServiceErrorV2< E > & operator=(const ServiceErrorV2< E > &rhs)=default
ServiceErrorV2(ServiceErrorV2< E > &&rhs)=default
ServiceErrorV2(int errorCode)
Definition IotIdentityClientV2.h:44
ServiceErrorV2(const ServiceErrorV2< E > &rhs)=default
int GetErrorCode() const
Definition IotIdentityClientV2.h:56
ServiceErrorV2(int errorCode, E &&modeledError)
Definition IotIdentityClientV2.h:46
ServiceErrorV2< E > & operator=(ServiceErrorV2< E > &&rhs)=default
bool HasModeledError() const
Definition IotIdentityClientV2.h:58
~ServiceErrorV2()=default
#define AWS_IOTIDENTITY_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 CreateCertificateFromCsrRequest.h:17
std::function< void(CreateCertificateFromCsrResult &&)> CreateCertificateFromCsrResultHandler
Definition IotIdentityClientV2.h:77
std::function< void(RegisterThingResult &&)> RegisterThingResultHandler
Definition IotIdentityClientV2.h:85
Aws::Iot::RequestResponse::Result< RegisterThingResponse, ServiceErrorV2< V2ErrorResponse > > RegisterThingResult
Definition IotIdentityClientV2.h:83
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
Aws::Iot::RequestResponse::Result< CreateCertificateFromCsrResponse, ServiceErrorV2< V2ErrorResponse > > CreateCertificateFromCsrResult
Definition IotIdentityClientV2.h:75
std::function< void(CreateKeysAndCertificateResult &&)> CreateKeysAndCertificateResultHandler
Definition IotIdentityClientV2.h:81
Aws::Iot::RequestResponse::Result< CreateKeysAndCertificateResponse, ServiceErrorV2< V2ErrorResponse > > CreateKeysAndCertificateResult
Definition IotIdentityClientV2.h:79
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
Definition Allocator.h:11
Definition StringView.h:862