7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/keyspacesstreams/KeyspacesStreams_EXPORTS.h>
11#include <aws/keyspacesstreams/model/Shard.h>
12#include <aws/keyspacesstreams/model/StreamStatus.h>
13#include <aws/keyspacesstreams/model/StreamViewType.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace KeyspacesStreams {
41 template <
typename StreamArnT = Aws::String>
43 m_streamArnHasBeenSet =
true;
44 m_streamArn = std::forward<StreamArnT>(value);
46 template <
typename StreamArnT = Aws::String>
60 template <
typename StreamLabelT = Aws::String>
62 m_streamLabelHasBeenSet =
true;
63 m_streamLabel = std::forward<StreamLabelT>(value);
65 template <
typename StreamLabelT = Aws::String>
80 m_streamStatusHasBeenSet =
true;
81 m_streamStatus = value;
101 m_streamViewTypeHasBeenSet =
true;
102 m_streamViewType = value;
116 template <
typename CreationRequestDateTimeT = Aws::Utils::DateTime>
118 m_creationRequestDateTimeHasBeenSet =
true;
119 m_creationRequestDateTime = std::forward<CreationRequestDateTimeT>(value);
121 template <
typename CreationRequestDateTimeT = Aws::Utils::DateTime>
135 template <
typename KeyspaceNameT = Aws::String>
137 m_keyspaceNameHasBeenSet =
true;
138 m_keyspaceName = std::forward<KeyspaceNameT>(value);
140 template <
typename KeyspaceNameT = Aws::String>
153 template <
typename TableNameT = Aws::String>
155 m_tableNameHasBeenSet =
true;
156 m_tableName = std::forward<TableNameT>(value);
158 template <
typename TableNameT = Aws::String>
172 template <
typename ShardsT = Aws::Vector<Shard>>
174 m_shardsHasBeenSet =
true;
175 m_shards = std::forward<ShardsT>(value);
177 template <
typename ShardsT = Aws::Vector<Shard>>
182 template <
typename ShardsT = Shard>
184 m_shardsHasBeenSet =
true;
185 m_shards.emplace_back(std::forward<ShardsT>(value));
197 template <
typename NextTokenT = Aws::String>
199 m_nextTokenHasBeenSet =
true;
200 m_nextToken = std::forward<NextTokenT>(value);
202 template <
typename NextTokenT = Aws::String>
212 template <
typename RequestIdT = Aws::String>
214 m_requestIdHasBeenSet =
true;
215 m_requestId = std::forward<RequestIdT>(value);
217 template <
typename RequestIdT = Aws::String>
243 bool m_streamArnHasBeenSet =
false;
244 bool m_streamLabelHasBeenSet =
false;
245 bool m_streamStatusHasBeenSet =
false;
246 bool m_streamViewTypeHasBeenSet =
false;
247 bool m_creationRequestDateTimeHasBeenSet =
false;
248 bool m_keyspaceNameHasBeenSet =
false;
249 bool m_tableNameHasBeenSet =
false;
250 bool m_shardsHasBeenSet =
false;
251 bool m_nextTokenHasBeenSet =
false;
252 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)
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