7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/dynamodb/model/ProvisionedThroughput.h>
12#include <aws/dynamodb/model/OnDemandThroughput.h>
13#include <aws/dynamodb/model/BillingMode.h>
14#include <aws/dynamodb/model/KeySchemaElement.h>
53 template<
typename TableNameT = Aws::String>
54 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
55 template<
typename TableNameT = Aws::String>
65 template<
typename TableIdT = Aws::String>
66 void SetTableId(TableIdT&& value) { m_tableIdHasBeenSet =
true; m_tableId = std::forward<TableIdT>(value); }
67 template<
typename TableIdT = Aws::String>
77 template<
typename TableArnT = Aws::String>
78 void SetTableArn(TableArnT&& value) { m_tableArnHasBeenSet =
true; m_tableArn = std::forward<TableArnT>(value); }
79 template<
typename TableArnT = Aws::String>
89 inline void SetTableSizeBytes(
long long value) { m_tableSizeBytesHasBeenSet =
true; m_tableSizeBytes = value; }
99 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
100 void SetKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet =
true; m_keySchema = std::forward<KeySchemaT>(value); }
101 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
103 template<
typename KeySchemaT = KeySchemaElement>
113 template<
typename TableCreationDateTimeT = Aws::Utils::DateTime>
114 void SetTableCreationDateTime(TableCreationDateTimeT&& value) { m_tableCreationDateTimeHasBeenSet =
true; m_tableCreationDateTime = std::forward<TableCreationDateTimeT>(value); }
115 template<
typename TableCreationDateTimeT = Aws::Utils::DateTime>
125 template<
typename ProvisionedThroughputT = ProvisionedThroughput>
126 void SetProvisionedThroughput(ProvisionedThroughputT&& value) { m_provisionedThroughputHasBeenSet =
true; m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value); }
127 template<
typename ProvisionedThroughputT = ProvisionedThroughput>
135 template<
typename OnDemandThroughputT = OnDemandThroughput>
136 void SetOnDemandThroughput(OnDemandThroughputT&& value) { m_onDemandThroughputHasBeenSet =
true; m_onDemandThroughput = std::forward<OnDemandThroughputT>(value); }
137 template<
typename OnDemandThroughputT = OnDemandThroughput>
147 inline void SetItemCount(
long long value) { m_itemCountHasBeenSet =
true; m_itemCount = value; }
169 bool m_tableNameHasBeenSet =
false;
172 bool m_tableIdHasBeenSet =
false;
175 bool m_tableArnHasBeenSet =
false;
177 long long m_tableSizeBytes{0};
178 bool m_tableSizeBytesHasBeenSet =
false;
181 bool m_keySchemaHasBeenSet =
false;
184 bool m_tableCreationDateTimeHasBeenSet =
false;
186 ProvisionedThroughput m_provisionedThroughput;
187 bool m_provisionedThroughputHasBeenSet =
false;
189 OnDemandThroughput m_onDemandThroughput;
190 bool m_onDemandThroughputHasBeenSet =
false;
192 long long m_itemCount{0};
193 bool m_itemCountHasBeenSet =
false;
196 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