AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationCostProfilerClient.h
1
6#pragma once
7#include <aws/applicationcostprofiler/ApplicationCostProfiler_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/applicationcostprofiler/ApplicationCostProfilerServiceClientModel.h>
13
14namespace Aws
15{
16namespace ApplicationCostProfiler
17{
27 class AWS_APPLICATIONCOSTPROFILER_API ApplicationCostProfilerClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<ApplicationCostProfilerClient>
28 {
29 public:
31 static const char* GetServiceName();
32 static const char* GetAllocationTag();
33
36
42 std::shared_ptr<ApplicationCostProfilerEndpointProviderBase> endpointProvider = nullptr);
43
49 std::shared_ptr<ApplicationCostProfilerEndpointProviderBase> endpointProvider = nullptr,
51
56 ApplicationCostProfilerClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
57 std::shared_ptr<ApplicationCostProfilerEndpointProviderBase> endpointProvider = nullptr,
59
60
61 /* Legacy constructors due deprecation */
67
73 const Aws::Client::ClientConfiguration& clientConfiguration);
74
79 ApplicationCostProfilerClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
80 const Aws::Client::ClientConfiguration& clientConfiguration);
81
82 /* End of legacy constructors due deprecation */
84
92
96 template<typename DeleteReportDefinitionRequestT = Model::DeleteReportDefinitionRequest>
97 Model::DeleteReportDefinitionOutcomeCallable DeleteReportDefinitionCallable(const DeleteReportDefinitionRequestT& request) const
98 {
99 return SubmitCallable(&ApplicationCostProfilerClient::DeleteReportDefinition, request);
100 }
101
105 template<typename DeleteReportDefinitionRequestT = Model::DeleteReportDefinitionRequest>
106 void DeleteReportDefinitionAsync(const DeleteReportDefinitionRequestT& request, const DeleteReportDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
107 {
108 return SubmitAsync(&ApplicationCostProfilerClient::DeleteReportDefinition, request, handler, context);
109 }
110
118
122 template<typename GetReportDefinitionRequestT = Model::GetReportDefinitionRequest>
123 Model::GetReportDefinitionOutcomeCallable GetReportDefinitionCallable(const GetReportDefinitionRequestT& request) const
124 {
125 return SubmitCallable(&ApplicationCostProfilerClient::GetReportDefinition, request);
126 }
127
131 template<typename GetReportDefinitionRequestT = Model::GetReportDefinitionRequest>
132 void GetReportDefinitionAsync(const GetReportDefinitionRequestT& request, const GetReportDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
133 {
134 return SubmitAsync(&ApplicationCostProfilerClient::GetReportDefinition, request, handler, context);
135 }
136
147
151 template<typename ImportApplicationUsageRequestT = Model::ImportApplicationUsageRequest>
152 Model::ImportApplicationUsageOutcomeCallable ImportApplicationUsageCallable(const ImportApplicationUsageRequestT& request) const
153 {
154 return SubmitCallable(&ApplicationCostProfilerClient::ImportApplicationUsage, request);
155 }
156
160 template<typename ImportApplicationUsageRequestT = Model::ImportApplicationUsageRequest>
161 void ImportApplicationUsageAsync(const ImportApplicationUsageRequestT& request, const ImportApplicationUsageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
162 {
163 return SubmitAsync(&ApplicationCostProfilerClient::ImportApplicationUsage, request, handler, context);
164 }
165
174
178 template<typename ListReportDefinitionsRequestT = Model::ListReportDefinitionsRequest>
179 Model::ListReportDefinitionsOutcomeCallable ListReportDefinitionsCallable(const ListReportDefinitionsRequestT& request = {}) const
180 {
181 return SubmitCallable(&ApplicationCostProfilerClient::ListReportDefinitions, request);
182 }
183
187 template<typename ListReportDefinitionsRequestT = Model::ListReportDefinitionsRequest>
188 void ListReportDefinitionsAsync(const ListReportDefinitionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListReportDefinitionsRequestT& request = {}) const
189 {
190 return SubmitAsync(&ApplicationCostProfilerClient::ListReportDefinitions, request, handler, context);
191 }
192
200
204 template<typename PutReportDefinitionRequestT = Model::PutReportDefinitionRequest>
205 Model::PutReportDefinitionOutcomeCallable PutReportDefinitionCallable(const PutReportDefinitionRequestT& request) const
206 {
207 return SubmitCallable(&ApplicationCostProfilerClient::PutReportDefinition, request);
208 }
209
213 template<typename PutReportDefinitionRequestT = Model::PutReportDefinitionRequest>
214 void PutReportDefinitionAsync(const PutReportDefinitionRequestT& request, const PutReportDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
215 {
216 return SubmitAsync(&ApplicationCostProfilerClient::PutReportDefinition, request, handler, context);
217 }
218
226
230 template<typename UpdateReportDefinitionRequestT = Model::UpdateReportDefinitionRequest>
231 Model::UpdateReportDefinitionOutcomeCallable UpdateReportDefinitionCallable(const UpdateReportDefinitionRequestT& request) const
232 {
233 return SubmitCallable(&ApplicationCostProfilerClient::UpdateReportDefinition, request);
234 }
235
239 template<typename UpdateReportDefinitionRequestT = Model::UpdateReportDefinitionRequest>
240 void UpdateReportDefinitionAsync(const UpdateReportDefinitionRequestT& request, const UpdateReportDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
241 {
242 return SubmitAsync(&ApplicationCostProfilerClient::UpdateReportDefinition, request, handler, context);
243 }
244
245
246 void OverrideEndpoint(const Aws::String& endpoint);
247 std::shared_ptr<ApplicationCostProfilerEndpointProviderBase>& accessEndpointProvider();
248 private:
250 void init(const ApplicationCostProfilerClientConfiguration& clientConfiguration);
251
252 ApplicationCostProfilerClientConfiguration m_clientConfiguration;
253 std::shared_ptr<ApplicationCostProfilerEndpointProviderBase> m_endpointProvider;
254 };
255
256} // namespace ApplicationCostProfiler
257} // namespace Aws
void GetReportDefinitionAsync(const GetReportDefinitionRequestT &request, const GetReportDefinitionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListReportDefinitionsOutcome ListReportDefinitions(const Model::ListReportDefinitionsRequest &request={}) const
Model::UpdateReportDefinitionOutcomeCallable UpdateReportDefinitionCallable(const UpdateReportDefinitionRequestT &request) const
virtual Model::UpdateReportDefinitionOutcome UpdateReportDefinition(const Model::UpdateReportDefinitionRequest &request) const
virtual Model::PutReportDefinitionOutcome PutReportDefinition(const Model::PutReportDefinitionRequest &request) const
ApplicationCostProfilerClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Model::GetReportDefinitionOutcomeCallable GetReportDefinitionCallable(const GetReportDefinitionRequestT &request) const
Model::ListReportDefinitionsOutcomeCallable ListReportDefinitionsCallable(const ListReportDefinitionsRequestT &request={}) const
void UpdateReportDefinitionAsync(const UpdateReportDefinitionRequestT &request, const UpdateReportDefinitionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void PutReportDefinitionAsync(const PutReportDefinitionRequestT &request, const PutReportDefinitionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListReportDefinitionsAsync(const ListReportDefinitionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListReportDefinitionsRequestT &request={}) const
ApplicationCostProfilerClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::DeleteReportDefinitionOutcomeCallable DeleteReportDefinitionCallable(const DeleteReportDefinitionRequestT &request) const
ApplicationCostProfilerClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< ApplicationCostProfilerEndpointProviderBase > endpointProvider=nullptr, const Aws::ApplicationCostProfiler::ApplicationCostProfilerClientConfiguration &clientConfiguration=Aws::ApplicationCostProfiler::ApplicationCostProfilerClientConfiguration())
ApplicationCostProfilerClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
std::shared_ptr< ApplicationCostProfilerEndpointProviderBase > & accessEndpointProvider()
virtual Model::GetReportDefinitionOutcome GetReportDefinition(const Model::GetReportDefinitionRequest &request) const
ApplicationCostProfilerClient(const Aws::ApplicationCostProfiler::ApplicationCostProfilerClientConfiguration &clientConfiguration=Aws::ApplicationCostProfiler::ApplicationCostProfilerClientConfiguration(), std::shared_ptr< ApplicationCostProfilerEndpointProviderBase > endpointProvider=nullptr)
virtual Model::DeleteReportDefinitionOutcome DeleteReportDefinition(const Model::DeleteReportDefinitionRequest &request) const
virtual Model::ImportApplicationUsageOutcome ImportApplicationUsage(const Model::ImportApplicationUsageRequest &request) const
void DeleteReportDefinitionAsync(const DeleteReportDefinitionRequestT &request, const DeleteReportDefinitionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ImportApplicationUsageOutcomeCallable ImportApplicationUsageCallable(const ImportApplicationUsageRequestT &request) const
ApplicationCostProfilerClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< ApplicationCostProfilerEndpointProviderBase > endpointProvider=nullptr, const Aws::ApplicationCostProfiler::ApplicationCostProfilerClientConfiguration &clientConfiguration=Aws::ApplicationCostProfiler::ApplicationCostProfilerClientConfiguration())
void ImportApplicationUsageAsync(const ImportApplicationUsageRequestT &request, const ImportApplicationUsageResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::PutReportDefinitionOutcomeCallable PutReportDefinitionCallable(const PutReportDefinitionRequestT &request) const
std::future< ListReportDefinitionsOutcome > ListReportDefinitionsOutcomeCallable
std::future< UpdateReportDefinitionOutcome > UpdateReportDefinitionOutcomeCallable
std::future< GetReportDefinitionOutcome > GetReportDefinitionOutcomeCallable
std::future< ImportApplicationUsageOutcome > ImportApplicationUsageOutcomeCallable
std::future< DeleteReportDefinitionOutcome > DeleteReportDefinitionOutcomeCallable
std::future< PutReportDefinitionOutcome > PutReportDefinitionOutcomeCallable
std::function< void(const ApplicationCostProfilerClient *, const Model::ListReportDefinitionsRequest &, const Model::ListReportDefinitionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListReportDefinitionsResponseReceivedHandler
std::function< void(const ApplicationCostProfilerClient *, const Model::GetReportDefinitionRequest &, const Model::GetReportDefinitionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetReportDefinitionResponseReceivedHandler
std::function< void(const ApplicationCostProfilerClient *, const Model::PutReportDefinitionRequest &, const Model::PutReportDefinitionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutReportDefinitionResponseReceivedHandler
std::function< void(const ApplicationCostProfilerClient *, const Model::ImportApplicationUsageRequest &, const Model::ImportApplicationUsageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ImportApplicationUsageResponseReceivedHandler
std::function< void(const ApplicationCostProfilerClient *, const Model::UpdateReportDefinitionRequest &, const Model::UpdateReportDefinitionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateReportDefinitionResponseReceivedHandler
std::function< void(const ApplicationCostProfilerClient *, const Model::DeleteReportDefinitionRequest &, const Model::DeleteReportDefinitionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteReportDefinitionResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String