7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/keyspacesstreams/KeyspacesStreams_EXPORTS.h>
10#include <aws/keyspacesstreams/model/Stream.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace KeyspacesStreams {
38 template <
typename StreamsT = Aws::Vector<Stream>>
40 m_streamsHasBeenSet =
true;
41 m_streams = std::forward<StreamsT>(value);
43 template <
typename StreamsT = Aws::Vector<Stream>>
48 template <
typename StreamsT = Stream>
50 m_streamsHasBeenSet =
true;
51 m_streams.emplace_back(std::forward<StreamsT>(value));
64 template <
typename NextTokenT = Aws::String>
66 m_nextTokenHasBeenSet =
true;
67 m_nextToken = std::forward<NextTokenT>(value);
69 template <
typename NextTokenT = Aws::String>
79 template <
typename RequestIdT = Aws::String>
81 m_requestIdHasBeenSet =
true;
82 m_requestId = std::forward<RequestIdT>(value);
84 template <
typename RequestIdT = Aws::String>
96 bool m_streamsHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
AWS_KEYSPACESSTREAMS_API ListStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Stream > & GetStreams() const
void SetNextToken(NextTokenT &&value)
ListStreamsResult & WithRequestId(RequestIdT &&value)
AWS_KEYSPACESSTREAMS_API ListStreamsResult()=default
ListStreamsResult & WithStreams(StreamsT &&value)
AWS_KEYSPACESSTREAMS_API ListStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
void SetStreams(StreamsT &&value)
ListStreamsResult & WithNextToken(NextTokenT &&value)
ListStreamsResult & AddStreams(StreamsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue