AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchedulerClient.h
1
6#pragma once
7#include <aws/scheduler/Scheduler_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/scheduler/SchedulerServiceClientModel.h>
13
14namespace Aws
15{
16namespace Scheduler
17{
26 class AWS_SCHEDULER_API SchedulerClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<SchedulerClient>
27 {
28 public:
30 static const char* GetServiceName();
31 static const char* GetAllocationTag();
32
35
41 std::shared_ptr<SchedulerEndpointProviderBase> endpointProvider = nullptr);
42
48 std::shared_ptr<SchedulerEndpointProviderBase> endpointProvider = nullptr,
50
55 SchedulerClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
56 std::shared_ptr<SchedulerEndpointProviderBase> endpointProvider = nullptr,
58
59
60 /* Legacy constructors due deprecation */
66
72 const Aws::Client::ClientConfiguration& clientConfiguration);
73
78 SchedulerClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
79 const Aws::Client::ClientConfiguration& clientConfiguration);
80
81 /* End of legacy constructors due deprecation */
83
90
94 template<typename CreateScheduleRequestT = Model::CreateScheduleRequest>
95 Model::CreateScheduleOutcomeCallable CreateScheduleCallable(const CreateScheduleRequestT& request) const
96 {
97 return SubmitCallable(&SchedulerClient::CreateSchedule, request);
98 }
99
103 template<typename CreateScheduleRequestT = Model::CreateScheduleRequest>
104 void CreateScheduleAsync(const CreateScheduleRequestT& request, const CreateScheduleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
105 {
106 return SubmitAsync(&SchedulerClient::CreateSchedule, request, handler, context);
107 }
108
115
119 template<typename CreateScheduleGroupRequestT = Model::CreateScheduleGroupRequest>
120 Model::CreateScheduleGroupOutcomeCallable CreateScheduleGroupCallable(const CreateScheduleGroupRequestT& request) const
121 {
122 return SubmitCallable(&SchedulerClient::CreateScheduleGroup, request);
123 }
124
128 template<typename CreateScheduleGroupRequestT = Model::CreateScheduleGroupRequest>
129 void CreateScheduleGroupAsync(const CreateScheduleGroupRequestT& request, const CreateScheduleGroupResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
130 {
131 return SubmitAsync(&SchedulerClient::CreateScheduleGroup, request, handler, context);
132 }
133
140
144 template<typename DeleteScheduleRequestT = Model::DeleteScheduleRequest>
145 Model::DeleteScheduleOutcomeCallable DeleteScheduleCallable(const DeleteScheduleRequestT& request) const
146 {
147 return SubmitCallable(&SchedulerClient::DeleteSchedule, request);
148 }
149
153 template<typename DeleteScheduleRequestT = Model::DeleteScheduleRequest>
154 void DeleteScheduleAsync(const DeleteScheduleRequestT& request, const DeleteScheduleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
155 {
156 return SubmitAsync(&SchedulerClient::DeleteSchedule, request, handler, context);
157 }
158
172
176 template<typename DeleteScheduleGroupRequestT = Model::DeleteScheduleGroupRequest>
177 Model::DeleteScheduleGroupOutcomeCallable DeleteScheduleGroupCallable(const DeleteScheduleGroupRequestT& request) const
178 {
179 return SubmitCallable(&SchedulerClient::DeleteScheduleGroup, request);
180 }
181
185 template<typename DeleteScheduleGroupRequestT = Model::DeleteScheduleGroupRequest>
186 void DeleteScheduleGroupAsync(const DeleteScheduleGroupRequestT& request, const DeleteScheduleGroupResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
187 {
188 return SubmitAsync(&SchedulerClient::DeleteScheduleGroup, request, handler, context);
189 }
190
197
201 template<typename GetScheduleRequestT = Model::GetScheduleRequest>
202 Model::GetScheduleOutcomeCallable GetScheduleCallable(const GetScheduleRequestT& request) const
203 {
204 return SubmitCallable(&SchedulerClient::GetSchedule, request);
205 }
206
210 template<typename GetScheduleRequestT = Model::GetScheduleRequest>
211 void GetScheduleAsync(const GetScheduleRequestT& request, const GetScheduleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
212 {
213 return SubmitAsync(&SchedulerClient::GetSchedule, request, handler, context);
214 }
215
222
226 template<typename GetScheduleGroupRequestT = Model::GetScheduleGroupRequest>
227 Model::GetScheduleGroupOutcomeCallable GetScheduleGroupCallable(const GetScheduleGroupRequestT& request) const
228 {
229 return SubmitCallable(&SchedulerClient::GetScheduleGroup, request);
230 }
231
235 template<typename GetScheduleGroupRequestT = Model::GetScheduleGroupRequest>
236 void GetScheduleGroupAsync(const GetScheduleGroupRequestT& request, const GetScheduleGroupResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
237 {
238 return SubmitAsync(&SchedulerClient::GetScheduleGroup, request, handler, context);
239 }
240
248
252 template<typename ListScheduleGroupsRequestT = Model::ListScheduleGroupsRequest>
253 Model::ListScheduleGroupsOutcomeCallable ListScheduleGroupsCallable(const ListScheduleGroupsRequestT& request = {}) const
254 {
255 return SubmitCallable(&SchedulerClient::ListScheduleGroups, request);
256 }
257
261 template<typename ListScheduleGroupsRequestT = Model::ListScheduleGroupsRequest>
262 void ListScheduleGroupsAsync(const ListScheduleGroupsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListScheduleGroupsRequestT& request = {}) const
263 {
264 return SubmitAsync(&SchedulerClient::ListScheduleGroups, request, handler, context);
265 }
266
274
278 template<typename ListSchedulesRequestT = Model::ListSchedulesRequest>
279 Model::ListSchedulesOutcomeCallable ListSchedulesCallable(const ListSchedulesRequestT& request = {}) const
280 {
281 return SubmitCallable(&SchedulerClient::ListSchedules, request);
282 }
283
287 template<typename ListSchedulesRequestT = Model::ListSchedulesRequest>
288 void ListSchedulesAsync(const ListSchedulesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListSchedulesRequestT& request = {}) const
289 {
290 return SubmitAsync(&SchedulerClient::ListSchedules, request, handler, context);
291 }
292
300
304 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
305 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
306 {
307 return SubmitCallable(&SchedulerClient::ListTagsForResource, request);
308 }
309
313 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
314 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
315 {
316 return SubmitAsync(&SchedulerClient::ListTagsForResource, request, handler, context);
317 }
318
327
331 template<typename TagResourceRequestT = Model::TagResourceRequest>
332 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
333 {
334 return SubmitCallable(&SchedulerClient::TagResource, request);
335 }
336
340 template<typename TagResourceRequestT = Model::TagResourceRequest>
341 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
342 {
343 return SubmitAsync(&SchedulerClient::TagResource, request, handler, context);
344 }
345
353
357 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
358 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
359 {
360 return SubmitCallable(&SchedulerClient::UntagResource, request);
361 }
362
366 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
367 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
368 {
369 return SubmitAsync(&SchedulerClient::UntagResource, request, handler, context);
370 }
371
385
389 template<typename UpdateScheduleRequestT = Model::UpdateScheduleRequest>
390 Model::UpdateScheduleOutcomeCallable UpdateScheduleCallable(const UpdateScheduleRequestT& request) const
391 {
392 return SubmitCallable(&SchedulerClient::UpdateSchedule, request);
393 }
394
398 template<typename UpdateScheduleRequestT = Model::UpdateScheduleRequest>
399 void UpdateScheduleAsync(const UpdateScheduleRequestT& request, const UpdateScheduleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
400 {
401 return SubmitAsync(&SchedulerClient::UpdateSchedule, request, handler, context);
402 }
403
404
405 void OverrideEndpoint(const Aws::String& endpoint);
406 std::shared_ptr<SchedulerEndpointProviderBase>& accessEndpointProvider();
407 private:
409 void init(const SchedulerClientConfiguration& clientConfiguration);
410
411 SchedulerClientConfiguration m_clientConfiguration;
412 std::shared_ptr<SchedulerEndpointProviderBase> m_endpointProvider;
413 };
414
415} // namespace Scheduler
416} // namespace Aws
static const char * GetServiceName()
virtual Model::UpdateScheduleOutcome UpdateSchedule(const Model::UpdateScheduleRequest &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
SchedulerClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< SchedulerEndpointProviderBase > endpointProvider=nullptr, const Aws::Scheduler::SchedulerClientConfiguration &clientConfiguration=Aws::Scheduler::SchedulerClientConfiguration())
void DeleteScheduleAsync(const DeleteScheduleRequestT &request, const DeleteScheduleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::CreateScheduleGroupOutcomeCallable CreateScheduleGroupCallable(const CreateScheduleGroupRequestT &request) const
void GetScheduleGroupAsync(const GetScheduleGroupRequestT &request, const GetScheduleGroupResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetScheduleOutcomeCallable GetScheduleCallable(const GetScheduleRequestT &request) const
void GetScheduleAsync(const GetScheduleRequestT &request, const GetScheduleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListSchedulesOutcomeCallable ListSchedulesCallable(const ListSchedulesRequestT &request={}) const
SchedulerClient(const Aws::Scheduler::SchedulerClientConfiguration &clientConfiguration=Aws::Scheduler::SchedulerClientConfiguration(), std::shared_ptr< SchedulerEndpointProviderBase > endpointProvider=nullptr)
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
Model::GetScheduleGroupOutcomeCallable GetScheduleGroupCallable(const GetScheduleGroupRequestT &request) const
Aws::Client::AWSJsonClient BASECLASS
SchedulerClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void UpdateScheduleAsync(const UpdateScheduleRequestT &request, const UpdateScheduleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
SchedulerEndpointProvider EndpointProviderType
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
SchedulerClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< SchedulerEndpointProviderBase > endpointProvider=nullptr, const Aws::Scheduler::SchedulerClientConfiguration &clientConfiguration=Aws::Scheduler::SchedulerClientConfiguration())
virtual Model::CreateScheduleOutcome CreateSchedule(const Model::CreateScheduleRequest &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
virtual Model::CreateScheduleGroupOutcome CreateScheduleGroup(const Model::CreateScheduleGroupRequest &request) const
SchedulerClientConfiguration ClientConfigurationType
Model::DeleteScheduleOutcomeCallable DeleteScheduleCallable(const DeleteScheduleRequestT &request) const
Model::CreateScheduleOutcomeCallable CreateScheduleCallable(const CreateScheduleRequestT &request) const
virtual Model::ListSchedulesOutcome ListSchedules(const Model::ListSchedulesRequest &request={}) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
Model::ListScheduleGroupsOutcomeCallable ListScheduleGroupsCallable(const ListScheduleGroupsRequestT &request={}) const
Model::UpdateScheduleOutcomeCallable UpdateScheduleCallable(const UpdateScheduleRequestT &request) const
void ListSchedulesAsync(const ListSchedulesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListSchedulesRequestT &request={}) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListScheduleGroupsAsync(const ListScheduleGroupsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListScheduleGroupsRequestT &request={}) const
SchedulerClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DeleteScheduleOutcome DeleteSchedule(const Model::DeleteScheduleRequest &request) const
void DeleteScheduleGroupAsync(const DeleteScheduleGroupRequestT &request, const DeleteScheduleGroupResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::DeleteScheduleGroupOutcomeCallable DeleteScheduleGroupCallable(const DeleteScheduleGroupRequestT &request) const
void CreateScheduleGroupAsync(const CreateScheduleGroupRequestT &request, const CreateScheduleGroupResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetScheduleOutcome GetSchedule(const Model::GetScheduleRequest &request) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
std::shared_ptr< SchedulerEndpointProviderBase > & accessEndpointProvider()
virtual Model::GetScheduleGroupOutcome GetScheduleGroup(const Model::GetScheduleGroupRequest &request) const
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::DeleteScheduleGroupOutcome DeleteScheduleGroup(const Model::DeleteScheduleGroupRequest &request) const
static const char * GetAllocationTag()
virtual Model::ListScheduleGroupsOutcome ListScheduleGroups(const Model::ListScheduleGroupsRequest &request={}) const
void CreateScheduleAsync(const CreateScheduleRequestT &request, const CreateScheduleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
SchedulerClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
std::future< GetScheduleGroupOutcome > GetScheduleGroupOutcomeCallable
std::future< DeleteScheduleOutcome > DeleteScheduleOutcomeCallable
std::future< GetScheduleOutcome > GetScheduleOutcomeCallable
std::future< CreateScheduleGroupOutcome > CreateScheduleGroupOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< ListScheduleGroupsOutcome > ListScheduleGroupsOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< DeleteScheduleGroupOutcome > DeleteScheduleGroupOutcomeCallable
std::future< ListSchedulesOutcome > ListSchedulesOutcomeCallable
std::future< UpdateScheduleOutcome > UpdateScheduleOutcomeCallable
std::future< CreateScheduleOutcome > CreateScheduleOutcomeCallable
std::function< void(const SchedulerClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::UpdateScheduleRequest &, const Model::UpdateScheduleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateScheduleResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::GetScheduleGroupRequest &, const Model::GetScheduleGroupOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetScheduleGroupResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::DeleteScheduleRequest &, const Model::DeleteScheduleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteScheduleResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::CreateScheduleRequest &, const Model::CreateScheduleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateScheduleResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::DeleteScheduleGroupRequest &, const Model::DeleteScheduleGroupOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteScheduleGroupResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::ListScheduleGroupsRequest &, const Model::ListScheduleGroupsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListScheduleGroupsResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::ListSchedulesRequest &, const Model::ListSchedulesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSchedulesResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::GetScheduleRequest &, const Model::GetScheduleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetScheduleResponseReceivedHandler
std::function< void(const SchedulerClient *, const Model::CreateScheduleGroupRequest &, const Model::CreateScheduleGroupOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateScheduleGroupResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String