AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
KeyspacesStreamsPaginationBase.h
1
6#pragma once
7
8#include <aws/core/client/UserAgent.h>
9#include <aws/core/utils/pagination/Paginator.h>
10#include <aws/keyspacesstreams/model/GetStreamPaginationTraits.h>
11#include <aws/keyspacesstreams/model/ListStreamsPaginationTraits.h>
12
13#include <memory>
14
15namespace Aws {
16namespace KeyspacesStreams {
17
18class KeyspacesStreamsClient;
19
20template <typename DerivedClient>
22 public:
28 request.AddUserAgentFeature(Aws::Client::UserAgentFeature::PAGINATOR);
30 static_cast<DerivedClient*>(this), request};
31 }
32
38 request.AddUserAgentFeature(Aws::Client::UserAgentFeature::PAGINATOR);
40 Pagination::ListStreamsPaginationTraits<DerivedClient>>{static_cast<DerivedClient*>(this),
41 request};
42 }
43};
44} // namespace KeyspacesStreams
45} // namespace Aws
void AddUserAgentFeature(Aws::Client::UserAgentFeature feature) const
Aws::Utils::Pagination::Paginator< DerivedClient, Model::GetStreamRequest, Pagination::GetStreamPaginationTraits< DerivedClient > > GetStreamPaginator(const Model::GetStreamRequest &request)
Aws::Utils::Pagination::Paginator< DerivedClient, Model::ListStreamsRequest, Pagination::ListStreamsPaginationTraits< DerivedClient > > ListStreamsPaginator(const Model::ListStreamsRequest &request)