AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IoTEventsDataClient.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_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/iotevents-data/IoTEventsDataServiceClientModel.h>
13
14namespace Aws
15{
16namespace IoTEventsData
17{
26 class AWS_IOTEVENTSDATA_API IoTEventsDataClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<IoTEventsDataClient>
27 {
28 public:
30 static const char* GetServiceName();
31 static const char* GetAllocationTag();
32
35
41 std::shared_ptr<IoTEventsDataEndpointProviderBase> endpointProvider = nullptr);
42
48 std::shared_ptr<IoTEventsDataEndpointProviderBase> endpointProvider = nullptr,
50
55 IoTEventsDataClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
56 std::shared_ptr<IoTEventsDataEndpointProviderBase> endpointProvider = nullptr,
58
59
60 /* Legacy constructors due deprecation */
66
72 const Aws::Client::ClientConfiguration& clientConfiguration);
73
78 IoTEventsDataClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
79 const Aws::Client::ClientConfiguration& clientConfiguration);
80
81 /* End of legacy constructors due deprecation */
83
92
96 template<typename BatchAcknowledgeAlarmRequestT = Model::BatchAcknowledgeAlarmRequest>
97 Model::BatchAcknowledgeAlarmOutcomeCallable BatchAcknowledgeAlarmCallable(const BatchAcknowledgeAlarmRequestT& request) const
98 {
99 return SubmitCallable(&IoTEventsDataClient::BatchAcknowledgeAlarm, request);
100 }
101
105 template<typename BatchAcknowledgeAlarmRequestT = Model::BatchAcknowledgeAlarmRequest>
106 void BatchAcknowledgeAlarmAsync(const BatchAcknowledgeAlarmRequestT& request, const BatchAcknowledgeAlarmResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
107 {
108 return SubmitAsync(&IoTEventsDataClient::BatchAcknowledgeAlarm, request, handler, context);
109 }
110
121
125 template<typename BatchDeleteDetectorRequestT = Model::BatchDeleteDetectorRequest>
126 Model::BatchDeleteDetectorOutcomeCallable BatchDeleteDetectorCallable(const BatchDeleteDetectorRequestT& request) const
127 {
128 return SubmitCallable(&IoTEventsDataClient::BatchDeleteDetector, request);
129 }
130
134 template<typename BatchDeleteDetectorRequestT = Model::BatchDeleteDetectorRequest>
135 void BatchDeleteDetectorAsync(const BatchDeleteDetectorRequestT& request, const BatchDeleteDetectorResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
136 {
137 return SubmitAsync(&IoTEventsDataClient::BatchDeleteDetector, request, handler, context);
138 }
139
147
151 template<typename BatchDisableAlarmRequestT = Model::BatchDisableAlarmRequest>
152 Model::BatchDisableAlarmOutcomeCallable BatchDisableAlarmCallable(const BatchDisableAlarmRequestT& request) const
153 {
154 return SubmitCallable(&IoTEventsDataClient::BatchDisableAlarm, request);
155 }
156
160 template<typename BatchDisableAlarmRequestT = Model::BatchDisableAlarmRequest>
161 void BatchDisableAlarmAsync(const BatchDisableAlarmRequestT& request, const BatchDisableAlarmResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
162 {
163 return SubmitAsync(&IoTEventsDataClient::BatchDisableAlarm, request, handler, context);
164 }
165
173
177 template<typename BatchEnableAlarmRequestT = Model::BatchEnableAlarmRequest>
178 Model::BatchEnableAlarmOutcomeCallable BatchEnableAlarmCallable(const BatchEnableAlarmRequestT& request) const
179 {
180 return SubmitCallable(&IoTEventsDataClient::BatchEnableAlarm, request);
181 }
182
186 template<typename BatchEnableAlarmRequestT = Model::BatchEnableAlarmRequest>
187 void BatchEnableAlarmAsync(const BatchEnableAlarmRequestT& request, const BatchEnableAlarmResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
188 {
189 return SubmitAsync(&IoTEventsDataClient::BatchEnableAlarm, request, handler, context);
190 }
191
203
207 template<typename BatchPutMessageRequestT = Model::BatchPutMessageRequest>
208 Model::BatchPutMessageOutcomeCallable BatchPutMessageCallable(const BatchPutMessageRequestT& request) const
209 {
210 return SubmitCallable(&IoTEventsDataClient::BatchPutMessage, request);
211 }
212
216 template<typename BatchPutMessageRequestT = Model::BatchPutMessageRequest>
217 void BatchPutMessageAsync(const BatchPutMessageRequestT& request, const BatchPutMessageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
218 {
219 return SubmitAsync(&IoTEventsDataClient::BatchPutMessage, request, handler, context);
220 }
221
229
233 template<typename BatchResetAlarmRequestT = Model::BatchResetAlarmRequest>
234 Model::BatchResetAlarmOutcomeCallable BatchResetAlarmCallable(const BatchResetAlarmRequestT& request) const
235 {
236 return SubmitCallable(&IoTEventsDataClient::BatchResetAlarm, request);
237 }
238
242 template<typename BatchResetAlarmRequestT = Model::BatchResetAlarmRequest>
243 void BatchResetAlarmAsync(const BatchResetAlarmRequestT& request, const BatchResetAlarmResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
244 {
245 return SubmitAsync(&IoTEventsDataClient::BatchResetAlarm, request, handler, context);
246 }
247
256
260 template<typename BatchSnoozeAlarmRequestT = Model::BatchSnoozeAlarmRequest>
261 Model::BatchSnoozeAlarmOutcomeCallable BatchSnoozeAlarmCallable(const BatchSnoozeAlarmRequestT& request) const
262 {
263 return SubmitCallable(&IoTEventsDataClient::BatchSnoozeAlarm, request);
264 }
265
269 template<typename BatchSnoozeAlarmRequestT = Model::BatchSnoozeAlarmRequest>
270 void BatchSnoozeAlarmAsync(const BatchSnoozeAlarmRequestT& request, const BatchSnoozeAlarmResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
271 {
272 return SubmitAsync(&IoTEventsDataClient::BatchSnoozeAlarm, request, handler, context);
273 }
274
283
287 template<typename BatchUpdateDetectorRequestT = Model::BatchUpdateDetectorRequest>
288 Model::BatchUpdateDetectorOutcomeCallable BatchUpdateDetectorCallable(const BatchUpdateDetectorRequestT& request) const
289 {
290 return SubmitCallable(&IoTEventsDataClient::BatchUpdateDetector, request);
291 }
292
296 template<typename BatchUpdateDetectorRequestT = Model::BatchUpdateDetectorRequest>
297 void BatchUpdateDetectorAsync(const BatchUpdateDetectorRequestT& request, const BatchUpdateDetectorResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
298 {
299 return SubmitAsync(&IoTEventsDataClient::BatchUpdateDetector, request, handler, context);
300 }
301
308
312 template<typename DescribeAlarmRequestT = Model::DescribeAlarmRequest>
313 Model::DescribeAlarmOutcomeCallable DescribeAlarmCallable(const DescribeAlarmRequestT& request) const
314 {
315 return SubmitCallable(&IoTEventsDataClient::DescribeAlarm, request);
316 }
317
321 template<typename DescribeAlarmRequestT = Model::DescribeAlarmRequest>
322 void DescribeAlarmAsync(const DescribeAlarmRequestT& request, const DescribeAlarmResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
323 {
324 return SubmitAsync(&IoTEventsDataClient::DescribeAlarm, request, handler, context);
325 }
326
334
338 template<typename DescribeDetectorRequestT = Model::DescribeDetectorRequest>
339 Model::DescribeDetectorOutcomeCallable DescribeDetectorCallable(const DescribeDetectorRequestT& request) const
340 {
341 return SubmitCallable(&IoTEventsDataClient::DescribeDetector, request);
342 }
343
347 template<typename DescribeDetectorRequestT = Model::DescribeDetectorRequest>
348 void DescribeDetectorAsync(const DescribeDetectorRequestT& request, const DescribeDetectorResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
349 {
350 return SubmitAsync(&IoTEventsDataClient::DescribeDetector, request, handler, context);
351 }
352
360
364 template<typename ListAlarmsRequestT = Model::ListAlarmsRequest>
365 Model::ListAlarmsOutcomeCallable ListAlarmsCallable(const ListAlarmsRequestT& request) const
366 {
367 return SubmitCallable(&IoTEventsDataClient::ListAlarms, request);
368 }
369
373 template<typename ListAlarmsRequestT = Model::ListAlarmsRequest>
374 void ListAlarmsAsync(const ListAlarmsRequestT& request, const ListAlarmsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
375 {
376 return SubmitAsync(&IoTEventsDataClient::ListAlarms, request, handler, context);
377 }
378
386
390 template<typename ListDetectorsRequestT = Model::ListDetectorsRequest>
391 Model::ListDetectorsOutcomeCallable ListDetectorsCallable(const ListDetectorsRequestT& request) const
392 {
393 return SubmitCallable(&IoTEventsDataClient::ListDetectors, request);
394 }
395
399 template<typename ListDetectorsRequestT = Model::ListDetectorsRequest>
400 void ListDetectorsAsync(const ListDetectorsRequestT& request, const ListDetectorsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
401 {
402 return SubmitAsync(&IoTEventsDataClient::ListDetectors, request, handler, context);
403 }
404
405
406 void OverrideEndpoint(const Aws::String& endpoint);
407 std::shared_ptr<IoTEventsDataEndpointProviderBase>& accessEndpointProvider();
408 private:
410 void init(const IoTEventsDataClientConfiguration& clientConfiguration);
411
412 IoTEventsDataClientConfiguration m_clientConfiguration;
413 std::shared_ptr<IoTEventsDataEndpointProviderBase> m_endpointProvider;
414 };
415
416} // namespace IoTEventsData
417} // namespace Aws
void BatchUpdateDetectorAsync(const BatchUpdateDetectorRequestT &request, const BatchUpdateDetectorResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListAlarmsOutcomeCallable ListAlarmsCallable(const ListAlarmsRequestT &request) const
void OverrideEndpoint(const Aws::String &endpoint)
void BatchResetAlarmAsync(const BatchResetAlarmRequestT &request, const BatchResetAlarmResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
IoTEventsDataClientConfiguration ClientConfigurationType
virtual Model::ListDetectorsOutcome ListDetectors(const Model::ListDetectorsRequest &request) const
void ListDetectorsAsync(const ListDetectorsRequestT &request, const ListDetectorsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void BatchDeleteDetectorAsync(const BatchDeleteDetectorRequestT &request, const BatchDeleteDetectorResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::DescribeDetectorOutcomeCallable DescribeDetectorCallable(const DescribeDetectorRequestT &request) const
IoTEventsDataEndpointProvider EndpointProviderType
virtual Model::BatchResetAlarmOutcome BatchResetAlarm(const Model::BatchResetAlarmRequest &request) const
Model::BatchEnableAlarmOutcomeCallable BatchEnableAlarmCallable(const BatchEnableAlarmRequestT &request) const
Model::BatchSnoozeAlarmOutcomeCallable BatchSnoozeAlarmCallable(const BatchSnoozeAlarmRequestT &request) const
virtual Model::BatchUpdateDetectorOutcome BatchUpdateDetector(const Model::BatchUpdateDetectorRequest &request) const
virtual Model::BatchPutMessageOutcome BatchPutMessage(const Model::BatchPutMessageRequest &request) const
IoTEventsDataClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< IoTEventsDataEndpointProviderBase > endpointProvider=nullptr, const Aws::IoTEventsData::IoTEventsDataClientConfiguration &clientConfiguration=Aws::IoTEventsData::IoTEventsDataClientConfiguration())
Model::ListDetectorsOutcomeCallable ListDetectorsCallable(const ListDetectorsRequestT &request) const
std::shared_ptr< IoTEventsDataEndpointProviderBase > & accessEndpointProvider()
virtual Model::BatchAcknowledgeAlarmOutcome BatchAcknowledgeAlarm(const Model::BatchAcknowledgeAlarmRequest &request) const
Model::BatchPutMessageOutcomeCallable BatchPutMessageCallable(const BatchPutMessageRequestT &request) const
IoTEventsDataClient(const Aws::Client::ClientConfiguration &clientConfiguration)
IoTEventsDataClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
IoTEventsDataClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< IoTEventsDataEndpointProviderBase > endpointProvider=nullptr, const Aws::IoTEventsData::IoTEventsDataClientConfiguration &clientConfiguration=Aws::IoTEventsData::IoTEventsDataClientConfiguration())
void BatchPutMessageAsync(const BatchPutMessageRequestT &request, const BatchPutMessageResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::BatchDeleteDetectorOutcome BatchDeleteDetector(const Model::BatchDeleteDetectorRequest &request) const
virtual Model::DescribeAlarmOutcome DescribeAlarm(const Model::DescribeAlarmRequest &request) const
IoTEventsDataClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::BatchDisableAlarmOutcomeCallable BatchDisableAlarmCallable(const BatchDisableAlarmRequestT &request) const
virtual Model::BatchSnoozeAlarmOutcome BatchSnoozeAlarm(const Model::BatchSnoozeAlarmRequest &request) const
Model::BatchResetAlarmOutcomeCallable BatchResetAlarmCallable(const BatchResetAlarmRequestT &request) const
Model::BatchDeleteDetectorOutcomeCallable BatchDeleteDetectorCallable(const BatchDeleteDetectorRequestT &request) const
IoTEventsDataClient(const Aws::IoTEventsData::IoTEventsDataClientConfiguration &clientConfiguration=Aws::IoTEventsData::IoTEventsDataClientConfiguration(), std::shared_ptr< IoTEventsDataEndpointProviderBase > endpointProvider=nullptr)
Model::DescribeAlarmOutcomeCallable DescribeAlarmCallable(const DescribeAlarmRequestT &request) const
void BatchSnoozeAlarmAsync(const BatchSnoozeAlarmRequestT &request, const BatchSnoozeAlarmResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DescribeDetectorAsync(const DescribeDetectorRequestT &request, const DescribeDetectorResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListAlarmsAsync(const ListAlarmsRequestT &request, const ListAlarmsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DescribeDetectorOutcome DescribeDetector(const Model::DescribeDetectorRequest &request) const
static const char * GetAllocationTag()
virtual Model::BatchDisableAlarmOutcome BatchDisableAlarm(const Model::BatchDisableAlarmRequest &request) const
virtual Model::BatchEnableAlarmOutcome BatchEnableAlarm(const Model::BatchEnableAlarmRequest &request) const
Model::BatchUpdateDetectorOutcomeCallable BatchUpdateDetectorCallable(const BatchUpdateDetectorRequestT &request) const
void BatchAcknowledgeAlarmAsync(const BatchAcknowledgeAlarmRequestT &request, const BatchAcknowledgeAlarmResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DescribeAlarmAsync(const DescribeAlarmRequestT &request, const DescribeAlarmResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void BatchDisableAlarmAsync(const BatchDisableAlarmRequestT &request, const BatchDisableAlarmResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::BatchAcknowledgeAlarmOutcomeCallable BatchAcknowledgeAlarmCallable(const BatchAcknowledgeAlarmRequestT &request) const
void BatchEnableAlarmAsync(const BatchEnableAlarmRequestT &request, const BatchEnableAlarmResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListAlarmsOutcome ListAlarms(const Model::ListAlarmsRequest &request) const
std::future< DescribeAlarmOutcome > DescribeAlarmOutcomeCallable
std::future< ListAlarmsOutcome > ListAlarmsOutcomeCallable
std::future< BatchPutMessageOutcome > BatchPutMessageOutcomeCallable
std::future< BatchDisableAlarmOutcome > BatchDisableAlarmOutcomeCallable
std::future< BatchAcknowledgeAlarmOutcome > BatchAcknowledgeAlarmOutcomeCallable
std::future< BatchDeleteDetectorOutcome > BatchDeleteDetectorOutcomeCallable
std::future< BatchEnableAlarmOutcome > BatchEnableAlarmOutcomeCallable
std::future< BatchSnoozeAlarmOutcome > BatchSnoozeAlarmOutcomeCallable
std::future< BatchResetAlarmOutcome > BatchResetAlarmOutcomeCallable
std::future< ListDetectorsOutcome > ListDetectorsOutcomeCallable
std::future< DescribeDetectorOutcome > DescribeDetectorOutcomeCallable
std::future< BatchUpdateDetectorOutcome > BatchUpdateDetectorOutcomeCallable
std::function< void(const IoTEventsDataClient *, const Model::BatchPutMessageRequest &, const Model::BatchPutMessageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchPutMessageResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::BatchEnableAlarmRequest &, const Model::BatchEnableAlarmOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchEnableAlarmResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::DescribeDetectorRequest &, const Model::DescribeDetectorOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeDetectorResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::ListAlarmsRequest &, const Model::ListAlarmsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListAlarmsResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::BatchResetAlarmRequest &, const Model::BatchResetAlarmOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchResetAlarmResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::BatchAcknowledgeAlarmRequest &, const Model::BatchAcknowledgeAlarmOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchAcknowledgeAlarmResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::ListDetectorsRequest &, const Model::ListDetectorsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDetectorsResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::BatchDisableAlarmRequest &, const Model::BatchDisableAlarmOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchDisableAlarmResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::BatchDeleteDetectorRequest &, const Model::BatchDeleteDetectorOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchDeleteDetectorResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::BatchSnoozeAlarmRequest &, const Model::BatchSnoozeAlarmOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchSnoozeAlarmResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::BatchUpdateDetectorRequest &, const Model::BatchUpdateDetectorOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchUpdateDetectorResponseReceivedHandler
std::function< void(const IoTEventsDataClient *, const Model::DescribeAlarmRequest &, const Model::DescribeAlarmOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeAlarmResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String