AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgreementServiceClient.h
1
6#pragma once
7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/marketplace-agreement/AgreementServiceServiceClientModel.h>
13
14namespace Aws
15{
16namespace AgreementService
17{
34 class AWS_AGREEMENTSERVICE_API AgreementServiceClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<AgreementServiceClient>
35 {
36 public:
38 static const char* GetServiceName();
39 static const char* GetAllocationTag();
40
43
49 std::shared_ptr<AgreementServiceEndpointProviderBase> endpointProvider = nullptr);
50
56 std::shared_ptr<AgreementServiceEndpointProviderBase> endpointProvider = nullptr,
58
63 AgreementServiceClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
64 std::shared_ptr<AgreementServiceEndpointProviderBase> endpointProvider = nullptr,
66
67
68 /* Legacy constructors due deprecation */
74
80 const Aws::Client::ClientConfiguration& clientConfiguration);
81
86 AgreementServiceClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
87 const Aws::Client::ClientConfiguration& clientConfiguration);
88
89 /* End of legacy constructors due deprecation */
91
99
103 template<typename DescribeAgreementRequestT = Model::DescribeAgreementRequest>
104 Model::DescribeAgreementOutcomeCallable DescribeAgreementCallable(const DescribeAgreementRequestT& request) const
105 {
106 return SubmitCallable(&AgreementServiceClient::DescribeAgreement, request);
107 }
108
112 template<typename DescribeAgreementRequestT = Model::DescribeAgreementRequest>
113 void DescribeAgreementAsync(const DescribeAgreementRequestT& request, const DescribeAgreementResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
114 {
115 return SubmitAsync(&AgreementServiceClient::DescribeAgreement, request, handler, context);
116 }
117
137
141 template<typename GetAgreementTermsRequestT = Model::GetAgreementTermsRequest>
142 Model::GetAgreementTermsOutcomeCallable GetAgreementTermsCallable(const GetAgreementTermsRequestT& request) const
143 {
144 return SubmitCallable(&AgreementServiceClient::GetAgreementTerms, request);
145 }
146
150 template<typename GetAgreementTermsRequestT = Model::GetAgreementTermsRequest>
151 void GetAgreementTermsAsync(const GetAgreementTermsRequestT& request, const GetAgreementTermsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
152 {
153 return SubmitAsync(&AgreementServiceClient::GetAgreementTerms, request, handler, context);
154 }
155
196
200 template<typename SearchAgreementsRequestT = Model::SearchAgreementsRequest>
201 Model::SearchAgreementsOutcomeCallable SearchAgreementsCallable(const SearchAgreementsRequestT& request = {}) const
202 {
203 return SubmitCallable(&AgreementServiceClient::SearchAgreements, request);
204 }
205
209 template<typename SearchAgreementsRequestT = Model::SearchAgreementsRequest>
210 void SearchAgreementsAsync(const SearchAgreementsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const SearchAgreementsRequestT& request = {}) const
211 {
212 return SubmitAsync(&AgreementServiceClient::SearchAgreements, request, handler, context);
213 }
214
215
216 void OverrideEndpoint(const Aws::String& endpoint);
217 std::shared_ptr<AgreementServiceEndpointProviderBase>& accessEndpointProvider();
218 private:
220 void init(const AgreementServiceClientConfiguration& clientConfiguration);
221
222 AgreementServiceClientConfiguration m_clientConfiguration;
223 std::shared_ptr<AgreementServiceEndpointProviderBase> m_endpointProvider;
224 };
225
226} // namespace AgreementService
227} // namespace Aws
AgreementServiceClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
AgreementServiceClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< AgreementServiceEndpointProviderBase > endpointProvider=nullptr, const Aws::AgreementService::AgreementServiceClientConfiguration &clientConfiguration=Aws::AgreementService::AgreementServiceClientConfiguration())
AgreementServiceClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< AgreementServiceEndpointProviderBase > endpointProvider=nullptr, const Aws::AgreementService::AgreementServiceClientConfiguration &clientConfiguration=Aws::AgreementService::AgreementServiceClientConfiguration())
std::shared_ptr< AgreementServiceEndpointProviderBase > & accessEndpointProvider()
AgreementServiceEndpointProvider EndpointProviderType
virtual Model::DescribeAgreementOutcome DescribeAgreement(const Model::DescribeAgreementRequest &request) const
Model::SearchAgreementsOutcomeCallable SearchAgreementsCallable(const SearchAgreementsRequestT &request={}) const
Model::GetAgreementTermsOutcomeCallable GetAgreementTermsCallable(const GetAgreementTermsRequestT &request) const
virtual Model::SearchAgreementsOutcome SearchAgreements(const Model::SearchAgreementsRequest &request={}) const
virtual Model::GetAgreementTermsOutcome GetAgreementTerms(const Model::GetAgreementTermsRequest &request) const
void SearchAgreementsAsync(const SearchAgreementsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const SearchAgreementsRequestT &request={}) const
void GetAgreementTermsAsync(const GetAgreementTermsRequestT &request, const GetAgreementTermsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AgreementServiceClient(const Aws::AgreementService::AgreementServiceClientConfiguration &clientConfiguration=Aws::AgreementService::AgreementServiceClientConfiguration(), std::shared_ptr< AgreementServiceEndpointProviderBase > endpointProvider=nullptr)
void DescribeAgreementAsync(const DescribeAgreementRequestT &request, const DescribeAgreementResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AgreementServiceClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void OverrideEndpoint(const Aws::String &endpoint)
AgreementServiceClientConfiguration ClientConfigurationType
AgreementServiceClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Model::DescribeAgreementOutcomeCallable DescribeAgreementCallable(const DescribeAgreementRequestT &request) const
std::future< SearchAgreementsOutcome > SearchAgreementsOutcomeCallable
std::future< GetAgreementTermsOutcome > GetAgreementTermsOutcomeCallable
std::future< DescribeAgreementOutcome > DescribeAgreementOutcomeCallable
std::function< void(const AgreementServiceClient *, const Model::DescribeAgreementRequest &, const Model::DescribeAgreementOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeAgreementResponseReceivedHandler
std::function< void(const AgreementServiceClient *, const Model::SearchAgreementsRequest &, const Model::SearchAgreementsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SearchAgreementsResponseReceivedHandler
std::function< void(const AgreementServiceClient *, const Model::GetAgreementTermsRequest &, const Model::GetAgreementTermsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetAgreementTermsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String