AWS SDK for C++  0.14.3
AWS SDK for C++
SNSClient.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/sns/SNS_EXPORTS.h>
17 #include <aws/sns/SNSErrors.h>
43 #include <aws/core/NoResult.h>
46 #include <future>
47 #include <functional>
48 
49 namespace Aws
50 {
51 
52 namespace Http
53 {
54  class HttpClient;
55  class HttpClientFactory;
56 } // namespace Http
57 
58 namespace Utils
59 {
60  template< typename R, typename E> class Outcome;
61 
62 namespace Threading
63 {
64  class Executor;
65 } // namespace Threading
66 
67 namespace Xml
68 {
69  class XmlDocument;
70 } // namespace Xml
71 } // namespace Utils
72 
73 namespace Auth
74 {
75  class AWSCredentials;
76  class AWSCredentialsProvider;
77 } // namespace Auth
78 
79 namespace Client
80 {
81  class RetryStrategy;
82 } // namespace Client
83 
84 namespace SNS
85 {
86 
87 namespace Model
88 {
89  class AddPermissionRequest;
90  class CheckIfPhoneNumberIsOptedOutRequest;
91  class ConfirmSubscriptionRequest;
92  class CreatePlatformApplicationRequest;
93  class CreatePlatformEndpointRequest;
94  class CreateTopicRequest;
95  class DeleteEndpointRequest;
96  class DeletePlatformApplicationRequest;
97  class DeleteTopicRequest;
98  class GetEndpointAttributesRequest;
99  class GetPlatformApplicationAttributesRequest;
100  class GetSMSAttributesRequest;
101  class GetSubscriptionAttributesRequest;
102  class GetTopicAttributesRequest;
103  class ListEndpointsByPlatformApplicationRequest;
104  class ListPhoneNumbersOptedOutRequest;
105  class ListPlatformApplicationsRequest;
106  class ListSubscriptionsRequest;
107  class ListSubscriptionsByTopicRequest;
108  class ListTopicsRequest;
109  class OptInPhoneNumberRequest;
110  class PublishRequest;
111  class RemovePermissionRequest;
112  class SetEndpointAttributesRequest;
113  class SetPlatformApplicationAttributesRequest;
114  class SetSMSAttributesRequest;
115  class SetSubscriptionAttributesRequest;
116  class SetTopicAttributesRequest;
117  class SubscribeRequest;
119 
150 
151  typedef std::future<AddPermissionOutcome> AddPermissionOutcomeCallable;
152  typedef std::future<CheckIfPhoneNumberIsOptedOutOutcome> CheckIfPhoneNumberIsOptedOutOutcomeCallable;
153  typedef std::future<ConfirmSubscriptionOutcome> ConfirmSubscriptionOutcomeCallable;
154  typedef std::future<CreatePlatformApplicationOutcome> CreatePlatformApplicationOutcomeCallable;
155  typedef std::future<CreatePlatformEndpointOutcome> CreatePlatformEndpointOutcomeCallable;
156  typedef std::future<CreateTopicOutcome> CreateTopicOutcomeCallable;
157  typedef std::future<DeleteEndpointOutcome> DeleteEndpointOutcomeCallable;
158  typedef std::future<DeletePlatformApplicationOutcome> DeletePlatformApplicationOutcomeCallable;
159  typedef std::future<DeleteTopicOutcome> DeleteTopicOutcomeCallable;
160  typedef std::future<GetEndpointAttributesOutcome> GetEndpointAttributesOutcomeCallable;
161  typedef std::future<GetPlatformApplicationAttributesOutcome> GetPlatformApplicationAttributesOutcomeCallable;
162  typedef std::future<GetSMSAttributesOutcome> GetSMSAttributesOutcomeCallable;
163  typedef std::future<GetSubscriptionAttributesOutcome> GetSubscriptionAttributesOutcomeCallable;
164  typedef std::future<GetTopicAttributesOutcome> GetTopicAttributesOutcomeCallable;
165  typedef std::future<ListEndpointsByPlatformApplicationOutcome> ListEndpointsByPlatformApplicationOutcomeCallable;
166  typedef std::future<ListPhoneNumbersOptedOutOutcome> ListPhoneNumbersOptedOutOutcomeCallable;
167  typedef std::future<ListPlatformApplicationsOutcome> ListPlatformApplicationsOutcomeCallable;
168  typedef std::future<ListSubscriptionsOutcome> ListSubscriptionsOutcomeCallable;
169  typedef std::future<ListSubscriptionsByTopicOutcome> ListSubscriptionsByTopicOutcomeCallable;
170  typedef std::future<ListTopicsOutcome> ListTopicsOutcomeCallable;
171  typedef std::future<OptInPhoneNumberOutcome> OptInPhoneNumberOutcomeCallable;
172  typedef std::future<PublishOutcome> PublishOutcomeCallable;
173  typedef std::future<RemovePermissionOutcome> RemovePermissionOutcomeCallable;
174  typedef std::future<SetEndpointAttributesOutcome> SetEndpointAttributesOutcomeCallable;
175  typedef std::future<SetPlatformApplicationAttributesOutcome> SetPlatformApplicationAttributesOutcomeCallable;
176  typedef std::future<SetSMSAttributesOutcome> SetSMSAttributesOutcomeCallable;
177  typedef std::future<SetSubscriptionAttributesOutcome> SetSubscriptionAttributesOutcomeCallable;
178  typedef std::future<SetTopicAttributesOutcome> SetTopicAttributesOutcomeCallable;
179  typedef std::future<SubscribeOutcome> SubscribeOutcomeCallable;
180  typedef std::future<UnsubscribeOutcome> UnsubscribeOutcomeCallable;
181 } // namespace Model
182 
183  class SNSClient;
184 
185  typedef std::function<void(const SNSClient*, const Model::AddPermissionRequest&, const Model::AddPermissionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AddPermissionResponseReceivedHandler;
186  typedef std::function<void(const SNSClient*, const Model::CheckIfPhoneNumberIsOptedOutRequest&, const Model::CheckIfPhoneNumberIsOptedOutOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CheckIfPhoneNumberIsOptedOutResponseReceivedHandler;
187  typedef std::function<void(const SNSClient*, const Model::ConfirmSubscriptionRequest&, const Model::ConfirmSubscriptionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ConfirmSubscriptionResponseReceivedHandler;
188  typedef std::function<void(const SNSClient*, const Model::CreatePlatformApplicationRequest&, const Model::CreatePlatformApplicationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreatePlatformApplicationResponseReceivedHandler;
189  typedef std::function<void(const SNSClient*, const Model::CreatePlatformEndpointRequest&, const Model::CreatePlatformEndpointOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreatePlatformEndpointResponseReceivedHandler;
190  typedef std::function<void(const SNSClient*, const Model::CreateTopicRequest&, const Model::CreateTopicOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateTopicResponseReceivedHandler;
191  typedef std::function<void(const SNSClient*, const Model::DeleteEndpointRequest&, const Model::DeleteEndpointOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteEndpointResponseReceivedHandler;
192  typedef std::function<void(const SNSClient*, const Model::DeletePlatformApplicationRequest&, const Model::DeletePlatformApplicationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeletePlatformApplicationResponseReceivedHandler;
193  typedef std::function<void(const SNSClient*, const Model::DeleteTopicRequest&, const Model::DeleteTopicOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteTopicResponseReceivedHandler;
194  typedef std::function<void(const SNSClient*, const Model::GetEndpointAttributesRequest&, const Model::GetEndpointAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetEndpointAttributesResponseReceivedHandler;
195  typedef std::function<void(const SNSClient*, const Model::GetPlatformApplicationAttributesRequest&, const Model::GetPlatformApplicationAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetPlatformApplicationAttributesResponseReceivedHandler;
196  typedef std::function<void(const SNSClient*, const Model::GetSMSAttributesRequest&, const Model::GetSMSAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetSMSAttributesResponseReceivedHandler;
197  typedef std::function<void(const SNSClient*, const Model::GetSubscriptionAttributesRequest&, const Model::GetSubscriptionAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetSubscriptionAttributesResponseReceivedHandler;
198  typedef std::function<void(const SNSClient*, const Model::GetTopicAttributesRequest&, const Model::GetTopicAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetTopicAttributesResponseReceivedHandler;
199  typedef std::function<void(const SNSClient*, const Model::ListEndpointsByPlatformApplicationRequest&, const Model::ListEndpointsByPlatformApplicationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListEndpointsByPlatformApplicationResponseReceivedHandler;
200  typedef std::function<void(const SNSClient*, const Model::ListPhoneNumbersOptedOutRequest&, const Model::ListPhoneNumbersOptedOutOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListPhoneNumbersOptedOutResponseReceivedHandler;
201  typedef std::function<void(const SNSClient*, const Model::ListPlatformApplicationsRequest&, const Model::ListPlatformApplicationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListPlatformApplicationsResponseReceivedHandler;
202  typedef std::function<void(const SNSClient*, const Model::ListSubscriptionsRequest&, const Model::ListSubscriptionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListSubscriptionsResponseReceivedHandler;
203  typedef std::function<void(const SNSClient*, const Model::ListSubscriptionsByTopicRequest&, const Model::ListSubscriptionsByTopicOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListSubscriptionsByTopicResponseReceivedHandler;
204  typedef std::function<void(const SNSClient*, const Model::ListTopicsRequest&, const Model::ListTopicsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTopicsResponseReceivedHandler;
205  typedef std::function<void(const SNSClient*, const Model::OptInPhoneNumberRequest&, const Model::OptInPhoneNumberOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > OptInPhoneNumberResponseReceivedHandler;
206  typedef std::function<void(const SNSClient*, const Model::PublishRequest&, const Model::PublishOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PublishResponseReceivedHandler;
207  typedef std::function<void(const SNSClient*, const Model::RemovePermissionRequest&, const Model::RemovePermissionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RemovePermissionResponseReceivedHandler;
208  typedef std::function<void(const SNSClient*, const Model::SetEndpointAttributesRequest&, const Model::SetEndpointAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetEndpointAttributesResponseReceivedHandler;
209  typedef std::function<void(const SNSClient*, const Model::SetPlatformApplicationAttributesRequest&, const Model::SetPlatformApplicationAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetPlatformApplicationAttributesResponseReceivedHandler;
210  typedef std::function<void(const SNSClient*, const Model::SetSMSAttributesRequest&, const Model::SetSMSAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetSMSAttributesResponseReceivedHandler;
211  typedef std::function<void(const SNSClient*, const Model::SetSubscriptionAttributesRequest&, const Model::SetSubscriptionAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetSubscriptionAttributesResponseReceivedHandler;
212  typedef std::function<void(const SNSClient*, const Model::SetTopicAttributesRequest&, const Model::SetTopicAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetTopicAttributesResponseReceivedHandler;
213  typedef std::function<void(const SNSClient*, const Model::SubscribeRequest&, const Model::SubscribeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SubscribeResponseReceivedHandler;
214  typedef std::function<void(const SNSClient*, const Model::UnsubscribeRequest&, const Model::UnsubscribeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UnsubscribeResponseReceivedHandler;
215 
233  {
234  public:
236 
241  SNSClient(const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
242 
247  SNSClient(const Auth::AWSCredentials& credentials, const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
248 
253  SNSClient(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
254  const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
255 
256  virtual ~SNSClient();
257 
262  virtual Model::AddPermissionOutcome AddPermission(const Model::AddPermissionRequest& request) const;
263 
270  virtual Model::AddPermissionOutcomeCallable AddPermissionCallable(const Model::AddPermissionRequest& request) const;
271 
278  virtual void AddPermissionAsync(const Model::AddPermissionRequest& request, const AddPermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
279 
286  virtual Model::CheckIfPhoneNumberIsOptedOutOutcome CheckIfPhoneNumberIsOptedOut(const Model::CheckIfPhoneNumberIsOptedOutRequest& request) const;
287 
296  virtual Model::CheckIfPhoneNumberIsOptedOutOutcomeCallable CheckIfPhoneNumberIsOptedOutCallable(const Model::CheckIfPhoneNumberIsOptedOutRequest& request) const;
297 
306  virtual void CheckIfPhoneNumberIsOptedOutAsync(const Model::CheckIfPhoneNumberIsOptedOutRequest& request, const CheckIfPhoneNumberIsOptedOutResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
307 
315  virtual Model::ConfirmSubscriptionOutcome ConfirmSubscription(const Model::ConfirmSubscriptionRequest& request) const;
316 
326  virtual Model::ConfirmSubscriptionOutcomeCallable ConfirmSubscriptionCallable(const Model::ConfirmSubscriptionRequest& request) const;
327 
337  virtual void ConfirmSubscriptionAsync(const Model::ConfirmSubscriptionRequest& request, const ConfirmSubscriptionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
338 
374  virtual Model::CreatePlatformApplicationOutcome CreatePlatformApplication(const Model::CreatePlatformApplicationRequest& request) const;
375 
413  virtual Model::CreatePlatformApplicationOutcomeCallable CreatePlatformApplicationCallable(const Model::CreatePlatformApplicationRequest& request) const;
414 
452  virtual void CreatePlatformApplicationAsync(const Model::CreatePlatformApplicationRequest& request, const CreatePlatformApplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
453 
474  virtual Model::CreatePlatformEndpointOutcome CreatePlatformEndpoint(const Model::CreatePlatformEndpointRequest& request) const;
475 
498  virtual Model::CreatePlatformEndpointOutcomeCallable CreatePlatformEndpointCallable(const Model::CreatePlatformEndpointRequest& request) const;
499 
522  virtual void CreatePlatformEndpointAsync(const Model::CreatePlatformEndpointRequest& request, const CreatePlatformEndpointResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
523 
531  virtual Model::CreateTopicOutcome CreateTopic(const Model::CreateTopicRequest& request) const;
532 
542  virtual Model::CreateTopicOutcomeCallable CreateTopicCallable(const Model::CreateTopicRequest& request) const;
543 
553  virtual void CreateTopicAsync(const Model::CreateTopicRequest& request, const CreateTopicResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
554 
563  virtual Model::DeleteEndpointOutcome DeleteEndpoint(const Model::DeleteEndpointRequest& request) const;
564 
575  virtual Model::DeleteEndpointOutcomeCallable DeleteEndpointCallable(const Model::DeleteEndpointRequest& request) const;
576 
587  virtual void DeleteEndpointAsync(const Model::DeleteEndpointRequest& request, const DeleteEndpointResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
588 
595  virtual Model::DeletePlatformApplicationOutcome DeletePlatformApplication(const Model::DeletePlatformApplicationRequest& request) const;
596 
605  virtual Model::DeletePlatformApplicationOutcomeCallable DeletePlatformApplicationCallable(const Model::DeletePlatformApplicationRequest& request) const;
606 
615  virtual void DeletePlatformApplicationAsync(const Model::DeletePlatformApplicationRequest& request, const DeletePlatformApplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
616 
623  virtual Model::DeleteTopicOutcome DeleteTopic(const Model::DeleteTopicRequest& request) const;
624 
633  virtual Model::DeleteTopicOutcomeCallable DeleteTopicCallable(const Model::DeleteTopicRequest& request) const;
634 
643  virtual void DeleteTopicAsync(const Model::DeleteTopicRequest& request, const DeleteTopicResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
644 
651  virtual Model::GetEndpointAttributesOutcome GetEndpointAttributes(const Model::GetEndpointAttributesRequest& request) const;
652 
661  virtual Model::GetEndpointAttributesOutcomeCallable GetEndpointAttributesCallable(const Model::GetEndpointAttributesRequest& request) const;
662 
671  virtual void GetEndpointAttributesAsync(const Model::GetEndpointAttributesRequest& request, const GetEndpointAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
672 
679  virtual Model::GetPlatformApplicationAttributesOutcome GetPlatformApplicationAttributes(const Model::GetPlatformApplicationAttributesRequest& request) const;
680 
689  virtual Model::GetPlatformApplicationAttributesOutcomeCallable GetPlatformApplicationAttributesCallable(const Model::GetPlatformApplicationAttributesRequest& request) const;
690 
699  virtual void GetPlatformApplicationAttributesAsync(const Model::GetPlatformApplicationAttributesRequest& request, const GetPlatformApplicationAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
700 
705  virtual Model::GetSMSAttributesOutcome GetSMSAttributes(const Model::GetSMSAttributesRequest& request) const;
706 
713  virtual Model::GetSMSAttributesOutcomeCallable GetSMSAttributesCallable(const Model::GetSMSAttributesRequest& request) const;
714 
721  virtual void GetSMSAttributesAsync(const Model::GetSMSAttributesRequest& request, const GetSMSAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
722 
726  virtual Model::GetSubscriptionAttributesOutcome GetSubscriptionAttributes(const Model::GetSubscriptionAttributesRequest& request) const;
727 
733  virtual Model::GetSubscriptionAttributesOutcomeCallable GetSubscriptionAttributesCallable(const Model::GetSubscriptionAttributesRequest& request) const;
734 
740  virtual void GetSubscriptionAttributesAsync(const Model::GetSubscriptionAttributesRequest& request, const GetSubscriptionAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
741 
746  virtual Model::GetTopicAttributesOutcome GetTopicAttributes(const Model::GetTopicAttributesRequest& request) const;
747 
754  virtual Model::GetTopicAttributesOutcomeCallable GetTopicAttributesCallable(const Model::GetTopicAttributesRequest& request) const;
755 
762  virtual void GetTopicAttributesAsync(const Model::GetTopicAttributesRequest& request, const GetTopicAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
763 
776  virtual Model::ListEndpointsByPlatformApplicationOutcome ListEndpointsByPlatformApplication(const Model::ListEndpointsByPlatformApplicationRequest& request) const;
777 
792  virtual Model::ListEndpointsByPlatformApplicationOutcomeCallable ListEndpointsByPlatformApplicationCallable(const Model::ListEndpointsByPlatformApplicationRequest& request) const;
793 
808  virtual void ListEndpointsByPlatformApplicationAsync(const Model::ListEndpointsByPlatformApplicationRequest& request, const ListEndpointsByPlatformApplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
809 
820  virtual Model::ListPhoneNumbersOptedOutOutcome ListPhoneNumbersOptedOut(const Model::ListPhoneNumbersOptedOutRequest& request) const;
821 
834  virtual Model::ListPhoneNumbersOptedOutOutcomeCallable ListPhoneNumbersOptedOutCallable(const Model::ListPhoneNumbersOptedOutRequest& request) const;
835 
848  virtual void ListPhoneNumbersOptedOutAsync(const Model::ListPhoneNumbersOptedOutRequest& request, const ListPhoneNumbersOptedOutResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
849 
862  virtual Model::ListPlatformApplicationsOutcome ListPlatformApplications(const Model::ListPlatformApplicationsRequest& request) const;
863 
878  virtual Model::ListPlatformApplicationsOutcomeCallable ListPlatformApplicationsCallable(const Model::ListPlatformApplicationsRequest& request) const;
879 
894  virtual void ListPlatformApplicationsAsync(const Model::ListPlatformApplicationsRequest& request, const ListPlatformApplicationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
895 
903  virtual Model::ListSubscriptionsOutcome ListSubscriptions(const Model::ListSubscriptionsRequest& request) const;
904 
914  virtual Model::ListSubscriptionsOutcomeCallable ListSubscriptionsCallable(const Model::ListSubscriptionsRequest& request) const;
915 
925  virtual void ListSubscriptionsAsync(const Model::ListSubscriptionsRequest& request, const ListSubscriptionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
926 
934  virtual Model::ListSubscriptionsByTopicOutcome ListSubscriptionsByTopic(const Model::ListSubscriptionsByTopicRequest& request) const;
935 
945  virtual Model::ListSubscriptionsByTopicOutcomeCallable ListSubscriptionsByTopicCallable(const Model::ListSubscriptionsByTopicRequest& request) const;
946 
956  virtual void ListSubscriptionsByTopicAsync(const Model::ListSubscriptionsByTopicRequest& request, const ListSubscriptionsByTopicResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
957 
964  virtual Model::ListTopicsOutcome ListTopics(const Model::ListTopicsRequest& request) const;
965 
974  virtual Model::ListTopicsOutcomeCallable ListTopicsCallable(const Model::ListTopicsRequest& request) const;
975 
984  virtual void ListTopicsAsync(const Model::ListTopicsRequest& request, const ListTopicsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
985 
991  virtual Model::OptInPhoneNumberOutcome OptInPhoneNumber(const Model::OptInPhoneNumberRequest& request) const;
992 
1000  virtual Model::OptInPhoneNumberOutcomeCallable OptInPhoneNumberCallable(const Model::OptInPhoneNumberRequest& request) const;
1001 
1009  virtual void OptInPhoneNumberAsync(const Model::OptInPhoneNumberRequest& request, const OptInPhoneNumberResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1010 
1025  virtual Model::PublishOutcome Publish(const Model::PublishRequest& request) const;
1026 
1043  virtual Model::PublishOutcomeCallable PublishCallable(const Model::PublishRequest& request) const;
1044 
1061  virtual void PublishAsync(const Model::PublishRequest& request, const PublishResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1062 
1066  virtual Model::RemovePermissionOutcome RemovePermission(const Model::RemovePermissionRequest& request) const;
1067 
1073  virtual Model::RemovePermissionOutcomeCallable RemovePermissionCallable(const Model::RemovePermissionRequest& request) const;
1074 
1080  virtual void RemovePermissionAsync(const Model::RemovePermissionRequest& request, const RemovePermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1081 
1088  virtual Model::SetEndpointAttributesOutcome SetEndpointAttributes(const Model::SetEndpointAttributesRequest& request) const;
1089 
1098  virtual Model::SetEndpointAttributesOutcomeCallable SetEndpointAttributesCallable(const Model::SetEndpointAttributesRequest& request) const;
1099 
1108  virtual void SetEndpointAttributesAsync(const Model::SetEndpointAttributesRequest& request, const SetEndpointAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1109 
1119  virtual Model::SetPlatformApplicationAttributesOutcome SetPlatformApplicationAttributes(const Model::SetPlatformApplicationAttributesRequest& request) const;
1120 
1132  virtual Model::SetPlatformApplicationAttributesOutcomeCallable SetPlatformApplicationAttributesCallable(const Model::SetPlatformApplicationAttributesRequest& request) const;
1133 
1145  virtual void SetPlatformApplicationAttributesAsync(const Model::SetPlatformApplicationAttributesRequest& request, const SetPlatformApplicationAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1146 
1156  virtual Model::SetSMSAttributesOutcome SetSMSAttributes(const Model::SetSMSAttributesRequest& request) const;
1157 
1169  virtual Model::SetSMSAttributesOutcomeCallable SetSMSAttributesCallable(const Model::SetSMSAttributesRequest& request) const;
1170 
1182  virtual void SetSMSAttributesAsync(const Model::SetSMSAttributesRequest& request, const SetSMSAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1183 
1188  virtual Model::SetSubscriptionAttributesOutcome SetSubscriptionAttributes(const Model::SetSubscriptionAttributesRequest& request) const;
1189 
1196  virtual Model::SetSubscriptionAttributesOutcomeCallable SetSubscriptionAttributesCallable(const Model::SetSubscriptionAttributesRequest& request) const;
1197 
1204  virtual void SetSubscriptionAttributesAsync(const Model::SetSubscriptionAttributesRequest& request, const SetSubscriptionAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1205 
1209  virtual Model::SetTopicAttributesOutcome SetTopicAttributes(const Model::SetTopicAttributesRequest& request) const;
1210 
1216  virtual Model::SetTopicAttributesOutcomeCallable SetTopicAttributesCallable(const Model::SetTopicAttributesRequest& request) const;
1217 
1223  virtual void SetTopicAttributesAsync(const Model::SetTopicAttributesRequest& request, const SetTopicAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1224 
1231  virtual Model::SubscribeOutcome Subscribe(const Model::SubscribeRequest& request) const;
1232 
1241  virtual Model::SubscribeOutcomeCallable SubscribeCallable(const Model::SubscribeRequest& request) const;
1242 
1251  virtual void SubscribeAsync(const Model::SubscribeRequest& request, const SubscribeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1252 
1262  virtual Model::UnsubscribeOutcome Unsubscribe(const Model::UnsubscribeRequest& request) const;
1263 
1275  virtual Model::UnsubscribeOutcomeCallable UnsubscribeCallable(const Model::UnsubscribeRequest& request) const;
1276 
1288  virtual void UnsubscribeAsync(const Model::UnsubscribeRequest& request, const UnsubscribeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1289 
1290 
1291  private:
1292  void init(const Client::ClientConfiguration& clientConfiguration);
1293 
1295  void AddPermissionAsyncHelper(const Model::AddPermissionRequest& request, const AddPermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1296  void CheckIfPhoneNumberIsOptedOutAsyncHelper(const Model::CheckIfPhoneNumberIsOptedOutRequest& request, const CheckIfPhoneNumberIsOptedOutResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1297  void ConfirmSubscriptionAsyncHelper(const Model::ConfirmSubscriptionRequest& request, const ConfirmSubscriptionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1298  void CreatePlatformApplicationAsyncHelper(const Model::CreatePlatformApplicationRequest& request, const CreatePlatformApplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1299  void CreatePlatformEndpointAsyncHelper(const Model::CreatePlatformEndpointRequest& request, const CreatePlatformEndpointResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1300  void CreateTopicAsyncHelper(const Model::CreateTopicRequest& request, const CreateTopicResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1301  void DeleteEndpointAsyncHelper(const Model::DeleteEndpointRequest& request, const DeleteEndpointResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1302  void DeletePlatformApplicationAsyncHelper(const Model::DeletePlatformApplicationRequest& request, const DeletePlatformApplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1303  void DeleteTopicAsyncHelper(const Model::DeleteTopicRequest& request, const DeleteTopicResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1304  void GetEndpointAttributesAsyncHelper(const Model::GetEndpointAttributesRequest& request, const GetEndpointAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1305  void GetPlatformApplicationAttributesAsyncHelper(const Model::GetPlatformApplicationAttributesRequest& request, const GetPlatformApplicationAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1306  void GetSMSAttributesAsyncHelper(const Model::GetSMSAttributesRequest& request, const GetSMSAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1307  void GetSubscriptionAttributesAsyncHelper(const Model::GetSubscriptionAttributesRequest& request, const GetSubscriptionAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1308  void GetTopicAttributesAsyncHelper(const Model::GetTopicAttributesRequest& request, const GetTopicAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1309  void ListEndpointsByPlatformApplicationAsyncHelper(const Model::ListEndpointsByPlatformApplicationRequest& request, const ListEndpointsByPlatformApplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1310  void ListPhoneNumbersOptedOutAsyncHelper(const Model::ListPhoneNumbersOptedOutRequest& request, const ListPhoneNumbersOptedOutResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1311  void ListPlatformApplicationsAsyncHelper(const Model::ListPlatformApplicationsRequest& request, const ListPlatformApplicationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1312  void ListSubscriptionsAsyncHelper(const Model::ListSubscriptionsRequest& request, const ListSubscriptionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1313  void ListSubscriptionsByTopicAsyncHelper(const Model::ListSubscriptionsByTopicRequest& request, const ListSubscriptionsByTopicResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1314  void ListTopicsAsyncHelper(const Model::ListTopicsRequest& request, const ListTopicsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1315  void OptInPhoneNumberAsyncHelper(const Model::OptInPhoneNumberRequest& request, const OptInPhoneNumberResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1316  void PublishAsyncHelper(const Model::PublishRequest& request, const PublishResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1317  void RemovePermissionAsyncHelper(const Model::RemovePermissionRequest& request, const RemovePermissionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1318  void SetEndpointAttributesAsyncHelper(const Model::SetEndpointAttributesRequest& request, const SetEndpointAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1319  void SetPlatformApplicationAttributesAsyncHelper(const Model::SetPlatformApplicationAttributesRequest& request, const SetPlatformApplicationAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1320  void SetSMSAttributesAsyncHelper(const Model::SetSMSAttributesRequest& request, const SetSMSAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1321  void SetSubscriptionAttributesAsyncHelper(const Model::SetSubscriptionAttributesRequest& request, const SetSubscriptionAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1322  void SetTopicAttributesAsyncHelper(const Model::SetTopicAttributesRequest& request, const SetTopicAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1323  void SubscribeAsyncHelper(const Model::SubscribeRequest& request, const SubscribeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1324  void UnsubscribeAsyncHelper(const Model::UnsubscribeRequest& request, const UnsubscribeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1325 
1326  Aws::String m_uri;
1327  std::shared_ptr<Utils::Threading::Executor> m_executor;
1328  };
1329 
1330 } // namespace SNS
1331 } // namespace Aws
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > UnsubscribeOutcome
Definition: SNSClient.h:149
std::function< void(const SNSClient *, const Model::ListPlatformApplicationsRequest &, const Model::ListPlatformApplicationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListPlatformApplicationsResponseReceivedHandler
Definition: SNSClient.h:201
std::future< UnsubscribeOutcome > UnsubscribeOutcomeCallable
Definition: SNSClient.h:180
std::function< void(const SNSClient *, const Model::GetSubscriptionAttributesRequest &, const Model::GetSubscriptionAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSubscriptionAttributesResponseReceivedHandler
Definition: SNSClient.h:197
std::function< void(const SNSClient *, const Model::SetSubscriptionAttributesRequest &, const Model::SetSubscriptionAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetSubscriptionAttributesResponseReceivedHandler
Definition: SNSClient.h:211
std::future< GetEndpointAttributesOutcome > GetEndpointAttributesOutcomeCallable
Definition: SNSClient.h:160
Aws::Utils::Outcome< ConfirmSubscriptionResult, Aws::Client::AWSError< SNSErrors > > ConfirmSubscriptionOutcome
Definition: SNSClient.h:122
Aws::Utils::Outcome< OptInPhoneNumberResult, Aws::Client::AWSError< SNSErrors > > OptInPhoneNumberOutcome
Definition: SNSClient.h:140
std::future< CheckIfPhoneNumberIsOptedOutOutcome > CheckIfPhoneNumberIsOptedOutOutcomeCallable
Definition: SNSClient.h:152
std::future< GetSMSAttributesOutcome > GetSMSAttributesOutcomeCallable
Definition: SNSClient.h:162
Aws::Utils::Outcome< GetPlatformApplicationAttributesResult, Aws::Client::AWSError< SNSErrors > > GetPlatformApplicationAttributesOutcome
Definition: SNSClient.h:130
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > SetSubscriptionAttributesOutcome
Definition: SNSClient.h:146
Aws::Utils::Outcome< GetSubscriptionAttributesResult, Aws::Client::AWSError< SNSErrors > > GetSubscriptionAttributesOutcome
Definition: SNSClient.h:132
Aws::Utils::Outcome< GetEndpointAttributesResult, Aws::Client::AWSError< SNSErrors > > GetEndpointAttributesOutcome
Definition: SNSClient.h:129
std::function< void(const SNSClient *, const Model::ListEndpointsByPlatformApplicationRequest &, const Model::ListEndpointsByPlatformApplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListEndpointsByPlatformApplicationResponseReceivedHandler
Definition: SNSClient.h:199
std::function< void(const SNSClient *, const Model::CreatePlatformApplicationRequest &, const Model::CreatePlatformApplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreatePlatformApplicationResponseReceivedHandler
Definition: SNSClient.h:188
std::function< void(const SNSClient *, const Model::ListTopicsRequest &, const Model::ListTopicsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTopicsResponseReceivedHandler
Definition: SNSClient.h:204
std::future< CreatePlatformEndpointOutcome > CreatePlatformEndpointOutcomeCallable
Definition: SNSClient.h:155
std::function< void(const SNSClient *, const Model::SetEndpointAttributesRequest &, const Model::SetEndpointAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetEndpointAttributesResponseReceivedHandler
Definition: SNSClient.h:208
std::function< void(const SNSClient *, const Model::CreatePlatformEndpointRequest &, const Model::CreatePlatformEndpointOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreatePlatformEndpointResponseReceivedHandler
Definition: SNSClient.h:189
std::function< void(const SNSClient *, const Model::CheckIfPhoneNumberIsOptedOutRequest &, const Model::CheckIfPhoneNumberIsOptedOutOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CheckIfPhoneNumberIsOptedOutResponseReceivedHandler
Definition: SNSClient.h:186
std::future< PublishOutcome > PublishOutcomeCallable
Definition: SNSClient.h:172
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > SetPlatformApplicationAttributesOutcome
Definition: SNSClient.h:144
std::function< void(const SNSClient *, const Model::OptInPhoneNumberRequest &, const Model::OptInPhoneNumberOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > OptInPhoneNumberResponseReceivedHandler
Definition: SNSClient.h:205
std::function< void(const SNSClient *, const Model::GetTopicAttributesRequest &, const Model::GetTopicAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetTopicAttributesResponseReceivedHandler
Definition: SNSClient.h:198
std::future< GetSubscriptionAttributesOutcome > GetSubscriptionAttributesOutcomeCallable
Definition: SNSClient.h:163
std::function< void(const SNSClient *, const Model::GetPlatformApplicationAttributesRequest &, const Model::GetPlatformApplicationAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetPlatformApplicationAttributesResponseReceivedHandler
Definition: SNSClient.h:195
Aws::Utils::Outcome< ListSubscriptionsByTopicResult, Aws::Client::AWSError< SNSErrors > > ListSubscriptionsByTopicOutcome
Definition: SNSClient.h:138
std::future< CreateTopicOutcome > CreateTopicOutcomeCallable
Definition: SNSClient.h:156
std::future< SubscribeOutcome > SubscribeOutcomeCallable
Definition: SNSClient.h:179
std::function< void(const SNSClient *, const Model::UnsubscribeRequest &, const Model::UnsubscribeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UnsubscribeResponseReceivedHandler
Definition: SNSClient.h:214
std::future< SetSubscriptionAttributesOutcome > SetSubscriptionAttributesOutcomeCallable
Definition: SNSClient.h:177
std::function< void(const SNSClient *, const Model::DeleteTopicRequest &, const Model::DeleteTopicOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteTopicResponseReceivedHandler
Definition: SNSClient.h:193
std::future< ListTopicsOutcome > ListTopicsOutcomeCallable
Definition: SNSClient.h:170
Aws::Utils::Outcome< CreatePlatformApplicationResult, Aws::Client::AWSError< SNSErrors > > CreatePlatformApplicationOutcome
Definition: SNSClient.h:123
std::function< void(const SNSClient *, const Model::SetTopicAttributesRequest &, const Model::SetTopicAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetTopicAttributesResponseReceivedHandler
Definition: SNSClient.h:212
std::future< SetTopicAttributesOutcome > SetTopicAttributesOutcomeCallable
Definition: SNSClient.h:178
Aws::Utils::Outcome< CreatePlatformEndpointResult, Aws::Client::AWSError< SNSErrors > > CreatePlatformEndpointOutcome
Definition: SNSClient.h:124
Aws::Utils::Outcome< ListPhoneNumbersOptedOutResult, Aws::Client::AWSError< SNSErrors > > ListPhoneNumbersOptedOutOutcome
Definition: SNSClient.h:135
std::function< void(const SNSClient *, const Model::GetSMSAttributesRequest &, const Model::GetSMSAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSMSAttributesResponseReceivedHandler
Definition: SNSClient.h:196
Aws::Utils::Outcome< ListEndpointsByPlatformApplicationResult, Aws::Client::AWSError< SNSErrors > > ListEndpointsByPlatformApplicationOutcome
Definition: SNSClient.h:134
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > SetEndpointAttributesOutcome
Definition: SNSClient.h:143
Aws::Utils::Outcome< SubscribeResult, Aws::Client::AWSError< SNSErrors > > SubscribeOutcome
Definition: SNSClient.h:148
std::future< GetTopicAttributesOutcome > GetTopicAttributesOutcomeCallable
Definition: SNSClient.h:164
std::function< void(const SNSClient *, const Model::SetPlatformApplicationAttributesRequest &, const Model::SetPlatformApplicationAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetPlatformApplicationAttributesResponseReceivedHandler
Definition: SNSClient.h:209
std::future< ListPhoneNumbersOptedOutOutcome > ListPhoneNumbersOptedOutOutcomeCallable
Definition: SNSClient.h:166
Aws::Utils::Outcome< SetSMSAttributesResult, Aws::Client::AWSError< SNSErrors > > SetSMSAttributesOutcome
Definition: SNSClient.h:145
Aws::Utils::Outcome< CheckIfPhoneNumberIsOptedOutResult, Aws::Client::AWSError< SNSErrors > > CheckIfPhoneNumberIsOptedOutOutcome
Definition: SNSClient.h:121
std::future< ListSubscriptionsOutcome > ListSubscriptionsOutcomeCallable
Definition: SNSClient.h:168
std::future< AddPermissionOutcome > AddPermissionOutcomeCallable
Definition: SNSClient.h:151
std::function< void(const SNSClient *, const Model::ListSubscriptionsRequest &, const Model::ListSubscriptionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSubscriptionsResponseReceivedHandler
Definition: SNSClient.h:202
std::function< void(const SNSClient *, const Model::AddPermissionRequest &, const Model::AddPermissionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AddPermissionResponseReceivedHandler
Definition: SNSClient.h:183
std::future< DeleteTopicOutcome > DeleteTopicOutcomeCallable
Definition: SNSClient.h:159
Aws::Utils::Outcome< GetSMSAttributesResult, Aws::Client::AWSError< SNSErrors > > GetSMSAttributesOutcome
Definition: SNSClient.h:131
Aws::Utils::Outcome< PublishResult, Aws::Client::AWSError< SNSErrors > > PublishOutcome
Definition: SNSClient.h:141
std::function< void(const SNSClient *, const Model::CreateTopicRequest &, const Model::CreateTopicOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateTopicResponseReceivedHandler
Definition: SNSClient.h:190
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > DeletePlatformApplicationOutcome
Definition: SNSClient.h:127
std::function< void(const SNSClient *, const Model::DeletePlatformApplicationRequest &, const Model::DeletePlatformApplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeletePlatformApplicationResponseReceivedHandler
Definition: SNSClient.h:192
std::function< void(const SNSClient *, const Model::DeleteEndpointRequest &, const Model::DeleteEndpointOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteEndpointResponseReceivedHandler
Definition: SNSClient.h:191
Aws::Client::AWSXMLClient BASECLASS
Definition: SNSClient.h:235
std::future< ListSubscriptionsByTopicOutcome > ListSubscriptionsByTopicOutcomeCallable
Definition: SNSClient.h:169
std::function< void(const SNSClient *, const Model::SubscribeRequest &, const Model::SubscribeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SubscribeResponseReceivedHandler
Definition: SNSClient.h:213
Aws::Utils::Outcome< CreateTopicResult, Aws::Client::AWSError< SNSErrors > > CreateTopicOutcome
Definition: SNSClient.h:125
Aws::Utils::Outcome< ListTopicsResult, Aws::Client::AWSError< SNSErrors > > ListTopicsOutcome
Definition: SNSClient.h:139
Aws::Utils::Outcome< ListPlatformApplicationsResult, Aws::Client::AWSError< SNSErrors > > ListPlatformApplicationsOutcome
Definition: SNSClient.h:136
std::future< ConfirmSubscriptionOutcome > ConfirmSubscriptionOutcomeCallable
Definition: SNSClient.h:153
std::function< void(const SNSClient *, const Model::RemovePermissionRequest &, const Model::RemovePermissionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RemovePermissionResponseReceivedHandler
Definition: SNSClient.h:207
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > SetTopicAttributesOutcome
Definition: SNSClient.h:147
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > DeleteTopicOutcome
Definition: SNSClient.h:128
std::future< CreatePlatformApplicationOutcome > CreatePlatformApplicationOutcomeCallable
Definition: SNSClient.h:154
std::future< RemovePermissionOutcome > RemovePermissionOutcomeCallable
Definition: SNSClient.h:173
std::function< void(const SNSClient *, const Model::ListSubscriptionsByTopicRequest &, const Model::ListSubscriptionsByTopicOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSubscriptionsByTopicResponseReceivedHandler
Definition: SNSClient.h:203
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
std::future< SetSMSAttributesOutcome > SetSMSAttributesOutcomeCallable
Definition: SNSClient.h:176
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:37
std::future< DeleteEndpointOutcome > DeleteEndpointOutcomeCallable
Definition: SNSClient.h:157
std::future< GetPlatformApplicationAttributesOutcome > GetPlatformApplicationAttributesOutcomeCallable
Definition: SNSClient.h:161
std::future< DeletePlatformApplicationOutcome > DeletePlatformApplicationOutcomeCallable
Definition: SNSClient.h:158
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > AddPermissionOutcome
Definition: SNSClient.h:118
std::future< SetEndpointAttributesOutcome > SetEndpointAttributesOutcomeCallable
Definition: SNSClient.h:174
std::future< SetPlatformApplicationAttributesOutcome > SetPlatformApplicationAttributesOutcomeCallable
Definition: SNSClient.h:175
std::future< ListPlatformApplicationsOutcome > ListPlatformApplicationsOutcomeCallable
Definition: SNSClient.h:167
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > RemovePermissionOutcome
Definition: SNSClient.h:142
Aws::Utils::Outcome< ListSubscriptionsResult, Aws::Client::AWSError< SNSErrors > > ListSubscriptionsOutcome
Definition: SNSClient.h:137
std::function< void(const SNSClient *, const Model::SetSMSAttributesRequest &, const Model::SetSMSAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetSMSAttributesResponseReceivedHandler
Definition: SNSClient.h:210
Aws::Utils::Outcome< GetTopicAttributesResult, Aws::Client::AWSError< SNSErrors > > GetTopicAttributesOutcome
Definition: SNSClient.h:133
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > DeleteEndpointOutcome
Definition: SNSClient.h:126
std::function< void(const SNSClient *, const Model::GetEndpointAttributesRequest &, const Model::GetEndpointAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetEndpointAttributesResponseReceivedHandler
Definition: SNSClient.h:194
std::future< OptInPhoneNumberOutcome > OptInPhoneNumberOutcomeCallable
Definition: SNSClient.h:171
std::function< void(const SNSClient *, const Model::PublishRequest &, const Model::PublishOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PublishResponseReceivedHandler
Definition: SNSClient.h:206
std::function< void(const SNSClient *, const Model::ListPhoneNumbersOptedOutRequest &, const Model::ListPhoneNumbersOptedOutOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListPhoneNumbersOptedOutResponseReceivedHandler
Definition: SNSClient.h:200
JSON (JavaScript Object Notation).
std::function< void(const SNSClient *, const Model::ConfirmSubscriptionRequest &, const Model::ConfirmSubscriptionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ConfirmSubscriptionResponseReceivedHandler
Definition: SNSClient.h:187
std::future< ListEndpointsByPlatformApplicationOutcome > ListEndpointsByPlatformApplicationOutcomeCallable
Definition: SNSClient.h:165