AWS SDK for C++

AWS SDK for C++ Version 1.11.808

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
18template <typename DerivedClient>
20 public:
26 request.AddUserAgentFeature(Aws::Client::UserAgentFeature::PAGINATOR);
28 static_cast<DerivedClient*>(this), request};
29 }
30
36 request.AddUserAgentFeature(Aws::Client::UserAgentFeature::PAGINATOR);
38 Pagination::ListStreamsPaginationTraits<DerivedClient>>{static_cast<DerivedClient*>(this),
39 request};
40 }
41};
42} // namespace KeyspacesStreams
43} // 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)