AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ControlCatalogClient.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalog_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/controlcatalog/ControlCatalogServiceClientModel.h>
13
14namespace Aws
15{
16namespace ControlCatalog
17{
39 class AWS_CONTROLCATALOG_API ControlCatalogClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<ControlCatalogClient>
40 {
41 public:
43 static const char* GetServiceName();
44 static const char* GetAllocationTag();
45
48
54 std::shared_ptr<ControlCatalogEndpointProviderBase> endpointProvider = nullptr);
55
61 std::shared_ptr<ControlCatalogEndpointProviderBase> endpointProvider = nullptr,
63
68 ControlCatalogClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
69 std::shared_ptr<ControlCatalogEndpointProviderBase> endpointProvider = nullptr,
71
72
73 /* Legacy constructors due deprecation */
79
85 const Aws::Client::ClientConfiguration& clientConfiguration);
86
91 ControlCatalogClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
92 const Aws::Client::ClientConfiguration& clientConfiguration);
93
94 /* End of legacy constructors due deprecation */
96
112
116 template<typename GetControlRequestT = Model::GetControlRequest>
117 Model::GetControlOutcomeCallable GetControlCallable(const GetControlRequestT& request) const
118 {
119 return SubmitCallable(&ControlCatalogClient::GetControl, request);
120 }
121
125 template<typename GetControlRequestT = Model::GetControlRequest>
126 void GetControlAsync(const GetControlRequestT& request, const GetControlResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
127 {
128 return SubmitAsync(&ControlCatalogClient::GetControl, request, handler, context);
129 }
130
140
144 template<typename ListCommonControlsRequestT = Model::ListCommonControlsRequest>
145 Model::ListCommonControlsOutcomeCallable ListCommonControlsCallable(const ListCommonControlsRequestT& request = {}) const
146 {
147 return SubmitCallable(&ControlCatalogClient::ListCommonControls, request);
148 }
149
153 template<typename ListCommonControlsRequestT = Model::ListCommonControlsRequest>
154 void ListCommonControlsAsync(const ListCommonControlsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListCommonControlsRequestT& request = {}) const
155 {
156 return SubmitAsync(&ControlCatalogClient::ListCommonControls, request, handler, context);
157 }
158
169
173 template<typename ListControlsRequestT = Model::ListControlsRequest>
174 Model::ListControlsOutcomeCallable ListControlsCallable(const ListControlsRequestT& request = {}) const
175 {
176 return SubmitCallable(&ControlCatalogClient::ListControls, request);
177 }
178
182 template<typename ListControlsRequestT = Model::ListControlsRequest>
183 void ListControlsAsync(const ListControlsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListControlsRequestT& request = {}) const
184 {
185 return SubmitAsync(&ControlCatalogClient::ListControls, request, handler, context);
186 }
187
195
199 template<typename ListDomainsRequestT = Model::ListDomainsRequest>
200 Model::ListDomainsOutcomeCallable ListDomainsCallable(const ListDomainsRequestT& request = {}) const
201 {
202 return SubmitCallable(&ControlCatalogClient::ListDomains, request);
203 }
204
208 template<typename ListDomainsRequestT = Model::ListDomainsRequest>
209 void ListDomainsAsync(const ListDomainsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListDomainsRequestT& request = {}) const
210 {
211 return SubmitAsync(&ControlCatalogClient::ListDomains, request, handler, context);
212 }
213
223
227 template<typename ListObjectivesRequestT = Model::ListObjectivesRequest>
228 Model::ListObjectivesOutcomeCallable ListObjectivesCallable(const ListObjectivesRequestT& request = {}) const
229 {
230 return SubmitCallable(&ControlCatalogClient::ListObjectives, request);
231 }
232
236 template<typename ListObjectivesRequestT = Model::ListObjectivesRequest>
237 void ListObjectivesAsync(const ListObjectivesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListObjectivesRequestT& request = {}) const
238 {
239 return SubmitAsync(&ControlCatalogClient::ListObjectives, request, handler, context);
240 }
241
242
243 void OverrideEndpoint(const Aws::String& endpoint);
244 std::shared_ptr<ControlCatalogEndpointProviderBase>& accessEndpointProvider();
245 private:
247 void init(const ControlCatalogClientConfiguration& clientConfiguration);
248
249 ControlCatalogClientConfiguration m_clientConfiguration;
250 std::shared_ptr<ControlCatalogEndpointProviderBase> m_endpointProvider;
251 };
252
253} // namespace ControlCatalog
254} // namespace Aws
virtual Model::ListControlsOutcome ListControls(const Model::ListControlsRequest &request={}) const
void GetControlAsync(const GetControlRequestT &request, const GetControlResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetControlOutcomeCallable GetControlCallable(const GetControlRequestT &request) const
virtual Model::ListDomainsOutcome ListDomains(const Model::ListDomainsRequest &request={}) const
void ListCommonControlsAsync(const ListCommonControlsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListCommonControlsRequestT &request={}) const
Model::ListCommonControlsOutcomeCallable ListCommonControlsCallable(const ListCommonControlsRequestT &request={}) const
std::shared_ptr< ControlCatalogEndpointProviderBase > & accessEndpointProvider()
Model::ListObjectivesOutcomeCallable ListObjectivesCallable(const ListObjectivesRequestT &request={}) const
Model::ListDomainsOutcomeCallable ListDomainsCallable(const ListDomainsRequestT &request={}) const
void ListDomainsAsync(const ListDomainsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListDomainsRequestT &request={}) const
virtual Model::ListObjectivesOutcome ListObjectives(const Model::ListObjectivesRequest &request={}) const
ControlCatalogEndpointProvider EndpointProviderType
ControlCatalogClient(const Aws::ControlCatalog::ControlCatalogClientConfiguration &clientConfiguration=Aws::ControlCatalog::ControlCatalogClientConfiguration(), std::shared_ptr< ControlCatalogEndpointProviderBase > endpointProvider=nullptr)
ControlCatalogClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
ControlCatalogClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
ControlCatalogClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< ControlCatalogEndpointProviderBase > endpointProvider=nullptr, const Aws::ControlCatalog::ControlCatalogClientConfiguration &clientConfiguration=Aws::ControlCatalog::ControlCatalogClientConfiguration())
void ListControlsAsync(const ListControlsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListControlsRequestT &request={}) const
virtual Model::GetControlOutcome GetControl(const Model::GetControlRequest &request) const
ControlCatalogClientConfiguration ClientConfigurationType
void OverrideEndpoint(const Aws::String &endpoint)
ControlCatalogClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListCommonControlsOutcome ListCommonControls(const Model::ListCommonControlsRequest &request={}) const
Model::ListControlsOutcomeCallable ListControlsCallable(const ListControlsRequestT &request={}) const
ControlCatalogClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< ControlCatalogEndpointProviderBase > endpointProvider=nullptr, const Aws::ControlCatalog::ControlCatalogClientConfiguration &clientConfiguration=Aws::ControlCatalog::ControlCatalogClientConfiguration())
void ListObjectivesAsync(const ListObjectivesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListObjectivesRequestT &request={}) const
std::future< GetControlOutcome > GetControlOutcomeCallable
std::future< ListDomainsOutcome > ListDomainsOutcomeCallable
std::future< ListCommonControlsOutcome > ListCommonControlsOutcomeCallable
std::future< ListObjectivesOutcome > ListObjectivesOutcomeCallable
std::future< ListControlsOutcome > ListControlsOutcomeCallable
std::function< void(const ControlCatalogClient *, const Model::GetControlRequest &, const Model::GetControlOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetControlResponseReceivedHandler
std::function< void(const ControlCatalogClient *, const Model::ListCommonControlsRequest &, const Model::ListCommonControlsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListCommonControlsResponseReceivedHandler
std::function< void(const ControlCatalogClient *, const Model::ListDomainsRequest &, const Model::ListDomainsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDomainsResponseReceivedHandler
std::function< void(const ControlCatalogClient *, const Model::ListObjectivesRequest &, const Model::ListObjectivesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListObjectivesResponseReceivedHandler
std::function< void(const ControlCatalogClient *, const Model::ListControlsRequest &, const Model::ListControlsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListControlsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String