AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
AIOpsClient.h
1
6#pragma once
7#include <aws/aiops/AIOpsPaginationBase.h>
8#include <aws/aiops/AIOpsServiceClientModel.h>
9#include <aws/aiops/AIOpsWaiter.h>
10#include <aws/aiops/AIOps_EXPORTS.h>
11#include <aws/core/client/AWSClient.h>
12#include <aws/core/client/AWSClientAsyncCRTP.h>
13#include <aws/core/client/ClientConfiguration.h>
14#include <aws/core/utils/json/JsonSerializer.h>
15
16namespace Aws {
17namespace AIOps {
27class AWS_AIOPS_API AIOpsClient : public Aws::Client::AWSJsonClient,
29 public AIOpsPaginationBase<AIOpsClient>,
30 public AIOpsWaiter<AIOpsClient> {
31 public:
33 static const char* GetServiceName();
34 static const char* GetAllocationTag();
35
38
44 std::shared_ptr<AIOpsEndpointProviderBase> endpointProvider = nullptr);
45
50 AIOpsClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr<AIOpsEndpointProviderBase> endpointProvider = nullptr,
52
57 AIOpsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
58 std::shared_ptr<AIOpsEndpointProviderBase> endpointProvider = nullptr,
60
61 /* Legacy constructors due deprecation */
66 AIOpsClient(const Aws::Client::ClientConfiguration& clientConfiguration);
67
72 AIOpsClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration);
73
78 AIOpsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
79 const Aws::Client::ClientConfiguration& clientConfiguration);
80
81 /* End of legacy constructors due deprecation */
82 virtual ~AIOpsClient();
83
111
116 template <typename CreateInvestigationGroupRequestT = Model::CreateInvestigationGroupRequest>
117 Model::CreateInvestigationGroupOutcomeCallable CreateInvestigationGroupCallable(const CreateInvestigationGroupRequestT& request) const {
118 return SubmitCallable(&AIOpsClient::CreateInvestigationGroup, request);
119 }
120
125 template <typename CreateInvestigationGroupRequestT = Model::CreateInvestigationGroupRequest>
126 void CreateInvestigationGroupAsync(const CreateInvestigationGroupRequestT& request,
128 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
129 return SubmitAsync(&AIOpsClient::CreateInvestigationGroup, request, handler, context);
130 }
131
141
146 template <typename DeleteInvestigationGroupRequestT = Model::DeleteInvestigationGroupRequest>
147 Model::DeleteInvestigationGroupOutcomeCallable DeleteInvestigationGroupCallable(const DeleteInvestigationGroupRequestT& request) const {
148 return SubmitCallable(&AIOpsClient::DeleteInvestigationGroup, request);
149 }
150
155 template <typename DeleteInvestigationGroupRequestT = Model::DeleteInvestigationGroupRequest>
156 void DeleteInvestigationGroupAsync(const DeleteInvestigationGroupRequestT& request,
158 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
159 return SubmitAsync(&AIOpsClient::DeleteInvestigationGroup, request, handler, context);
160 }
161
170
175 template <typename DeleteInvestigationGroupPolicyRequestT = Model::DeleteInvestigationGroupPolicyRequest>
177 const DeleteInvestigationGroupPolicyRequestT& request) const {
178 return SubmitCallable(&AIOpsClient::DeleteInvestigationGroupPolicy, request);
179 }
180
185 template <typename DeleteInvestigationGroupPolicyRequestT = Model::DeleteInvestigationGroupPolicyRequest>
186 void DeleteInvestigationGroupPolicyAsync(const DeleteInvestigationGroupPolicyRequestT& request,
188 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
189 return SubmitAsync(&AIOpsClient::DeleteInvestigationGroupPolicy, request, handler, context);
190 }
191
199
204 template <typename GetInvestigationGroupRequestT = Model::GetInvestigationGroupRequest>
205 Model::GetInvestigationGroupOutcomeCallable GetInvestigationGroupCallable(const GetInvestigationGroupRequestT& request) const {
206 return SubmitCallable(&AIOpsClient::GetInvestigationGroup, request);
207 }
208
213 template <typename GetInvestigationGroupRequestT = Model::GetInvestigationGroupRequest>
214 void GetInvestigationGroupAsync(const GetInvestigationGroupRequestT& request, const GetInvestigationGroupResponseReceivedHandler& handler,
215 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
216 return SubmitAsync(&AIOpsClient::GetInvestigationGroup, request, handler, context);
217 }
218
228 const Model::GetInvestigationGroupPolicyRequest& request) const;
229
234 template <typename GetInvestigationGroupPolicyRequestT = Model::GetInvestigationGroupPolicyRequest>
236 const GetInvestigationGroupPolicyRequestT& request) const {
237 return SubmitCallable(&AIOpsClient::GetInvestigationGroupPolicy, request);
238 }
239
244 template <typename GetInvestigationGroupPolicyRequestT = Model::GetInvestigationGroupPolicyRequest>
245 void GetInvestigationGroupPolicyAsync(const GetInvestigationGroupPolicyRequestT& request,
247 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
248 return SubmitAsync(&AIOpsClient::GetInvestigationGroupPolicy, request, handler, context);
249 }
250
258
263 template <typename ListInvestigationGroupsRequestT = Model::ListInvestigationGroupsRequest>
264 Model::ListInvestigationGroupsOutcomeCallable ListInvestigationGroupsCallable(const ListInvestigationGroupsRequestT& request = {}) const {
265 return SubmitCallable(&AIOpsClient::ListInvestigationGroups, request);
266 }
267
272 template <typename ListInvestigationGroupsRequestT = Model::ListInvestigationGroupsRequest>
274 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr,
275 const ListInvestigationGroupsRequestT& request = {}) const {
276 return SubmitAsync(&AIOpsClient::ListInvestigationGroups, request, handler, context);
277 }
278
286
291 template <typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
292 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const {
293 return SubmitCallable(&AIOpsClient::ListTagsForResource, request);
294 }
295
300 template <typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
301 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler,
302 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
303 return SubmitAsync(&AIOpsClient::ListTagsForResource, request, handler, context);
304 }
305
322 const Model::PutInvestigationGroupPolicyRequest& request) const;
323
328 template <typename PutInvestigationGroupPolicyRequestT = Model::PutInvestigationGroupPolicyRequest>
330 const PutInvestigationGroupPolicyRequestT& request) const {
331 return SubmitCallable(&AIOpsClient::PutInvestigationGroupPolicy, request);
332 }
333
338 template <typename PutInvestigationGroupPolicyRequestT = Model::PutInvestigationGroupPolicyRequest>
339 void PutInvestigationGroupPolicyAsync(const PutInvestigationGroupPolicyRequestT& request,
341 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
342 return SubmitAsync(&AIOpsClient::PutInvestigationGroupPolicy, request, handler, context);
343 }
344
357
361 template <typename TagResourceRequestT = Model::TagResourceRequest>
362 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const {
363 return SubmitCallable(&AIOpsClient::TagResource, request);
364 }
365
370 template <typename TagResourceRequestT = Model::TagResourceRequest>
371 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler,
372 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
373 return SubmitAsync(&AIOpsClient::TagResource, request, handler, context);
374 }
375
383
387 template <typename UntagResourceRequestT = Model::UntagResourceRequest>
388 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const {
389 return SubmitCallable(&AIOpsClient::UntagResource, request);
390 }
391
396 template <typename UntagResourceRequestT = Model::UntagResourceRequest>
397 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler,
398 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
399 return SubmitAsync(&AIOpsClient::UntagResource, request, handler, context);
400 }
401
409
414 template <typename UpdateInvestigationGroupRequestT = Model::UpdateInvestigationGroupRequest>
415 Model::UpdateInvestigationGroupOutcomeCallable UpdateInvestigationGroupCallable(const UpdateInvestigationGroupRequestT& request) const {
416 return SubmitCallable(&AIOpsClient::UpdateInvestigationGroup, request);
417 }
418
423 template <typename UpdateInvestigationGroupRequestT = Model::UpdateInvestigationGroupRequest>
424 void UpdateInvestigationGroupAsync(const UpdateInvestigationGroupRequestT& request,
426 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
427 return SubmitAsync(&AIOpsClient::UpdateInvestigationGroup, request, handler, context);
428 }
429
430 virtual void OverrideEndpoint(const Aws::String& endpoint);
431 virtual std::shared_ptr<AIOpsEndpointProviderBase>& accessEndpointProvider();
432
433 private:
435 void init(const AIOpsClientConfiguration& clientConfiguration);
436
438
439 InvokeOperationOutcome InvokeServiceOperation(const AmazonWebServiceRequest& request,
440 const std::function<void(Aws::Endpoint::ResolveEndpointOutcome&)>& resolveUri,
441 Aws::Http::HttpMethod httpMethod) const;
442
443 AIOpsClientConfiguration m_clientConfiguration;
444 std::shared_ptr<AIOpsEndpointProviderBase> m_endpointProvider;
445};
446
447} // namespace AIOps
448} // namespace Aws
AIOpsClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< AIOpsEndpointProviderBase > endpointProvider=nullptr, const Aws::AIOps::AIOpsClientConfiguration &clientConfiguration=Aws::AIOps::AIOpsClientConfiguration())
Model::DeleteInvestigationGroupPolicyOutcomeCallable DeleteInvestigationGroupPolicyCallable(const DeleteInvestigationGroupPolicyRequestT &request) const
Model::PutInvestigationGroupPolicyOutcomeCallable PutInvestigationGroupPolicyCallable(const PutInvestigationGroupPolicyRequestT &request) const
AIOpsClient(const Aws::AIOps::AIOpsClientConfiguration &clientConfiguration=Aws::AIOps::AIOpsClientConfiguration(), std::shared_ptr< AIOpsEndpointProviderBase > endpointProvider=nullptr)
void DeleteInvestigationGroupPolicyAsync(const DeleteInvestigationGroupPolicyRequestT &request, const DeleteInvestigationGroupPolicyResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetInvestigationGroupPolicyOutcome GetInvestigationGroupPolicy(const Model::GetInvestigationGroupPolicyRequest &request) const
virtual Model::DeleteInvestigationGroupOutcome DeleteInvestigationGroup(const Model::DeleteInvestigationGroupRequest &request) const
Model::CreateInvestigationGroupOutcomeCallable CreateInvestigationGroupCallable(const CreateInvestigationGroupRequestT &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
virtual Model::UpdateInvestigationGroupOutcome UpdateInvestigationGroup(const Model::UpdateInvestigationGroupRequest &request) const
void PutInvestigationGroupPolicyAsync(const PutInvestigationGroupPolicyRequestT &request, const PutInvestigationGroupPolicyResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AIOpsEndpointProvider EndpointProviderType
Definition AIOpsClient.h:37
AIOpsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AIOpsClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::CreateInvestigationGroupOutcome CreateInvestigationGroup(const Model::CreateInvestigationGroupRequest &request) const
Model::GetInvestigationGroupOutcomeCallable GetInvestigationGroupCallable(const GetInvestigationGroupRequestT &request) const
void DeleteInvestigationGroupAsync(const DeleteInvestigationGroupRequestT &request, const DeleteInvestigationGroupResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateInvestigationGroupAsync(const CreateInvestigationGroupRequestT &request, const CreateInvestigationGroupResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
virtual Model::ListInvestigationGroupsOutcome ListInvestigationGroups(const Model::ListInvestigationGroupsRequest &request={}) const
virtual Model::DeleteInvestigationGroupPolicyOutcome DeleteInvestigationGroupPolicy(const Model::DeleteInvestigationGroupPolicyRequest &request) const
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetInvestigationGroupPolicyOutcomeCallable GetInvestigationGroupPolicyCallable(const GetInvestigationGroupPolicyRequestT &request) const
Model::UpdateInvestigationGroupOutcomeCallable UpdateInvestigationGroupCallable(const UpdateInvestigationGroupRequestT &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetServiceName()
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
virtual Model::GetInvestigationGroupOutcome GetInvestigationGroup(const Model::GetInvestigationGroupRequest &request) const
virtual std::shared_ptr< AIOpsEndpointProviderBase > & accessEndpointProvider()
Aws::Client::AWSJsonClient BASECLASS
Definition AIOpsClient.h:32
void GetInvestigationGroupAsync(const GetInvestigationGroupRequestT &request, const GetInvestigationGroupResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AIOpsClientConfiguration ClientConfigurationType
Definition AIOpsClient.h:36
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
virtual void OverrideEndpoint(const Aws::String &endpoint)
Model::DeleteInvestigationGroupOutcomeCallable DeleteInvestigationGroupCallable(const DeleteInvestigationGroupRequestT &request) const
void GetInvestigationGroupPolicyAsync(const GetInvestigationGroupPolicyRequestT &request, const GetInvestigationGroupPolicyResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListInvestigationGroupsOutcomeCallable ListInvestigationGroupsCallable(const ListInvestigationGroupsRequestT &request={}) const
AIOpsClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::PutInvestigationGroupPolicyOutcome PutInvestigationGroupPolicy(const Model::PutInvestigationGroupPolicyRequest &request) const
static const char * GetAllocationTag()
void ListInvestigationGroupsAsync(const ListInvestigationGroupsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListInvestigationGroupsRequestT &request={}) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
void UpdateInvestigationGroupAsync(const UpdateInvestigationGroupRequestT &request, const UpdateInvestigationGroupResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AIOpsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< AIOpsEndpointProviderBase > endpointProvider=nullptr, const Aws::AIOps::AIOpsClientConfiguration &clientConfiguration=Aws::AIOps::AIOpsClientConfiguration())
std::future< GetInvestigationGroupOutcome > GetInvestigationGroupOutcomeCallable
std::future< PutInvestigationGroupPolicyOutcome > PutInvestigationGroupPolicyOutcomeCallable
std::future< CreateInvestigationGroupOutcome > CreateInvestigationGroupOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< UpdateInvestigationGroupOutcome > UpdateInvestigationGroupOutcomeCallable
std::future< GetInvestigationGroupPolicyOutcome > GetInvestigationGroupPolicyOutcomeCallable
std::future< DeleteInvestigationGroupPolicyOutcome > DeleteInvestigationGroupPolicyOutcomeCallable
std::future< DeleteInvestigationGroupOutcome > DeleteInvestigationGroupOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< ListInvestigationGroupsOutcome > ListInvestigationGroupsOutcomeCallable
std::function< void(const AIOpsClient *, const Model::CreateInvestigationGroupRequest &, const Model::CreateInvestigationGroupOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> CreateInvestigationGroupResponseReceivedHandler
std::function< void(const AIOpsClient *, const Model::GetInvestigationGroupPolicyRequest &, const Model::GetInvestigationGroupPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetInvestigationGroupPolicyResponseReceivedHandler
std::function< void(const AIOpsClient *, const Model::UpdateInvestigationGroupRequest &, const Model::UpdateInvestigationGroupOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> UpdateInvestigationGroupResponseReceivedHandler
std::function< void(const AIOpsClient *, const Model::ListInvestigationGroupsRequest &, const Model::ListInvestigationGroupsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListInvestigationGroupsResponseReceivedHandler
std::function< void(const AIOpsClient *, const Model::DeleteInvestigationGroupPolicyRequest &, const Model::DeleteInvestigationGroupPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DeleteInvestigationGroupPolicyResponseReceivedHandler
std::function< void(const AIOpsClient *, const Model::PutInvestigationGroupPolicyRequest &, const Model::PutInvestigationGroupPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> PutInvestigationGroupPolicyResponseReceivedHandler
std::function< void(const AIOpsClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> TagResourceResponseReceivedHandler
std::function< void(const AIOpsClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListTagsForResourceResponseReceivedHandler
std::function< void(const AIOpsClient *, const Model::DeleteInvestigationGroupRequest &, const Model::DeleteInvestigationGroupOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DeleteInvestigationGroupResponseReceivedHandler
std::function< void(const AIOpsClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> UntagResourceResponseReceivedHandler
std::function< void(const AIOpsClient *, const Model::GetInvestigationGroupRequest &, const Model::GetInvestigationGroupOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetInvestigationGroupResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String