AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudTrailDataClient.h
1
6#pragma once
7#include <aws/cloudtrail-data/CloudTrailData_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/cloudtrail-data/CloudTrailDataServiceClientModel.h>
13
14namespace Aws
15{
16namespace CloudTrailData
17{
28 class AWS_CLOUDTRAILDATA_API CloudTrailDataClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<CloudTrailDataClient>
29 {
30 public:
32 static const char* GetServiceName();
33 static const char* GetAllocationTag();
34
37
43 std::shared_ptr<CloudTrailDataEndpointProviderBase> endpointProvider = nullptr);
44
50 std::shared_ptr<CloudTrailDataEndpointProviderBase> endpointProvider = nullptr,
52
57 CloudTrailDataClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
58 std::shared_ptr<CloudTrailDataEndpointProviderBase> endpointProvider = nullptr,
60
61
62 /* Legacy constructors due deprecation */
68
74 const Aws::Client::ClientConfiguration& clientConfiguration);
75
80 CloudTrailDataClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
81 const Aws::Client::ClientConfiguration& clientConfiguration);
82
83 /* End of legacy constructors due deprecation */
85
96
100 template<typename PutAuditEventsRequestT = Model::PutAuditEventsRequest>
101 Model::PutAuditEventsOutcomeCallable PutAuditEventsCallable(const PutAuditEventsRequestT& request) const
102 {
103 return SubmitCallable(&CloudTrailDataClient::PutAuditEvents, request);
104 }
105
109 template<typename PutAuditEventsRequestT = Model::PutAuditEventsRequest>
110 void PutAuditEventsAsync(const PutAuditEventsRequestT& request, const PutAuditEventsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
111 {
112 return SubmitAsync(&CloudTrailDataClient::PutAuditEvents, request, handler, context);
113 }
114
115
116 void OverrideEndpoint(const Aws::String& endpoint);
117 std::shared_ptr<CloudTrailDataEndpointProviderBase>& accessEndpointProvider();
118 private:
120 void init(const CloudTrailDataClientConfiguration& clientConfiguration);
121
122 CloudTrailDataClientConfiguration m_clientConfiguration;
123 std::shared_ptr<CloudTrailDataEndpointProviderBase> m_endpointProvider;
124 };
125
126} // namespace CloudTrailData
127} // namespace Aws
CloudTrailDataEndpointProvider EndpointProviderType
CloudTrailDataClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Model::PutAuditEventsOutcomeCallable PutAuditEventsCallable(const PutAuditEventsRequestT &request) const
CloudTrailDataClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
CloudTrailDataClientConfiguration ClientConfigurationType
CloudTrailDataClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< CloudTrailDataEndpointProviderBase > endpointProvider=nullptr, const Aws::CloudTrailData::CloudTrailDataClientConfiguration &clientConfiguration=Aws::CloudTrailData::CloudTrailDataClientConfiguration())
virtual Model::PutAuditEventsOutcome PutAuditEvents(const Model::PutAuditEventsRequest &request) const
CloudTrailDataClient(const Aws::CloudTrailData::CloudTrailDataClientConfiguration &clientConfiguration=Aws::CloudTrailData::CloudTrailDataClientConfiguration(), std::shared_ptr< CloudTrailDataEndpointProviderBase > endpointProvider=nullptr)
void OverrideEndpoint(const Aws::String &endpoint)
CloudTrailDataClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void PutAuditEventsAsync(const PutAuditEventsRequestT &request, const PutAuditEventsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CloudTrailDataClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< CloudTrailDataEndpointProviderBase > endpointProvider=nullptr, const Aws::CloudTrailData::CloudTrailDataClientConfiguration &clientConfiguration=Aws::CloudTrailData::CloudTrailDataClientConfiguration())
std::shared_ptr< CloudTrailDataEndpointProviderBase > & accessEndpointProvider()
std::future< PutAuditEventsOutcome > PutAuditEventsOutcomeCallable
std::function< void(const CloudTrailDataClient *, const Model::PutAuditEventsRequest &, const Model::PutAuditEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutAuditEventsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String