7#include <aws/keyspacesstreams/KeyspacesStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/keyspacesstreams/model/StreamStatus.h>
10#include <aws/keyspacesstreams/model/StreamViewType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/keyspacesstreams/model/Shard.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace KeyspacesStreams
47 template<
typename StreamArnT = Aws::String>
48 void SetStreamArn(StreamArnT&& value) { m_streamArnHasBeenSet =
true; m_streamArn = std::forward<StreamArnT>(value); }
49 template<
typename StreamArnT = Aws::String>
60 template<
typename StreamLabelT = Aws::String>
61 void SetStreamLabel(StreamLabelT&& value) { m_streamLabelHasBeenSet =
true; m_streamLabel = std::forward<StreamLabelT>(value); }
62 template<
typename StreamLabelT = Aws::String>
98 template<
typename CreationRequestDateTimeT = Aws::Utils::DateTime>
99 void SetCreationRequestDateTime(CreationRequestDateTimeT&& value) { m_creationRequestDateTimeHasBeenSet =
true; m_creationRequestDateTime = std::forward<CreationRequestDateTimeT>(value); }
100 template<
typename CreationRequestDateTimeT = Aws::Utils::DateTime>
111 template<
typename KeyspaceNameT = Aws::String>
112 void SetKeyspaceName(KeyspaceNameT&& value) { m_keyspaceNameHasBeenSet =
true; m_keyspaceName = std::forward<KeyspaceNameT>(value); }
113 template<
typename KeyspaceNameT = Aws::String>
123 template<
typename TableNameT = Aws::String>
124 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
125 template<
typename TableNameT = Aws::String>
136 template<
typename ShardsT = Aws::Vector<Shard>>
137 void SetShards(ShardsT&& value) { m_shardsHasBeenSet =
true; m_shards = std::forward<ShardsT>(value); }
138 template<
typename ShardsT = Aws::Vector<Shard>>
140 template<
typename ShardsT = Shard>
141 GetStreamResult&
AddShards(ShardsT&& value) { m_shardsHasBeenSet =
true; m_shards.emplace_back(std::forward<ShardsT>(value));
return *
this; }
151 template<
typename NextTokenT = Aws::String>
152 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
153 template<
typename NextTokenT = Aws::String>
160 template<
typename RequestIdT = Aws::String>
161 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
162 template<
typename RequestIdT = Aws::String>
168 bool m_streamArnHasBeenSet =
false;
171 bool m_streamLabelHasBeenSet =
false;
174 bool m_streamStatusHasBeenSet =
false;
177 bool m_streamViewTypeHasBeenSet =
false;
180 bool m_creationRequestDateTimeHasBeenSet =
false;
183 bool m_keyspaceNameHasBeenSet =
false;
186 bool m_tableNameHasBeenSet =
false;
189 bool m_shardsHasBeenSet =
false;
192 bool m_nextTokenHasBeenSet =
false;
195 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