7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kinesis/Kinesis_EXPORTS.h>
11#include <aws/kinesis/model/StreamSummary.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
44 template <
typename StreamNamesT = Aws::Vector<Aws::String>>
46 m_streamNamesHasBeenSet =
true;
47 m_streamNames = std::forward<StreamNamesT>(value);
49 template <
typename StreamNamesT = Aws::Vector<Aws::String>>
54 template <
typename StreamNamesT = Aws::String>
56 m_streamNamesHasBeenSet =
true;
57 m_streamNames.emplace_back(std::forward<StreamNamesT>(value));
68 m_hasMoreStreamsHasBeenSet =
true;
69 m_hasMoreStreams = value;
82 template <
typename NextTokenT = Aws::String>
84 m_nextTokenHasBeenSet =
true;
85 m_nextToken = std::forward<NextTokenT>(value);
87 template <
typename NextTokenT = Aws::String>
99 template <
typename StreamSummariesT = Aws::Vector<StreamSummary>>
101 m_streamSummariesHasBeenSet =
true;
102 m_streamSummaries = std::forward<StreamSummariesT>(value);
104 template <
typename StreamSummariesT = Aws::Vector<StreamSummary>>
109 template <
typename StreamSummariesT = StreamSummary>
111 m_streamSummariesHasBeenSet =
true;
112 m_streamSummaries.emplace_back(std::forward<StreamSummariesT>(value));
120 template <
typename RequestIdT = Aws::String>
122 m_requestIdHasBeenSet =
true;
123 m_requestId = std::forward<RequestIdT>(value);
125 template <
typename RequestIdT = Aws::String>
136 bool m_hasMoreStreams{
false};
144 bool m_streamNamesHasBeenSet =
false;
145 bool m_hasMoreStreamsHasBeenSet =
false;
146 bool m_nextTokenHasBeenSet =
false;
147 bool m_streamSummariesHasBeenSet =
false;
148 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListStreamsResult & WithStreamNames(StreamNamesT &&value)
ListStreamsResult & AddStreamNames(StreamNamesT &&value)
const Aws::Vector< StreamSummary > & GetStreamSummaries() const
void SetStreamNames(StreamNamesT &&value)
AWS_KINESIS_API ListStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KINESIS_API ListStreamsResult()=default
ListStreamsResult & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
ListStreamsResult & AddStreamSummaries(StreamSummariesT &&value)
ListStreamsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetStreamNames() const
ListStreamsResult & WithHasMoreStreams(bool value)
void SetRequestId(RequestIdT &&value)
AWS_KINESIS_API ListStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetHasMoreStreams(bool value)
const Aws::String & GetRequestId() const
ListStreamsResult & WithStreamSummaries(StreamSummariesT &&value)
bool GetHasMoreStreams() const
const Aws::String & GetNextToken() const
void SetStreamSummaries(StreamSummariesT &&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