7#include <aws/codeguru-security/CodeGuruSecurity_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/codeguru-security/CodeGuruSecurityServiceClientModel.h>
16namespace CodeGuruSecurity
45 std::shared_ptr<CodeGuruSecurityEndpointProviderBase> endpointProvider =
nullptr);
52 std::shared_ptr<CodeGuruSecurityEndpointProviderBase> endpointProvider =
nullptr,
60 std::shared_ptr<CodeGuruSecurityEndpointProviderBase> endpointProvider =
nullptr,
99 template<
typename BatchGetFindingsRequestT = Model::BatchGetFindingsRequest>
102 return SubmitCallable(&CodeGuruSecurityClient::BatchGetFindings, request);
108 template<
typename BatchGetFindingsRequestT = Model::BatchGetFindingsRequest>
111 return SubmitAsync(&CodeGuruSecurityClient::BatchGetFindings, request, handler, context);
125 template<
typename CreateScanRequestT = Model::CreateScanRequest>
128 return SubmitCallable(&CodeGuruSecurityClient::CreateScan, request);
134 template<
typename CreateScanRequestT = Model::CreateScanRequest>
137 return SubmitAsync(&CodeGuruSecurityClient::CreateScan, request, handler, context);
153 template<
typename CreateUploadUrlRequestT = Model::CreateUploadUrlRequest>
156 return SubmitCallable(&CodeGuruSecurityClient::CreateUploadUrl, request);
162 template<
typename CreateUploadUrlRequestT = Model::CreateUploadUrlRequest>
165 return SubmitAsync(&CodeGuruSecurityClient::CreateUploadUrl, request, handler, context);
179 template<
typename GetAccountConfigurationRequestT = Model::GetAccountConfigurationRequest>
182 return SubmitCallable(&CodeGuruSecurityClient::GetAccountConfiguration, request);
188 template<
typename GetAccountConfigurationRequestT = Model::GetAccountConfigurationRequest>
191 return SubmitAsync(&CodeGuruSecurityClient::GetAccountConfiguration, request, handler, context);
205 template<
typename GetFindingsRequestT = Model::GetFindingsRequest>
208 return SubmitCallable(&CodeGuruSecurityClient::GetFindings, request);
214 template<
typename GetFindingsRequestT = Model::GetFindingsRequest>
217 return SubmitAsync(&CodeGuruSecurityClient::GetFindings, request, handler, context);
233 template<
typename GetMetricsSummaryRequestT = Model::GetMetricsSummaryRequest>
236 return SubmitCallable(&CodeGuruSecurityClient::GetMetricsSummary, request);
242 template<
typename GetMetricsSummaryRequestT = Model::GetMetricsSummaryRequest>
245 return SubmitAsync(&CodeGuruSecurityClient::GetMetricsSummary, request, handler, context);
259 template<
typename GetScanRequestT = Model::GetScanRequest>
262 return SubmitCallable(&CodeGuruSecurityClient::GetScan, request);
268 template<
typename GetScanRequestT = Model::GetScanRequest>
271 return SubmitAsync(&CodeGuruSecurityClient::GetScan, request, handler, context);
285 template<
typename ListFindingsMetricsRequestT = Model::ListFindingsMetricsRequest>
288 return SubmitCallable(&CodeGuruSecurityClient::ListFindingsMetrics, request);
294 template<
typename ListFindingsMetricsRequestT = Model::ListFindingsMetricsRequest>
297 return SubmitAsync(&CodeGuruSecurityClient::ListFindingsMetrics, request, handler, context);
311 template<
typename ListScansRequestT = Model::ListScansRequest>
314 return SubmitCallable(&CodeGuruSecurityClient::ListScans, request);
320 template<
typename ListScansRequestT = Model::ListScansRequest>
323 return SubmitAsync(&CodeGuruSecurityClient::ListScans, request, handler, context);
337 template<
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
340 return SubmitCallable(&CodeGuruSecurityClient::ListTagsForResource, request);
346 template<
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
349 return SubmitAsync(&CodeGuruSecurityClient::ListTagsForResource, request, handler, context);
363 template<
typename TagResourceRequestT = Model::TagResourceRequest>
366 return SubmitCallable(&CodeGuruSecurityClient::TagResource, request);
372 template<
typename TagResourceRequestT = Model::TagResourceRequest>
375 return SubmitAsync(&CodeGuruSecurityClient::TagResource, request, handler, context);
389 template<
typename UntagResourceRequestT = Model::UntagResourceRequest>
392 return SubmitCallable(&CodeGuruSecurityClient::UntagResource, request);
398 template<
typename UntagResourceRequestT = Model::UntagResourceRequest>
401 return SubmitAsync(&CodeGuruSecurityClient::UntagResource, request, handler, context);
415 template<
typename UpdateAccountConfigurationRequestT = Model::UpdateAccountConfigurationRequest>
418 return SubmitCallable(&CodeGuruSecurityClient::UpdateAccountConfiguration, request);
424 template<
typename UpdateAccountConfigurationRequestT = Model::UpdateAccountConfigurationRequest>
427 return SubmitAsync(&CodeGuruSecurityClient::UpdateAccountConfiguration, request, handler, context);
438 std::shared_ptr<CodeGuruSecurityEndpointProviderBase> m_endpointProvider;
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
Model::GetMetricsSummaryOutcomeCallable GetMetricsSummaryCallable(const GetMetricsSummaryRequestT &request) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CodeGuruSecurityClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListFindingsMetricsOutcome ListFindingsMetrics(const Model::ListFindingsMetricsRequest &request) const
virtual Model::ListScansOutcome ListScans(const Model::ListScansRequest &request={}) const
Model::BatchGetFindingsOutcomeCallable BatchGetFindingsCallable(const BatchGetFindingsRequestT &request) const
void ListScansAsync(const ListScansResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListScansRequestT &request={}) const
CodeGuruSecurityClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< CodeGuruSecurityEndpointProviderBase > endpointProvider=nullptr, const Aws::CodeGuruSecurity::CodeGuruSecurityClientConfiguration &clientConfiguration=Aws::CodeGuruSecurity::CodeGuruSecurityClientConfiguration())
CodeGuruSecurityClientConfiguration ClientConfigurationType
void ListFindingsMetricsAsync(const ListFindingsMetricsRequestT &request, const ListFindingsMetricsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListFindingsMetricsOutcomeCallable ListFindingsMetricsCallable(const ListFindingsMetricsRequestT &request) const
Model::CreateScanOutcomeCallable CreateScanCallable(const CreateScanRequestT &request) const
virtual ~CodeGuruSecurityClient()
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetScanOutcomeCallable GetScanCallable(const GetScanRequestT &request) const
Model::ListScansOutcomeCallable ListScansCallable(const ListScansRequestT &request={}) const
virtual Model::CreateScanOutcome CreateScan(const Model::CreateScanRequest &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
Aws::Client::AWSJsonClient BASECLASS
void GetFindingsAsync(const GetFindingsRequestT &request, const GetFindingsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::CreateUploadUrlOutcomeCallable CreateUploadUrlCallable(const CreateUploadUrlRequestT &request) const
CodeGuruSecurityClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< CodeGuruSecurityEndpointProviderBase > endpointProvider=nullptr, const Aws::CodeGuruSecurity::CodeGuruSecurityClientConfiguration &clientConfiguration=Aws::CodeGuruSecurity::CodeGuruSecurityClientConfiguration())
static const char * GetServiceName()
std::shared_ptr< CodeGuruSecurityEndpointProviderBase > & accessEndpointProvider()
void CreateUploadUrlAsync(const CreateUploadUrlRequestT &request, const CreateUploadUrlResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CodeGuruSecurityClient(const Aws::CodeGuruSecurity::CodeGuruSecurityClientConfiguration &clientConfiguration=Aws::CodeGuruSecurity::CodeGuruSecurityClientConfiguration(), std::shared_ptr< CodeGuruSecurityEndpointProviderBase > endpointProvider=nullptr)
virtual Model::GetFindingsOutcome GetFindings(const Model::GetFindingsRequest &request) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
virtual Model::UpdateAccountConfigurationOutcome UpdateAccountConfiguration(const Model::UpdateAccountConfigurationRequest &request) const
void OverrideEndpoint(const Aws::String &endpoint)
Model::GetAccountConfigurationOutcomeCallable GetAccountConfigurationCallable(const GetAccountConfigurationRequestT &request={}) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
CodeGuruSecurityEndpointProvider EndpointProviderType
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
Model::GetFindingsOutcomeCallable GetFindingsCallable(const GetFindingsRequestT &request) const
virtual Model::BatchGetFindingsOutcome BatchGetFindings(const Model::BatchGetFindingsRequest &request) const
virtual Model::GetScanOutcome GetScan(const Model::GetScanRequest &request) const
void GetScanAsync(const GetScanRequestT &request, const GetScanResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetMetricsSummaryAsync(const GetMetricsSummaryRequestT &request, const GetMetricsSummaryResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetAllocationTag()
void BatchGetFindingsAsync(const BatchGetFindingsRequestT &request, const BatchGetFindingsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateUploadUrlOutcome CreateUploadUrl(const Model::CreateUploadUrlRequest &request) const
virtual Model::GetAccountConfigurationOutcome GetAccountConfiguration(const Model::GetAccountConfigurationRequest &request={}) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CodeGuruSecurityClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Model::UpdateAccountConfigurationOutcomeCallable UpdateAccountConfigurationCallable(const UpdateAccountConfigurationRequestT &request) const
void CreateScanAsync(const CreateScanRequestT &request, const CreateScanResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void UpdateAccountConfigurationAsync(const UpdateAccountConfigurationRequestT &request, const UpdateAccountConfigurationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetAccountConfigurationAsync(const GetAccountConfigurationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetAccountConfigurationRequestT &request={}) const
CodeGuruSecurityClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetMetricsSummaryOutcome GetMetricsSummary(const Model::GetMetricsSummaryRequest &request) const
std::future< ListScansOutcome > ListScansOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< GetScanOutcome > GetScanOutcomeCallable
std::future< GetAccountConfigurationOutcome > GetAccountConfigurationOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< BatchGetFindingsOutcome > BatchGetFindingsOutcomeCallable
std::future< GetMetricsSummaryOutcome > GetMetricsSummaryOutcomeCallable
std::future< CreateScanOutcome > CreateScanOutcomeCallable
std::future< UpdateAccountConfigurationOutcome > UpdateAccountConfigurationOutcomeCallable
std::future< GetFindingsOutcome > GetFindingsOutcomeCallable
std::future< CreateUploadUrlOutcome > CreateUploadUrlOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< ListFindingsMetricsOutcome > ListFindingsMetricsOutcomeCallable
std::function< void(const CodeGuruSecurityClient *, const Model::CreateUploadUrlRequest &, const Model::CreateUploadUrlOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateUploadUrlResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::UpdateAccountConfigurationRequest &, const Model::UpdateAccountConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateAccountConfigurationResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::CreateScanRequest &, const Model::CreateScanOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateScanResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::BatchGetFindingsRequest &, const Model::BatchGetFindingsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchGetFindingsResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::GetAccountConfigurationRequest &, const Model::GetAccountConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetAccountConfigurationResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::ListScansRequest &, const Model::ListScansOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListScansResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::GetScanRequest &, const Model::GetScanOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetScanResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::GetFindingsRequest &, const Model::GetFindingsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetFindingsResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::ListFindingsMetricsRequest &, const Model::ListFindingsMetricsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListFindingsMetricsResponseReceivedHandler
std::function< void(const CodeGuruSecurityClient *, const Model::GetMetricsSummaryRequest &, const Model::GetMetricsSummaryOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetMetricsSummaryResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String