AWS SDK for C++  1.9.102
AWS SDK for C++
KinesisVideoArchivedMediaClient.h
Go to the documentation of this file.
1 
6 #pragma once
21 #include <future>
22 #include <functional>
23 
24 namespace Aws
25 {
26 
27 namespace Http
28 {
29  class HttpClient;
30  class HttpClientFactory;
31 } // namespace Http
32 
33 namespace Utils
34 {
35  template< typename R, typename E> class Outcome;
36 namespace Threading
37 {
38  class Executor;
39 } // namespace Threading
40 } // namespace Utils
41 
42 namespace Auth
43 {
44  class AWSCredentials;
45  class AWSCredentialsProvider;
46 } // namespace Auth
47 
48 namespace Client
49 {
50  class RetryStrategy;
51 } // namespace Client
52 
53 namespace KinesisVideoArchivedMedia
54 {
55 
56 namespace Model
57 {
58  class GetClipRequest;
63 
69 
70  typedef std::future<GetClipOutcome> GetClipOutcomeCallable;
71  typedef std::future<GetDASHStreamingSessionURLOutcome> GetDASHStreamingSessionURLOutcomeCallable;
72  typedef std::future<GetHLSStreamingSessionURLOutcome> GetHLSStreamingSessionURLOutcomeCallable;
73  typedef std::future<GetMediaForFragmentListOutcome> GetMediaForFragmentListOutcomeCallable;
74  typedef std::future<ListFragmentsOutcome> ListFragmentsOutcomeCallable;
75 } // namespace Model
76 
78 
79  typedef std::function<void(const KinesisVideoArchivedMediaClient*, const Model::GetClipRequest&, Model::GetClipOutcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetClipResponseReceivedHandler;
80  typedef std::function<void(const KinesisVideoArchivedMediaClient*, const Model::GetDASHStreamingSessionURLRequest&, const Model::GetDASHStreamingSessionURLOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetDASHStreamingSessionURLResponseReceivedHandler;
81  typedef std::function<void(const KinesisVideoArchivedMediaClient*, const Model::GetHLSStreamingSessionURLRequest&, const Model::GetHLSStreamingSessionURLOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetHLSStreamingSessionURLResponseReceivedHandler;
82  typedef std::function<void(const KinesisVideoArchivedMediaClient*, const Model::GetMediaForFragmentListRequest&, Model::GetMediaForFragmentListOutcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetMediaForFragmentListResponseReceivedHandler;
83  typedef std::function<void(const KinesisVideoArchivedMediaClient*, const Model::ListFragmentsRequest&, const Model::ListFragmentsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListFragmentsResponseReceivedHandler;
84 
89  {
90  public:
92 
98 
104 
109  KinesisVideoArchivedMediaClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
111 
113 
114 
152  virtual Model::GetClipOutcome GetClip(const Model::GetClipRequest& request) const;
153 
194 
234  virtual void GetClipAsync(const Model::GetClipRequest& request, const GetClipResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
235 
339 
445 
550  virtual void GetDASHStreamingSessionURLAsync(const Model::GetDASHStreamingSessionURLRequest& request, const GetDASHStreamingSessionURLResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
551 
678 
807 
935  virtual void GetHLSStreamingSessionURLAsync(const Model::GetHLSStreamingSessionURLRequest& request, const GetHLSStreamingSessionURLResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
936 
964 
994 
1023  virtual void GetMediaForFragmentListAsync(const Model::GetMediaForFragmentListRequest& request, const GetMediaForFragmentListResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1024 
1054 
1086 
1117  virtual void ListFragmentsAsync(const Model::ListFragmentsRequest& request, const ListFragmentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1118 
1119 
1120  void OverrideEndpoint(const Aws::String& endpoint);
1121  private:
1122  void init(const Aws::Client::ClientConfiguration& clientConfiguration);
1123  void GetClipAsyncHelper(const Model::GetClipRequest& request, const GetClipResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1124  void GetDASHStreamingSessionURLAsyncHelper(const Model::GetDASHStreamingSessionURLRequest& request, const GetDASHStreamingSessionURLResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1125  void GetHLSStreamingSessionURLAsyncHelper(const Model::GetHLSStreamingSessionURLRequest& request, const GetHLSStreamingSessionURLResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1126  void GetMediaForFragmentListAsyncHelper(const Model::GetMediaForFragmentListRequest& request, const GetMediaForFragmentListResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1127  void ListFragmentsAsyncHelper(const Model::ListFragmentsRequest& request, const ListFragmentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1128 
1129  Aws::String m_uri;
1130  Aws::String m_configScheme;
1131  std::shared_ptr<Aws::Utils::Threading::Executor> m_executor;
1132  };
1133 
1134 } // namespace KinesisVideoArchivedMedia
1135 } // namespace Aws
Aws::DirectoryService::Model::LDAPSType::NOT_SET
@ NOT_SET
Aws::KinesisVideoArchivedMedia::Model::GetHLSStreamingSessionURLOutcome
Aws::Utils::Outcome< GetHLSStreamingSessionURLResult, KinesisVideoArchivedMediaError > GetHLSStreamingSessionURLOutcome
Definition: KinesisVideoArchivedMediaClient.h:66
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetClipCallable
virtual Model::GetClipOutcomeCallable GetClipCallable(const Model::GetClipRequest &request) const
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest
Definition: ListFragmentsRequest.h:23
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetHLSStreamingSessionURL
virtual Model::GetHLSStreamingSessionURLOutcome GetHLSStreamingSessionURL(const Model::GetHLSStreamingSessionURLRequest &request) const
GetMediaForFragmentListResult.h
AWSError.h
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetClip
virtual Model::GetClipOutcome GetClip(const Model::GetClipRequest &request) const
Aws::KinesisVideoArchivedMedia::Model::GetDASHStreamingSessionURLRequest
Definition: GetDASHStreamingSessionURLRequest.h:26
Aws::KinesisVideoArchivedMedia::GetMediaForFragmentListResponseReceivedHandler
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::GetMediaForFragmentListRequest &, Model::GetMediaForFragmentListOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetMediaForFragmentListResponseReceivedHandler
Definition: KinesisVideoArchivedMediaClient.h:82
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
Aws::KinesisVideoArchivedMedia::GetClipResponseReceivedHandler
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::GetClipRequest &, Model::GetClipOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetClipResponseReceivedHandler
Definition: KinesisVideoArchivedMediaClient.h:77
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetDASHStreamingSessionURL
virtual Model::GetDASHStreamingSessionURLOutcome GetDASHStreamingSessionURL(const Model::GetDASHStreamingSessionURLRequest &request) const
Aws::KinesisVideoArchivedMedia::Model::GetHLSStreamingSessionURLRequest
Definition: GetHLSStreamingSessionURLRequest.h:27
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::KinesisVideoArchivedMediaClient
KinesisVideoArchivedMediaClient(const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
AsyncCallerContext.h
Aws::KinesisVideoArchivedMedia::Model::GetDASHStreamingSessionURLOutcome
Aws::Utils::Outcome< GetDASHStreamingSessionURLResult, KinesisVideoArchivedMediaError > GetDASHStreamingSessionURLOutcome
Definition: KinesisVideoArchivedMediaClient.h:65
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListOutcomeCallable
std::future< GetMediaForFragmentListOutcome > GetMediaForFragmentListOutcomeCallable
Definition: KinesisVideoArchivedMediaClient.h:73
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetDASHStreamingSessionURLCallable
virtual Model::GetDASHStreamingSessionURLOutcomeCallable GetDASHStreamingSessionURLCallable(const Model::GetDASHStreamingSessionURLRequest &request) const
Aws::Client::ClientConfiguration
Definition: ClientConfiguration.h:53
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetMediaForFragmentList
virtual Model::GetMediaForFragmentListOutcome GetMediaForFragmentList(const Model::GetMediaForFragmentListRequest &request) const
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetHLSStreamingSessionURLCallable
virtual Model::GetHLSStreamingSessionURLOutcomeCallable GetHLSStreamingSessionURLCallable(const Model::GetHLSStreamingSessionURLRequest &request) const
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::OverrideEndpoint
void OverrideEndpoint(const Aws::String &endpoint)
KinesisVideoArchivedMediaErrors.h
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetMediaForFragmentListAsync
virtual void GetMediaForFragmentListAsync(const Model::GetMediaForFragmentListRequest &request, const GetMediaForFragmentListResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::KinesisVideoArchivedMedia::Model::GetClipOutcome
Aws::Utils::Outcome< GetClipResult, KinesisVideoArchivedMediaError > GetClipOutcome
Definition: KinesisVideoArchivedMediaClient.h:62
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::BASECLASS
Aws::Client::AWSJsonClient BASECLASS
Definition: KinesisVideoArchivedMediaClient.h:91
GetDASHStreamingSessionURLResult.h
Aws::Auth::AWSCredentials
Definition: AWSCredentials.h:19
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::ListFragmentsAsync
virtual void ListFragmentsAsync(const Model::ListFragmentsRequest &request, const ListFragmentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::KinesisVideoArchivedMedia::Model::GetClipOutcomeCallable
std::future< GetClipOutcome > GetClipOutcomeCallable
Definition: KinesisVideoArchivedMediaClient.h:70
GetClipResult.h
GetHLSStreamingSessionURLResult.h
AWSString.h
Aws::Client::AWSJsonClient
Definition: AWSClient.h:338
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::KinesisVideoArchivedMediaClient
KinesisVideoArchivedMediaClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient
Definition: KinesisVideoArchivedMediaClient.h:89
Aws::KinesisVideoArchivedMedia::Model::GetDASHStreamingSessionURLOutcomeCallable
std::future< GetDASHStreamingSessionURLOutcome > GetDASHStreamingSessionURLOutcomeCallable
Definition: KinesisVideoArchivedMediaClient.h:71
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::ListFragments
virtual Model::ListFragmentsOutcome ListFragments(const Model::ListFragmentsRequest &request) const
Aws::KinesisVideoArchivedMedia::ListFragmentsResponseReceivedHandler
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::ListFragmentsRequest &, const Model::ListFragmentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListFragmentsResponseReceivedHandler
Definition: KinesisVideoArchivedMediaClient.h:83
ClientConfiguration.h
Aws
Definition: AccessManagementClient.h:15
HttpTypes.h
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetHLSStreamingSessionURLAsync
virtual void GetHLSStreamingSessionURLAsync(const Model::GetHLSStreamingSessionURLRequest &request, const GetHLSStreamingSessionURLResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::KinesisVideoArchivedMedia::GetHLSStreamingSessionURLResponseReceivedHandler
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::GetHLSStreamingSessionURLRequest &, const Model::GetHLSStreamingSessionURLOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetHLSStreamingSessionURLResponseReceivedHandler
Definition: KinesisVideoArchivedMediaClient.h:81
Aws::Utils::Outcome
Definition: Outcome.h:26
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::ListFragmentsCallable
virtual Model::ListFragmentsOutcomeCallable ListFragmentsCallable(const Model::ListFragmentsRequest &request) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsOutcomeCallable
std::future< ListFragmentsOutcome > ListFragmentsOutcomeCallable
Definition: KinesisVideoArchivedMediaClient.h:74
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::KinesisVideoArchivedMediaClient
KinesisVideoArchivedMediaClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
AWSClient.h
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsOutcome
Aws::Utils::Outcome< ListFragmentsResult, KinesisVideoArchivedMediaError > ListFragmentsOutcome
Definition: KinesisVideoArchivedMediaClient.h:68
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest
Definition: GetClipRequest.h:23
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListOutcome
Aws::Utils::Outcome< GetMediaForFragmentListResult, KinesisVideoArchivedMediaError > GetMediaForFragmentListOutcome
Definition: KinesisVideoArchivedMediaClient.h:67
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::~KinesisVideoArchivedMediaClient
virtual ~KinesisVideoArchivedMediaClient()
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest
Definition: GetMediaForFragmentListRequest.h:23
Aws::KinesisVideoArchivedMedia::GetDASHStreamingSessionURLResponseReceivedHandler
std::function< void(const KinesisVideoArchivedMediaClient *, const Model::GetDASHStreamingSessionURLRequest &, const Model::GetDASHStreamingSessionURLOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetDASHStreamingSessionURLResponseReceivedHandler
Definition: KinesisVideoArchivedMediaClient.h:80
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetClipAsync
virtual void GetClipAsync(const Model::GetClipRequest &request, const GetClipResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::KinesisVideoArchivedMedia::Model::GetHLSStreamingSessionURLOutcomeCallable
std::future< GetHLSStreamingSessionURLOutcome > GetHLSStreamingSessionURLOutcomeCallable
Definition: KinesisVideoArchivedMediaClient.h:72
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetDASHStreamingSessionURLAsync
virtual void GetDASHStreamingSessionURLAsync(const Model::GetDASHStreamingSessionURLRequest &request, const GetDASHStreamingSessionURLResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
ListFragmentsResult.h
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient::GetMediaForFragmentListCallable
virtual Model::GetMediaForFragmentListOutcomeCallable GetMediaForFragmentListCallable(const Model::GetMediaForFragmentListRequest &request) const
JsonSerializer.h