AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CodeGuruReviewerClient.h
Go to the documentation of this file.
1
6#pragma once
13
14namespace Aws
15{
16namespace CodeGuruReviewer
17{
37 {
38 public:
40 static const char* SERVICE_NAME;
41 static const char* ALLOCATION_TAG;
42
48 std::shared_ptr<CodeGuruReviewerEndpointProviderBase> endpointProvider = Aws::MakeShared<CodeGuruReviewerEndpointProvider>(ALLOCATION_TAG));
49
55 std::shared_ptr<CodeGuruReviewerEndpointProviderBase> endpointProvider = Aws::MakeShared<CodeGuruReviewerEndpointProvider>(ALLOCATION_TAG),
57
62 CodeGuruReviewerClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
63 std::shared_ptr<CodeGuruReviewerEndpointProviderBase> endpointProvider = Aws::MakeShared<CodeGuruReviewerEndpointProvider>(ALLOCATION_TAG),
65
66
67 /* Legacy constructors due deprecation */
73
79 const Aws::Client::ClientConfiguration& clientConfiguration);
80
85 CodeGuruReviewerClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
86 const Aws::Client::ClientConfiguration& clientConfiguration);
87
88 /* End of legacy constructors due deprecation */
90
117
122
126 virtual void AssociateRepositoryAsync(const Model::AssociateRepositoryRequest& request, const AssociateRepositoryResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
127
139
144
148 virtual void CreateCodeReviewAsync(const Model::CreateCodeReviewRequest& request, const CreateCodeReviewResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
149
157
162
166 virtual void DescribeCodeReviewAsync(const Model::DescribeCodeReviewRequest& request, const DescribeCodeReviewResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
167
175
180
184 virtual void DescribeRecommendationFeedbackAsync(const Model::DescribeRecommendationFeedbackRequest& request, const DescribeRecommendationFeedbackResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
185
195
200
204 virtual void DescribeRepositoryAssociationAsync(const Model::DescribeRepositoryAssociationRequest& request, const DescribeRepositoryAssociationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
205
213
218
222 virtual void DisassociateRepositoryAsync(const Model::DisassociateRepositoryRequest& request, const DisassociateRepositoryResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
223
231
236
240 virtual void ListCodeReviewsAsync(const Model::ListCodeReviewsRequest& request, const ListCodeReviewsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
241
251
256
260 virtual void ListRecommendationFeedbackAsync(const Model::ListRecommendationFeedbackRequest& request, const ListRecommendationFeedbackResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
261
269
274
278 virtual void ListRecommendationsAsync(const Model::ListRecommendationsRequest& request, const ListRecommendationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
279
297
302
306 virtual void ListRepositoryAssociationsAsync(const Model::ListRepositoryAssociationsRequest& request, const ListRepositoryAssociationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
307
315
320
324 virtual void ListTagsForResourceAsync(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
325
334
339
343 virtual void PutRecommendationFeedbackAsync(const Model::PutRecommendationFeedbackRequest& request, const PutRecommendationFeedbackResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
344
352
357
361 virtual void TagResourceAsync(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
362
369
374
378 virtual void UntagResourceAsync(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
379
380
381 void OverrideEndpoint(const Aws::String& endpoint);
382 std::shared_ptr<CodeGuruReviewerEndpointProviderBase>& accessEndpointProvider();
383 private:
385 void init(const CodeGuruReviewerClientConfiguration& clientConfiguration);
386
387 CodeGuruReviewerClientConfiguration m_clientConfiguration;
388 std::shared_ptr<Aws::Utils::Threading::Executor> m_executor;
389 std::shared_ptr<CodeGuruReviewerEndpointProviderBase> m_endpointProvider;
390 };
391
392} // namespace CodeGuruReviewer
393} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
virtual void ListTagsForResourceAsync(const Model::ListTagsForResourceRequest &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::AssociateRepositoryOutcome AssociateRepository(const Model::AssociateRepositoryRequest &request) const
virtual void ListCodeReviewsAsync(const Model::ListCodeReviewsRequest &request, const ListCodeReviewsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::ListRepositoryAssociationsOutcome ListRepositoryAssociations(const Model::ListRepositoryAssociationsRequest &request) const
CodeGuruReviewerClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListCodeReviewsOutcomeCallable ListCodeReviewsCallable(const Model::ListCodeReviewsRequest &request) const
std::shared_ptr< CodeGuruReviewerEndpointProviderBase > & accessEndpointProvider()
virtual void DisassociateRepositoryAsync(const Model::DisassociateRepositoryRequest &request, const DisassociateRepositoryResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DescribeRecommendationFeedbackOutcomeCallable DescribeRecommendationFeedbackCallable(const Model::DescribeRecommendationFeedbackRequest &request) const
virtual Model::DisassociateRepositoryOutcomeCallable DisassociateRepositoryCallable(const Model::DisassociateRepositoryRequest &request) const
virtual Model::CreateCodeReviewOutcome CreateCodeReview(const Model::CreateCodeReviewRequest &request) const
virtual Model::ListRecommendationFeedbackOutcomeCallable ListRecommendationFeedbackCallable(const Model::ListRecommendationFeedbackRequest &request) const
virtual void TagResourceAsync(const Model::TagResourceRequest &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DescribeRepositoryAssociationOutcome DescribeRepositoryAssociation(const Model::DescribeRepositoryAssociationRequest &request) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
virtual void AssociateRepositoryAsync(const Model::AssociateRepositoryRequest &request, const AssociateRepositoryResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListRepositoryAssociationsOutcomeCallable ListRepositoryAssociationsCallable(const Model::ListRepositoryAssociationsRequest &request) const
virtual Model::PutRecommendationFeedbackOutcome PutRecommendationFeedback(const Model::PutRecommendationFeedbackRequest &request) const
virtual Model::PutRecommendationFeedbackOutcomeCallable PutRecommendationFeedbackCallable(const Model::PutRecommendationFeedbackRequest &request) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
virtual void ListRecommendationsAsync(const Model::ListRecommendationsRequest &request, const ListRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CodeGuruReviewerClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< CodeGuruReviewerEndpointProviderBase > endpointProvider=Aws::MakeShared< CodeGuruReviewerEndpointProvider >(ALLOCATION_TAG), const Aws::CodeGuruReviewer::CodeGuruReviewerClientConfiguration &clientConfiguration=Aws::CodeGuruReviewer::CodeGuruReviewerClientConfiguration())
virtual Model::DescribeCodeReviewOutcome DescribeCodeReview(const Model::DescribeCodeReviewRequest &request) const
virtual void DescribeCodeReviewAsync(const Model::DescribeCodeReviewRequest &request, const DescribeCodeReviewResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual void ListRepositoryAssociationsAsync(const Model::ListRepositoryAssociationsRequest &request, const ListRepositoryAssociationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CodeGuruReviewerClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
CodeGuruReviewerClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< CodeGuruReviewerEndpointProviderBase > endpointProvider=Aws::MakeShared< CodeGuruReviewerEndpointProvider >(ALLOCATION_TAG), const Aws::CodeGuruReviewer::CodeGuruReviewerClientConfiguration &clientConfiguration=Aws::CodeGuruReviewer::CodeGuruReviewerClientConfiguration())
virtual Model::DescribeCodeReviewOutcomeCallable DescribeCodeReviewCallable(const Model::DescribeCodeReviewRequest &request) const
virtual void UntagResourceAsync(const Model::UntagResourceRequest &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListRecommendationFeedbackOutcome ListRecommendationFeedback(const Model::ListRecommendationFeedbackRequest &request) const
virtual Model::TagResourceOutcomeCallable TagResourceCallable(const Model::TagResourceRequest &request) const
virtual void CreateCodeReviewAsync(const Model::CreateCodeReviewRequest &request, const CreateCodeReviewResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListCodeReviewsOutcome ListCodeReviews(const Model::ListCodeReviewsRequest &request) const
virtual Model::ListRecommendationsOutcome ListRecommendations(const Model::ListRecommendationsRequest &request) const
virtual Model::CreateCodeReviewOutcomeCallable CreateCodeReviewCallable(const Model::CreateCodeReviewRequest &request) const
virtual void ListRecommendationFeedbackAsync(const Model::ListRecommendationFeedbackRequest &request, const ListRecommendationFeedbackResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CodeGuruReviewerClient(const Aws::CodeGuruReviewer::CodeGuruReviewerClientConfiguration &clientConfiguration=Aws::CodeGuruReviewer::CodeGuruReviewerClientConfiguration(), std::shared_ptr< CodeGuruReviewerEndpointProviderBase > endpointProvider=Aws::MakeShared< CodeGuruReviewerEndpointProvider >(ALLOCATION_TAG))
virtual Model::AssociateRepositoryOutcomeCallable AssociateRepositoryCallable(const Model::AssociateRepositoryRequest &request) const
virtual Model::DescribeRecommendationFeedbackOutcome DescribeRecommendationFeedback(const Model::DescribeRecommendationFeedbackRequest &request) const
CodeGuruReviewerClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const Model::ListTagsForResourceRequest &request) const
virtual Model::DescribeRepositoryAssociationOutcomeCallable DescribeRepositoryAssociationCallable(const Model::DescribeRepositoryAssociationRequest &request) const
virtual void DescribeRepositoryAssociationAsync(const Model::DescribeRepositoryAssociationRequest &request, const DescribeRepositoryAssociationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DisassociateRepositoryOutcome DisassociateRepository(const Model::DisassociateRepositoryRequest &request) const
virtual Model::UntagResourceOutcomeCallable UntagResourceCallable(const Model::UntagResourceRequest &request) const
virtual void PutRecommendationFeedbackAsync(const Model::PutRecommendationFeedbackRequest &request, const PutRecommendationFeedbackResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListRecommendationsOutcomeCallable ListRecommendationsCallable(const Model::ListRecommendationsRequest &request) const
virtual void DescribeRecommendationFeedbackAsync(const Model::DescribeRecommendationFeedbackRequest &request, const DescribeRecommendationFeedbackResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< DescribeRecommendationFeedbackOutcome > DescribeRecommendationFeedbackOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< PutRecommendationFeedbackOutcome > PutRecommendationFeedbackOutcomeCallable
std::future< ListRecommendationsOutcome > ListRecommendationsOutcomeCallable
std::future< ListRecommendationFeedbackOutcome > ListRecommendationFeedbackOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< ListRepositoryAssociationsOutcome > ListRepositoryAssociationsOutcomeCallable
std::future< DescribeRepositoryAssociationOutcome > DescribeRepositoryAssociationOutcomeCallable
std::future< AssociateRepositoryOutcome > AssociateRepositoryOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< DisassociateRepositoryOutcome > DisassociateRepositoryOutcomeCallable
std::future< ListCodeReviewsOutcome > ListCodeReviewsOutcomeCallable
std::future< CreateCodeReviewOutcome > CreateCodeReviewOutcomeCallable
std::future< DescribeCodeReviewOutcome > DescribeCodeReviewOutcomeCallable
std::function< void(const CodeGuruReviewerClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::DescribeCodeReviewRequest &, const Model::DescribeCodeReviewOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeCodeReviewResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::DisassociateRepositoryRequest &, const Model::DisassociateRepositoryOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisassociateRepositoryResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::ListRecommendationsRequest &, const Model::ListRecommendationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRecommendationsResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::PutRecommendationFeedbackRequest &, const Model::PutRecommendationFeedbackOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutRecommendationFeedbackResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::CreateCodeReviewRequest &, const Model::CreateCodeReviewOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateCodeReviewResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::AssociateRepositoryRequest &, const Model::AssociateRepositoryOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AssociateRepositoryResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::ListRecommendationFeedbackRequest &, const Model::ListRecommendationFeedbackOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRecommendationFeedbackResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::DescribeRepositoryAssociationRequest &, const Model::DescribeRepositoryAssociationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeRepositoryAssociationResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::DescribeRecommendationFeedbackRequest &, const Model::DescribeRecommendationFeedbackOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeRecommendationFeedbackResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::ListRepositoryAssociationsRequest &, const Model::ListRepositoryAssociationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRepositoryAssociationsResponseReceivedHandler
std::function< void(const CodeGuruReviewerClient *, const Model::ListCodeReviewsRequest &, const Model::ListCodeReviewsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListCodeReviewsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String