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/dynamodb/DynamoDB_EXPORTS.h>
11#include <aws/dynamodb/model/BillingMode.h>
12#include <aws/dynamodb/model/KeySchemaElement.h>
13#include <aws/dynamodb/model/OnDemandThroughput.h>
14#include <aws/dynamodb/model/ProvisionedThroughput.h>
47 template <
typename TableNameT = Aws::String>
49 m_tableNameHasBeenSet =
true;
50 m_tableName = std::forward<TableNameT>(value);
52 template <
typename TableNameT = Aws::String>
65 template <
typename TableIdT = Aws::String>
67 m_tableIdHasBeenSet =
true;
68 m_tableId = std::forward<TableIdT>(value);
70 template <
typename TableIdT = Aws::String>
83 template <
typename TableArnT = Aws::String>
85 m_tableArnHasBeenSet =
true;
86 m_tableArn = std::forward<TableArnT>(value);
88 template <
typename TableArnT = Aws::String>
102 m_tableSizeBytesHasBeenSet =
true;
103 m_tableSizeBytes = value;
117 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
119 m_keySchemaHasBeenSet =
true;
120 m_keySchema = std::forward<KeySchemaT>(value);
122 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
127 template <
typename KeySchemaT = KeySchemaElement>
129 m_keySchemaHasBeenSet =
true;
130 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
141 template <
typename TableCreationDateTimeT = Aws::Utils::DateTime>
143 m_tableCreationDateTimeHasBeenSet =
true;
144 m_tableCreationDateTime = std::forward<TableCreationDateTimeT>(value);
146 template <
typename TableCreationDateTimeT = Aws::Utils::DateTime>
159 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
161 m_provisionedThroughputHasBeenSet =
true;
162 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
164 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
175 template <
typename OnDemandThroughputT = OnDemandThroughput>
177 m_onDemandThroughputHasBeenSet =
true;
178 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
180 template <
typename OnDemandThroughputT = OnDemandThroughput>
194 m_itemCountHasBeenSet =
true;
216 m_billingModeHasBeenSet =
true;
217 m_billingMode = value;
231 long long m_tableSizeBytes{0};
237 ProvisionedThroughput m_provisionedThroughput;
239 OnDemandThroughput m_onDemandThroughput;
241 long long m_itemCount{0};
244 bool m_tableNameHasBeenSet =
false;
245 bool m_tableIdHasBeenSet =
false;
246 bool m_tableArnHasBeenSet =
false;
247 bool m_tableSizeBytesHasBeenSet =
false;
248 bool m_keySchemaHasBeenSet =
false;
249 bool m_tableCreationDateTimeHasBeenSet =
false;
250 bool m_provisionedThroughputHasBeenSet =
false;
251 bool m_onDemandThroughputHasBeenSet =
false;
252 bool m_itemCountHasBeenSet =
false;
253 bool m_billingModeHasBeenSet =
false;
SourceTableDetails & WithTableCreationDateTime(TableCreationDateTimeT &&value)
void SetTableId(TableIdT &&value)
bool TableCreationDateTimeHasBeenSet() const
const Aws::Utils::DateTime & GetTableCreationDateTime() const
const ProvisionedThroughput & GetProvisionedThroughput() const
SourceTableDetails & WithTableSizeBytes(long long value)
void SetTableArn(TableArnT &&value)
bool TableSizeBytesHasBeenSet() const
SourceTableDetails & WithBillingMode(BillingMode value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKeySchema(KeySchemaT &&value)
bool KeySchemaHasBeenSet() const
long long GetTableSizeBytes() const
void SetOnDemandThroughput(OnDemandThroughputT &&value)
void SetBillingMode(BillingMode value)
SourceTableDetails & WithTableName(TableNameT &&value)
const Aws::String & GetTableArn() const
const Aws::String & GetTableId() const
const Aws::String & GetTableName() const
void SetTableSizeBytes(long long value)
SourceTableDetails & WithItemCount(long long value)
bool OnDemandThroughputHasBeenSet() const
SourceTableDetails & WithKeySchema(KeySchemaT &&value)
SourceTableDetails & WithProvisionedThroughput(ProvisionedThroughputT &&value)
SourceTableDetails & WithTableId(TableIdT &&value)
void SetTableCreationDateTime(TableCreationDateTimeT &&value)
const OnDemandThroughput & GetOnDemandThroughput() const
AWS_DYNAMODB_API SourceTableDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
void SetItemCount(long long value)
bool ProvisionedThroughputHasBeenSet() const
void SetTableName(TableNameT &&value)
SourceTableDetails & WithTableArn(TableArnT &&value)
BillingMode GetBillingMode() const
SourceTableDetails & AddKeySchema(KeySchemaT &&value)
SourceTableDetails & WithOnDemandThroughput(OnDemandThroughputT &&value)
AWS_DYNAMODB_API SourceTableDetails(Aws::Utils::Json::JsonView jsonValue)
bool TableArnHasBeenSet() const
bool ItemCountHasBeenSet() const
long long GetItemCount() const
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
bool TableIdHasBeenSet() const
bool TableNameHasBeenSet() const
bool BillingModeHasBeenSet() const
AWS_DYNAMODB_API SourceTableDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue