7#include <aws/codestar-notifications/CodeStarNotifications_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/codestar-notifications/CodeStarNotificationsServiceClientModel.h>
16namespace CodeStarNotifications
63 std::shared_ptr<CodeStarNotificationsEndpointProviderBase> endpointProvider =
nullptr);
70 std::shared_ptr<CodeStarNotificationsEndpointProviderBase> endpointProvider =
nullptr,
78 std::shared_ptr<CodeStarNotificationsEndpointProviderBase> endpointProvider =
nullptr,
119 template<
typename CreateNotificationRuleRequestT = Model::CreateNotificationRuleRequest>
122 return SubmitCallable(&CodeStarNotificationsClient::CreateNotificationRule, request);
128 template<
typename CreateNotificationRuleRequestT = Model::CreateNotificationRuleRequest>
131 return SubmitAsync(&CodeStarNotificationsClient::CreateNotificationRule, request, handler, context);
144 template<
typename DeleteNotificationRuleRequestT = Model::DeleteNotificationRuleRequest>
147 return SubmitCallable(&CodeStarNotificationsClient::DeleteNotificationRule, request);
153 template<
typename DeleteNotificationRuleRequestT = Model::DeleteNotificationRuleRequest>
156 return SubmitAsync(&CodeStarNotificationsClient::DeleteNotificationRule, request, handler, context);
169 template<
typename DeleteTargetRequestT = Model::DeleteTargetRequest>
172 return SubmitCallable(&CodeStarNotificationsClient::DeleteTarget, request);
178 template<
typename DeleteTargetRequestT = Model::DeleteTargetRequest>
181 return SubmitAsync(&CodeStarNotificationsClient::DeleteTarget, request, handler, context);
195 template<
typename DescribeNotificationRuleRequestT = Model::DescribeNotificationRuleRequest>
198 return SubmitCallable(&CodeStarNotificationsClient::DescribeNotificationRule, request);
204 template<
typename DescribeNotificationRuleRequestT = Model::DescribeNotificationRuleRequest>
207 return SubmitAsync(&CodeStarNotificationsClient::DescribeNotificationRule, request, handler, context);
221 template<
typename ListEventTypesRequestT = Model::ListEventTypesRequest>
224 return SubmitCallable(&CodeStarNotificationsClient::ListEventTypes, request);
230 template<
typename ListEventTypesRequestT = Model::ListEventTypesRequest>
233 return SubmitAsync(&CodeStarNotificationsClient::ListEventTypes, request, handler, context);
247 template<
typename ListNotificationRulesRequestT = Model::ListNotificationRulesRequest>
250 return SubmitCallable(&CodeStarNotificationsClient::ListNotificationRules, request);
256 template<
typename ListNotificationRulesRequestT = Model::ListNotificationRulesRequest>
259 return SubmitAsync(&CodeStarNotificationsClient::ListNotificationRules, request, handler, context);
273 template<
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
276 return SubmitCallable(&CodeStarNotificationsClient::ListTagsForResource, request);
282 template<
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
285 return SubmitAsync(&CodeStarNotificationsClient::ListTagsForResource, request, handler, context);
299 template<
typename ListTargetsRequestT = Model::ListTargetsRequest>
302 return SubmitCallable(&CodeStarNotificationsClient::ListTargets, request);
308 template<
typename ListTargetsRequestT = Model::ListTargetsRequest>
311 return SubmitAsync(&CodeStarNotificationsClient::ListTargets, request, handler, context);
326 template<
typename SubscribeRequestT = Model::SubscribeRequest>
329 return SubmitCallable(&CodeStarNotificationsClient::Subscribe, request);
335 template<
typename SubscribeRequestT = Model::SubscribeRequest>
338 return SubmitAsync(&CodeStarNotificationsClient::Subscribe, request, handler, context);
352 template<
typename TagResourceRequestT = Model::TagResourceRequest>
355 return SubmitCallable(&CodeStarNotificationsClient::TagResource, request);
361 template<
typename TagResourceRequestT = Model::TagResourceRequest>
364 return SubmitAsync(&CodeStarNotificationsClient::TagResource, request, handler, context);
379 template<
typename UnsubscribeRequestT = Model::UnsubscribeRequest>
382 return SubmitCallable(&CodeStarNotificationsClient::Unsubscribe, request);
388 template<
typename UnsubscribeRequestT = Model::UnsubscribeRequest>
391 return SubmitAsync(&CodeStarNotificationsClient::Unsubscribe, request, handler, context);
405 template<
typename UntagResourceRequestT = Model::UntagResourceRequest>
408 return SubmitCallable(&CodeStarNotificationsClient::UntagResource, request);
414 template<
typename UntagResourceRequestT = Model::UntagResourceRequest>
417 return SubmitAsync(&CodeStarNotificationsClient::UntagResource, request, handler, context);
434 template<
typename UpdateNotificationRuleRequestT = Model::UpdateNotificationRuleRequest>
437 return SubmitCallable(&CodeStarNotificationsClient::UpdateNotificationRule, request);
443 template<
typename UpdateNotificationRuleRequestT = Model::UpdateNotificationRuleRequest>
446 return SubmitAsync(&CodeStarNotificationsClient::UpdateNotificationRule, request, handler, context);
457 std::shared_ptr<CodeStarNotificationsEndpointProviderBase> m_endpointProvider;
virtual Model::SubscribeOutcome Subscribe(const Model::SubscribeRequest &request) const
void SubscribeAsync(const SubscribeRequestT &request, const SubscribeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetAllocationTag()
virtual Model::UnsubscribeOutcome Unsubscribe(const Model::UnsubscribeRequest &request) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
virtual Model::ListEventTypesOutcome ListEventTypes(const Model::ListEventTypesRequest &request={}) const
static const char * GetServiceName()
void DeleteNotificationRuleAsync(const DeleteNotificationRuleRequestT &request, const DeleteNotificationRuleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateNotificationRuleAsync(const CreateNotificationRuleRequestT &request, const CreateNotificationRuleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListEventTypesAsync(const ListEventTypesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListEventTypesRequestT &request={}) const
virtual Model::CreateNotificationRuleOutcome CreateNotificationRule(const Model::CreateNotificationRuleRequest &request) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
virtual ~CodeStarNotificationsClient()
virtual Model::ListTargetsOutcome ListTargets(const Model::ListTargetsRequest &request={}) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
void OverrideEndpoint(const Aws::String &endpoint)
Model::DeleteTargetOutcomeCallable DeleteTargetCallable(const DeleteTargetRequestT &request) const
void UnsubscribeAsync(const UnsubscribeRequestT &request, const UnsubscribeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DeleteTargetAsync(const DeleteTargetRequestT &request, const DeleteTargetResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListEventTypesOutcomeCallable ListEventTypesCallable(const ListEventTypesRequestT &request={}) const
CodeStarNotificationsClientConfiguration ClientConfigurationType
CodeStarNotificationsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< CodeStarNotificationsEndpointProviderBase > endpointProvider=nullptr, const Aws::CodeStarNotifications::CodeStarNotificationsClientConfiguration &clientConfiguration=Aws::CodeStarNotifications::CodeStarNotificationsClientConfiguration())
Model::UnsubscribeOutcomeCallable UnsubscribeCallable(const UnsubscribeRequestT &request) const
void DescribeNotificationRuleAsync(const DescribeNotificationRuleRequestT &request, const DescribeNotificationRuleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UpdateNotificationRuleOutcomeCallable UpdateNotificationRuleCallable(const UpdateNotificationRuleRequestT &request) const
CodeStarNotificationsClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< CodeStarNotificationsEndpointProviderBase > endpointProvider=nullptr, const Aws::CodeStarNotifications::CodeStarNotificationsClientConfiguration &clientConfiguration=Aws::CodeStarNotifications::CodeStarNotificationsClientConfiguration())
void ListTargetsAsync(const ListTargetsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListTargetsRequestT &request={}) const
Model::ListNotificationRulesOutcomeCallable ListNotificationRulesCallable(const ListNotificationRulesRequestT &request={}) const
void UpdateNotificationRuleAsync(const UpdateNotificationRuleRequestT &request, const UpdateNotificationRuleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::shared_ptr< CodeStarNotificationsEndpointProviderBase > & accessEndpointProvider()
virtual Model::DescribeNotificationRuleOutcome DescribeNotificationRule(const Model::DescribeNotificationRuleRequest &request) const
virtual Model::UpdateNotificationRuleOutcome UpdateNotificationRule(const Model::UpdateNotificationRuleRequest &request) const
CodeStarNotificationsClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
CodeStarNotificationsClient(const Aws::CodeStarNotifications::CodeStarNotificationsClientConfiguration &clientConfiguration=Aws::CodeStarNotifications::CodeStarNotificationsClientConfiguration(), std::shared_ptr< CodeStarNotificationsEndpointProviderBase > endpointProvider=nullptr)
CodeStarNotificationsClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::DeleteNotificationRuleOutcome DeleteNotificationRule(const Model::DeleteNotificationRuleRequest &request) const
void ListNotificationRulesAsync(const ListNotificationRulesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListNotificationRulesRequestT &request={}) const
Model::ListTargetsOutcomeCallable ListTargetsCallable(const ListTargetsRequestT &request={}) const
CodeStarNotificationsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListNotificationRulesOutcome ListNotificationRules(const Model::ListNotificationRulesRequest &request={}) const
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CodeStarNotificationsEndpointProvider EndpointProviderType
Model::DeleteNotificationRuleOutcomeCallable DeleteNotificationRuleCallable(const DeleteNotificationRuleRequestT &request) const
Aws::Client::AWSJsonClient BASECLASS
Model::DescribeNotificationRuleOutcomeCallable DescribeNotificationRuleCallable(const DescribeNotificationRuleRequestT &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::CreateNotificationRuleOutcomeCallable CreateNotificationRuleCallable(const CreateNotificationRuleRequestT &request) const
Model::SubscribeOutcomeCallable SubscribeCallable(const SubscribeRequestT &request) const
virtual Model::DeleteTargetOutcome DeleteTarget(const Model::DeleteTargetRequest &request) const
std::future< DeleteTargetOutcome > DeleteTargetOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< ListEventTypesOutcome > ListEventTypesOutcomeCallable
std::future< ListNotificationRulesOutcome > ListNotificationRulesOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< CreateNotificationRuleOutcome > CreateNotificationRuleOutcomeCallable
std::future< DeleteNotificationRuleOutcome > DeleteNotificationRuleOutcomeCallable
std::future< DescribeNotificationRuleOutcome > DescribeNotificationRuleOutcomeCallable
std::future< UpdateNotificationRuleOutcome > UpdateNotificationRuleOutcomeCallable
std::future< SubscribeOutcome > SubscribeOutcomeCallable
std::future< ListTargetsOutcome > ListTargetsOutcomeCallable
std::future< UnsubscribeOutcome > UnsubscribeOutcomeCallable
std::function< void(const CodeStarNotificationsClient *, const Model::CreateNotificationRuleRequest &, const Model::CreateNotificationRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateNotificationRuleResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::UpdateNotificationRuleRequest &, const Model::UpdateNotificationRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateNotificationRuleResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::DescribeNotificationRuleRequest &, const Model::DescribeNotificationRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeNotificationRuleResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::ListTargetsRequest &, const Model::ListTargetsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTargetsResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::SubscribeRequest &, const Model::SubscribeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SubscribeResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::DeleteTargetRequest &, const Model::DeleteTargetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteTargetResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::UnsubscribeRequest &, const Model::UnsubscribeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UnsubscribeResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::ListEventTypesRequest &, const Model::ListEventTypesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListEventTypesResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::DeleteNotificationRuleRequest &, const Model::DeleteNotificationRuleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteNotificationRuleResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const CodeStarNotificationsClient *, const Model::ListNotificationRulesRequest &, const Model::ListNotificationRulesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListNotificationRulesResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String