AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AIOpsClient.h
1
6#pragma once
7#include <aws/aiops/AIOpsServiceClientModel.h>
8#include <aws/aiops/AIOps_EXPORTS.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/client/ClientConfiguration.h>
12#include <aws/core/utils/json/JsonSerializer.h>
13
14namespace Aws {
15namespace AIOps {
26 public:
28 static const char* GetServiceName();
29 static const char* GetAllocationTag();
30
33
39 std::shared_ptr<AIOpsEndpointProviderBase> endpointProvider = nullptr);
40
45 AIOpsClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr<AIOpsEndpointProviderBase> endpointProvider = nullptr,
47
52 AIOpsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
53 std::shared_ptr<AIOpsEndpointProviderBase> endpointProvider = nullptr,
55
56 /* Legacy constructors due deprecation */
61 AIOpsClient(const Aws::Client::ClientConfiguration& clientConfiguration);
62
67 AIOpsClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration);
68
73 AIOpsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
74 const Aws::Client::ClientConfiguration& clientConfiguration);
75
76 /* End of legacy constructors due deprecation */
77 virtual ~AIOpsClient();
78
106
111 template <typename CreateInvestigationGroupRequestT = Model::CreateInvestigationGroupRequest>
112 Model::CreateInvestigationGroupOutcomeCallable CreateInvestigationGroupCallable(const CreateInvestigationGroupRequestT& request) const {
113 return SubmitCallable(&AIOpsClient::CreateInvestigationGroup, request);
114 }
115
120 template <typename CreateInvestigationGroupRequestT = Model::CreateInvestigationGroupRequest>
121 void CreateInvestigationGroupAsync(const CreateInvestigationGroupRequestT& request,
123 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
124 return SubmitAsync(&AIOpsClient::CreateInvestigationGroup, request, handler, context);
125 }
126
136
141 template <typename DeleteInvestigationGroupRequestT = Model::DeleteInvestigationGroupRequest>
142 Model::DeleteInvestigationGroupOutcomeCallable DeleteInvestigationGroupCallable(const DeleteInvestigationGroupRequestT& request) const {
143 return SubmitCallable(&AIOpsClient::DeleteInvestigationGroup, request);
144 }
145
150 template <typename DeleteInvestigationGroupRequestT = Model::DeleteInvestigationGroupRequest>
151 void DeleteInvestigationGroupAsync(const DeleteInvestigationGroupRequestT& request,
153 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
154 return SubmitAsync(&AIOpsClient::DeleteInvestigationGroup, request, handler, context);
155 }
156
165
170 template <typename DeleteInvestigationGroupPolicyRequestT = Model::DeleteInvestigationGroupPolicyRequest>
172 const DeleteInvestigationGroupPolicyRequestT& request) const {
173 return SubmitCallable(&AIOpsClient::DeleteInvestigationGroupPolicy, request);
174 }
175
180 template <typename DeleteInvestigationGroupPolicyRequestT = Model::DeleteInvestigationGroupPolicyRequest>
181 void DeleteInvestigationGroupPolicyAsync(const DeleteInvestigationGroupPolicyRequestT& request,
183 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
184 return SubmitAsync(&AIOpsClient::DeleteInvestigationGroupPolicy, request, handler, context);
185 }
186
194
199 template <typename GetInvestigationGroupRequestT = Model::GetInvestigationGroupRequest>
200 Model::GetInvestigationGroupOutcomeCallable GetInvestigationGroupCallable(const GetInvestigationGroupRequestT& request) const {
201 return SubmitCallable(&AIOpsClient::GetInvestigationGroup, request);
202 }
203
208 template <typename GetInvestigationGroupRequestT = Model::GetInvestigationGroupRequest>
209 void GetInvestigationGroupAsync(const GetInvestigationGroupRequestT& request, const GetInvestigationGroupResponseReceivedHandler& handler,
210 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
211 return SubmitAsync(&AIOpsClient::GetInvestigationGroup, request, handler, context);
212 }
213
223 const Model::GetInvestigationGroupPolicyRequest& request) const;
224
229 template <typename GetInvestigationGroupPolicyRequestT = Model::GetInvestigationGroupPolicyRequest>
231 const GetInvestigationGroupPolicyRequestT& request) const {
232 return SubmitCallable(&AIOpsClient::GetInvestigationGroupPolicy, request);
233 }
234
239 template <typename GetInvestigationGroupPolicyRequestT = Model::GetInvestigationGroupPolicyRequest>
240 void GetInvestigationGroupPolicyAsync(const GetInvestigationGroupPolicyRequestT& request,
242 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
243 return SubmitAsync(&AIOpsClient::GetInvestigationGroupPolicy, request, handler, context);
244 }
245
253
258 template <typename ListInvestigationGroupsRequestT = Model::ListInvestigationGroupsRequest>
259 Model::ListInvestigationGroupsOutcomeCallable ListInvestigationGroupsCallable(const ListInvestigationGroupsRequestT& request = {}) const {
260 return SubmitCallable(&AIOpsClient::ListInvestigationGroups, request);
261 }
262
267 template <typename ListInvestigationGroupsRequestT = Model::ListInvestigationGroupsRequest>
269 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr,
270 const ListInvestigationGroupsRequestT& request = {}) const {
271 return SubmitAsync(&AIOpsClient::ListInvestigationGroups, request, handler, context);
272 }
273
281
286 template <typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
287 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const {
288 return SubmitCallable(&AIOpsClient::ListTagsForResource, request);
289 }
290
295 template <typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
296 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler,
297 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
298 return SubmitAsync(&AIOpsClient::ListTagsForResource, request, handler, context);
299 }
300
317 const Model::PutInvestigationGroupPolicyRequest& request) const;
318
323 template <typename PutInvestigationGroupPolicyRequestT = Model::PutInvestigationGroupPolicyRequest>
325 const PutInvestigationGroupPolicyRequestT& request) const {
326 return SubmitCallable(&AIOpsClient::PutInvestigationGroupPolicy, request);
327 }
328
333 template <typename PutInvestigationGroupPolicyRequestT = Model::PutInvestigationGroupPolicyRequest>
334 void PutInvestigationGroupPolicyAsync(const PutInvestigationGroupPolicyRequestT& request,
336 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
337 return SubmitAsync(&AIOpsClient::PutInvestigationGroupPolicy, request, handler, context);
338 }
339
352
356 template <typename TagResourceRequestT = Model::TagResourceRequest>
357 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const {
358 return SubmitCallable(&AIOpsClient::TagResource, request);
359 }
360
365 template <typename TagResourceRequestT = Model::TagResourceRequest>
366 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler,
367 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
368 return SubmitAsync(&AIOpsClient::TagResource, request, handler, context);
369 }
370
378
382 template <typename UntagResourceRequestT = Model::UntagResourceRequest>
383 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const {
384 return SubmitCallable(&AIOpsClient::UntagResource, request);
385 }
386
391 template <typename UntagResourceRequestT = Model::UntagResourceRequest>
392 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler,
393 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
394 return SubmitAsync(&AIOpsClient::UntagResource, request, handler, context);
395 }
396
404
409 template <typename UpdateInvestigationGroupRequestT = Model::UpdateInvestigationGroupRequest>
410 Model::UpdateInvestigationGroupOutcomeCallable UpdateInvestigationGroupCallable(const UpdateInvestigationGroupRequestT& request) const {
411 return SubmitCallable(&AIOpsClient::UpdateInvestigationGroup, request);
412 }
413
418 template <typename UpdateInvestigationGroupRequestT = Model::UpdateInvestigationGroupRequest>
419 void UpdateInvestigationGroupAsync(const UpdateInvestigationGroupRequestT& request,
421 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
422 return SubmitAsync(&AIOpsClient::UpdateInvestigationGroup, request, handler, context);
423 }
424
425 virtual void OverrideEndpoint(const Aws::String& endpoint);
426 virtual std::shared_ptr<AIOpsEndpointProviderBase>& accessEndpointProvider();
427
428 private:
430 void init(const AIOpsClientConfiguration& clientConfiguration);
431
432 AIOpsClientConfiguration m_clientConfiguration;
433 std::shared_ptr<AIOpsEndpointProviderBase> m_endpointProvider;
434};
435
436} // namespace AIOps
437} // 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:32
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:27
void GetInvestigationGroupAsync(const GetInvestigationGroupRequestT &request, const GetInvestigationGroupResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AIOpsClientConfiguration ClientConfigurationType
Definition AIOpsClient.h:31
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