AWS SDK for C++  0.12.9
AWS SDK for C++
CloudSearchClient.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
49 #include <future>
50 #include <functional>
51 
52 namespace Aws
53 {
54 
55 namespace Http
56 {
57  class HttpClient;
58  class HttpClientFactory;
59 } // namespace Http
60 
61 namespace Utils
62 {
63  template< typename R, typename E> class Outcome;
64 
65 namespace Threading
66 {
67  class Executor;
68 } // namespace Threading
69 
70 namespace Xml
71 {
72  class XmlDocument;
73 } // namespace Xml
74 } // namespace Utils
75 
76 namespace Auth
77 {
78  class AWSCredentials;
79  class AWSCredentialsProvider;
80 } // namespace Auth
81 
82 namespace Client
83 {
84  class RetryStrategy;
85 } // namespace Client
86 
87 namespace CloudSearch
88 {
89 
90 namespace Model
91 {
93  class CreateDomainRequest;
99  class DeleteDomainRequest;
111  class IndexDocumentsRequest;
116 
141 
142  typedef std::future<BuildSuggestersOutcome> BuildSuggestersOutcomeCallable;
143  typedef std::future<CreateDomainOutcome> CreateDomainOutcomeCallable;
144  typedef std::future<DefineAnalysisSchemeOutcome> DefineAnalysisSchemeOutcomeCallable;
145  typedef std::future<DefineExpressionOutcome> DefineExpressionOutcomeCallable;
146  typedef std::future<DefineIndexFieldOutcome> DefineIndexFieldOutcomeCallable;
147  typedef std::future<DefineSuggesterOutcome> DefineSuggesterOutcomeCallable;
148  typedef std::future<DeleteAnalysisSchemeOutcome> DeleteAnalysisSchemeOutcomeCallable;
149  typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
150  typedef std::future<DeleteExpressionOutcome> DeleteExpressionOutcomeCallable;
151  typedef std::future<DeleteIndexFieldOutcome> DeleteIndexFieldOutcomeCallable;
152  typedef std::future<DeleteSuggesterOutcome> DeleteSuggesterOutcomeCallable;
153  typedef std::future<DescribeAnalysisSchemesOutcome> DescribeAnalysisSchemesOutcomeCallable;
154  typedef std::future<DescribeAvailabilityOptionsOutcome> DescribeAvailabilityOptionsOutcomeCallable;
155  typedef std::future<DescribeDomainsOutcome> DescribeDomainsOutcomeCallable;
156  typedef std::future<DescribeExpressionsOutcome> DescribeExpressionsOutcomeCallable;
157  typedef std::future<DescribeIndexFieldsOutcome> DescribeIndexFieldsOutcomeCallable;
158  typedef std::future<DescribeScalingParametersOutcome> DescribeScalingParametersOutcomeCallable;
159  typedef std::future<DescribeServiceAccessPoliciesOutcome> DescribeServiceAccessPoliciesOutcomeCallable;
160  typedef std::future<DescribeSuggestersOutcome> DescribeSuggestersOutcomeCallable;
161  typedef std::future<IndexDocumentsOutcome> IndexDocumentsOutcomeCallable;
162  typedef std::future<ListDomainNamesOutcome> ListDomainNamesOutcomeCallable;
163  typedef std::future<UpdateAvailabilityOptionsOutcome> UpdateAvailabilityOptionsOutcomeCallable;
164  typedef std::future<UpdateScalingParametersOutcome> UpdateScalingParametersOutcomeCallable;
165  typedef std::future<UpdateServiceAccessPoliciesOutcome> UpdateServiceAccessPoliciesOutcomeCallable;
166 } // namespace Model
167 
169 
170  typedef std::function<void(const CloudSearchClient*, const Model::BuildSuggestersRequest&, const Model::BuildSuggestersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > BuildSuggestersResponseReceivedHandler;
171  typedef std::function<void(const CloudSearchClient*, const Model::CreateDomainRequest&, const Model::CreateDomainOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateDomainResponseReceivedHandler;
172  typedef std::function<void(const CloudSearchClient*, const Model::DefineAnalysisSchemeRequest&, const Model::DefineAnalysisSchemeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DefineAnalysisSchemeResponseReceivedHandler;
173  typedef std::function<void(const CloudSearchClient*, const Model::DefineExpressionRequest&, const Model::DefineExpressionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DefineExpressionResponseReceivedHandler;
174  typedef std::function<void(const CloudSearchClient*, const Model::DefineIndexFieldRequest&, const Model::DefineIndexFieldOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DefineIndexFieldResponseReceivedHandler;
175  typedef std::function<void(const CloudSearchClient*, const Model::DefineSuggesterRequest&, const Model::DefineSuggesterOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DefineSuggesterResponseReceivedHandler;
176  typedef std::function<void(const CloudSearchClient*, const Model::DeleteAnalysisSchemeRequest&, const Model::DeleteAnalysisSchemeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAnalysisSchemeResponseReceivedHandler;
177  typedef std::function<void(const CloudSearchClient*, const Model::DeleteDomainRequest&, const Model::DeleteDomainOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteDomainResponseReceivedHandler;
178  typedef std::function<void(const CloudSearchClient*, const Model::DeleteExpressionRequest&, const Model::DeleteExpressionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteExpressionResponseReceivedHandler;
179  typedef std::function<void(const CloudSearchClient*, const Model::DeleteIndexFieldRequest&, const Model::DeleteIndexFieldOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteIndexFieldResponseReceivedHandler;
180  typedef std::function<void(const CloudSearchClient*, const Model::DeleteSuggesterRequest&, const Model::DeleteSuggesterOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteSuggesterResponseReceivedHandler;
181  typedef std::function<void(const CloudSearchClient*, const Model::DescribeAnalysisSchemesRequest&, const Model::DescribeAnalysisSchemesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeAnalysisSchemesResponseReceivedHandler;
182  typedef std::function<void(const CloudSearchClient*, const Model::DescribeAvailabilityOptionsRequest&, const Model::DescribeAvailabilityOptionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeAvailabilityOptionsResponseReceivedHandler;
183  typedef std::function<void(const CloudSearchClient*, const Model::DescribeDomainsRequest&, const Model::DescribeDomainsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeDomainsResponseReceivedHandler;
184  typedef std::function<void(const CloudSearchClient*, const Model::DescribeExpressionsRequest&, const Model::DescribeExpressionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeExpressionsResponseReceivedHandler;
185  typedef std::function<void(const CloudSearchClient*, const Model::DescribeIndexFieldsRequest&, const Model::DescribeIndexFieldsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeIndexFieldsResponseReceivedHandler;
186  typedef std::function<void(const CloudSearchClient*, const Model::DescribeScalingParametersRequest&, const Model::DescribeScalingParametersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeScalingParametersResponseReceivedHandler;
187  typedef std::function<void(const CloudSearchClient*, const Model::DescribeServiceAccessPoliciesRequest&, const Model::DescribeServiceAccessPoliciesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeServiceAccessPoliciesResponseReceivedHandler;
188  typedef std::function<void(const CloudSearchClient*, const Model::DescribeSuggestersRequest&, const Model::DescribeSuggestersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeSuggestersResponseReceivedHandler;
189  typedef std::function<void(const CloudSearchClient*, const Model::IndexDocumentsRequest&, const Model::IndexDocumentsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > IndexDocumentsResponseReceivedHandler;
190  typedef std::function<void(const CloudSearchClient*, const Model::ListDomainNamesRequest&, const Model::ListDomainNamesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListDomainNamesResponseReceivedHandler;
191  typedef std::function<void(const CloudSearchClient*, const Model::UpdateAvailabilityOptionsRequest&, const Model::UpdateAvailabilityOptionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateAvailabilityOptionsResponseReceivedHandler;
192  typedef std::function<void(const CloudSearchClient*, const Model::UpdateScalingParametersRequest&, const Model::UpdateScalingParametersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateScalingParametersResponseReceivedHandler;
193  typedef std::function<void(const CloudSearchClient*, const Model::UpdateServiceAccessPoliciesRequest&, const Model::UpdateServiceAccessPoliciesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateServiceAccessPoliciesResponseReceivedHandler;
194 
209  {
210  public:
212 
218 
223  CloudSearchClient(const Auth::AWSCredentials& credentials, const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
224 
229  CloudSearchClient(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
230  const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
231 
232  virtual ~CloudSearchClient();
233 
239  virtual Model::BuildSuggestersOutcome BuildSuggesters(const Model::BuildSuggestersRequest& request) const;
240 
248  virtual Model::BuildSuggestersOutcomeCallable BuildSuggestersCallable(const Model::BuildSuggestersRequest& request) const;
249 
257  virtual void BuildSuggestersAsync(const Model::BuildSuggestersRequest& request, const BuildSuggestersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
258 
265  virtual Model::CreateDomainOutcome CreateDomain(const Model::CreateDomainRequest& request) const;
266 
275  virtual Model::CreateDomainOutcomeCallable CreateDomainCallable(const Model::CreateDomainRequest& request) const;
276 
285  virtual void CreateDomainAsync(const Model::CreateDomainRequest& request, const CreateDomainResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
286 
295  virtual Model::DefineAnalysisSchemeOutcome DefineAnalysisScheme(const Model::DefineAnalysisSchemeRequest& request) const;
296 
307  virtual Model::DefineAnalysisSchemeOutcomeCallable DefineAnalysisSchemeCallable(const Model::DefineAnalysisSchemeRequest& request) const;
308 
319  virtual void DefineAnalysisSchemeAsync(const Model::DefineAnalysisSchemeRequest& request, const DefineAnalysisSchemeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
320 
329  virtual Model::DefineExpressionOutcome DefineExpression(const Model::DefineExpressionRequest& request) const;
330 
341  virtual Model::DefineExpressionOutcomeCallable DefineExpressionCallable(const Model::DefineExpressionRequest& request) const;
342 
353  virtual void DefineExpressionAsync(const Model::DefineExpressionRequest& request, const DefineExpressionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
354 
367  virtual Model::DefineIndexFieldOutcome DefineIndexField(const Model::DefineIndexFieldRequest& request) const;
368 
383  virtual Model::DefineIndexFieldOutcomeCallable DefineIndexFieldCallable(const Model::DefineIndexFieldRequest& request) const;
384 
399  virtual void DefineIndexFieldAsync(const Model::DefineIndexFieldRequest& request, const DefineIndexFieldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
400 
411  virtual Model::DefineSuggesterOutcome DefineSuggester(const Model::DefineSuggesterRequest& request) const;
412 
425  virtual Model::DefineSuggesterOutcomeCallable DefineSuggesterCallable(const Model::DefineSuggesterRequest& request) const;
426 
439  virtual void DefineSuggesterAsync(const Model::DefineSuggesterRequest& request, const DefineSuggesterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
440 
447  virtual Model::DeleteAnalysisSchemeOutcome DeleteAnalysisScheme(const Model::DeleteAnalysisSchemeRequest& request) const;
448 
457  virtual Model::DeleteAnalysisSchemeOutcomeCallable DeleteAnalysisSchemeCallable(const Model::DeleteAnalysisSchemeRequest& request) const;
458 
467  virtual void DeleteAnalysisSchemeAsync(const Model::DeleteAnalysisSchemeRequest& request, const DeleteAnalysisSchemeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
468 
476  virtual Model::DeleteDomainOutcome DeleteDomain(const Model::DeleteDomainRequest& request) const;
477 
487  virtual Model::DeleteDomainOutcomeCallable DeleteDomainCallable(const Model::DeleteDomainRequest& request) const;
488 
498  virtual void DeleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
499 
507  virtual Model::DeleteExpressionOutcome DeleteExpression(const Model::DeleteExpressionRequest& request) const;
508 
518  virtual Model::DeleteExpressionOutcomeCallable DeleteExpressionCallable(const Model::DeleteExpressionRequest& request) const;
519 
529  virtual void DeleteExpressionAsync(const Model::DeleteExpressionRequest& request, const DeleteExpressionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
530 
538  virtual Model::DeleteIndexFieldOutcome DeleteIndexField(const Model::DeleteIndexFieldRequest& request) const;
539 
549  virtual Model::DeleteIndexFieldOutcomeCallable DeleteIndexFieldCallable(const Model::DeleteIndexFieldRequest& request) const;
550 
560  virtual void DeleteIndexFieldAsync(const Model::DeleteIndexFieldRequest& request, const DeleteIndexFieldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
561 
568  virtual Model::DeleteSuggesterOutcome DeleteSuggester(const Model::DeleteSuggesterRequest& request) const;
569 
578  virtual Model::DeleteSuggesterOutcomeCallable DeleteSuggesterCallable(const Model::DeleteSuggesterRequest& request) const;
579 
588  virtual void DeleteSuggesterAsync(const Model::DeleteSuggesterRequest& request, const DeleteSuggesterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
589 
601  virtual Model::DescribeAnalysisSchemesOutcome DescribeAnalysisSchemes(const Model::DescribeAnalysisSchemesRequest& request) const;
602 
616  virtual Model::DescribeAnalysisSchemesOutcomeCallable DescribeAnalysisSchemesCallable(const Model::DescribeAnalysisSchemesRequest& request) const;
617 
631  virtual void DescribeAnalysisSchemesAsync(const Model::DescribeAnalysisSchemesRequest& request, const DescribeAnalysisSchemesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
632 
642  virtual Model::DescribeAvailabilityOptionsOutcome DescribeAvailabilityOptions(const Model::DescribeAvailabilityOptionsRequest& request) const;
643 
655  virtual Model::DescribeAvailabilityOptionsOutcomeCallable DescribeAvailabilityOptionsCallable(const Model::DescribeAvailabilityOptionsRequest& request) const;
656 
668  virtual void DescribeAvailabilityOptionsAsync(const Model::DescribeAvailabilityOptionsRequest& request, const DescribeAvailabilityOptionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
669 
681  virtual Model::DescribeDomainsOutcome DescribeDomains(const Model::DescribeDomainsRequest& request) const;
682 
696  virtual Model::DescribeDomainsOutcomeCallable DescribeDomainsCallable(const Model::DescribeDomainsRequest& request) const;
697 
711  virtual void DescribeDomainsAsync(const Model::DescribeDomainsRequest& request, const DescribeDomainsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
712 
723  virtual Model::DescribeExpressionsOutcome DescribeExpressions(const Model::DescribeExpressionsRequest& request) const;
724 
737  virtual Model::DescribeExpressionsOutcomeCallable DescribeExpressionsCallable(const Model::DescribeExpressionsRequest& request) const;
738 
751  virtual void DescribeExpressionsAsync(const Model::DescribeExpressionsRequest& request, const DescribeExpressionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
752 
763  virtual Model::DescribeIndexFieldsOutcome DescribeIndexFields(const Model::DescribeIndexFieldsRequest& request) const;
764 
777  virtual Model::DescribeIndexFieldsOutcomeCallable DescribeIndexFieldsCallable(const Model::DescribeIndexFieldsRequest& request) const;
778 
791  virtual void DescribeIndexFieldsAsync(const Model::DescribeIndexFieldsRequest& request, const DescribeIndexFieldsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
792 
801  virtual Model::DescribeScalingParametersOutcome DescribeScalingParameters(const Model::DescribeScalingParametersRequest& request) const;
802 
813  virtual Model::DescribeScalingParametersOutcomeCallable DescribeScalingParametersCallable(const Model::DescribeScalingParametersRequest& request) const;
814 
825  virtual void DescribeScalingParametersAsync(const Model::DescribeScalingParametersRequest& request, const DescribeScalingParametersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
826 
837  virtual Model::DescribeServiceAccessPoliciesOutcome DescribeServiceAccessPolicies(const Model::DescribeServiceAccessPoliciesRequest& request) const;
838 
851  virtual Model::DescribeServiceAccessPoliciesOutcomeCallable DescribeServiceAccessPoliciesCallable(const Model::DescribeServiceAccessPoliciesRequest& request) const;
852 
865  virtual void DescribeServiceAccessPoliciesAsync(const Model::DescribeServiceAccessPoliciesRequest& request, const DescribeServiceAccessPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
866 
878  virtual Model::DescribeSuggestersOutcome DescribeSuggesters(const Model::DescribeSuggestersRequest& request) const;
879 
893  virtual Model::DescribeSuggestersOutcomeCallable DescribeSuggestersCallable(const Model::DescribeSuggestersRequest& request) const;
894 
908  virtual void DescribeSuggestersAsync(const Model::DescribeSuggestersRequest& request, const DescribeSuggestersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
909 
915  virtual Model::IndexDocumentsOutcome IndexDocuments(const Model::IndexDocumentsRequest& request) const;
916 
924  virtual Model::IndexDocumentsOutcomeCallable IndexDocumentsCallable(const Model::IndexDocumentsRequest& request) const;
925 
933  virtual void IndexDocumentsAsync(const Model::IndexDocumentsRequest& request, const IndexDocumentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
934 
938  virtual Model::ListDomainNamesOutcome ListDomainNames(const Model::ListDomainNamesRequest& request) const;
939 
945  virtual Model::ListDomainNamesOutcomeCallable ListDomainNamesCallable(const Model::ListDomainNamesRequest& request) const;
946 
952  virtual void ListDomainNamesAsync(const Model::ListDomainNamesRequest& request, const ListDomainNamesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
953 
964  virtual Model::UpdateAvailabilityOptionsOutcome UpdateAvailabilityOptions(const Model::UpdateAvailabilityOptionsRequest& request) const;
965 
978  virtual Model::UpdateAvailabilityOptionsOutcomeCallable UpdateAvailabilityOptionsCallable(const Model::UpdateAvailabilityOptionsRequest& request) const;
979 
992  virtual void UpdateAvailabilityOptionsAsync(const Model::UpdateAvailabilityOptionsRequest& request, const UpdateAvailabilityOptionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
993 
1005  virtual Model::UpdateScalingParametersOutcome UpdateScalingParameters(const Model::UpdateScalingParametersRequest& request) const;
1006 
1020  virtual Model::UpdateScalingParametersOutcomeCallable UpdateScalingParametersCallable(const Model::UpdateScalingParametersRequest& request) const;
1021 
1035  virtual void UpdateScalingParametersAsync(const Model::UpdateScalingParametersRequest& request, const UpdateScalingParametersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1036 
1043  virtual Model::UpdateServiceAccessPoliciesOutcome UpdateServiceAccessPolicies(const Model::UpdateServiceAccessPoliciesRequest& request) const;
1044 
1053  virtual Model::UpdateServiceAccessPoliciesOutcomeCallable UpdateServiceAccessPoliciesCallable(const Model::UpdateServiceAccessPoliciesRequest& request) const;
1054 
1063  virtual void UpdateServiceAccessPoliciesAsync(const Model::UpdateServiceAccessPoliciesRequest& request, const UpdateServiceAccessPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1064 
1065 
1066  private:
1067  void init(const Client::ClientConfiguration& clientConfiguration);
1068 
1070  void BuildSuggestersAsyncHelper(const Model::BuildSuggestersRequest& request, const BuildSuggestersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1071  void CreateDomainAsyncHelper(const Model::CreateDomainRequest& request, const CreateDomainResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1072  void DefineAnalysisSchemeAsyncHelper(const Model::DefineAnalysisSchemeRequest& request, const DefineAnalysisSchemeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1073  void DefineExpressionAsyncHelper(const Model::DefineExpressionRequest& request, const DefineExpressionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1074  void DefineIndexFieldAsyncHelper(const Model::DefineIndexFieldRequest& request, const DefineIndexFieldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1075  void DefineSuggesterAsyncHelper(const Model::DefineSuggesterRequest& request, const DefineSuggesterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1076  void DeleteAnalysisSchemeAsyncHelper(const Model::DeleteAnalysisSchemeRequest& request, const DeleteAnalysisSchemeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1077  void DeleteDomainAsyncHelper(const Model::DeleteDomainRequest& request, const DeleteDomainResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1078  void DeleteExpressionAsyncHelper(const Model::DeleteExpressionRequest& request, const DeleteExpressionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1079  void DeleteIndexFieldAsyncHelper(const Model::DeleteIndexFieldRequest& request, const DeleteIndexFieldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1080  void DeleteSuggesterAsyncHelper(const Model::DeleteSuggesterRequest& request, const DeleteSuggesterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1081  void DescribeAnalysisSchemesAsyncHelper(const Model::DescribeAnalysisSchemesRequest& request, const DescribeAnalysisSchemesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1082  void DescribeAvailabilityOptionsAsyncHelper(const Model::DescribeAvailabilityOptionsRequest& request, const DescribeAvailabilityOptionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1083  void DescribeDomainsAsyncHelper(const Model::DescribeDomainsRequest& request, const DescribeDomainsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1084  void DescribeExpressionsAsyncHelper(const Model::DescribeExpressionsRequest& request, const DescribeExpressionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1085  void DescribeIndexFieldsAsyncHelper(const Model::DescribeIndexFieldsRequest& request, const DescribeIndexFieldsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1086  void DescribeScalingParametersAsyncHelper(const Model::DescribeScalingParametersRequest& request, const DescribeScalingParametersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1087  void DescribeServiceAccessPoliciesAsyncHelper(const Model::DescribeServiceAccessPoliciesRequest& request, const DescribeServiceAccessPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1088  void DescribeSuggestersAsyncHelper(const Model::DescribeSuggestersRequest& request, const DescribeSuggestersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1089  void IndexDocumentsAsyncHelper(const Model::IndexDocumentsRequest& request, const IndexDocumentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1090  void ListDomainNamesAsyncHelper(const Model::ListDomainNamesRequest& request, const ListDomainNamesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1091  void UpdateAvailabilityOptionsAsyncHelper(const Model::UpdateAvailabilityOptionsRequest& request, const UpdateAvailabilityOptionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1092  void UpdateScalingParametersAsyncHelper(const Model::UpdateScalingParametersRequest& request, const UpdateScalingParametersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1093  void UpdateServiceAccessPoliciesAsyncHelper(const Model::UpdateServiceAccessPoliciesRequest& request, const UpdateServiceAccessPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1094 
1095  Aws::String m_uri;
1096  std::shared_ptr<Utils::Threading::Executor> m_executor;
1097  };
1098 
1099 } // namespace CloudSearch
1100 } // namespace Aws
std::future< DefineIndexFieldOutcome > DefineIndexFieldOutcomeCallable
Aws::Utils::Outcome< DefineIndexFieldResult, Aws::Client::AWSError< CloudSearchErrors > > DefineIndexFieldOutcome
Aws::Utils::Outcome< DefineExpressionResult, Aws::Client::AWSError< CloudSearchErrors > > DefineExpressionOutcome
std::future< DescribeExpressionsOutcome > DescribeExpressionsOutcomeCallable
Aws::Utils::Outcome< BuildSuggestersResult, Aws::Client::AWSError< CloudSearchErrors > > BuildSuggestersOutcome
std::future< DeleteDomainOutcome > DeleteDomainOutcomeCallable
std::function< void(const CloudSearchClient *, const Model::DescribeDomainsRequest &, const Model::DescribeDomainsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeDomainsResponseReceivedHandler
std::function< void(const CloudSearchClient *, const Model::DefineIndexFieldRequest &, const Model::DefineIndexFieldOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DefineIndexFieldResponseReceivedHandler
std::future< DeleteAnalysisSchemeOutcome > DeleteAnalysisSchemeOutcomeCallable
std::function< void(const CloudSearchClient *, const Model::ListDomainNamesRequest &, const Model::ListDomainNamesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDomainNamesResponseReceivedHandler
Aws::Utils::Outcome< CreateDomainResult, Aws::Client::AWSError< CloudSearchErrors > > CreateDomainOutcome
Aws::Utils::Outcome< DeleteSuggesterResult, Aws::Client::AWSError< CloudSearchErrors > > DeleteSuggesterOutcome
std::future< DescribeIndexFieldsOutcome > DescribeIndexFieldsOutcomeCallable
std::function< void(const CloudSearchClient *, const Model::DescribeAnalysisSchemesRequest &, const Model::DescribeAnalysisSchemesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeAnalysisSchemesResponseReceivedHandler
std::function< void(const CloudSearchClient *, const Model::UpdateScalingParametersRequest &, const Model::UpdateScalingParametersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateScalingParametersResponseReceivedHandler
std::function< void(const CloudSearchClient *, const Model::UpdateServiceAccessPoliciesRequest &, const Model::UpdateServiceAccessPoliciesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateServiceAccessPoliciesResponseReceivedHandler
std::function< void(const CloudSearchClient *, const Model::DeleteIndexFieldRequest &, const Model::DeleteIndexFieldOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteIndexFieldResponseReceivedHandler
std::function< void(const CloudSearchClient *, const Model::DescribeIndexFieldsRequest &, const Model::DescribeIndexFieldsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeIndexFieldsResponseReceivedHandler
Aws::Utils::Outcome< DeleteIndexFieldResult, Aws::Client::AWSError< CloudSearchErrors > > DeleteIndexFieldOutcome
Aws::Utils::Outcome< UpdateScalingParametersResult, Aws::Client::AWSError< CloudSearchErrors > > UpdateScalingParametersOutcome
std::future< DescribeServiceAccessPoliciesOutcome > DescribeServiceAccessPoliciesOutcomeCallable
std::future< BuildSuggestersOutcome > BuildSuggestersOutcomeCallable
std::future< DefineExpressionOutcome > DefineExpressionOutcomeCallable
std::future< CreateDomainOutcome > CreateDomainOutcomeCallable
std::function< void(const CloudSearchClient *, const Model::UpdateAvailabilityOptionsRequest &, const Model::UpdateAvailabilityOptionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateAvailabilityOptionsResponseReceivedHandler
Aws::Utils::Outcome< DescribeScalingParametersResult, Aws::Client::AWSError< CloudSearchErrors > > DescribeScalingParametersOutcome
Aws::Utils::Outcome< DefineAnalysisSchemeResult, Aws::Client::AWSError< CloudSearchErrors > > DefineAnalysisSchemeOutcome
std::function< void(const CloudSearchClient *, const Model::DescribeExpressionsRequest &, const Model::DescribeExpressionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeExpressionsResponseReceivedHandler
std::function< void(const CloudSearchClient *, const Model::DescribeSuggestersRequest &, const Model::DescribeSuggestersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeSuggestersResponseReceivedHandler
Aws::Utils::Outcome< UpdateAvailabilityOptionsResult, Aws::Client::AWSError< CloudSearchErrors > > UpdateAvailabilityOptionsOutcome
std::future< UpdateScalingParametersOutcome > UpdateScalingParametersOutcomeCallable
Aws::Utils::Outcome< DescribeSuggestersResult, Aws::Client::AWSError< CloudSearchErrors > > DescribeSuggestersOutcome
std::future< DescribeAvailabilityOptionsOutcome > DescribeAvailabilityOptionsOutcomeCallable
std::future< DeleteExpressionOutcome > DeleteExpressionOutcomeCallable
Aws::Utils::Outcome< DefineSuggesterResult, Aws::Client::AWSError< CloudSearchErrors > > DefineSuggesterOutcome
std::future< ListDomainNamesOutcome > ListDomainNamesOutcomeCallable
std::future< DeleteIndexFieldOutcome > DeleteIndexFieldOutcomeCallable
Aws::Utils::Outcome< DescribeDomainsResult, Aws::Client::AWSError< CloudSearchErrors > > DescribeDomainsOutcome
std::future< DescribeDomainsOutcome > DescribeDomainsOutcomeCallable
Aws::Utils::Outcome< DeleteAnalysisSchemeResult, Aws::Client::AWSError< CloudSearchErrors > > DeleteAnalysisSchemeOutcome
std::future< DefineAnalysisSchemeOutcome > DefineAnalysisSchemeOutcomeCallable
std::future< DescribeSuggestersOutcome > DescribeSuggestersOutcomeCallable
std::future< DefineSuggesterOutcome > DefineSuggesterOutcomeCallable
Aws::Utils::Outcome< ListDomainNamesResult, Aws::Client::AWSError< CloudSearchErrors > > ListDomainNamesOutcome
std::future< DescribeScalingParametersOutcome > DescribeScalingParametersOutcomeCallable
Aws::Utils::Outcome< DescribeServiceAccessPoliciesResult, Aws::Client::AWSError< CloudSearchErrors > > DescribeServiceAccessPoliciesOutcome
Aws::Utils::Outcome< DescribeExpressionsResult, Aws::Client::AWSError< CloudSearchErrors > > DescribeExpressionsOutcome
std::function< void(const CloudSearchClient *, const Model::BuildSuggestersRequest &, const Model::BuildSuggestersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BuildSuggestersResponseReceivedHandler
#define AWS_CLOUDSEARCH_API
Aws::Utils::Outcome< UpdateServiceAccessPoliciesResult, Aws::Client::AWSError< CloudSearchErrors > > UpdateServiceAccessPoliciesOutcome
std::future< DeleteSuggesterOutcome > DeleteSuggesterOutcomeCallable
std::function< void(const CloudSearchClient *, const Model::DefineSuggesterRequest &, const Model::DefineSuggesterOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DefineSuggesterResponseReceivedHandler
Aws::Utils::Outcome< DeleteExpressionResult, Aws::Client::AWSError< CloudSearchErrors > > DeleteExpressionOutcome
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
std::function< void(const CloudSearchClient *, const Model::DescribeScalingParametersRequest &, const Model::DescribeScalingParametersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeScalingParametersResponseReceivedHandler
std::function< void(const CloudSearchClient *, const Model::DefineAnalysisSchemeRequest &, const Model::DefineAnalysisSchemeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DefineAnalysisSchemeResponseReceivedHandler
std::future< UpdateServiceAccessPoliciesOutcome > UpdateServiceAccessPoliciesOutcomeCallable
std::function< void(const CloudSearchClient *, const Model::DeleteExpressionRequest &, const Model::DeleteExpressionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteExpressionResponseReceivedHandler
std::function< void(const CloudSearchClient *, const Model::DefineExpressionRequest &, const Model::DefineExpressionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DefineExpressionResponseReceivedHandler
std::future< IndexDocumentsOutcome > IndexDocumentsOutcomeCallable
Aws::Utils::Outcome< DeleteDomainResult, Aws::Client::AWSError< CloudSearchErrors > > DeleteDomainOutcome
std::function< void(const CloudSearchClient *, const Model::DescribeServiceAccessPoliciesRequest &, const Model::DescribeServiceAccessPoliciesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeServiceAccessPoliciesResponseReceivedHandler
Aws::Utils::Outcome< IndexDocumentsResult, Aws::Client::AWSError< CloudSearchErrors > > IndexDocumentsOutcome
std::function< void(const CloudSearchClient *, const Model::CreateDomainRequest &, const Model::CreateDomainOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateDomainResponseReceivedHandler
std::function< void(const CloudSearchClient *, const Model::IndexDocumentsRequest &, const Model::IndexDocumentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > IndexDocumentsResponseReceivedHandler
std::function< void(const CloudSearchClient *, const Model::DeleteSuggesterRequest &, const Model::DeleteSuggesterOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteSuggesterResponseReceivedHandler
std::future< UpdateAvailabilityOptionsOutcome > UpdateAvailabilityOptionsOutcomeCallable
Aws::Utils::Outcome< DescribeIndexFieldsResult, Aws::Client::AWSError< CloudSearchErrors > > DescribeIndexFieldsOutcome
std::function< void(const CloudSearchClient *, const Model::DescribeAvailabilityOptionsRequest &, const Model::DescribeAvailabilityOptionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeAvailabilityOptionsResponseReceivedHandler
Aws::Client::AWSXMLClient BASECLASS
std::function< void(const CloudSearchClient *, const Model::DeleteDomainRequest &, const Model::DeleteDomainOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteDomainResponseReceivedHandler
Aws::Utils::Outcome< DescribeAnalysisSchemesResult, Aws::Client::AWSError< CloudSearchErrors > > DescribeAnalysisSchemesOutcome
JSON (JavaScript Object Notation).
std::future< DescribeAnalysisSchemesOutcome > DescribeAnalysisSchemesOutcomeCallable
Aws::Utils::Outcome< DescribeAvailabilityOptionsResult, Aws::Client::AWSError< CloudSearchErrors > > DescribeAvailabilityOptionsOutcome
std::function< void(const CloudSearchClient *, const Model::DeleteAnalysisSchemeRequest &, const Model::DeleteAnalysisSchemeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteAnalysisSchemeResponseReceivedHandler