7#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodbstreams/model/StreamStatus.h>
10#include <aws/dynamodbstreams/model/StreamViewType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/dynamodbstreams/model/KeySchemaElement.h>
14#include <aws/dynamodbstreams/model/Shard.h>
27namespace DynamoDBStreams
53 template<
typename StreamArnT = Aws::String>
54 void SetStreamArn(StreamArnT&& value) { m_streamArnHasBeenSet =
true; m_streamArn = std::forward<StreamArnT>(value); }
55 template<
typename StreamArnT = Aws::String>
71 template<
typename StreamLabelT = Aws::String>
72 void SetStreamLabel(StreamLabelT&& value) { m_streamLabelHasBeenSet =
true; m_streamLabel = std::forward<StreamLabelT>(value); }
73 template<
typename StreamLabelT = Aws::String>
114 template<
typename CreationRequestDateTimeT = Aws::Utils::DateTime>
115 void SetCreationRequestDateTime(CreationRequestDateTimeT&& value) { m_creationRequestDateTimeHasBeenSet =
true; m_creationRequestDateTime = std::forward<CreationRequestDateTimeT>(value); }
116 template<
typename CreationRequestDateTimeT = Aws::Utils::DateTime>
126 template<
typename TableNameT = Aws::String>
127 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
128 template<
typename TableNameT = Aws::String>
138 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
139 void SetKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet =
true; m_keySchema = std::forward<KeySchemaT>(value); }
140 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
142 template<
typename KeySchemaT = KeySchemaElement>
143 StreamDescription&
AddKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet =
true; m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
return *
this; }
152 template<
typename ShardsT = Aws::Vector<Shard>>
153 void SetShards(ShardsT&& value) { m_shardsHasBeenSet =
true; m_shards = std::forward<ShardsT>(value); }
154 template<
typename ShardsT = Aws::Vector<Shard>>
156 template<
typename ShardsT = Shard>
157 StreamDescription&
AddShards(ShardsT&& value) { m_shardsHasBeenSet =
true; m_shards.emplace_back(std::forward<ShardsT>(value));
return *
this; }
173 template<
typename LastEvaluatedShardIdT = Aws::String>
174 void SetLastEvaluatedShardId(LastEvaluatedShardIdT&& value) { m_lastEvaluatedShardIdHasBeenSet =
true; m_lastEvaluatedShardId = std::forward<LastEvaluatedShardIdT>(value); }
175 template<
typename LastEvaluatedShardIdT = Aws::String>
181 bool m_streamArnHasBeenSet =
false;
184 bool m_streamLabelHasBeenSet =
false;
187 bool m_streamStatusHasBeenSet =
false;
190 bool m_streamViewTypeHasBeenSet =
false;
193 bool m_creationRequestDateTimeHasBeenSet =
false;
196 bool m_tableNameHasBeenSet =
false;
199 bool m_keySchemaHasBeenSet =
false;
202 bool m_shardsHasBeenSet =
false;
205 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