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/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
11#include <aws/dynamodbstreams/model/KeySchemaElement.h>
12#include <aws/dynamodbstreams/model/Shard.h>
13#include <aws/dynamodbstreams/model/StreamStatus.h>
14#include <aws/dynamodbstreams/model/StreamViewType.h>
25namespace DynamoDBStreams {
47 template <
typename StreamArnT = Aws::String>
49 m_streamArnHasBeenSet =
true;
50 m_streamArn = std::forward<StreamArnT>(value);
52 template <
typename StreamArnT = Aws::String>
71 template <
typename StreamLabelT = Aws::String>
73 m_streamLabelHasBeenSet =
true;
74 m_streamLabel = std::forward<StreamLabelT>(value);
76 template <
typename StreamLabelT = Aws::String>
95 m_streamStatusHasBeenSet =
true;
96 m_streamStatus = value;
117 m_streamViewTypeHasBeenSet =
true;
118 m_streamViewType = value;
132 template <
typename CreationRequestDateTimeT = Aws::Utils::DateTime>
134 m_creationRequestDateTimeHasBeenSet =
true;
135 m_creationRequestDateTime = std::forward<CreationRequestDateTimeT>(value);
137 template <
typename CreationRequestDateTimeT = Aws::Utils::DateTime>
150 template <
typename TableNameT = Aws::String>
152 m_tableNameHasBeenSet =
true;
153 m_tableName = std::forward<TableNameT>(value);
155 template <
typename TableNameT = Aws::String>
168 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
170 m_keySchemaHasBeenSet =
true;
171 m_keySchema = std::forward<KeySchemaT>(value);
173 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
178 template <
typename KeySchemaT = KeySchemaElement>
180 m_keySchemaHasBeenSet =
true;
181 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
192 template <
typename ShardsT = Aws::Vector<Shard>>
194 m_shardsHasBeenSet =
true;
195 m_shards = std::forward<ShardsT>(value);
197 template <
typename ShardsT = Aws::Vector<Shard>>
202 template <
typename ShardsT = Shard>
204 m_shardsHasBeenSet =
true;
205 m_shards.emplace_back(std::forward<ShardsT>(value));
223 template <
typename LastEvaluatedShardIdT = Aws::String>
225 m_lastEvaluatedShardIdHasBeenSet =
true;
226 m_lastEvaluatedShardId = std::forward<LastEvaluatedShardIdT>(value);
228 template <
typename LastEvaluatedShardIdT = Aws::String>
252 bool m_streamArnHasBeenSet =
false;
253 bool m_streamLabelHasBeenSet =
false;
254 bool m_streamStatusHasBeenSet =
false;
255 bool m_streamViewTypeHasBeenSet =
false;
256 bool m_creationRequestDateTimeHasBeenSet =
false;
257 bool m_tableNameHasBeenSet =
false;
258 bool m_keySchemaHasBeenSet =
false;
259 bool m_shardsHasBeenSet =
false;
260 bool m_lastEvaluatedShardIdHasBeenSet =
false;
void SetTableName(TableNameT &&value)
StreamDescription & WithStreamArn(StreamArnT &&value)
const Aws::Utils::DateTime & GetCreationRequestDateTime() const
const Aws::String & GetLastEvaluatedShardId() const
StreamDescription & WithCreationRequestDateTime(CreationRequestDateTimeT &&value)
void SetCreationRequestDateTime(CreationRequestDateTimeT &&value)
bool CreationRequestDateTimeHasBeenSet() const
void SetLastEvaluatedShardId(LastEvaluatedShardIdT &&value)
AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StreamArnHasBeenSet() const
StreamDescription & AddKeySchema(KeySchemaT &&value)
bool KeySchemaHasBeenSet() const
StreamViewType GetStreamViewType() const
bool StreamLabelHasBeenSet() const
void SetStreamStatus(StreamStatus value)
AWS_DYNAMODBSTREAMS_API StreamDescription(Aws::Utils::Json::JsonView jsonValue)
bool TableNameHasBeenSet() const
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
bool StreamViewTypeHasBeenSet() const
StreamDescription & WithKeySchema(KeySchemaT &&value)
StreamDescription & AddShards(ShardsT &&value)
const Aws::Vector< Shard > & GetShards() const
void SetKeySchema(KeySchemaT &&value)
StreamDescription & WithLastEvaluatedShardId(LastEvaluatedShardIdT &&value)
StreamDescription & WithTableName(TableNameT &&value)
const Aws::String & GetStreamLabel() const
StreamDescription & WithStreamStatus(StreamStatus value)
StreamDescription & WithStreamLabel(StreamLabelT &&value)
bool ShardsHasBeenSet() const
StreamStatus GetStreamStatus() const
void SetShards(ShardsT &&value)
bool StreamStatusHasBeenSet() const
const Aws::String & GetTableName() const
StreamDescription & WithShards(ShardsT &&value)
void SetStreamViewType(StreamViewType value)
StreamDescription & WithStreamViewType(StreamViewType value)
const Aws::String & GetStreamArn() const
void SetStreamArn(StreamArnT &&value)
AWS_DYNAMODBSTREAMS_API StreamDescription()=default
AWS_DYNAMODBSTREAMS_API StreamDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastEvaluatedShardIdHasBeenSet() const
void SetStreamLabel(StreamLabelT &&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