7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/braket/BraketServiceClientModel.h>
40 std::shared_ptr<BraketEndpointProviderBase> endpointProvider =
nullptr);
47 std::shared_ptr<BraketEndpointProviderBase> endpointProvider =
nullptr,
54 BraketClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
55 std::shared_ptr<BraketEndpointProviderBase> endpointProvider =
nullptr,
77 BraketClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
93 template<
typename CancelJobRequestT = Model::CancelJobRequest>
96 return SubmitCallable(&BraketClient::CancelJob, request);
102 template<
typename CancelJobRequestT = Model::CancelJobRequest>
105 return SubmitAsync(&BraketClient::CancelJob, request, handler, context);
118 template<
typename CancelQuantumTaskRequestT = Model::CancelQuantumTaskRequest>
121 return SubmitCallable(&BraketClient::CancelQuantumTask, request);
127 template<
typename CancelQuantumTaskRequestT = Model::CancelQuantumTaskRequest>
130 return SubmitAsync(&BraketClient::CancelQuantumTask, request, handler, context);
143 template<
typename CreateJobRequestT = Model::CreateJobRequest>
146 return SubmitCallable(&BraketClient::CreateJob, request);
152 template<
typename CreateJobRequestT = Model::CreateJobRequest>
155 return SubmitAsync(&BraketClient::CreateJob, request, handler, context);
168 template<
typename CreateQuantumTaskRequestT = Model::CreateQuantumTaskRequest>
171 return SubmitCallable(&BraketClient::CreateQuantumTask, request);
177 template<
typename CreateQuantumTaskRequestT = Model::CreateQuantumTaskRequest>
180 return SubmitAsync(&BraketClient::CreateQuantumTask, request, handler, context);
201 template<
typename GetDeviceRequestT = Model::GetDeviceRequest>
204 return SubmitCallable(&BraketClient::GetDevice, request);
210 template<
typename GetDeviceRequestT = Model::GetDeviceRequest>
213 return SubmitAsync(&BraketClient::GetDevice, request, handler, context);
226 template<
typename GetJobRequestT = Model::GetJobRequest>
229 return SubmitCallable(&BraketClient::GetJob, request);
235 template<
typename GetJobRequestT = Model::GetJobRequest>
238 return SubmitAsync(&BraketClient::GetJob, request, handler, context);
251 template<
typename GetQuantumTaskRequestT = Model::GetQuantumTaskRequest>
254 return SubmitCallable(&BraketClient::GetQuantumTask, request);
260 template<
typename GetQuantumTaskRequestT = Model::GetQuantumTaskRequest>
263 return SubmitAsync(&BraketClient::GetQuantumTask, request, handler, context);
276 template<
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
279 return SubmitCallable(&BraketClient::ListTagsForResource, request);
285 template<
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
288 return SubmitAsync(&BraketClient::ListTagsForResource, request, handler, context);
302 template<
typename SearchDevicesRequestT = Model::SearchDevicesRequest>
305 return SubmitCallable(&BraketClient::SearchDevices, request);
311 template<
typename SearchDevicesRequestT = Model::SearchDevicesRequest>
314 return SubmitAsync(&BraketClient::SearchDevices, request, handler, context);
328 template<
typename SearchJobsRequestT = Model::SearchJobsRequest>
331 return SubmitCallable(&BraketClient::SearchJobs, request);
337 template<
typename SearchJobsRequestT = Model::SearchJobsRequest>
340 return SubmitAsync(&BraketClient::SearchJobs, request, handler, context);
354 template<
typename SearchQuantumTasksRequestT = Model::SearchQuantumTasksRequest>
357 return SubmitCallable(&BraketClient::SearchQuantumTasks, request);
363 template<
typename SearchQuantumTasksRequestT = Model::SearchQuantumTasksRequest>
366 return SubmitAsync(&BraketClient::SearchQuantumTasks, request, handler, context);
379 template<
typename TagResourceRequestT = Model::TagResourceRequest>
382 return SubmitCallable(&BraketClient::TagResource, request);
388 template<
typename TagResourceRequestT = Model::TagResourceRequest>
391 return SubmitAsync(&BraketClient::TagResource, request, handler, context);
404 template<
typename UntagResourceRequestT = Model::UntagResourceRequest>
407 return SubmitCallable(&BraketClient::UntagResource, request);
413 template<
typename UntagResourceRequestT = Model::UntagResourceRequest>
416 return SubmitAsync(&BraketClient::UntagResource, request, handler, context);
427 std::shared_ptr<BraketEndpointProviderBase> m_endpointProvider;
Model::CreateQuantumTaskOutcomeCallable CreateQuantumTaskCallable(const CreateQuantumTaskRequestT &request) const
BraketClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
static const char * GetAllocationTag()
Model::CancelJobOutcomeCallable CancelJobCallable(const CancelJobRequestT &request) const
virtual Model::CancelQuantumTaskOutcome CancelQuantumTask(const Model::CancelQuantumTaskRequest &request) const
void GetQuantumTaskAsync(const GetQuantumTaskRequestT &request, const GetQuantumTaskResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateJobOutcome CreateJob(const Model::CreateJobRequest &request) const
void SearchJobsAsync(const SearchJobsRequestT &request, const SearchJobsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
BraketClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< BraketEndpointProviderBase > endpointProvider=nullptr, const Aws::Braket::BraketClientConfiguration &clientConfiguration=Aws::Braket::BraketClientConfiguration())
BraketClient(const Aws::Braket::BraketClientConfiguration &clientConfiguration=Aws::Braket::BraketClientConfiguration(), std::shared_ptr< BraketEndpointProviderBase > endpointProvider=nullptr)
void OverrideEndpoint(const Aws::String &endpoint)
void GetJobAsync(const GetJobRequestT &request, const GetJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetDeviceOutcomeCallable GetDeviceCallable(const GetDeviceRequestT &request) const
BraketClient(const Aws::Client::ClientConfiguration &clientConfiguration)
BraketClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetJobOutcome GetJob(const Model::GetJobRequest &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
virtual Model::SearchQuantumTasksOutcome SearchQuantumTasks(const Model::SearchQuantumTasksRequest &request) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
std::shared_ptr< BraketEndpointProviderBase > & accessEndpointProvider()
BraketClientConfiguration ClientConfigurationType
Model::CreateJobOutcomeCallable CreateJobCallable(const CreateJobRequestT &request) const
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateQuantumTaskAsync(const CreateQuantumTaskRequestT &request, const CreateQuantumTaskResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetServiceName()
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
Model::SearchQuantumTasksOutcomeCallable SearchQuantumTasksCallable(const SearchQuantumTasksRequestT &request) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateQuantumTaskOutcome CreateQuantumTask(const Model::CreateQuantumTaskRequest &request) const
void CreateJobAsync(const CreateJobRequestT &request, const CreateJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void SearchDevicesAsync(const SearchDevicesRequestT &request, const SearchDevicesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetDeviceAsync(const GetDeviceRequestT &request, const GetDeviceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
BraketEndpointProvider EndpointProviderType
Aws::Client::AWSJsonClient BASECLASS
Model::CancelQuantumTaskOutcomeCallable CancelQuantumTaskCallable(const CancelQuantumTaskRequestT &request) const
BraketClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< BraketEndpointProviderBase > endpointProvider=nullptr, const Aws::Braket::BraketClientConfiguration &clientConfiguration=Aws::Braket::BraketClientConfiguration())
void CancelQuantumTaskAsync(const CancelQuantumTaskRequestT &request, const CancelQuantumTaskResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void SearchQuantumTasksAsync(const SearchQuantumTasksRequestT &request, const SearchQuantumTasksResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetDeviceOutcome GetDevice(const Model::GetDeviceRequest &request) const
virtual Model::GetQuantumTaskOutcome GetQuantumTask(const Model::GetQuantumTaskRequest &request) const
Model::GetJobOutcomeCallable GetJobCallable(const GetJobRequestT &request) const
Model::GetQuantumTaskOutcomeCallable GetQuantumTaskCallable(const GetQuantumTaskRequestT &request) const
Model::SearchDevicesOutcomeCallable SearchDevicesCallable(const SearchDevicesRequestT &request) const
virtual Model::CancelJobOutcome CancelJob(const Model::CancelJobRequest &request) const
virtual Model::SearchDevicesOutcome SearchDevices(const Model::SearchDevicesRequest &request) const
virtual Model::SearchJobsOutcome SearchJobs(const Model::SearchJobsRequest &request) const
void CancelJobAsync(const CancelJobRequestT &request, const CancelJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::SearchJobsOutcomeCallable SearchJobsCallable(const SearchJobsRequestT &request) const
std::future< CancelQuantumTaskOutcome > CancelQuantumTaskOutcomeCallable
std::future< SearchDevicesOutcome > SearchDevicesOutcomeCallable
std::future< CreateJobOutcome > CreateJobOutcomeCallable
std::future< CreateQuantumTaskOutcome > CreateQuantumTaskOutcomeCallable
std::future< SearchQuantumTasksOutcome > SearchQuantumTasksOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< GetJobOutcome > GetJobOutcomeCallable
std::future< CancelJobOutcome > CancelJobOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< GetDeviceOutcome > GetDeviceOutcomeCallable
std::future< SearchJobsOutcome > SearchJobsOutcomeCallable
std::future< GetQuantumTaskOutcome > GetQuantumTaskOutcomeCallable
std::function< void(const BraketClient *, const Model::SearchJobsRequest &, const Model::SearchJobsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SearchJobsResponseReceivedHandler
std::function< void(const BraketClient *, const Model::SearchQuantumTasksRequest &, const Model::SearchQuantumTasksOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SearchQuantumTasksResponseReceivedHandler
std::function< void(const BraketClient *, const Model::CancelJobRequest &, const Model::CancelJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CancelJobResponseReceivedHandler
std::function< void(const BraketClient *, const Model::GetDeviceRequest &, const Model::GetDeviceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetDeviceResponseReceivedHandler
std::function< void(const BraketClient *, const Model::SearchDevicesRequest &, const Model::SearchDevicesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SearchDevicesResponseReceivedHandler
std::function< void(const BraketClient *, const Model::CreateJobRequest &, const Model::CreateJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateJobResponseReceivedHandler
std::function< void(const BraketClient *, const Model::CancelQuantumTaskRequest &, const Model::CancelQuantumTaskOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CancelQuantumTaskResponseReceivedHandler
std::function< void(const BraketClient *, const Model::CreateQuantumTaskRequest &, const Model::CreateQuantumTaskOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateQuantumTaskResponseReceivedHandler
std::function< void(const BraketClient *, const Model::GetJobRequest &, const Model::GetJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetJobResponseReceivedHandler
std::function< void(const BraketClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const BraketClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const BraketClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const BraketClient *, const Model::GetQuantumTaskRequest &, const Model::GetQuantumTaskOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetQuantumTaskResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String