AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SocialMessagingServiceClientModel.h
1
6#pragma once
7
8/* Generic header includes */
9#include <aws/socialmessaging/SocialMessagingErrors.h>
10#include <aws/core/client/GenericClientConfiguration.h>
11#include <aws/core/client/AWSError.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/client/AsyncCallerContext.h>
14#include <aws/core/http/HttpTypes.h>
15#include <aws/socialmessaging/SocialMessagingEndpointProvider.h>
16#include <future>
17#include <functional>
18/* End of generic header includes */
19
20/* Service model headers required in SocialMessagingClient header */
21#include <aws/socialmessaging/model/AssociateWhatsAppBusinessAccountResult.h>
22#include <aws/socialmessaging/model/DeleteWhatsAppMessageMediaResult.h>
23#include <aws/socialmessaging/model/DisassociateWhatsAppBusinessAccountResult.h>
24#include <aws/socialmessaging/model/GetLinkedWhatsAppBusinessAccountResult.h>
25#include <aws/socialmessaging/model/GetLinkedWhatsAppBusinessAccountPhoneNumberResult.h>
26#include <aws/socialmessaging/model/GetWhatsAppMessageMediaResult.h>
27#include <aws/socialmessaging/model/ListLinkedWhatsAppBusinessAccountsResult.h>
28#include <aws/socialmessaging/model/ListTagsForResourceResult.h>
29#include <aws/socialmessaging/model/PostWhatsAppMessageMediaResult.h>
30#include <aws/socialmessaging/model/PutWhatsAppBusinessAccountEventDestinationsResult.h>
31#include <aws/socialmessaging/model/SendWhatsAppMessageResult.h>
32#include <aws/socialmessaging/model/TagResourceResult.h>
33#include <aws/socialmessaging/model/UntagResourceResult.h>
34#include <aws/socialmessaging/model/AssociateWhatsAppBusinessAccountRequest.h>
35#include <aws/socialmessaging/model/ListLinkedWhatsAppBusinessAccountsRequest.h>
36/* End of service model headers required in SocialMessagingClient header */
37
38namespace Aws
39{
40 namespace Http
41 {
42 class HttpClient;
43 class HttpClientFactory;
44 } // namespace Http
45
46 namespace Utils
47 {
48 template< typename R, typename E> class Outcome;
49
50 namespace Threading
51 {
52 class Executor;
53 } // namespace Threading
54 } // namespace Utils
55
56 namespace Auth
57 {
58 class AWSCredentials;
59 class AWSCredentialsProvider;
60 } // namespace Auth
61
62 namespace Client
63 {
64 class RetryStrategy;
65 } // namespace Client
66
67 namespace SocialMessaging
68 {
72
73 namespace Model
74 {
75 /* Service model forward declarations required in SocialMessagingClient header */
76 class AssociateWhatsAppBusinessAccountRequest;
77 class DeleteWhatsAppMessageMediaRequest;
78 class DisassociateWhatsAppBusinessAccountRequest;
79 class GetLinkedWhatsAppBusinessAccountRequest;
80 class GetLinkedWhatsAppBusinessAccountPhoneNumberRequest;
81 class GetWhatsAppMessageMediaRequest;
82 class ListLinkedWhatsAppBusinessAccountsRequest;
83 class ListTagsForResourceRequest;
84 class PostWhatsAppMessageMediaRequest;
85 class PutWhatsAppBusinessAccountEventDestinationsRequest;
86 class SendWhatsAppMessageRequest;
87 class TagResourceRequest;
88 class UntagResourceRequest;
89 /* End of service model forward declarations required in SocialMessagingClient header */
90
91 /* Service model Outcome class definitions */
105 /* End of service model Outcome class definitions */
106
107 /* Service model Outcome callable definitions */
108 typedef std::future<AssociateWhatsAppBusinessAccountOutcome> AssociateWhatsAppBusinessAccountOutcomeCallable;
109 typedef std::future<DeleteWhatsAppMessageMediaOutcome> DeleteWhatsAppMessageMediaOutcomeCallable;
110 typedef std::future<DisassociateWhatsAppBusinessAccountOutcome> DisassociateWhatsAppBusinessAccountOutcomeCallable;
111 typedef std::future<GetLinkedWhatsAppBusinessAccountOutcome> GetLinkedWhatsAppBusinessAccountOutcomeCallable;
112 typedef std::future<GetLinkedWhatsAppBusinessAccountPhoneNumberOutcome> GetLinkedWhatsAppBusinessAccountPhoneNumberOutcomeCallable;
113 typedef std::future<GetWhatsAppMessageMediaOutcome> GetWhatsAppMessageMediaOutcomeCallable;
114 typedef std::future<ListLinkedWhatsAppBusinessAccountsOutcome> ListLinkedWhatsAppBusinessAccountsOutcomeCallable;
115 typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
116 typedef std::future<PostWhatsAppMessageMediaOutcome> PostWhatsAppMessageMediaOutcomeCallable;
117 typedef std::future<PutWhatsAppBusinessAccountEventDestinationsOutcome> PutWhatsAppBusinessAccountEventDestinationsOutcomeCallable;
118 typedef std::future<SendWhatsAppMessageOutcome> SendWhatsAppMessageOutcomeCallable;
119 typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
120 typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
121 /* End of service model Outcome callable definitions */
122 } // namespace Model
123
125
126 /* Service model async handlers definitions */
127 typedef std::function<void(const SocialMessagingClient*, const Model::AssociateWhatsAppBusinessAccountRequest&, const Model::AssociateWhatsAppBusinessAccountOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AssociateWhatsAppBusinessAccountResponseReceivedHandler;
128 typedef std::function<void(const SocialMessagingClient*, const Model::DeleteWhatsAppMessageMediaRequest&, const Model::DeleteWhatsAppMessageMediaOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteWhatsAppMessageMediaResponseReceivedHandler;
129 typedef std::function<void(const SocialMessagingClient*, const Model::DisassociateWhatsAppBusinessAccountRequest&, const Model::DisassociateWhatsAppBusinessAccountOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DisassociateWhatsAppBusinessAccountResponseReceivedHandler;
130 typedef std::function<void(const SocialMessagingClient*, const Model::GetLinkedWhatsAppBusinessAccountRequest&, const Model::GetLinkedWhatsAppBusinessAccountOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetLinkedWhatsAppBusinessAccountResponseReceivedHandler;
132 typedef std::function<void(const SocialMessagingClient*, const Model::GetWhatsAppMessageMediaRequest&, const Model::GetWhatsAppMessageMediaOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetWhatsAppMessageMediaResponseReceivedHandler;
133 typedef std::function<void(const SocialMessagingClient*, const Model::ListLinkedWhatsAppBusinessAccountsRequest&, const Model::ListLinkedWhatsAppBusinessAccountsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListLinkedWhatsAppBusinessAccountsResponseReceivedHandler;
134 typedef std::function<void(const SocialMessagingClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsForResourceResponseReceivedHandler;
135 typedef std::function<void(const SocialMessagingClient*, const Model::PostWhatsAppMessageMediaRequest&, const Model::PostWhatsAppMessageMediaOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PostWhatsAppMessageMediaResponseReceivedHandler;
137 typedef std::function<void(const SocialMessagingClient*, const Model::SendWhatsAppMessageRequest&, const Model::SendWhatsAppMessageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SendWhatsAppMessageResponseReceivedHandler;
138 typedef std::function<void(const SocialMessagingClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler;
139 typedef std::function<void(const SocialMessagingClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UntagResourceResponseReceivedHandler;
140 /* End of service model async handlers definitions */
141 } // namespace SocialMessaging
142} // namespace Aws
EndpointProviderBase< SocialMessagingClientConfiguration, SocialMessagingBuiltInParameters, SocialMessagingClientContextParameters > SocialMessagingEndpointProviderBase
std::future< GetLinkedWhatsAppBusinessAccountOutcome > GetLinkedWhatsAppBusinessAccountOutcomeCallable
std::future< PostWhatsAppMessageMediaOutcome > PostWhatsAppMessageMediaOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
Aws::Utils::Outcome< GetLinkedWhatsAppBusinessAccountResult, SocialMessagingError > GetLinkedWhatsAppBusinessAccountOutcome
Aws::Utils::Outcome< ListLinkedWhatsAppBusinessAccountsResult, SocialMessagingError > ListLinkedWhatsAppBusinessAccountsOutcome
std::future< GetLinkedWhatsAppBusinessAccountPhoneNumberOutcome > GetLinkedWhatsAppBusinessAccountPhoneNumberOutcomeCallable
std::future< AssociateWhatsAppBusinessAccountOutcome > AssociateWhatsAppBusinessAccountOutcomeCallable
std::future< DeleteWhatsAppMessageMediaOutcome > DeleteWhatsAppMessageMediaOutcomeCallable
std::future< PutWhatsAppBusinessAccountEventDestinationsOutcome > PutWhatsAppBusinessAccountEventDestinationsOutcomeCallable
Aws::Utils::Outcome< UntagResourceResult, SocialMessagingError > UntagResourceOutcome
Aws::Utils::Outcome< TagResourceResult, SocialMessagingError > TagResourceOutcome
std::future< GetWhatsAppMessageMediaOutcome > GetWhatsAppMessageMediaOutcomeCallable
Aws::Utils::Outcome< ListTagsForResourceResult, SocialMessagingError > ListTagsForResourceOutcome
Aws::Utils::Outcome< GetLinkedWhatsAppBusinessAccountPhoneNumberResult, SocialMessagingError > GetLinkedWhatsAppBusinessAccountPhoneNumberOutcome
std::future< TagResourceOutcome > TagResourceOutcomeCallable
Aws::Utils::Outcome< AssociateWhatsAppBusinessAccountResult, SocialMessagingError > AssociateWhatsAppBusinessAccountOutcome
Aws::Utils::Outcome< PutWhatsAppBusinessAccountEventDestinationsResult, SocialMessagingError > PutWhatsAppBusinessAccountEventDestinationsOutcome
Aws::Utils::Outcome< DisassociateWhatsAppBusinessAccountResult, SocialMessagingError > DisassociateWhatsAppBusinessAccountOutcome
Aws::Utils::Outcome< PostWhatsAppMessageMediaResult, SocialMessagingError > PostWhatsAppMessageMediaOutcome
Aws::Utils::Outcome< GetWhatsAppMessageMediaResult, SocialMessagingError > GetWhatsAppMessageMediaOutcome
Aws::Utils::Outcome< DeleteWhatsAppMessageMediaResult, SocialMessagingError > DeleteWhatsAppMessageMediaOutcome
std::future< DisassociateWhatsAppBusinessAccountOutcome > DisassociateWhatsAppBusinessAccountOutcomeCallable
Aws::Utils::Outcome< SendWhatsAppMessageResult, SocialMessagingError > SendWhatsAppMessageOutcome
std::future< ListLinkedWhatsAppBusinessAccountsOutcome > ListLinkedWhatsAppBusinessAccountsOutcomeCallable
std::future< SendWhatsAppMessageOutcome > SendWhatsAppMessageOutcomeCallable
std::function< void(const SocialMessagingClient *, const Model::GetLinkedWhatsAppBusinessAccountRequest &, const Model::GetLinkedWhatsAppBusinessAccountOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetLinkedWhatsAppBusinessAccountResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::GetWhatsAppMessageMediaRequest &, const Model::GetWhatsAppMessageMediaOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetWhatsAppMessageMediaResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::SendWhatsAppMessageRequest &, const Model::SendWhatsAppMessageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SendWhatsAppMessageResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::PutWhatsAppBusinessAccountEventDestinationsRequest &, const Model::PutWhatsAppBusinessAccountEventDestinationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutWhatsAppBusinessAccountEventDestinationsResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::AssociateWhatsAppBusinessAccountRequest &, const Model::AssociateWhatsAppBusinessAccountOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AssociateWhatsAppBusinessAccountResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::GetLinkedWhatsAppBusinessAccountPhoneNumberRequest &, const Model::GetLinkedWhatsAppBusinessAccountPhoneNumberOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetLinkedWhatsAppBusinessAccountPhoneNumberResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::PostWhatsAppMessageMediaRequest &, const Model::PostWhatsAppMessageMediaOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PostWhatsAppMessageMediaResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::DeleteWhatsAppMessageMediaRequest &, const Model::DeleteWhatsAppMessageMediaOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteWhatsAppMessageMediaResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::DisassociateWhatsAppBusinessAccountRequest &, const Model::DisassociateWhatsAppBusinessAccountOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisassociateWhatsAppBusinessAccountResponseReceivedHandler
std::function< void(const SocialMessagingClient *, const Model::ListLinkedWhatsAppBusinessAccountsRequest &, const Model::ListLinkedWhatsAppBusinessAccountsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListLinkedWhatsAppBusinessAccountsResponseReceivedHandler