AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MTurkClient.h
1
6#pragma once
7#include <aws/mturk-requester/MTurk_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/mturk-requester/MTurkServiceClientModel.h>
13
14namespace Aws
15{
16namespace MTurk
17{
22 {
23 public:
25 static const char* GetServiceName();
26 static const char* GetAllocationTag();
27
30
36 std::shared_ptr<MTurkEndpointProviderBase> endpointProvider = nullptr);
37
43 std::shared_ptr<MTurkEndpointProviderBase> endpointProvider = nullptr,
45
50 MTurkClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
51 std::shared_ptr<MTurkEndpointProviderBase> endpointProvider = nullptr,
53
54
55 /* Legacy constructors due deprecation */
60 MTurkClient(const Aws::Client::ClientConfiguration& clientConfiguration);
61
67 const Aws::Client::ClientConfiguration& clientConfiguration);
68
73 MTurkClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
74 const Aws::Client::ClientConfiguration& clientConfiguration);
75
76 /* End of legacy constructors due deprecation */
77 virtual ~MTurkClient();
78
89
93 template<typename AcceptQualificationRequestRequestT = Model::AcceptQualificationRequestRequest>
94 Model::AcceptQualificationRequestOutcomeCallable AcceptQualificationRequestCallable(const AcceptQualificationRequestRequestT& request) const
95 {
96 return SubmitCallable(&MTurkClient::AcceptQualificationRequest, request);
97 }
98
102 template<typename AcceptQualificationRequestRequestT = Model::AcceptQualificationRequestRequest>
103 void AcceptQualificationRequestAsync(const AcceptQualificationRequestRequestT& request, const AcceptQualificationRequestResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
104 {
105 return SubmitAsync(&MTurkClient::AcceptQualificationRequest, request, handler, context);
106 }
107
126
130 template<typename ApproveAssignmentRequestT = Model::ApproveAssignmentRequest>
131 Model::ApproveAssignmentOutcomeCallable ApproveAssignmentCallable(const ApproveAssignmentRequestT& request) const
132 {
133 return SubmitCallable(&MTurkClient::ApproveAssignment, request);
134 }
135
139 template<typename ApproveAssignmentRequestT = Model::ApproveAssignmentRequest>
140 void ApproveAssignmentAsync(const ApproveAssignmentRequestT& request, const ApproveAssignmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
141 {
142 return SubmitAsync(&MTurkClient::ApproveAssignment, request, handler, context);
143 }
144
164
168 template<typename AssociateQualificationWithWorkerRequestT = Model::AssociateQualificationWithWorkerRequest>
170 {
171 return SubmitCallable(&MTurkClient::AssociateQualificationWithWorker, request);
172 }
173
177 template<typename AssociateQualificationWithWorkerRequestT = Model::AssociateQualificationWithWorkerRequest>
178 void AssociateQualificationWithWorkerAsync(const AssociateQualificationWithWorkerRequestT& request, const AssociateQualificationWithWorkerResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
179 {
180 return SubmitAsync(&MTurkClient::AssociateQualificationWithWorker, request, handler, context);
181 }
182
200
204 template<typename CreateAdditionalAssignmentsForHITRequestT = Model::CreateAdditionalAssignmentsForHITRequest>
206 {
207 return SubmitCallable(&MTurkClient::CreateAdditionalAssignmentsForHIT, request);
208 }
209
213 template<typename CreateAdditionalAssignmentsForHITRequestT = Model::CreateAdditionalAssignmentsForHITRequest>
214 void CreateAdditionalAssignmentsForHITAsync(const CreateAdditionalAssignmentsForHITRequestT& request, const CreateAdditionalAssignmentsForHITResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
215 {
216 return SubmitAsync(&MTurkClient::CreateAdditionalAssignmentsForHIT, request, handler, context);
217 }
218
243
247 template<typename CreateHITRequestT = Model::CreateHITRequest>
248 Model::CreateHITOutcomeCallable CreateHITCallable(const CreateHITRequestT& request) const
249 {
250 return SubmitCallable(&MTurkClient::CreateHIT, request);
251 }
252
256 template<typename CreateHITRequestT = Model::CreateHITRequest>
257 void CreateHITAsync(const CreateHITRequestT& request, const CreateHITResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
258 {
259 return SubmitAsync(&MTurkClient::CreateHIT, request, handler, context);
260 }
261
272
276 template<typename CreateHITTypeRequestT = Model::CreateHITTypeRequest>
277 Model::CreateHITTypeOutcomeCallable CreateHITTypeCallable(const CreateHITTypeRequestT& request) const
278 {
279 return SubmitCallable(&MTurkClient::CreateHITType, request);
280 }
281
285 template<typename CreateHITTypeRequestT = Model::CreateHITTypeRequest>
286 void CreateHITTypeAsync(const CreateHITTypeRequestT& request, const CreateHITTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
287 {
288 return SubmitAsync(&MTurkClient::CreateHITType, request, handler, context);
289 }
290
308
312 template<typename CreateHITWithHITTypeRequestT = Model::CreateHITWithHITTypeRequest>
313 Model::CreateHITWithHITTypeOutcomeCallable CreateHITWithHITTypeCallable(const CreateHITWithHITTypeRequestT& request) const
314 {
315 return SubmitCallable(&MTurkClient::CreateHITWithHITType, request);
316 }
317
321 template<typename CreateHITWithHITTypeRequestT = Model::CreateHITWithHITTypeRequest>
322 void CreateHITWithHITTypeAsync(const CreateHITWithHITTypeRequestT& request, const CreateHITWithHITTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
323 {
324 return SubmitAsync(&MTurkClient::CreateHITWithHITType, request, handler, context);
325 }
326
335
339 template<typename CreateQualificationTypeRequestT = Model::CreateQualificationTypeRequest>
340 Model::CreateQualificationTypeOutcomeCallable CreateQualificationTypeCallable(const CreateQualificationTypeRequestT& request) const
341 {
342 return SubmitCallable(&MTurkClient::CreateQualificationType, request);
343 }
344
348 template<typename CreateQualificationTypeRequestT = Model::CreateQualificationTypeRequest>
349 void CreateQualificationTypeAsync(const CreateQualificationTypeRequestT& request, const CreateQualificationTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
350 {
351 return SubmitAsync(&MTurkClient::CreateQualificationType, request, handler, context);
352 }
353
363
367 template<typename CreateWorkerBlockRequestT = Model::CreateWorkerBlockRequest>
368 Model::CreateWorkerBlockOutcomeCallable CreateWorkerBlockCallable(const CreateWorkerBlockRequestT& request) const
369 {
370 return SubmitCallable(&MTurkClient::CreateWorkerBlock, request);
371 }
372
376 template<typename CreateWorkerBlockRequestT = Model::CreateWorkerBlockRequest>
377 void CreateWorkerBlockAsync(const CreateWorkerBlockRequestT& request, const CreateWorkerBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
378 {
379 return SubmitAsync(&MTurkClient::CreateWorkerBlock, request, handler, context);
380 }
381
401
405 template<typename DeleteHITRequestT = Model::DeleteHITRequest>
406 Model::DeleteHITOutcomeCallable DeleteHITCallable(const DeleteHITRequestT& request) const
407 {
408 return SubmitCallable(&MTurkClient::DeleteHIT, request);
409 }
410
414 template<typename DeleteHITRequestT = Model::DeleteHITRequest>
415 void DeleteHITAsync(const DeleteHITRequestT& request, const DeleteHITResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
416 {
417 return SubmitAsync(&MTurkClient::DeleteHIT, request, handler, context);
418 }
419
436
440 template<typename DeleteQualificationTypeRequestT = Model::DeleteQualificationTypeRequest>
441 Model::DeleteQualificationTypeOutcomeCallable DeleteQualificationTypeCallable(const DeleteQualificationTypeRequestT& request) const
442 {
443 return SubmitCallable(&MTurkClient::DeleteQualificationType, request);
444 }
445
449 template<typename DeleteQualificationTypeRequestT = Model::DeleteQualificationTypeRequest>
450 void DeleteQualificationTypeAsync(const DeleteQualificationTypeRequestT& request, const DeleteQualificationTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
451 {
452 return SubmitAsync(&MTurkClient::DeleteQualificationType, request, handler, context);
453 }
454
466
470 template<typename DeleteWorkerBlockRequestT = Model::DeleteWorkerBlockRequest>
471 Model::DeleteWorkerBlockOutcomeCallable DeleteWorkerBlockCallable(const DeleteWorkerBlockRequestT& request) const
472 {
473 return SubmitCallable(&MTurkClient::DeleteWorkerBlock, request);
474 }
475
479 template<typename DeleteWorkerBlockRequestT = Model::DeleteWorkerBlockRequest>
480 void DeleteWorkerBlockAsync(const DeleteWorkerBlockRequestT& request, const DeleteWorkerBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
481 {
482 return SubmitAsync(&MTurkClient::DeleteWorkerBlock, request, handler, context);
483 }
484
494
498 template<typename DisassociateQualificationFromWorkerRequestT = Model::DisassociateQualificationFromWorkerRequest>
500 {
501 return SubmitCallable(&MTurkClient::DisassociateQualificationFromWorker, request);
502 }
503
507 template<typename DisassociateQualificationFromWorkerRequestT = Model::DisassociateQualificationFromWorkerRequest>
508 void DisassociateQualificationFromWorkerAsync(const DisassociateQualificationFromWorkerRequestT& request, const DisassociateQualificationFromWorkerResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
509 {
510 return SubmitAsync(&MTurkClient::DisassociateQualificationFromWorker, request, handler, context);
511 }
512
524
528 template<typename GetAccountBalanceRequestT = Model::GetAccountBalanceRequest>
529 Model::GetAccountBalanceOutcomeCallable GetAccountBalanceCallable(const GetAccountBalanceRequestT& request = {}) const
530 {
531 return SubmitCallable(&MTurkClient::GetAccountBalance, request);
532 }
533
537 template<typename GetAccountBalanceRequestT = Model::GetAccountBalanceRequest>
538 void GetAccountBalanceAsync(const GetAccountBalanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const GetAccountBalanceRequestT& request = {}) const
539 {
540 return SubmitAsync(&MTurkClient::GetAccountBalance, request, handler, context);
541 }
542
550
554 template<typename GetAssignmentRequestT = Model::GetAssignmentRequest>
555 Model::GetAssignmentOutcomeCallable GetAssignmentCallable(const GetAssignmentRequestT& request) const
556 {
557 return SubmitCallable(&MTurkClient::GetAssignment, request);
558 }
559
563 template<typename GetAssignmentRequestT = Model::GetAssignmentRequest>
564 void GetAssignmentAsync(const GetAssignmentRequestT& request, const GetAssignmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
565 {
566 return SubmitAsync(&MTurkClient::GetAssignment, request, handler, context);
567 }
568
585
589 template<typename GetFileUploadURLRequestT = Model::GetFileUploadURLRequest>
590 Model::GetFileUploadURLOutcomeCallable GetFileUploadURLCallable(const GetFileUploadURLRequestT& request) const
591 {
592 return SubmitCallable(&MTurkClient::GetFileUploadURL, request);
593 }
594
598 template<typename GetFileUploadURLRequestT = Model::GetFileUploadURLRequest>
599 void GetFileUploadURLAsync(const GetFileUploadURLRequestT& request, const GetFileUploadURLResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
600 {
601 return SubmitAsync(&MTurkClient::GetFileUploadURL, request, handler, context);
602 }
603
610 virtual Model::GetHITOutcome GetHIT(const Model::GetHITRequest& request) const;
611
615 template<typename GetHITRequestT = Model::GetHITRequest>
616 Model::GetHITOutcomeCallable GetHITCallable(const GetHITRequestT& request) const
617 {
618 return SubmitCallable(&MTurkClient::GetHIT, request);
619 }
620
624 template<typename GetHITRequestT = Model::GetHITRequest>
625 void GetHITAsync(const GetHITRequestT& request, const GetHITResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
626 {
627 return SubmitAsync(&MTurkClient::GetHIT, request, handler, context);
628 }
629
642
646 template<typename GetQualificationScoreRequestT = Model::GetQualificationScoreRequest>
647 Model::GetQualificationScoreOutcomeCallable GetQualificationScoreCallable(const GetQualificationScoreRequestT& request) const
648 {
649 return SubmitCallable(&MTurkClient::GetQualificationScore, request);
650 }
651
655 template<typename GetQualificationScoreRequestT = Model::GetQualificationScoreRequest>
656 void GetQualificationScoreAsync(const GetQualificationScoreRequestT& request, const GetQualificationScoreResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
657 {
658 return SubmitAsync(&MTurkClient::GetQualificationScore, request, handler, context);
659 }
660
668
672 template<typename GetQualificationTypeRequestT = Model::GetQualificationTypeRequest>
673 Model::GetQualificationTypeOutcomeCallable GetQualificationTypeCallable(const GetQualificationTypeRequestT& request) const
674 {
675 return SubmitCallable(&MTurkClient::GetQualificationType, request);
676 }
677
681 template<typename GetQualificationTypeRequestT = Model::GetQualificationTypeRequest>
682 void GetQualificationTypeAsync(const GetQualificationTypeRequestT& request, const GetQualificationTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
683 {
684 return SubmitAsync(&MTurkClient::GetQualificationType, request, handler, context);
685 }
686
707
711 template<typename ListAssignmentsForHITRequestT = Model::ListAssignmentsForHITRequest>
712 Model::ListAssignmentsForHITOutcomeCallable ListAssignmentsForHITCallable(const ListAssignmentsForHITRequestT& request) const
713 {
714 return SubmitCallable(&MTurkClient::ListAssignmentsForHIT, request);
715 }
716
720 template<typename ListAssignmentsForHITRequestT = Model::ListAssignmentsForHITRequest>
721 void ListAssignmentsForHITAsync(const ListAssignmentsForHITRequestT& request, const ListAssignmentsForHITResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
722 {
723 return SubmitAsync(&MTurkClient::ListAssignmentsForHIT, request, handler, context);
724 }
725
734
738 template<typename ListBonusPaymentsRequestT = Model::ListBonusPaymentsRequest>
739 Model::ListBonusPaymentsOutcomeCallable ListBonusPaymentsCallable(const ListBonusPaymentsRequestT& request = {}) const
740 {
741 return SubmitCallable(&MTurkClient::ListBonusPayments, request);
742 }
743
747 template<typename ListBonusPaymentsRequestT = Model::ListBonusPaymentsRequest>
748 void ListBonusPaymentsAsync(const ListBonusPaymentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListBonusPaymentsRequestT& request = {}) const
749 {
750 return SubmitAsync(&MTurkClient::ListBonusPayments, request, handler, context);
751 }
752
761 virtual Model::ListHITsOutcome ListHITs(const Model::ListHITsRequest& request = {}) const;
762
766 template<typename ListHITsRequestT = Model::ListHITsRequest>
767 Model::ListHITsOutcomeCallable ListHITsCallable(const ListHITsRequestT& request = {}) const
768 {
769 return SubmitCallable(&MTurkClient::ListHITs, request);
770 }
771
775 template<typename ListHITsRequestT = Model::ListHITsRequest>
776 void ListHITsAsync(const ListHITsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListHITsRequestT& request = {}) const
777 {
778 return SubmitAsync(&MTurkClient::ListHITs, request, handler, context);
779 }
780
791
795 template<typename ListHITsForQualificationTypeRequestT = Model::ListHITsForQualificationTypeRequest>
796 Model::ListHITsForQualificationTypeOutcomeCallable ListHITsForQualificationTypeCallable(const ListHITsForQualificationTypeRequestT& request) const
797 {
798 return SubmitCallable(&MTurkClient::ListHITsForQualificationType, request);
799 }
800
804 template<typename ListHITsForQualificationTypeRequestT = Model::ListHITsForQualificationTypeRequest>
805 void ListHITsForQualificationTypeAsync(const ListHITsForQualificationTypeRequestT& request, const ListHITsForQualificationTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
806 {
807 return SubmitAsync(&MTurkClient::ListHITsForQualificationType, request, handler, context);
808 }
809
820
824 template<typename ListQualificationRequestsRequestT = Model::ListQualificationRequestsRequest>
825 Model::ListQualificationRequestsOutcomeCallable ListQualificationRequestsCallable(const ListQualificationRequestsRequestT& request = {}) const
826 {
827 return SubmitCallable(&MTurkClient::ListQualificationRequests, request);
828 }
829
833 template<typename ListQualificationRequestsRequestT = Model::ListQualificationRequestsRequest>
834 void ListQualificationRequestsAsync(const ListQualificationRequestsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListQualificationRequestsRequestT& request = {}) const
835 {
836 return SubmitAsync(&MTurkClient::ListQualificationRequests, request, handler, context);
837 }
838
847
851 template<typename ListQualificationTypesRequestT = Model::ListQualificationTypesRequest>
852 Model::ListQualificationTypesOutcomeCallable ListQualificationTypesCallable(const ListQualificationTypesRequestT& request) const
853 {
854 return SubmitCallable(&MTurkClient::ListQualificationTypes, request);
855 }
856
860 template<typename ListQualificationTypesRequestT = Model::ListQualificationTypesRequest>
861 void ListQualificationTypesAsync(const ListQualificationTypesRequestT& request, const ListQualificationTypesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
862 {
863 return SubmitAsync(&MTurkClient::ListQualificationTypes, request, handler, context);
864 }
865
877
881 template<typename ListReviewPolicyResultsForHITRequestT = Model::ListReviewPolicyResultsForHITRequest>
882 Model::ListReviewPolicyResultsForHITOutcomeCallable ListReviewPolicyResultsForHITCallable(const ListReviewPolicyResultsForHITRequestT& request) const
883 {
884 return SubmitCallable(&MTurkClient::ListReviewPolicyResultsForHIT, request);
885 }
886
890 template<typename ListReviewPolicyResultsForHITRequestT = Model::ListReviewPolicyResultsForHITRequest>
891 void ListReviewPolicyResultsForHITAsync(const ListReviewPolicyResultsForHITRequestT& request, const ListReviewPolicyResultsForHITResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
892 {
893 return SubmitAsync(&MTurkClient::ListReviewPolicyResultsForHIT, request, handler, context);
894 }
895
904
908 template<typename ListReviewableHITsRequestT = Model::ListReviewableHITsRequest>
909 Model::ListReviewableHITsOutcomeCallable ListReviewableHITsCallable(const ListReviewableHITsRequestT& request = {}) const
910 {
911 return SubmitCallable(&MTurkClient::ListReviewableHITs, request);
912 }
913
917 template<typename ListReviewableHITsRequestT = Model::ListReviewableHITsRequest>
918 void ListReviewableHITsAsync(const ListReviewableHITsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListReviewableHITsRequestT& request = {}) const
919 {
920 return SubmitAsync(&MTurkClient::ListReviewableHITs, request, handler, context);
921 }
922
930
934 template<typename ListWorkerBlocksRequestT = Model::ListWorkerBlocksRequest>
935 Model::ListWorkerBlocksOutcomeCallable ListWorkerBlocksCallable(const ListWorkerBlocksRequestT& request = {}) const
936 {
937 return SubmitCallable(&MTurkClient::ListWorkerBlocks, request);
938 }
939
943 template<typename ListWorkerBlocksRequestT = Model::ListWorkerBlocksRequest>
944 void ListWorkerBlocksAsync(const ListWorkerBlocksResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListWorkerBlocksRequestT& request = {}) const
945 {
946 return SubmitAsync(&MTurkClient::ListWorkerBlocks, request, handler, context);
947 }
948
957
961 template<typename ListWorkersWithQualificationTypeRequestT = Model::ListWorkersWithQualificationTypeRequest>
963 {
964 return SubmitCallable(&MTurkClient::ListWorkersWithQualificationType, request);
965 }
966
970 template<typename ListWorkersWithQualificationTypeRequestT = Model::ListWorkersWithQualificationTypeRequest>
971 void ListWorkersWithQualificationTypeAsync(const ListWorkersWithQualificationTypeRequestT& request, const ListWorkersWithQualificationTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
972 {
973 return SubmitAsync(&MTurkClient::ListWorkersWithQualificationType, request, handler, context);
974 }
975
987
991 template<typename NotifyWorkersRequestT = Model::NotifyWorkersRequest>
992 Model::NotifyWorkersOutcomeCallable NotifyWorkersCallable(const NotifyWorkersRequestT& request) const
993 {
994 return SubmitCallable(&MTurkClient::NotifyWorkers, request);
995 }
996
1000 template<typename NotifyWorkersRequestT = Model::NotifyWorkersRequest>
1001 void NotifyWorkersAsync(const NotifyWorkersRequestT& request, const NotifyWorkersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1002 {
1003 return SubmitAsync(&MTurkClient::NotifyWorkers, request, handler, context);
1004 }
1005
1019
1023 template<typename RejectAssignmentRequestT = Model::RejectAssignmentRequest>
1024 Model::RejectAssignmentOutcomeCallable RejectAssignmentCallable(const RejectAssignmentRequestT& request) const
1025 {
1026 return SubmitCallable(&MTurkClient::RejectAssignment, request);
1027 }
1028
1032 template<typename RejectAssignmentRequestT = Model::RejectAssignmentRequest>
1033 void RejectAssignmentAsync(const RejectAssignmentRequestT& request, const RejectAssignmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1034 {
1035 return SubmitAsync(&MTurkClient::RejectAssignment, request, handler, context);
1036 }
1037
1047
1051 template<typename RejectQualificationRequestRequestT = Model::RejectQualificationRequestRequest>
1052 Model::RejectQualificationRequestOutcomeCallable RejectQualificationRequestCallable(const RejectQualificationRequestRequestT& request) const
1053 {
1054 return SubmitCallable(&MTurkClient::RejectQualificationRequest, request);
1055 }
1056
1060 template<typename RejectQualificationRequestRequestT = Model::RejectQualificationRequestRequest>
1061 void RejectQualificationRequestAsync(const RejectQualificationRequestRequestT& request, const RejectQualificationRequestResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1062 {
1063 return SubmitAsync(&MTurkClient::RejectQualificationRequest, request, handler, context);
1064 }
1065
1080
1084 template<typename SendBonusRequestT = Model::SendBonusRequest>
1085 Model::SendBonusOutcomeCallable SendBonusCallable(const SendBonusRequestT& request) const
1086 {
1087 return SubmitCallable(&MTurkClient::SendBonus, request);
1088 }
1089
1093 template<typename SendBonusRequestT = Model::SendBonusRequest>
1094 void SendBonusAsync(const SendBonusRequestT& request, const SendBonusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1095 {
1096 return SubmitAsync(&MTurkClient::SendBonus, request, handler, context);
1097 }
1098
1111
1115 template<typename SendTestEventNotificationRequestT = Model::SendTestEventNotificationRequest>
1116 Model::SendTestEventNotificationOutcomeCallable SendTestEventNotificationCallable(const SendTestEventNotificationRequestT& request) const
1117 {
1118 return SubmitCallable(&MTurkClient::SendTestEventNotification, request);
1119 }
1120
1124 template<typename SendTestEventNotificationRequestT = Model::SendTestEventNotificationRequest>
1125 void SendTestEventNotificationAsync(const SendTestEventNotificationRequestT& request, const SendTestEventNotificationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1126 {
1127 return SubmitAsync(&MTurkClient::SendTestEventNotification, request, handler, context);
1128 }
1129
1138
1142 template<typename UpdateExpirationForHITRequestT = Model::UpdateExpirationForHITRequest>
1143 Model::UpdateExpirationForHITOutcomeCallable UpdateExpirationForHITCallable(const UpdateExpirationForHITRequestT& request) const
1144 {
1145 return SubmitCallable(&MTurkClient::UpdateExpirationForHIT, request);
1146 }
1147
1151 template<typename UpdateExpirationForHITRequestT = Model::UpdateExpirationForHITRequest>
1152 void UpdateExpirationForHITAsync(const UpdateExpirationForHITRequestT& request, const UpdateExpirationForHITResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1153 {
1154 return SubmitAsync(&MTurkClient::UpdateExpirationForHIT, request, handler, context);
1155 }
1156
1166
1170 template<typename UpdateHITReviewStatusRequestT = Model::UpdateHITReviewStatusRequest>
1171 Model::UpdateHITReviewStatusOutcomeCallable UpdateHITReviewStatusCallable(const UpdateHITReviewStatusRequestT& request) const
1172 {
1173 return SubmitCallable(&MTurkClient::UpdateHITReviewStatus, request);
1174 }
1175
1179 template<typename UpdateHITReviewStatusRequestT = Model::UpdateHITReviewStatusRequest>
1180 void UpdateHITReviewStatusAsync(const UpdateHITReviewStatusRequestT& request, const UpdateHITReviewStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1181 {
1182 return SubmitAsync(&MTurkClient::UpdateHITReviewStatus, request, handler, context);
1183 }
1184
1195
1199 template<typename UpdateHITTypeOfHITRequestT = Model::UpdateHITTypeOfHITRequest>
1200 Model::UpdateHITTypeOfHITOutcomeCallable UpdateHITTypeOfHITCallable(const UpdateHITTypeOfHITRequestT& request) const
1201 {
1202 return SubmitCallable(&MTurkClient::UpdateHITTypeOfHIT, request);
1203 }
1204
1208 template<typename UpdateHITTypeOfHITRequestT = Model::UpdateHITTypeOfHITRequest>
1209 void UpdateHITTypeOfHITAsync(const UpdateHITTypeOfHITRequestT& request, const UpdateHITTypeOfHITResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1210 {
1211 return SubmitAsync(&MTurkClient::UpdateHITTypeOfHIT, request, handler, context);
1212 }
1213
1230
1234 template<typename UpdateNotificationSettingsRequestT = Model::UpdateNotificationSettingsRequest>
1235 Model::UpdateNotificationSettingsOutcomeCallable UpdateNotificationSettingsCallable(const UpdateNotificationSettingsRequestT& request) const
1236 {
1237 return SubmitCallable(&MTurkClient::UpdateNotificationSettings, request);
1238 }
1239
1243 template<typename UpdateNotificationSettingsRequestT = Model::UpdateNotificationSettingsRequest>
1244 void UpdateNotificationSettingsAsync(const UpdateNotificationSettingsRequestT& request, const UpdateNotificationSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1245 {
1246 return SubmitAsync(&MTurkClient::UpdateNotificationSettings, request, handler, context);
1247 }
1248
1279
1283 template<typename UpdateQualificationTypeRequestT = Model::UpdateQualificationTypeRequest>
1284 Model::UpdateQualificationTypeOutcomeCallable UpdateQualificationTypeCallable(const UpdateQualificationTypeRequestT& request) const
1285 {
1286 return SubmitCallable(&MTurkClient::UpdateQualificationType, request);
1287 }
1288
1292 template<typename UpdateQualificationTypeRequestT = Model::UpdateQualificationTypeRequest>
1293 void UpdateQualificationTypeAsync(const UpdateQualificationTypeRequestT& request, const UpdateQualificationTypeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
1294 {
1295 return SubmitAsync(&MTurkClient::UpdateQualificationType, request, handler, context);
1296 }
1297
1298
1299 void OverrideEndpoint(const Aws::String& endpoint);
1300 std::shared_ptr<MTurkEndpointProviderBase>& accessEndpointProvider();
1301 private:
1303 void init(const MTurkClientConfiguration& clientConfiguration);
1304
1305 MTurkClientConfiguration m_clientConfiguration;
1306 std::shared_ptr<MTurkEndpointProviderBase> m_endpointProvider;
1307 };
1308
1309} // namespace MTurk
1310} // namespace Aws
Model::RejectQualificationRequestOutcomeCallable RejectQualificationRequestCallable(const RejectQualificationRequestRequestT &request) const
MTurkEndpointProvider EndpointProviderType
Definition MTurkClient.h:29
virtual Model::UpdateHITTypeOfHITOutcome UpdateHITTypeOfHIT(const Model::UpdateHITTypeOfHITRequest &request) const
virtual Model::GetQualificationScoreOutcome GetQualificationScore(const Model::GetQualificationScoreRequest &request) const
virtual Model::CreateAdditionalAssignmentsForHITOutcome CreateAdditionalAssignmentsForHIT(const Model::CreateAdditionalAssignmentsForHITRequest &request) const
void DisassociateQualificationFromWorkerAsync(const DisassociateQualificationFromWorkerRequestT &request, const DisassociateQualificationFromWorkerResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListReviewableHITsOutcomeCallable ListReviewableHITsCallable(const ListReviewableHITsRequestT &request={}) const
void UpdateNotificationSettingsAsync(const UpdateNotificationSettingsRequestT &request, const UpdateNotificationSettingsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::CreateAdditionalAssignmentsForHITOutcomeCallable CreateAdditionalAssignmentsForHITCallable(const CreateAdditionalAssignmentsForHITRequestT &request) const
Model::SendTestEventNotificationOutcomeCallable SendTestEventNotificationCallable(const SendTestEventNotificationRequestT &request) const
MTurkClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< MTurkEndpointProviderBase > endpointProvider=nullptr, const Aws::MTurk::MTurkClientConfiguration &clientConfiguration=Aws::MTurk::MTurkClientConfiguration())
Model::UpdateExpirationForHITOutcomeCallable UpdateExpirationForHITCallable(const UpdateExpirationForHITRequestT &request) const
Model::GetQualificationTypeOutcomeCallable GetQualificationTypeCallable(const GetQualificationTypeRequestT &request) const
virtual Model::UpdateNotificationSettingsOutcome UpdateNotificationSettings(const Model::UpdateNotificationSettingsRequest &request) const
virtual Model::SendBonusOutcome SendBonus(const Model::SendBonusRequest &request) const
void GetQualificationScoreAsync(const GetQualificationScoreRequestT &request, const GetQualificationScoreResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DeleteQualificationTypeAsync(const DeleteQualificationTypeRequestT &request, const DeleteQualificationTypeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListBonusPaymentsAsync(const ListBonusPaymentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListBonusPaymentsRequestT &request={}) const
Model::NotifyWorkersOutcomeCallable NotifyWorkersCallable(const NotifyWorkersRequestT &request) const
void AcceptQualificationRequestAsync(const AcceptQualificationRequestRequestT &request, const AcceptQualificationRequestResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListHITsOutcome ListHITs(const Model::ListHITsRequest &request={}) const
void CreateHITAsync(const CreateHITRequestT &request, const CreateHITResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListHITsOutcomeCallable ListHITsCallable(const ListHITsRequestT &request={}) const
void SendBonusAsync(const SendBonusRequestT &request, const SendBonusResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetHITOutcomeCallable GetHITCallable(const GetHITRequestT &request) const
void GetAssignmentAsync(const GetAssignmentRequestT &request, const GetAssignmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ApproveAssignmentOutcomeCallable ApproveAssignmentCallable(const ApproveAssignmentRequestT &request) const
void UpdateExpirationForHITAsync(const UpdateExpirationForHITRequestT &request, const UpdateExpirationForHITResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateWorkerBlockAsync(const CreateWorkerBlockRequestT &request, const CreateWorkerBlockResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetHITOutcome GetHIT(const Model::GetHITRequest &request) const
void ListHITsForQualificationTypeAsync(const ListHITsForQualificationTypeRequestT &request, const ListHITsForQualificationTypeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetQualificationTypeAsync(const GetQualificationTypeRequestT &request, const GetQualificationTypeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void RejectAssignmentAsync(const RejectAssignmentRequestT &request, const RejectAssignmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListWorkersWithQualificationTypeOutcomeCallable ListWorkersWithQualificationTypeCallable(const ListWorkersWithQualificationTypeRequestT &request) const
Model::DeleteWorkerBlockOutcomeCallable DeleteWorkerBlockCallable(const DeleteWorkerBlockRequestT &request) const
virtual Model::GetQualificationTypeOutcome GetQualificationType(const Model::GetQualificationTypeRequest &request) const
MTurkClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void UpdateHITReviewStatusAsync(const UpdateHITReviewStatusRequestT &request, const UpdateHITReviewStatusResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateHITOutcome CreateHIT(const Model::CreateHITRequest &request) const
virtual Model::CreateHITWithHITTypeOutcome CreateHITWithHITType(const Model::CreateHITWithHITTypeRequest &request) const
Model::ListQualificationRequestsOutcomeCallable ListQualificationRequestsCallable(const ListQualificationRequestsRequestT &request={}) const
Model::UpdateHITReviewStatusOutcomeCallable UpdateHITReviewStatusCallable(const UpdateHITReviewStatusRequestT &request) const
virtual Model::ListReviewableHITsOutcome ListReviewableHITs(const Model::ListReviewableHITsRequest &request={}) const
Model::GetAccountBalanceOutcomeCallable GetAccountBalanceCallable(const GetAccountBalanceRequestT &request={}) const
MTurkClient(const Aws::MTurk::MTurkClientConfiguration &clientConfiguration=Aws::MTurk::MTurkClientConfiguration(), std::shared_ptr< MTurkEndpointProviderBase > endpointProvider=nullptr)
virtual Model::ListWorkersWithQualificationTypeOutcome ListWorkersWithQualificationType(const Model::ListWorkersWithQualificationTypeRequest &request) const
Model::CreateHITOutcomeCallable CreateHITCallable(const CreateHITRequestT &request) const
void CreateAdditionalAssignmentsForHITAsync(const CreateAdditionalAssignmentsForHITRequestT &request, const CreateAdditionalAssignmentsForHITResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::UpdateQualificationTypeOutcome UpdateQualificationType(const Model::UpdateQualificationTypeRequest &request) const
Model::ListQualificationTypesOutcomeCallable ListQualificationTypesCallable(const ListQualificationTypesRequestT &request) const
Model::UpdateHITTypeOfHITOutcomeCallable UpdateHITTypeOfHITCallable(const UpdateHITTypeOfHITRequestT &request) const
virtual Model::DeleteHITOutcome DeleteHIT(const Model::DeleteHITRequest &request) const
Model::GetAssignmentOutcomeCallable GetAssignmentCallable(const GetAssignmentRequestT &request) const
void NotifyWorkersAsync(const NotifyWorkersRequestT &request, const NotifyWorkersResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListWorkerBlocksOutcomeCallable ListWorkerBlocksCallable(const ListWorkerBlocksRequestT &request={}) const
virtual Model::UpdateHITReviewStatusOutcome UpdateHITReviewStatus(const Model::UpdateHITReviewStatusRequest &request) const
virtual Model::DeleteWorkerBlockOutcome DeleteWorkerBlock(const Model::DeleteWorkerBlockRequest &request) const
virtual Model::NotifyWorkersOutcome NotifyWorkers(const Model::NotifyWorkersRequest &request) const
virtual Model::ListReviewPolicyResultsForHITOutcome ListReviewPolicyResultsForHIT(const Model::ListReviewPolicyResultsForHITRequest &request) const
MTurkClientConfiguration ClientConfigurationType
Definition MTurkClient.h:28
void CreateHITWithHITTypeAsync(const CreateHITWithHITTypeRequestT &request, const CreateHITWithHITTypeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::ListQualificationRequestsOutcome ListQualificationRequests(const Model::ListQualificationRequestsRequest &request={}) const
void ListAssignmentsForHITAsync(const ListAssignmentsForHITRequestT &request, const ListAssignmentsForHITResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetFileUploadURLOutcomeCallable GetFileUploadURLCallable(const GetFileUploadURLRequestT &request) const
virtual Model::ListBonusPaymentsOutcome ListBonusPayments(const Model::ListBonusPaymentsRequest &request={}) const
Model::CreateHITWithHITTypeOutcomeCallable CreateHITWithHITTypeCallable(const CreateHITWithHITTypeRequestT &request) const
virtual Model::AssociateQualificationWithWorkerOutcome AssociateQualificationWithWorker(const Model::AssociateQualificationWithWorkerRequest &request) const
void GetHITAsync(const GetHITRequestT &request, const GetHITResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateHITTypeOutcome CreateHITType(const Model::CreateHITTypeRequest &request) const
virtual Model::ApproveAssignmentOutcome ApproveAssignment(const Model::ApproveAssignmentRequest &request) const
void RejectQualificationRequestAsync(const RejectQualificationRequestRequestT &request, const RejectQualificationRequestResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateHITTypeAsync(const CreateHITTypeRequestT &request, const CreateHITTypeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetQualificationScoreOutcomeCallable GetQualificationScoreCallable(const GetQualificationScoreRequestT &request) const
void ApproveAssignmentAsync(const ApproveAssignmentRequestT &request, const ApproveAssignmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::AcceptQualificationRequestOutcomeCallable AcceptQualificationRequestCallable(const AcceptQualificationRequestRequestT &request) const
Definition MTurkClient.h:94
virtual Model::UpdateExpirationForHITOutcome UpdateExpirationForHIT(const Model::UpdateExpirationForHITRequest &request) const
void ListQualificationRequestsAsync(const ListQualificationRequestsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListQualificationRequestsRequestT &request={}) const
static const char * GetAllocationTag()
void ListQualificationTypesAsync(const ListQualificationTypesRequestT &request, const ListQualificationTypesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::DeleteHITOutcomeCallable DeleteHITCallable(const DeleteHITRequestT &request) const
virtual Model::GetAssignmentOutcome GetAssignment(const Model::GetAssignmentRequest &request) const
Model::UpdateQualificationTypeOutcomeCallable UpdateQualificationTypeCallable(const UpdateQualificationTypeRequestT &request) const
MTurkClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< MTurkEndpointProviderBase > endpointProvider=nullptr, const Aws::MTurk::MTurkClientConfiguration &clientConfiguration=Aws::MTurk::MTurkClientConfiguration())
virtual Model::RejectQualificationRequestOutcome RejectQualificationRequest(const Model::RejectQualificationRequestRequest &request) const
Model::ListBonusPaymentsOutcomeCallable ListBonusPaymentsCallable(const ListBonusPaymentsRequestT &request={}) const
void ListWorkersWithQualificationTypeAsync(const ListWorkersWithQualificationTypeRequestT &request, const ListWorkersWithQualificationTypeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetAccountBalanceOutcome GetAccountBalance(const Model::GetAccountBalanceRequest &request={}) const
Model::AssociateQualificationWithWorkerOutcomeCallable AssociateQualificationWithWorkerCallable(const AssociateQualificationWithWorkerRequestT &request) const
void GetFileUploadURLAsync(const GetFileUploadURLRequestT &request, const GetFileUploadURLResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetServiceName()
Model::ListReviewPolicyResultsForHITOutcomeCallable ListReviewPolicyResultsForHITCallable(const ListReviewPolicyResultsForHITRequestT &request) const
void SendTestEventNotificationAsync(const SendTestEventNotificationRequestT &request, const SendTestEventNotificationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::RejectAssignmentOutcomeCallable RejectAssignmentCallable(const RejectAssignmentRequestT &request) const
Model::DisassociateQualificationFromWorkerOutcomeCallable DisassociateQualificationFromWorkerCallable(const DisassociateQualificationFromWorkerRequestT &request) const
Model::DeleteQualificationTypeOutcomeCallable DeleteQualificationTypeCallable(const DeleteQualificationTypeRequestT &request) const
Model::CreateQualificationTypeOutcomeCallable CreateQualificationTypeCallable(const CreateQualificationTypeRequestT &request) const
virtual Model::ListHITsForQualificationTypeOutcome ListHITsForQualificationType(const Model::ListHITsForQualificationTypeRequest &request) const
Model::ListHITsForQualificationTypeOutcomeCallable ListHITsForQualificationTypeCallable(const ListHITsForQualificationTypeRequestT &request) const
std::shared_ptr< MTurkEndpointProviderBase > & accessEndpointProvider()
Model::ListAssignmentsForHITOutcomeCallable ListAssignmentsForHITCallable(const ListAssignmentsForHITRequestT &request) const
Model::UpdateNotificationSettingsOutcomeCallable UpdateNotificationSettingsCallable(const UpdateNotificationSettingsRequestT &request) const
void UpdateQualificationTypeAsync(const UpdateQualificationTypeRequestT &request, const UpdateQualificationTypeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void AssociateQualificationWithWorkerAsync(const AssociateQualificationWithWorkerRequestT &request, const AssociateQualificationWithWorkerResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetAccountBalanceAsync(const GetAccountBalanceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetAccountBalanceRequestT &request={}) const
virtual Model::RejectAssignmentOutcome RejectAssignment(const Model::RejectAssignmentRequest &request) const
void ListReviewableHITsAsync(const ListReviewableHITsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListReviewableHITsRequestT &request={}) const
virtual Model::ListAssignmentsForHITOutcome ListAssignmentsForHIT(const Model::ListAssignmentsForHITRequest &request) const
virtual Model::AcceptQualificationRequestOutcome AcceptQualificationRequest(const Model::AcceptQualificationRequestRequest &request) const
void DeleteWorkerBlockAsync(const DeleteWorkerBlockRequestT &request, const DeleteWorkerBlockResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DeleteQualificationTypeOutcome DeleteQualificationType(const Model::DeleteQualificationTypeRequest &request) const
Model::SendBonusOutcomeCallable SendBonusCallable(const SendBonusRequestT &request) const
virtual Model::CreateWorkerBlockOutcome CreateWorkerBlock(const Model::CreateWorkerBlockRequest &request) const
virtual Model::GetFileUploadURLOutcome GetFileUploadURL(const Model::GetFileUploadURLRequest &request) const
void ListWorkerBlocksAsync(const ListWorkerBlocksResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListWorkerBlocksRequestT &request={}) const
Model::CreateHITTypeOutcomeCallable CreateHITTypeCallable(const CreateHITTypeRequestT &request) const
virtual Model::ListQualificationTypesOutcome ListQualificationTypes(const Model::ListQualificationTypesRequest &request) const
void CreateQualificationTypeAsync(const CreateQualificationTypeRequestT &request, const CreateQualificationTypeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateQualificationTypeOutcome CreateQualificationType(const Model::CreateQualificationTypeRequest &request) const
MTurkClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void ListReviewPolicyResultsForHITAsync(const ListReviewPolicyResultsForHITRequestT &request, const ListReviewPolicyResultsForHITResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListHITsAsync(const ListHITsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListHITsRequestT &request={}) const
virtual Model::DisassociateQualificationFromWorkerOutcome DisassociateQualificationFromWorker(const Model::DisassociateQualificationFromWorkerRequest &request) const
void DeleteHITAsync(const DeleteHITRequestT &request, const DeleteHITResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
MTurkClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::SendTestEventNotificationOutcome SendTestEventNotification(const Model::SendTestEventNotificationRequest &request) const
Model::CreateWorkerBlockOutcomeCallable CreateWorkerBlockCallable(const CreateWorkerBlockRequestT &request) const
virtual Model::ListWorkerBlocksOutcome ListWorkerBlocks(const Model::ListWorkerBlocksRequest &request={}) const
Aws::Client::AWSJsonClient BASECLASS
Definition MTurkClient.h:24
void UpdateHITTypeOfHITAsync(const UpdateHITTypeOfHITRequestT &request, const UpdateHITTypeOfHITResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< GetFileUploadURLOutcome > GetFileUploadURLOutcomeCallable
std::future< ListReviewableHITsOutcome > ListReviewableHITsOutcomeCallable
std::future< UpdateQualificationTypeOutcome > UpdateQualificationTypeOutcomeCallable
std::future< GetAssignmentOutcome > GetAssignmentOutcomeCallable
std::future< ListWorkersWithQualificationTypeOutcome > ListWorkersWithQualificationTypeOutcomeCallable
std::future< CreateHITOutcome > CreateHITOutcomeCallable
std::future< NotifyWorkersOutcome > NotifyWorkersOutcomeCallable
std::future< AcceptQualificationRequestOutcome > AcceptQualificationRequestOutcomeCallable
std::future< ListHITsOutcome > ListHITsOutcomeCallable
std::future< CreateHITTypeOutcome > CreateHITTypeOutcomeCallable
std::future< GetQualificationScoreOutcome > GetQualificationScoreOutcomeCallable
std::future< DeleteQualificationTypeOutcome > DeleteQualificationTypeOutcomeCallable
std::future< GetQualificationTypeOutcome > GetQualificationTypeOutcomeCallable
std::future< CreateQualificationTypeOutcome > CreateQualificationTypeOutcomeCallable
std::future< RejectQualificationRequestOutcome > RejectQualificationRequestOutcomeCallable
std::future< GetAccountBalanceOutcome > GetAccountBalanceOutcomeCallable
std::future< SendBonusOutcome > SendBonusOutcomeCallable
std::future< UpdateExpirationForHITOutcome > UpdateExpirationForHITOutcomeCallable
std::future< SendTestEventNotificationOutcome > SendTestEventNotificationOutcomeCallable
std::future< UpdateNotificationSettingsOutcome > UpdateNotificationSettingsOutcomeCallable
std::future< AssociateQualificationWithWorkerOutcome > AssociateQualificationWithWorkerOutcomeCallable
std::future< CreateAdditionalAssignmentsForHITOutcome > CreateAdditionalAssignmentsForHITOutcomeCallable
std::future< ApproveAssignmentOutcome > ApproveAssignmentOutcomeCallable
std::future< CreateHITWithHITTypeOutcome > CreateHITWithHITTypeOutcomeCallable
std::future< DeleteWorkerBlockOutcome > DeleteWorkerBlockOutcomeCallable
std::future< ListBonusPaymentsOutcome > ListBonusPaymentsOutcomeCallable
std::future< ListWorkerBlocksOutcome > ListWorkerBlocksOutcomeCallable
std::future< ListHITsForQualificationTypeOutcome > ListHITsForQualificationTypeOutcomeCallable
std::future< UpdateHITReviewStatusOutcome > UpdateHITReviewStatusOutcomeCallable
std::future< ListReviewPolicyResultsForHITOutcome > ListReviewPolicyResultsForHITOutcomeCallable
std::future< ListQualificationRequestsOutcome > ListQualificationRequestsOutcomeCallable
std::future< ListQualificationTypesOutcome > ListQualificationTypesOutcomeCallable
std::future< CreateWorkerBlockOutcome > CreateWorkerBlockOutcomeCallable
std::future< RejectAssignmentOutcome > RejectAssignmentOutcomeCallable
std::future< ListAssignmentsForHITOutcome > ListAssignmentsForHITOutcomeCallable
std::future< UpdateHITTypeOfHITOutcome > UpdateHITTypeOfHITOutcomeCallable
std::future< DeleteHITOutcome > DeleteHITOutcomeCallable
std::future< DisassociateQualificationFromWorkerOutcome > DisassociateQualificationFromWorkerOutcomeCallable
std::future< GetHITOutcome > GetHITOutcomeCallable
std::function< void(const MTurkClient *, const Model::UpdateNotificationSettingsRequest &, const Model::UpdateNotificationSettingsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateNotificationSettingsResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::CreateAdditionalAssignmentsForHITRequest &, const Model::CreateAdditionalAssignmentsForHITOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateAdditionalAssignmentsForHITResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::CreateWorkerBlockRequest &, const Model::CreateWorkerBlockOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateWorkerBlockResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::GetQualificationScoreRequest &, const Model::GetQualificationScoreOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetQualificationScoreResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::DeleteHITRequest &, const Model::DeleteHITOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteHITResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::CreateHITWithHITTypeRequest &, const Model::CreateHITWithHITTypeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateHITWithHITTypeResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::UpdateHITTypeOfHITRequest &, const Model::UpdateHITTypeOfHITOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateHITTypeOfHITResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::SendTestEventNotificationRequest &, const Model::SendTestEventNotificationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SendTestEventNotificationResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::RejectQualificationRequestRequest &, const Model::RejectQualificationRequestOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RejectQualificationRequestResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::CreateQualificationTypeRequest &, const Model::CreateQualificationTypeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateQualificationTypeResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::GetQualificationTypeRequest &, const Model::GetQualificationTypeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetQualificationTypeResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::DeleteQualificationTypeRequest &, const Model::DeleteQualificationTypeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteQualificationTypeResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ListReviewPolicyResultsForHITRequest &, const Model::ListReviewPolicyResultsForHITOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListReviewPolicyResultsForHITResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::CreateHITRequest &, const Model::CreateHITOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateHITResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ListBonusPaymentsRequest &, const Model::ListBonusPaymentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListBonusPaymentsResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::AssociateQualificationWithWorkerRequest &, const Model::AssociateQualificationWithWorkerOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AssociateQualificationWithWorkerResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::RejectAssignmentRequest &, const Model::RejectAssignmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RejectAssignmentResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::GetHITRequest &, const Model::GetHITOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetHITResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ListQualificationRequestsRequest &, const Model::ListQualificationRequestsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListQualificationRequestsResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ApproveAssignmentRequest &, const Model::ApproveAssignmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ApproveAssignmentResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::GetAccountBalanceRequest &, const Model::GetAccountBalanceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetAccountBalanceResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ListHITsRequest &, const Model::ListHITsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListHITsResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::DisassociateQualificationFromWorkerRequest &, const Model::DisassociateQualificationFromWorkerOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisassociateQualificationFromWorkerResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::SendBonusRequest &, const Model::SendBonusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SendBonusResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ListWorkerBlocksRequest &, const Model::ListWorkerBlocksOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListWorkerBlocksResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::NotifyWorkersRequest &, const Model::NotifyWorkersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > NotifyWorkersResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ListWorkersWithQualificationTypeRequest &, const Model::ListWorkersWithQualificationTypeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListWorkersWithQualificationTypeResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::GetAssignmentRequest &, const Model::GetAssignmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetAssignmentResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::DeleteWorkerBlockRequest &, const Model::DeleteWorkerBlockOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteWorkerBlockResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ListHITsForQualificationTypeRequest &, const Model::ListHITsForQualificationTypeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListHITsForQualificationTypeResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::GetFileUploadURLRequest &, const Model::GetFileUploadURLOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetFileUploadURLResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::CreateHITTypeRequest &, const Model::CreateHITTypeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateHITTypeResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::UpdateExpirationForHITRequest &, const Model::UpdateExpirationForHITOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateExpirationForHITResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::UpdateHITReviewStatusRequest &, const Model::UpdateHITReviewStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateHITReviewStatusResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ListQualificationTypesRequest &, const Model::ListQualificationTypesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListQualificationTypesResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ListReviewableHITsRequest &, const Model::ListReviewableHITsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListReviewableHITsResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::AcceptQualificationRequestRequest &, const Model::AcceptQualificationRequestOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AcceptQualificationRequestResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::UpdateQualificationTypeRequest &, const Model::UpdateQualificationTypeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateQualificationTypeResponseReceivedHandler
std::function< void(const MTurkClient *, const Model::ListAssignmentsForHITRequest &, const Model::ListAssignmentsForHITOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListAssignmentsForHITResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String