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 DescribeJobExecutionRequest;
68 class DescribeJobExecutionResponse;
69 class GetPendingJobExecutionsRequest;
70 class GetPendingJobExecutionsResponse;
71 class JobExecutionsChangedEvent;
72 class JobExecutionsChangedSubscriptionRequest;
73 class NextJobExecutionChangedEvent;
74 class NextJobExecutionChangedSubscriptionRequest;
75 class StartNextJobExecutionResponse;
76 class StartNextPendingJobExecutionRequest;
77 class UpdateJobExecutionRequest;
78 class UpdateJobExecutionResponse;
79 class V2ErrorResponse;
#define AWS_IOTJOBS_API
Definition: Exports.h:20
ServiceErrorV2< E > & operator=(const ServiceErrorV2< E > &rhs)=default
Definition: IotJobsClientV2.h:105
std::function< void(GetPendingJobExecutionsResult &&)> GetPendingJobExecutionsResultHandler
Definition: IotJobsClientV2.h:87
std::function< void(UpdateJobExecutionResult &&)> UpdateJobExecutionResultHandler
Definition: IotJobsClientV2.h:95
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition: Allocator.cpp:24
~ServiceErrorV2()=default
std::function< void(DescribeJobExecutionResult &&)> DescribeJobExecutionResultHandler
Definition: IotJobsClientV2.h:83
AWS_IOTJOBS_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: IotJobsClientV2.cpp:641
virtual bool GetPendingJobExecutions(const GetPendingJobExecutionsRequest &request, const GetPendingJobExecutionsResultHandler &handler)=0
Definition: StartNextPendingJobExecutionRequest.h:24
bool HasModeledError() const
Definition: IotJobsClientV2.h:58
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateNextJobExecutionChangedStream(const NextJobExecutionChangedSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< NextJobExecutionChangedEvent > &options)=0
Definition: MqttConnection.h:158
Definition: Mqtt5Client.h:332
bool has_value() const noexcept
Definition: Optional.h:122
Definition: DescribeJobExecutionRequest.h:24
Definition: MqttRequestResponseClient.h:499
virtual ~IClientV2()=default
ServiceErrorV2(int errorCode)
Definition: IotJobsClientV2.h:44
Definition: MqttRequestResponseClient.h:330
virtual bool StartNextPendingJobExecution(const StartNextPendingJobExecutionRequest &request, const StartNextPendingJobExecutionResultHandler &handler)=0
T & value() &
Definition: Optional.h:124
AWS_IOTJOBS_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: IotJobsClientV2.cpp:625
Definition: IotJobsClientV2.h:38
virtual bool DescribeJobExecution(const DescribeJobExecutionRequest &request, const DescribeJobExecutionResultHandler &handler)=0
ServiceErrorV2(int errorCode, E &&modeledError)
Definition: IotJobsClientV2.h:46
Definition: GetPendingJobExecutionsRequest.h:24
Definition: NextJobExecutionChangedSubscriptionRequest.h:24
const E & GetModeledError() const
Definition: IotJobsClientV2.h:59
Definition: StringView.h:862
Definition: Allocator.h:11
int GetErrorCode() const
Definition: IotJobsClientV2.h:56
aws_allocator Allocator
Definition: Allocator.h:14
Definition: MqttRequestResponseClient.h:405
std::function< void(StartNextPendingJobExecutionResult &&)> StartNextPendingJobExecutionResultHandler
Definition: IotJobsClientV2.h:91
virtual std::shared_ptr< Aws::Iot::RequestResponse::IStreamingOperation > CreateJobExecutionsChangedStream(const JobExecutionsChangedSubscriptionRequest &request, const Aws::Iot::RequestResponse::StreamingOperationOptions< JobExecutionsChangedEvent > &options)=0
ServiceErrorV2(const ServiceErrorV2< E > &rhs)=default
ServiceErrorV2(ServiceErrorV2< E > &&rhs)=default
Definition: JobExecutionsChangedSubscriptionRequest.h:24
virtual bool UpdateJobExecution(const UpdateJobExecutionRequest &request, const UpdateJobExecutionResultHandler &handler)=0
Definition: UpdateJobExecutionRequest.h:26
ServiceErrorV2< E > & operator=(ServiceErrorV2< E > &&rhs)=default