AWS SDK for C++  0.14.3
AWS SDK for C++
SQSClient.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
16 #include <aws/sqs/SQS_EXPORTS.h>
17 #include <aws/sqs/SQSErrors.h>
33 #include <aws/core/NoResult.h>
36 #include <future>
37 #include <functional>
38 
39 namespace Aws
40 {
41 
42 namespace Http
43 {
44  class HttpClient;
45  class HttpClientFactory;
46 } // namespace Http
47 
48 namespace Utils
49 {
50  template< typename R, typename E> class Outcome;
51 
52 namespace Threading
53 {
54  class Executor;
55 } // namespace Threading
56 
57 namespace Xml
58 {
59  class XmlDocument;
60 } // namespace Xml
61 } // namespace Utils
62 
63 namespace Auth
64 {
65  class AWSCredentials;
66  class AWSCredentialsProvider;
67 } // namespace Auth
68 
69 namespace Client
70 {
71  class RetryStrategy;
72 } // namespace Client
73 
74 namespace SQS
75 {
76 
77 namespace Model
78 {
79  class AddPermissionRequest;
80  class ChangeMessageVisibilityRequest;
81  class ChangeMessageVisibilityBatchRequest;
82  class CreateQueueRequest;
83  class DeleteMessageRequest;
84  class DeleteMessageBatchRequest;
85  class DeleteQueueRequest;
86  class GetQueueAttributesRequest;
87  class GetQueueUrlRequest;
88  class ListDeadLetterSourceQueuesRequest;
89  class ListQueuesRequest;
90  class PurgeQueueRequest;
91  class ReceiveMessageRequest;
92  class RemovePermissionRequest;
93  class SendMessageRequest;
94  class SendMessageBatchRequest;
96 
114 
115  typedef std::future<AddPermissionOutcome> AddPermissionOutcomeCallable;
116  typedef std::future<ChangeMessageVisibilityOutcome> ChangeMessageVisibilityOutcomeCallable;
117  typedef std::future<ChangeMessageVisibilityBatchOutcome> ChangeMessageVisibilityBatchOutcomeCallable;
118  typedef std::future<CreateQueueOutcome> CreateQueueOutcomeCallable;
119  typedef std::future<DeleteMessageOutcome> DeleteMessageOutcomeCallable;
120  typedef std::future<DeleteMessageBatchOutcome> DeleteMessageBatchOutcomeCallable;
121  typedef std::future<DeleteQueueOutcome> DeleteQueueOutcomeCallable;
122  typedef std::future<GetQueueAttributesOutcome> GetQueueAttributesOutcomeCallable;
123  typedef std::future<GetQueueUrlOutcome> GetQueueUrlOutcomeCallable;
124  typedef std::future<ListDeadLetterSourceQueuesOutcome> ListDeadLetterSourceQueuesOutcomeCallable;
125  typedef std::future<ListQueuesOutcome> ListQueuesOutcomeCallable;
126  typedef std::future<PurgeQueueOutcome> PurgeQueueOutcomeCallable;
127  typedef std::future<ReceiveMessageOutcome> ReceiveMessageOutcomeCallable;
128  typedef std::future<RemovePermissionOutcome> RemovePermissionOutcomeCallable;
129  typedef std::future<SendMessageOutcome> SendMessageOutcomeCallable;
130  typedef std::future<SendMessageBatchOutcome> SendMessageBatchOutcomeCallable;
131  typedef std::future<SetQueueAttributesOutcome> SetQueueAttributesOutcomeCallable;
132 } // namespace Model
133 
134  class SQSClient;
135 
136  typedef std::function<void(const SQSClient*, const Model::AddPermissionRequest&, const Model::AddPermissionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AddPermissionResponseReceivedHandler;
137  typedef std::function<void(const SQSClient*, const Model::ChangeMessageVisibilityRequest&, const Model::ChangeMessageVisibilityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ChangeMessageVisibilityResponseReceivedHandler;
138  typedef std::function<void(const SQSClient*, const Model::ChangeMessageVisibilityBatchRequest&, const Model::ChangeMessageVisibilityBatchOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ChangeMessageVisibilityBatchResponseReceivedHandler;
139  typedef std::function<void(const SQSClient*, const Model::CreateQueueRequest&, const Model::CreateQueueOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateQueueResponseReceivedHandler;
140  typedef std::function<void(const SQSClient*, const Model::DeleteMessageRequest&, const Model::DeleteMessageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteMessageResponseReceivedHandler;
141  typedef std::function<void(const SQSClient*, const Model::DeleteMessageBatchRequest&, const Model::DeleteMessageBatchOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteMessageBatchResponseReceivedHandler;
142  typedef std::function<void(const SQSClient*, const Model::DeleteQueueRequest&, const Model::DeleteQueueOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteQueueResponseReceivedHandler;
143  typedef std::function<void(const SQSClient*, const Model::GetQueueAttributesRequest&, const Model::GetQueueAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetQueueAttributesResponseReceivedHandler;
144  typedef std::function<void(const SQSClient*, const Model::GetQueueUrlRequest&, const Model::GetQueueUrlOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetQueueUrlResponseReceivedHandler;
145  typedef std::function<void(const SQSClient*, const Model::ListDeadLetterSourceQueuesRequest&, const Model::ListDeadLetterSourceQueuesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListDeadLetterSourceQueuesResponseReceivedHandler;
146  typedef std::function<void(const SQSClient*, const Model::ListQueuesRequest&, const Model::ListQueuesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListQueuesResponseReceivedHandler;
147  typedef std::function<void(const SQSClient*, const Model::PurgeQueueRequest&, const Model::PurgeQueueOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PurgeQueueResponseReceivedHandler;
148  typedef std::function<void(const SQSClient*, const Model::ReceiveMessageRequest&, const Model::ReceiveMessageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ReceiveMessageResponseReceivedHandler;
149  typedef std::function<void(const SQSClient*, const Model::RemovePermissionRequest&, const Model::RemovePermissionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RemovePermissionResponseReceivedHandler;
150  typedef std::function<void(const SQSClient*, const Model::SendMessageRequest&, const Model::SendMessageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SendMessageResponseReceivedHandler;
151  typedef std::function<void(const SQSClient*, const Model::SendMessageBatchRequest&, const Model::SendMessageBatchOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SendMessageBatchResponseReceivedHandler;
152  typedef std::function<void(const SQSClient*, const Model::SetQueueAttributesRequest&, const Model::SetQueueAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetQueueAttributesResponseReceivedHandler;
153 
182  {
183  public:
185 
190  SQSClient(const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
191 
196  SQSClient(const Auth::AWSCredentials& credentials, const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
197 
202  SQSClient(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
203  const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
204 
205  virtual ~SQSClient();
206 
227  virtual Model::AddPermissionOutcome AddPermission(const Model::AddPermissionRequest& request) const;
228 
251  virtual Model::AddPermissionOutcomeCallable AddPermissionCallable(const Model::AddPermissionRequest& request) const;
252 
275  virtual void AddPermissionAsync(const Model::AddPermissionRequest& request, const AddPermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
276 
309  virtual Model::ChangeMessageVisibilityOutcome ChangeMessageVisibility(const Model::ChangeMessageVisibilityRequest& request) const;
310 
345  virtual Model::ChangeMessageVisibilityOutcomeCallable ChangeMessageVisibilityCallable(const Model::ChangeMessageVisibilityRequest& request) const;
346 
381  virtual void ChangeMessageVisibilityAsync(const Model::ChangeMessageVisibilityRequest& request, const ChangeMessageVisibilityResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
382 
398  virtual Model::ChangeMessageVisibilityBatchOutcome ChangeMessageVisibilityBatch(const Model::ChangeMessageVisibilityBatchRequest& request) const;
399 
417  virtual Model::ChangeMessageVisibilityBatchOutcomeCallable ChangeMessageVisibilityBatchCallable(const Model::ChangeMessageVisibilityBatchRequest& request) const;
418 
436  virtual void ChangeMessageVisibilityBatchAsync(const Model::ChangeMessageVisibilityBatchRequest& request, const ChangeMessageVisibilityBatchResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
437 
458  virtual Model::CreateQueueOutcome CreateQueue(const Model::CreateQueueRequest& request) const;
459 
482  virtual Model::CreateQueueOutcomeCallable CreateQueueCallable(const Model::CreateQueueRequest& request) const;
483 
506  virtual void CreateQueueAsync(const Model::CreateQueueRequest& request, const CreateQueueResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
507 
528  virtual Model::DeleteMessageOutcome DeleteMessage(const Model::DeleteMessageRequest& request) const;
529 
552  virtual Model::DeleteMessageOutcomeCallable DeleteMessageCallable(const Model::DeleteMessageRequest& request) const;
553 
576  virtual void DeleteMessageAsync(const Model::DeleteMessageRequest& request, const DeleteMessageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
577 
591  virtual Model::DeleteMessageBatchOutcome DeleteMessageBatch(const Model::DeleteMessageBatchRequest& request) const;
592 
608  virtual Model::DeleteMessageBatchOutcomeCallable DeleteMessageBatchCallable(const Model::DeleteMessageBatchRequest& request) const;
609 
625  virtual void DeleteMessageBatchAsync(const Model::DeleteMessageBatchRequest& request, const DeleteMessageBatchResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
626 
642  virtual Model::DeleteQueueOutcome DeleteQueue(const Model::DeleteQueueRequest& request) const;
643 
661  virtual Model::DeleteQueueOutcomeCallable DeleteQueueCallable(const Model::DeleteQueueRequest& request) const;
662 
680  virtual void DeleteQueueAsync(const Model::DeleteQueueRequest& request, const DeleteQueueResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
681 
690  virtual Model::GetQueueAttributesOutcome GetQueueAttributes(const Model::GetQueueAttributesRequest& request) const;
691 
702  virtual Model::GetQueueAttributesOutcomeCallable GetQueueAttributesCallable(const Model::GetQueueAttributesRequest& request) const;
703 
714  virtual void GetQueueAttributesAsync(const Model::GetQueueAttributesRequest& request, const GetQueueAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
715 
726  virtual Model::GetQueueUrlOutcome GetQueueUrl(const Model::GetQueueUrlRequest& request) const;
727 
740  virtual Model::GetQueueUrlOutcomeCallable GetQueueUrlCallable(const Model::GetQueueUrlRequest& request) const;
741 
754  virtual void GetQueueUrlAsync(const Model::GetQueueUrlRequest& request, const GetQueueUrlResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
755 
763  virtual Model::ListDeadLetterSourceQueuesOutcome ListDeadLetterSourceQueues(const Model::ListDeadLetterSourceQueuesRequest& request) const;
764 
774  virtual Model::ListDeadLetterSourceQueuesOutcomeCallable ListDeadLetterSourceQueuesCallable(const Model::ListDeadLetterSourceQueuesRequest& request) const;
775 
785  virtual void ListDeadLetterSourceQueuesAsync(const Model::ListDeadLetterSourceQueuesRequest& request, const ListDeadLetterSourceQueuesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
786 
793  virtual Model::ListQueuesOutcome ListQueues(const Model::ListQueuesRequest& request) const;
794 
803  virtual Model::ListQueuesOutcomeCallable ListQueuesCallable(const Model::ListQueuesRequest& request) const;
804 
813  virtual void ListQueuesAsync(const Model::ListQueuesRequest& request, const ListQueuesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
814 
825  virtual Model::PurgeQueueOutcome PurgeQueue(const Model::PurgeQueueRequest& request) const;
826 
839  virtual Model::PurgeQueueOutcomeCallable PurgeQueueCallable(const Model::PurgeQueueRequest& request) const;
840 
853  virtual void PurgeQueueAsync(const Model::PurgeQueueRequest& request, const PurgeQueueResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
854 
889  virtual Model::ReceiveMessageOutcome ReceiveMessage(const Model::ReceiveMessageRequest& request) const;
890 
927  virtual Model::ReceiveMessageOutcomeCallable ReceiveMessageCallable(const Model::ReceiveMessageRequest& request) const;
928 
965  virtual void ReceiveMessageAsync(const Model::ReceiveMessageRequest& request, const ReceiveMessageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
966 
972  virtual Model::RemovePermissionOutcome RemovePermission(const Model::RemovePermissionRequest& request) const;
973 
981  virtual Model::RemovePermissionOutcomeCallable RemovePermissionCallable(const Model::RemovePermissionRequest& request) const;
982 
990  virtual void RemovePermissionAsync(const Model::RemovePermissionRequest& request, const RemovePermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
991 
1005  virtual Model::SendMessageOutcome SendMessage(const Model::SendMessageRequest& request) const;
1006 
1022  virtual Model::SendMessageOutcomeCallable SendMessageCallable(const Model::SendMessageRequest& request) const;
1023 
1039  virtual void SendMessageAsync(const Model::SendMessageRequest& request, const SendMessageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1040 
1064  virtual Model::SendMessageBatchOutcome SendMessageBatch(const Model::SendMessageBatchRequest& request) const;
1065 
1091  virtual Model::SendMessageBatchOutcomeCallable SendMessageBatchCallable(const Model::SendMessageBatchRequest& request) const;
1092 
1118  virtual void SendMessageBatchAsync(const Model::SendMessageBatchRequest& request, const SendMessageBatchResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1119 
1129  virtual Model::SetQueueAttributesOutcome SetQueueAttributes(const Model::SetQueueAttributesRequest& request) const;
1130 
1142  virtual Model::SetQueueAttributesOutcomeCallable SetQueueAttributesCallable(const Model::SetQueueAttributesRequest& request) const;
1143 
1155  virtual void SetQueueAttributesAsync(const Model::SetQueueAttributesRequest& request, const SetQueueAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1156 
1157 
1158  private:
1159  void init(const Client::ClientConfiguration& clientConfiguration);
1160 
1162  void AddPermissionAsyncHelper(const Model::AddPermissionRequest& request, const AddPermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1163  void ChangeMessageVisibilityAsyncHelper(const Model::ChangeMessageVisibilityRequest& request, const ChangeMessageVisibilityResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1164  void ChangeMessageVisibilityBatchAsyncHelper(const Model::ChangeMessageVisibilityBatchRequest& request, const ChangeMessageVisibilityBatchResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1165  void CreateQueueAsyncHelper(const Model::CreateQueueRequest& request, const CreateQueueResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1166  void DeleteMessageAsyncHelper(const Model::DeleteMessageRequest& request, const DeleteMessageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1167  void DeleteMessageBatchAsyncHelper(const Model::DeleteMessageBatchRequest& request, const DeleteMessageBatchResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1168  void DeleteQueueAsyncHelper(const Model::DeleteQueueRequest& request, const DeleteQueueResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1169  void GetQueueAttributesAsyncHelper(const Model::GetQueueAttributesRequest& request, const GetQueueAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1170  void GetQueueUrlAsyncHelper(const Model::GetQueueUrlRequest& request, const GetQueueUrlResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1171  void ListDeadLetterSourceQueuesAsyncHelper(const Model::ListDeadLetterSourceQueuesRequest& request, const ListDeadLetterSourceQueuesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1172  void ListQueuesAsyncHelper(const Model::ListQueuesRequest& request, const ListQueuesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1173  void PurgeQueueAsyncHelper(const Model::PurgeQueueRequest& request, const PurgeQueueResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1174  void ReceiveMessageAsyncHelper(const Model::ReceiveMessageRequest& request, const ReceiveMessageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1175  void RemovePermissionAsyncHelper(const Model::RemovePermissionRequest& request, const RemovePermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1176  void SendMessageAsyncHelper(const Model::SendMessageRequest& request, const SendMessageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1177  void SendMessageBatchAsyncHelper(const Model::SendMessageBatchRequest& request, const SendMessageBatchResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1178  void SetQueueAttributesAsyncHelper(const Model::SetQueueAttributesRequest& request, const SetQueueAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1179 
1180  Aws::String m_uri;
1181  std::shared_ptr<Utils::Threading::Executor> m_executor;
1182  };
1183 
1184 } // namespace SQS
1185 } // namespace Aws
std::future< RemovePermissionOutcome > RemovePermissionOutcomeCallable
Definition: SQSClient.h:128
std::function< void(const SQSClient *, const Model::DeleteMessageRequest &, const Model::DeleteMessageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteMessageResponseReceivedHandler
Definition: SQSClient.h:140
std::future< SetQueueAttributesOutcome > SetQueueAttributesOutcomeCallable
Definition: SQSClient.h:131
std::future< CreateQueueOutcome > CreateQueueOutcomeCallable
Definition: SQSClient.h:118
std::function< void(const SQSClient *, const Model::RemovePermissionRequest &, const Model::RemovePermissionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RemovePermissionResponseReceivedHandler
Definition: SQSClient.h:149
std::function< void(const SQSClient *, const Model::SetQueueAttributesRequest &, const Model::SetQueueAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetQueueAttributesResponseReceivedHandler
Definition: SQSClient.h:152
std::function< void(const SQSClient *, const Model::ChangeMessageVisibilityBatchRequest &, const Model::ChangeMessageVisibilityBatchOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ChangeMessageVisibilityBatchResponseReceivedHandler
Definition: SQSClient.h:138
std::function< void(const SQSClient *, const Model::PurgeQueueRequest &, const Model::PurgeQueueOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PurgeQueueResponseReceivedHandler
Definition: SQSClient.h:147
Aws::Utils::Outcome< ListDeadLetterSourceQueuesResult, Aws::Client::AWSError< SQSErrors > > ListDeadLetterSourceQueuesOutcome
Definition: SQSClient.h:106
std::future< ReceiveMessageOutcome > ReceiveMessageOutcomeCallable
Definition: SQSClient.h:127
std::function< void(const SQSClient *, const Model::SendMessageRequest &, const Model::SendMessageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SendMessageResponseReceivedHandler
Definition: SQSClient.h:150
Aws::Utils::Outcome< GetQueueAttributesResult, Aws::Client::AWSError< SQSErrors > > GetQueueAttributesOutcome
Definition: SQSClient.h:104
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SQSErrors > > AddPermissionOutcome
Definition: SQSClient.h:95
std::function< void(const SQSClient *, const Model::ReceiveMessageRequest &, const Model::ReceiveMessageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ReceiveMessageResponseReceivedHandler
Definition: SQSClient.h:148
Aws::Utils::Outcome< ChangeMessageVisibilityBatchResult, Aws::Client::AWSError< SQSErrors > > ChangeMessageVisibilityBatchOutcome
Definition: SQSClient.h:99
std::function< void(const SQSClient *, const Model::DeleteQueueRequest &, const Model::DeleteQueueOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteQueueResponseReceivedHandler
Definition: SQSClient.h:142
std::future< DeleteMessageBatchOutcome > DeleteMessageBatchOutcomeCallable
Definition: SQSClient.h:120
Aws::Utils::Outcome< SendMessageBatchResult, Aws::Client::AWSError< SQSErrors > > SendMessageBatchOutcome
Definition: SQSClient.h:112
Aws::Utils::Outcome< ListQueuesResult, Aws::Client::AWSError< SQSErrors > > ListQueuesOutcome
Definition: SQSClient.h:107
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SQSErrors > > SetQueueAttributesOutcome
Definition: SQSClient.h:113
std::function< void(const SQSClient *, const Model::AddPermissionRequest &, const Model::AddPermissionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AddPermissionResponseReceivedHandler
Definition: SQSClient.h:134
std::function< void(const SQSClient *, const Model::ListDeadLetterSourceQueuesRequest &, const Model::ListDeadLetterSourceQueuesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDeadLetterSourceQueuesResponseReceivedHandler
Definition: SQSClient.h:145
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SQSErrors > > DeleteMessageOutcome
Definition: SQSClient.h:101
Aws::Utils::Outcome< SendMessageResult, Aws::Client::AWSError< SQSErrors > > SendMessageOutcome
Definition: SQSClient.h:111
Aws::Utils::Outcome< GetQueueUrlResult, Aws::Client::AWSError< SQSErrors > > GetQueueUrlOutcome
Definition: SQSClient.h:105
std::future< DeleteQueueOutcome > DeleteQueueOutcomeCallable
Definition: SQSClient.h:121
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SQSErrors > > PurgeQueueOutcome
Definition: SQSClient.h:108
Aws::Utils::Outcome< ReceiveMessageResult, Aws::Client::AWSError< SQSErrors > > ReceiveMessageOutcome
Definition: SQSClient.h:109
Aws::Utils::Outcome< CreateQueueResult, Aws::Client::AWSError< SQSErrors > > CreateQueueOutcome
Definition: SQSClient.h:100
std::future< SendMessageOutcome > SendMessageOutcomeCallable
Definition: SQSClient.h:129
std::future< ChangeMessageVisibilityOutcome > ChangeMessageVisibilityOutcomeCallable
Definition: SQSClient.h:116
std::future< AddPermissionOutcome > AddPermissionOutcomeCallable
Definition: SQSClient.h:115
std::future< SendMessageBatchOutcome > SendMessageBatchOutcomeCallable
Definition: SQSClient.h:130
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SQSErrors > > RemovePermissionOutcome
Definition: SQSClient.h:110
Aws::Client::AWSXMLClient BASECLASS
Definition: SQSClient.h:184
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SQSErrors > > ChangeMessageVisibilityOutcome
Definition: SQSClient.h:98
std::future< PurgeQueueOutcome > PurgeQueueOutcomeCallable
Definition: SQSClient.h:126
std::function< void(const SQSClient *, const Model::ChangeMessageVisibilityRequest &, const Model::ChangeMessageVisibilityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ChangeMessageVisibilityResponseReceivedHandler
Definition: SQSClient.h:137
std::future< ListQueuesOutcome > ListQueuesOutcomeCallable
Definition: SQSClient.h:125
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
std::future< DeleteMessageOutcome > DeleteMessageOutcomeCallable
Definition: SQSClient.h:119
std::future< GetQueueUrlOutcome > GetQueueUrlOutcomeCallable
Definition: SQSClient.h:123
std::future< GetQueueAttributesOutcome > GetQueueAttributesOutcomeCallable
Definition: SQSClient.h:122
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:37
std::function< void(const SQSClient *, const Model::SendMessageBatchRequest &, const Model::SendMessageBatchOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SendMessageBatchResponseReceivedHandler
Definition: SQSClient.h:151
std::function< void(const SQSClient *, const Model::GetQueueAttributesRequest &, const Model::GetQueueAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetQueueAttributesResponseReceivedHandler
Definition: SQSClient.h:143
std::function< void(const SQSClient *, const Model::CreateQueueRequest &, const Model::CreateQueueOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateQueueResponseReceivedHandler
Definition: SQSClient.h:139
std::future< ListDeadLetterSourceQueuesOutcome > ListDeadLetterSourceQueuesOutcomeCallable
Definition: SQSClient.h:124
Aws::Utils::Outcome< DeleteMessageBatchResult, Aws::Client::AWSError< SQSErrors > > DeleteMessageBatchOutcome
Definition: SQSClient.h:102
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SQSErrors > > DeleteQueueOutcome
Definition: SQSClient.h:103
std::function< void(const SQSClient *, const Model::GetQueueUrlRequest &, const Model::GetQueueUrlOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetQueueUrlResponseReceivedHandler
Definition: SQSClient.h:144
std::function< void(const SQSClient *, const Model::DeleteMessageBatchRequest &, const Model::DeleteMessageBatchOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteMessageBatchResponseReceivedHandler
Definition: SQSClient.h:141
std::function< void(const SQSClient *, const Model::ListQueuesRequest &, const Model::ListQueuesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListQueuesResponseReceivedHandler
Definition: SQSClient.h:146
std::future< ChangeMessageVisibilityBatchOutcome > ChangeMessageVisibilityBatchOutcomeCallable
Definition: SQSClient.h:117
JSON (JavaScript Object Notation).