7#include <aws/cloudsearchdomain/CloudSearchDomain_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/cloudsearchdomain/CloudSearchDomainServiceClientModel.h>
16namespace CloudSearchDomain
45 std::shared_ptr<CloudSearchDomainEndpointProviderBase> endpointProvider =
nullptr);
52 std::shared_ptr<CloudSearchDomainEndpointProviderBase> endpointProvider =
nullptr,
60 std::shared_ptr<CloudSearchDomainEndpointProviderBase> endpointProvider =
nullptr,
117 template<
typename SearchRequestT = Model::SearchRequest>
120 return SubmitCallable(&CloudSearchDomainClient::Search, request);
126 template<
typename SearchRequestT = Model::SearchRequest>
129 return SubmitAsync(&CloudSearchDomainClient::Search, request, handler, context);
157 template<
typename SuggestRequestT = Model::SuggestRequest>
160 return SubmitCallable(&CloudSearchDomainClient::Suggest, request);
166 template<
typename SuggestRequestT = Model::SuggestRequest>
169 return SubmitAsync(&CloudSearchDomainClient::Suggest, request, handler, context);
203 template<
typename UploadDocumentsRequestT = Model::UploadDocumentsRequest>
206 return SubmitCallable(&CloudSearchDomainClient::UploadDocuments, request);
212 template<
typename UploadDocumentsRequestT = Model::UploadDocumentsRequest>
215 return SubmitAsync(&CloudSearchDomainClient::UploadDocuments, request, handler, context);
226 std::shared_ptr<CloudSearchDomainEndpointProviderBase> m_endpointProvider;
CloudSearchDomainClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::SearchOutcome Search(const Model::SearchRequest &request) const
std::shared_ptr< CloudSearchDomainEndpointProviderBase > & accessEndpointProvider()
Model::SearchOutcomeCallable SearchCallable(const SearchRequestT &request) const
CloudSearchDomainClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< CloudSearchDomainEndpointProviderBase > endpointProvider=nullptr, const Aws::CloudSearchDomain::CloudSearchDomainClientConfiguration &clientConfiguration=Aws::CloudSearchDomain::CloudSearchDomainClientConfiguration())
CloudSearchDomainClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void SuggestAsync(const SuggestRequestT &request, const SuggestResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UploadDocumentsOutcomeCallable UploadDocumentsCallable(const UploadDocumentsRequestT &request) const
CloudSearchDomainClientConfiguration ClientConfigurationType
CloudSearchDomainClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< CloudSearchDomainEndpointProviderBase > endpointProvider=nullptr, const Aws::CloudSearchDomain::CloudSearchDomainClientConfiguration &clientConfiguration=Aws::CloudSearchDomain::CloudSearchDomainClientConfiguration())
void OverrideEndpoint(const Aws::String &endpoint)
Model::SuggestOutcomeCallable SuggestCallable(const SuggestRequestT &request) const
CloudSearchDomainClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual ~CloudSearchDomainClient()
virtual Model::UploadDocumentsOutcome UploadDocuments(const Model::UploadDocumentsRequest &request) const
void SearchAsync(const SearchRequestT &request, const SearchResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void UploadDocumentsAsync(const UploadDocumentsRequestT &request, const UploadDocumentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetServiceName()
CloudSearchDomainEndpointProvider EndpointProviderType
CloudSearchDomainClient(const Aws::CloudSearchDomain::CloudSearchDomainClientConfiguration &clientConfiguration=Aws::CloudSearchDomain::CloudSearchDomainClientConfiguration(), std::shared_ptr< CloudSearchDomainEndpointProviderBase > endpointProvider=nullptr)
static const char * GetAllocationTag()
virtual Model::SuggestOutcome Suggest(const Model::SuggestRequest &request) const
Aws::Client::AWSJsonClient BASECLASS
std::future< SearchOutcome > SearchOutcomeCallable
std::future< UploadDocumentsOutcome > UploadDocumentsOutcomeCallable
std::future< SuggestOutcome > SuggestOutcomeCallable
std::function< void(const CloudSearchDomainClient *, const Model::UploadDocumentsRequest &, const Model::UploadDocumentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UploadDocumentsResponseReceivedHandler
std::function< void(const CloudSearchDomainClient *, const Model::SuggestRequest &, const Model::SuggestOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SuggestResponseReceivedHandler
std::function< void(const CloudSearchDomainClient *, const Model::SearchRequest &, const Model::SearchOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SearchResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String