7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/keyspacesstreams/KeyspacesStreams_EXPORTS.h>
12#include <aws/keyspacesstreams/model/Shard.h>
13#include <aws/keyspacesstreams/model/StreamStatus.h>
14#include <aws/keyspacesstreams/model/StreamViewType.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace KeyspacesStreams {
42 template <
typename StreamArnT = Aws::String>
44 m_streamArnHasBeenSet =
true;
45 m_streamArn = std::forward<StreamArnT>(value);
47 template <
typename StreamArnT = Aws::String>
61 template <
typename StreamLabelT = Aws::String>
63 m_streamLabelHasBeenSet =
true;
64 m_streamLabel = std::forward<StreamLabelT>(value);
66 template <
typename StreamLabelT = Aws::String>
81 m_streamStatusHasBeenSet =
true;
82 m_streamStatus = value;
102 m_streamViewTypeHasBeenSet =
true;
103 m_streamViewType = value;
117 template <
typename CreationRequestDateTimeT = Aws::Utils::DateTime>
119 m_creationRequestDateTimeHasBeenSet =
true;
120 m_creationRequestDateTime = std::forward<CreationRequestDateTimeT>(value);
122 template <
typename CreationRequestDateTimeT = Aws::Utils::DateTime>
136 template <
typename KeyspaceNameT = Aws::String>
138 m_keyspaceNameHasBeenSet =
true;
139 m_keyspaceName = std::forward<KeyspaceNameT>(value);
141 template <
typename KeyspaceNameT = Aws::String>
154 template <
typename TableNameT = Aws::String>
156 m_tableNameHasBeenSet =
true;
157 m_tableName = std::forward<TableNameT>(value);
159 template <
typename TableNameT = Aws::String>
173 template <
typename ShardsT = Aws::Vector<Shard>>
175 m_shardsHasBeenSet =
true;
176 m_shards = std::forward<ShardsT>(value);
178 template <
typename ShardsT = Aws::Vector<Shard>>
183 template <
typename ShardsT = Shard>
185 m_shardsHasBeenSet =
true;
186 m_shards.emplace_back(std::forward<ShardsT>(value));
198 template <
typename NextTokenT = Aws::String>
200 m_nextTokenHasBeenSet =
true;
201 m_nextToken = std::forward<NextTokenT>(value);
203 template <
typename NextTokenT = Aws::String>
213 template <
typename RequestIdT = Aws::String>
215 m_requestIdHasBeenSet =
true;
216 m_requestId = std::forward<RequestIdT>(value);
218 template <
typename RequestIdT = Aws::String>
247 bool m_streamArnHasBeenSet =
false;
248 bool m_streamLabelHasBeenSet =
false;
249 bool m_streamStatusHasBeenSet =
false;
250 bool m_streamViewTypeHasBeenSet =
false;
251 bool m_creationRequestDateTimeHasBeenSet =
false;
252 bool m_keyspaceNameHasBeenSet =
false;
253 bool m_tableNameHasBeenSet =
false;
254 bool m_shardsHasBeenSet =
false;
255 bool m_nextTokenHasBeenSet =
false;
256 bool m_requestIdHasBeenSet =
false;
GetStreamResult & WithShards(ShardsT &&value)
GetStreamResult & WithStreamStatus(StreamStatus value)
void SetStreamArn(StreamArnT &&value)
const Aws::String & GetRequestId() const
GetStreamResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetTableName() const
AWS_KEYSPACESSTREAMS_API GetStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetStreamResult & WithNextToken(NextTokenT &&value)
GetStreamResult & WithCreationRequestDateTime(CreationRequestDateTimeT &&value)
GetStreamResult & WithStreamLabel(StreamLabelT &&value)
void SetCreationRequestDateTime(CreationRequestDateTimeT &&value)
GetStreamResult & WithKeyspaceName(KeyspaceNameT &&value)
void SetShards(ShardsT &&value)
StreamViewType GetStreamViewType() const
void SetStreamViewType(StreamViewType value)
const Aws::String & GetNextToken() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetKeyspaceName() const
GetStreamResult & WithTableName(TableNameT &&value)
const Aws::String & GetStreamLabel() const
void SetKeyspaceName(KeyspaceNameT &&value)
AWS_KEYSPACESSTREAMS_API GetStreamResult()=default
void SetStreamStatus(StreamStatus value)
GetStreamResult & WithStreamViewType(StreamViewType value)
void SetTableName(TableNameT &&value)
AWS_KEYSPACESSTREAMS_API GetStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetStreamResult & AddShards(ShardsT &&value)
const Aws::String & GetStreamArn() const
GetStreamResult & WithStreamArn(StreamArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetNextToken(NextTokenT &&value)
const Aws::Vector< Shard > & GetShards() const
StreamStatus GetStreamStatus() const
void SetStreamLabel(StreamLabelT &&value)
const Aws::Utils::DateTime & GetCreationRequestDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue