AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KinesisVideoArchivedMediaClient.h
1
6#pragma once
7#include <aws/kinesis-video-archived-media/KinesisVideoArchivedMedia_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/kinesis-video-archived-media/KinesisVideoArchivedMediaServiceClientModel.h>
13
14namespace Aws
15{
16namespace KinesisVideoArchivedMedia
17{
21 class AWS_KINESISVIDEOARCHIVEDMEDIA_API KinesisVideoArchivedMediaClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<KinesisVideoArchivedMediaClient>
22 {
23 public:
25 static const char* GetServiceName();
26 static const char* GetAllocationTag();
27
30
36 std::shared_ptr<KinesisVideoArchivedMediaEndpointProviderBase> endpointProvider = nullptr);
37
43 std::shared_ptr<KinesisVideoArchivedMediaEndpointProviderBase> endpointProvider = nullptr,
45
50 KinesisVideoArchivedMediaClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
51 std::shared_ptr<KinesisVideoArchivedMediaEndpointProviderBase> endpointProvider = nullptr,
53
54
55 /* Legacy constructors due deprecation */
61
67 const Aws::Client::ClientConfiguration& clientConfiguration);
68
73 KinesisVideoArchivedMediaClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
74 const Aws::Client::ClientConfiguration& clientConfiguration);
75
76 /* End of legacy constructors due deprecation */
78
118
122 template<typename GetClipRequestT = Model::GetClipRequest>
123 Model::GetClipOutcomeCallable GetClipCallable(const GetClipRequestT& request) const
124 {
125 return SubmitCallable(&KinesisVideoArchivedMediaClient::GetClip, request);
126 }
127
131 template<typename GetClipRequestT = Model::GetClipRequest>
132 void GetClipAsync(const GetClipRequestT& request, const GetClipResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
133 {
134 return SubmitAsync(&KinesisVideoArchivedMediaClient::GetClip, request, handler, context);
135 }
136
241
245 template<typename GetDASHStreamingSessionURLRequestT = Model::GetDASHStreamingSessionURLRequest>
246 Model::GetDASHStreamingSessionURLOutcomeCallable GetDASHStreamingSessionURLCallable(const GetDASHStreamingSessionURLRequestT& request = {}) const
247 {
248 return SubmitCallable(&KinesisVideoArchivedMediaClient::GetDASHStreamingSessionURL, request);
249 }
250
254 template<typename GetDASHStreamingSessionURLRequestT = Model::GetDASHStreamingSessionURLRequest>
255 void GetDASHStreamingSessionURLAsync(const GetDASHStreamingSessionURLResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const GetDASHStreamingSessionURLRequestT& request = {}) const
256 {
257 return SubmitAsync(&KinesisVideoArchivedMediaClient::GetDASHStreamingSessionURL, request, handler, context);
258 }
259
393
397 template<typename GetHLSStreamingSessionURLRequestT = Model::GetHLSStreamingSessionURLRequest>
398 Model::GetHLSStreamingSessionURLOutcomeCallable GetHLSStreamingSessionURLCallable(const GetHLSStreamingSessionURLRequestT& request = {}) const
399 {
400 return SubmitCallable(&KinesisVideoArchivedMediaClient::GetHLSStreamingSessionURL, request);
401 }
402
406 template<typename GetHLSStreamingSessionURLRequestT = Model::GetHLSStreamingSessionURLRequest>
407 void GetHLSStreamingSessionURLAsync(const GetHLSStreamingSessionURLResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const GetHLSStreamingSessionURLRequestT& request = {}) const
408 {
409 return SubmitAsync(&KinesisVideoArchivedMediaClient::GetHLSStreamingSessionURL, request, handler, context);
410 }
411
420
424 template<typename GetImagesRequestT = Model::GetImagesRequest>
425 Model::GetImagesOutcomeCallable GetImagesCallable(const GetImagesRequestT& request) const
426 {
427 return SubmitCallable(&KinesisVideoArchivedMediaClient::GetImages, request);
428 }
429
433 template<typename GetImagesRequestT = Model::GetImagesRequest>
434 void GetImagesAsync(const GetImagesRequestT& request, const GetImagesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
435 {
436 return SubmitAsync(&KinesisVideoArchivedMediaClient::GetImages, request, handler, context);
437 }
438
466
470 template<typename GetMediaForFragmentListRequestT = Model::GetMediaForFragmentListRequest>
471 Model::GetMediaForFragmentListOutcomeCallable GetMediaForFragmentListCallable(const GetMediaForFragmentListRequestT& request) const
472 {
473 return SubmitCallable(&KinesisVideoArchivedMediaClient::GetMediaForFragmentList, request);
474 }
475
479 template<typename GetMediaForFragmentListRequestT = Model::GetMediaForFragmentListRequest>
480 void GetMediaForFragmentListAsync(const GetMediaForFragmentListRequestT& request, const GetMediaForFragmentListResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
481 {
482 return SubmitAsync(&KinesisVideoArchivedMediaClient::GetMediaForFragmentList, request, handler, context);
483 }
484
514
518 template<typename ListFragmentsRequestT = Model::ListFragmentsRequest>
519 Model::ListFragmentsOutcomeCallable ListFragmentsCallable(const ListFragmentsRequestT& request = {}) const
520 {
521 return SubmitCallable(&KinesisVideoArchivedMediaClient::ListFragments, request);
522 }
523
527 template<typename ListFragmentsRequestT = Model::ListFragmentsRequest>
528 void ListFragmentsAsync(const ListFragmentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListFragmentsRequestT& request = {}) const
529 {
530 return SubmitAsync(&KinesisVideoArchivedMediaClient::ListFragments, request, handler, context);
531 }
532
533
534 void OverrideEndpoint(const Aws::String& endpoint);
535 std::shared_ptr<KinesisVideoArchivedMediaEndpointProviderBase>& accessEndpointProvider();
536 private:
538 void init(const KinesisVideoArchivedMediaClientConfiguration& clientConfiguration);
539
541 std::shared_ptr<KinesisVideoArchivedMediaEndpointProviderBase> m_endpointProvider;
542 };
543
544} // namespace KinesisVideoArchivedMedia
545} // namespace Aws
virtual Model::GetDASHStreamingSessionURLOutcome GetDASHStreamingSessionURL(const Model::GetDASHStreamingSessionURLRequest &request={}) const
Model::GetMediaForFragmentListOutcomeCallable GetMediaForFragmentListCallable(const GetMediaForFragmentListRequestT &request) const
KinesisVideoArchivedMediaClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< KinesisVideoArchivedMediaEndpointProviderBase > endpointProvider=nullptr, const Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClientConfiguration &clientConfiguration=Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClientConfiguration())
void GetDASHStreamingSessionURLAsync(const GetDASHStreamingSessionURLResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetDASHStreamingSessionURLRequestT &request={}) const
KinesisVideoArchivedMediaClient(const Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClientConfiguration &clientConfiguration=Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClientConfiguration(), std::shared_ptr< KinesisVideoArchivedMediaEndpointProviderBase > endpointProvider=nullptr)
virtual Model::GetHLSStreamingSessionURLOutcome GetHLSStreamingSessionURL(const Model::GetHLSStreamingSessionURLRequest &request={}) const
Model::GetHLSStreamingSessionURLOutcomeCallable GetHLSStreamingSessionURLCallable(const GetHLSStreamingSessionURLRequestT &request={}) const
KinesisVideoArchivedMediaClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetImagesOutcome GetImages(const Model::GetImagesRequest &request) const
Model::GetClipOutcomeCallable GetClipCallable(const GetClipRequestT &request) const
KinesisVideoArchivedMediaClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
KinesisVideoArchivedMediaClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< KinesisVideoArchivedMediaEndpointProviderBase > endpointProvider=nullptr, const Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClientConfiguration &clientConfiguration=Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClientConfiguration())
virtual Model::GetClipOutcome GetClip(const Model::GetClipRequest &request) const
void ListFragmentsAsync(const ListFragmentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListFragmentsRequestT &request={}) const
void GetClipAsync(const GetClipRequestT &request, const GetClipResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListFragmentsOutcome ListFragments(const Model::ListFragmentsRequest &request={}) const
std::shared_ptr< KinesisVideoArchivedMediaEndpointProviderBase > & accessEndpointProvider()
void GetMediaForFragmentListAsync(const GetMediaForFragmentListRequestT &request, const GetMediaForFragmentListResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListFragmentsOutcomeCallable ListFragmentsCallable(const ListFragmentsRequestT &request={}) const
void GetImagesAsync(const GetImagesRequestT &request, const GetImagesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetImagesOutcomeCallable GetImagesCallable(const GetImagesRequestT &request) const
virtual Model::GetMediaForFragmentListOutcome GetMediaForFragmentList(const Model::GetMediaForFragmentListRequest &request) const
void GetHLSStreamingSessionURLAsync(const GetHLSStreamingSessionURLResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetHLSStreamingSessionURLRequestT &request={}) const
Model::GetDASHStreamingSessionURLOutcomeCallable GetDASHStreamingSessionURLCallable(const GetDASHStreamingSessionURLRequestT &request={}) const
KinesisVideoArchivedMediaClient(const Aws::Client::ClientConfiguration &clientConfiguration)
std::future< GetHLSStreamingSessionURLOutcome > GetHLSStreamingSessionURLOutcomeCallable
std::future< GetMediaForFragmentListOutcome > GetMediaForFragmentListOutcomeCallable
std::future< GetDASHStreamingSessionURLOutcome > GetDASHStreamingSessionURLOutcomeCallable
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::GetClipRequest &, Model::GetClipOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetClipResponseReceivedHandler
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::GetImagesRequest &, const Model::GetImagesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetImagesResponseReceivedHandler
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::GetHLSStreamingSessionURLRequest &, const Model::GetHLSStreamingSessionURLOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetHLSStreamingSessionURLResponseReceivedHandler
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::GetDASHStreamingSessionURLRequest &, const Model::GetDASHStreamingSessionURLOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetDASHStreamingSessionURLResponseReceivedHandler
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::GetMediaForFragmentListRequest &, Model::GetMediaForFragmentListOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetMediaForFragmentListResponseReceivedHandler
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::ListFragmentsRequest &, const Model::ListFragmentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListFragmentsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String