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/ArchivalSummary.h>
12#include <aws/dynamodb/model/AttributeDefinition.h>
13#include <aws/dynamodb/model/BillingModeSummary.h>
14#include <aws/dynamodb/model/GlobalSecondaryIndexDescription.h>
15#include <aws/dynamodb/model/GlobalTableSettingsReplicationMode.h>
16#include <aws/dynamodb/model/GlobalTableWitnessDescription.h>
17#include <aws/dynamodb/model/KeySchemaElement.h>
18#include <aws/dynamodb/model/LocalSecondaryIndexDescription.h>
19#include <aws/dynamodb/model/MultiRegionConsistency.h>
20#include <aws/dynamodb/model/OnDemandThroughput.h>
21#include <aws/dynamodb/model/ProvisionedThroughputDescription.h>
22#include <aws/dynamodb/model/ReplicaDescription.h>
23#include <aws/dynamodb/model/RestoreSummary.h>
24#include <aws/dynamodb/model/SSEDescription.h>
25#include <aws/dynamodb/model/StreamSpecification.h>
26#include <aws/dynamodb/model/TableClassSummary.h>
27#include <aws/dynamodb/model/TableStatus.h>
28#include <aws/dynamodb/model/TableWarmThroughputDescription.h>
29#include <aws/dynamodb/model/VectorIndexDescription.h>
66 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
68 m_attributeDefinitionsHasBeenSet =
true;
69 m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value);
71 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
76 template <
typename AttributeDefinitionsT = AttributeDefinition>
78 m_attributeDefinitionsHasBeenSet =
true;
79 m_attributeDefinitions.emplace_back(std::forward<AttributeDefinitionsT>(value));
90 template <
typename TableNameT = Aws::String>
92 m_tableNameHasBeenSet =
true;
93 m_tableName = std::forward<TableNameT>(value);
95 template <
typename TableNameT = Aws::String>
121 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
123 m_keySchemaHasBeenSet =
true;
124 m_keySchema = std::forward<KeySchemaT>(value);
126 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
131 template <
typename KeySchemaT = KeySchemaElement>
133 m_keySchemaHasBeenSet =
true;
134 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
159 m_tableStatusHasBeenSet =
true;
160 m_tableStatus = value;
175 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
177 m_creationDateTimeHasBeenSet =
true;
178 m_creationDateTime = std::forward<CreationDateTimeT>(value);
180 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
194 template <
typename ProvisionedThroughputT = ProvisionedThroughputDescription>
196 m_provisionedThroughputHasBeenSet =
true;
197 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
199 template <
typename ProvisionedThroughputT = ProvisionedThroughputDescription>
215 m_tableSizeBytesHasBeenSet =
true;
216 m_tableSizeBytes = value;
233 m_itemCountHasBeenSet =
true;
248 template <
typename TableArnT = Aws::String>
250 m_tableArnHasBeenSet =
true;
251 m_tableArn = std::forward<TableArnT>(value);
253 template <
typename TableArnT = Aws::String>
267 template <
typename TableIdT = Aws::String>
269 m_tableIdHasBeenSet =
true;
270 m_tableId = std::forward<TableIdT>(value);
272 template <
typename TableIdT = Aws::String>
285 template <
typename BillingModeSummaryT = BillingModeSummary>
287 m_billingModeSummaryHasBeenSet =
true;
288 m_billingModeSummary = std::forward<BillingModeSummaryT>(value);
290 template <
typename BillingModeSummaryT = BillingModeSummary>
336 template <
typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndexDescription>>
338 m_localSecondaryIndexesHasBeenSet =
true;
339 m_localSecondaryIndexes = std::forward<LocalSecondaryIndexesT>(value);
341 template <
typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndexDescription>>
346 template <
typename LocalSecondaryIndexesT = LocalSecondaryIndexDescription>
348 m_localSecondaryIndexesHasBeenSet =
true;
349 m_localSecondaryIndexes.emplace_back(std::forward<LocalSecondaryIndexesT>(value));
409 template <
typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndexDescription>>
411 m_globalSecondaryIndexesHasBeenSet =
true;
412 m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value);
414 template <
typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndexDescription>>
419 template <
typename GlobalSecondaryIndexesT = GlobalSecondaryIndexDescription>
421 m_globalSecondaryIndexesHasBeenSet =
true;
422 m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value));
433 template <
typename StreamSpecificationT = StreamSpecification>
435 m_streamSpecificationHasBeenSet =
true;
436 m_streamSpecification = std::forward<StreamSpecificationT>(value);
438 template <
typename StreamSpecificationT = StreamSpecification>
457 template <
typename LatestStreamLabelT = Aws::String>
459 m_latestStreamLabelHasBeenSet =
true;
460 m_latestStreamLabel = std::forward<LatestStreamLabelT>(value);
462 template <
typename LatestStreamLabelT = Aws::String>
476 template <
typename LatestStreamArnT = Aws::String>
478 m_latestStreamArnHasBeenSet =
true;
479 m_latestStreamArn = std::forward<LatestStreamArnT>(value);
481 template <
typename LatestStreamArnT = Aws::String>
497 template <
typename GlobalTableVersionT = Aws::String>
499 m_globalTableVersionHasBeenSet =
true;
500 m_globalTableVersion = std::forward<GlobalTableVersionT>(value);
502 template <
typename GlobalTableVersionT = Aws::String>
515 template <
typename ReplicasT = Aws::Vector<ReplicaDescription>>
517 m_replicasHasBeenSet =
true;
518 m_replicas = std::forward<ReplicasT>(value);
520 template <
typename ReplicasT = Aws::Vector<ReplicaDescription>>
525 template <
typename ReplicasT = ReplicaDescription>
527 m_replicasHasBeenSet =
true;
528 m_replicas.emplace_back(std::forward<ReplicasT>(value));
540 template <
typename GlobalTableWitnessesT = Aws::Vector<GlobalTableWitnessDescription>>
542 m_globalTableWitnessesHasBeenSet =
true;
543 m_globalTableWitnesses = std::forward<GlobalTableWitnessesT>(value);
545 template <
typename GlobalTableWitnessesT = Aws::Vector<GlobalTableWitnessDescription>>
550 template <
typename GlobalTableWitnessesT = GlobalTableWitnessDescription>
552 m_globalTableWitnessesHasBeenSet =
true;
553 m_globalTableWitnesses.emplace_back(std::forward<GlobalTableWitnessesT>(value));
571 m_globalTableSettingsReplicationModeHasBeenSet =
true;
572 m_globalTableSettingsReplicationMode = value;
586 template <
typename RestoreSummaryT = RestoreSummary>
588 m_restoreSummaryHasBeenSet =
true;
589 m_restoreSummary = std::forward<RestoreSummaryT>(value);
591 template <
typename RestoreSummaryT = RestoreSummary>
605 template <
typename SSEDescriptionT = SSEDescription>
607 m_sSEDescriptionHasBeenSet =
true;
608 m_sSEDescription = std::forward<SSEDescriptionT>(value);
610 template <
typename SSEDescriptionT = SSEDescription>
623 template <
typename ArchivalSummaryT = ArchivalSummary>
625 m_archivalSummaryHasBeenSet =
true;
626 m_archivalSummary = std::forward<ArchivalSummaryT>(value);
628 template <
typename ArchivalSummaryT = ArchivalSummary>
641 template <
typename TableClassSummaryT = TableClassSummary>
643 m_tableClassSummaryHasBeenSet =
true;
644 m_tableClassSummary = std::forward<TableClassSummaryT>(value);
646 template <
typename TableClassSummaryT = TableClassSummary>
661 m_deletionProtectionEnabledHasBeenSet =
true;
662 m_deletionProtectionEnabled = value;
678 template <
typename OnDemandThroughputT = OnDemandThroughput>
680 m_onDemandThroughputHasBeenSet =
true;
681 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
683 template <
typename OnDemandThroughputT = OnDemandThroughput>
696 template <
typename WarmThroughputT = TableWarmThroughputDescription>
698 m_warmThroughputHasBeenSet =
true;
699 m_warmThroughput = std::forward<WarmThroughputT>(value);
701 template <
typename WarmThroughputT = TableWarmThroughputDescription>
723 m_multiRegionConsistencyHasBeenSet =
true;
724 m_multiRegionConsistency = value;
759 template <
typename VectorIndexesT = Aws::Vector<VectorIndexDescription>>
761 m_vectorIndexesHasBeenSet =
true;
762 m_vectorIndexes = std::forward<VectorIndexesT>(value);
764 template <
typename VectorIndexesT = Aws::Vector<VectorIndexDescription>>
769 template <
typename VectorIndexesT = VectorIndexDescription>
771 m_vectorIndexesHasBeenSet =
true;
772 m_vectorIndexes.emplace_back(std::forward<VectorIndexesT>(value));
787 ProvisionedThroughputDescription m_provisionedThroughput;
789 long long m_tableSizeBytes{0};
791 long long m_itemCount{0};
797 BillingModeSummary m_billingModeSummary;
803 StreamSpecification m_streamSpecification;
817 RestoreSummary m_restoreSummary;
819 SSEDescription m_sSEDescription;
821 ArchivalSummary m_archivalSummary;
823 TableClassSummary m_tableClassSummary;
825 bool m_deletionProtectionEnabled{
false};
827 OnDemandThroughput m_onDemandThroughput;
829 TableWarmThroughputDescription m_warmThroughput;
834 bool m_attributeDefinitionsHasBeenSet =
false;
835 bool m_tableNameHasBeenSet =
false;
836 bool m_keySchemaHasBeenSet =
false;
837 bool m_tableStatusHasBeenSet =
false;
838 bool m_creationDateTimeHasBeenSet =
false;
839 bool m_provisionedThroughputHasBeenSet =
false;
840 bool m_tableSizeBytesHasBeenSet =
false;
841 bool m_itemCountHasBeenSet =
false;
842 bool m_tableArnHasBeenSet =
false;
843 bool m_tableIdHasBeenSet =
false;
844 bool m_billingModeSummaryHasBeenSet =
false;
845 bool m_localSecondaryIndexesHasBeenSet =
false;
846 bool m_globalSecondaryIndexesHasBeenSet =
false;
847 bool m_streamSpecificationHasBeenSet =
false;
848 bool m_latestStreamLabelHasBeenSet =
false;
849 bool m_latestStreamArnHasBeenSet =
false;
850 bool m_globalTableVersionHasBeenSet =
false;
851 bool m_replicasHasBeenSet =
false;
852 bool m_globalTableWitnessesHasBeenSet =
false;
853 bool m_globalTableSettingsReplicationModeHasBeenSet =
false;
854 bool m_restoreSummaryHasBeenSet =
false;
855 bool m_sSEDescriptionHasBeenSet =
false;
856 bool m_archivalSummaryHasBeenSet =
false;
857 bool m_tableClassSummaryHasBeenSet =
false;
858 bool m_deletionProtectionEnabledHasBeenSet =
false;
859 bool m_onDemandThroughputHasBeenSet =
false;
860 bool m_warmThroughputHasBeenSet =
false;
861 bool m_multiRegionConsistencyHasBeenSet =
false;
862 bool m_vectorIndexesHasBeenSet =
false;
void SetGlobalTableSettingsReplicationMode(GlobalTableSettingsReplicationMode value)
bool ProvisionedThroughputHasBeenSet() const
const Aws::String & GetTableArn() const
void SetTableStatus(TableStatus value)
const TableWarmThroughputDescription & GetWarmThroughput() const
bool WarmThroughputHasBeenSet() const
bool ReplicasHasBeenSet() const
AWS_DYNAMODB_API TableDescription()=default
void SetWarmThroughput(WarmThroughputT &&value)
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
GlobalTableSettingsReplicationMode GetGlobalTableSettingsReplicationMode() const
bool CreationDateTimeHasBeenSet() const
TableDescription & AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
void SetArchivalSummary(ArchivalSummaryT &&value)
void SetRestoreSummary(RestoreSummaryT &&value)
const TableClassSummary & GetTableClassSummary() const
bool LocalSecondaryIndexesHasBeenSet() const
TableDescription & AddVectorIndexes(VectorIndexesT &&value)
bool DeletionProtectionEnabledHasBeenSet() const
TableDescription & WithKeySchema(KeySchemaT &&value)
bool OnDemandThroughputHasBeenSet() const
bool TableIdHasBeenSet() const
bool GlobalTableVersionHasBeenSet() const
const RestoreSummary & GetRestoreSummary() const
void SetMultiRegionConsistency(MultiRegionConsistency value)
TableDescription & WithItemCount(long long value)
bool MultiRegionConsistencyHasBeenSet() const
bool GetDeletionProtectionEnabled() const
TableDescription & WithLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
void SetTableSizeBytes(long long value)
bool RestoreSummaryHasBeenSet() const
TableDescription & WithGlobalTableSettingsReplicationMode(GlobalTableSettingsReplicationMode value)
bool LatestStreamArnHasBeenSet() const
void SetOnDemandThroughput(OnDemandThroughputT &&value)
const Aws::String & GetTableName() const
void SetGlobalTableVersion(GlobalTableVersionT &&value)
const Aws::Vector< GlobalSecondaryIndexDescription > & GetGlobalSecondaryIndexes() const
bool VectorIndexesHasBeenSet() const
const Aws::String & GetLatestStreamLabel() const
AWS_DYNAMODB_API TableDescription(Aws::Utils::Json::JsonView jsonValue)
TableDescription & WithGlobalTableVersion(GlobalTableVersionT &&value)
void SetKeySchema(KeySchemaT &&value)
TableDescription & WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
TableDescription & WithLatestStreamLabel(LatestStreamLabelT &&value)
const Aws::String & GetTableId() const
TableDescription & WithLatestStreamArn(LatestStreamArnT &&value)
TableDescription & WithTableSizeBytes(long long value)
long long GetTableSizeBytes() const
TableDescription & WithTableId(TableIdT &&value)
bool TableStatusHasBeenSet() const
void SetLatestStreamArn(LatestStreamArnT &&value)
void SetTableArn(TableArnT &&value)
TableDescription & AddLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
void SetSSEDescription(SSEDescriptionT &&value)
const BillingModeSummary & GetBillingModeSummary() const
bool BillingModeSummaryHasBeenSet() const
void SetCreationDateTime(CreationDateTimeT &&value)
TableDescription & WithReplicas(ReplicasT &&value)
const Aws::Vector< VectorIndexDescription > & GetVectorIndexes() const
bool TableSizeBytesHasBeenSet() const
bool AttributeDefinitionsHasBeenSet() const
void SetAttributeDefinitions(AttributeDefinitionsT &&value)
void SetTableClassSummary(TableClassSummaryT &&value)
bool LatestStreamLabelHasBeenSet() const
const Aws::String & GetLatestStreamArn() const
TableDescription & WithTableArn(TableArnT &&value)
TableDescription & WithBillingModeSummary(BillingModeSummaryT &&value)
void SetVectorIndexes(VectorIndexesT &&value)
const OnDemandThroughput & GetOnDemandThroughput() const
const StreamSpecification & GetStreamSpecification() const
TableDescription & WithGlobalTableWitnesses(GlobalTableWitnessesT &&value)
void SetLatestStreamLabel(LatestStreamLabelT &&value)
TableDescription & WithArchivalSummary(ArchivalSummaryT &&value)
TableDescription & WithTableClassSummary(TableClassSummaryT &&value)
TableDescription & AddGlobalTableWitnesses(GlobalTableWitnessesT &&value)
const ProvisionedThroughputDescription & GetProvisionedThroughput() const
TableDescription & WithWarmThroughput(WarmThroughputT &&value)
TableDescription & WithAttributeDefinitions(AttributeDefinitionsT &&value)
bool TableNameHasBeenSet() const
void SetLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
TableDescription & WithDeletionProtectionEnabled(bool value)
void SetDeletionProtectionEnabled(bool value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetBillingModeSummary(BillingModeSummaryT &&value)
TableDescription & WithStreamSpecification(StreamSpecificationT &&value)
void SetTableName(TableNameT &&value)
const Aws::Vector< ReplicaDescription > & GetReplicas() const
bool ArchivalSummaryHasBeenSet() const
bool GlobalTableWitnessesHasBeenSet() const
TableDescription & WithRestoreSummary(RestoreSummaryT &&value)
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
TableStatus GetTableStatus() const
void SetTableId(TableIdT &&value)
const ArchivalSummary & GetArchivalSummary() const
TableDescription & WithTableStatus(TableStatus value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
bool GlobalSecondaryIndexesHasBeenSet() const
bool StreamSpecificationHasBeenSet() const
const Aws::Vector< GlobalTableWitnessDescription > & GetGlobalTableWitnesses() const
bool TableArnHasBeenSet() const
TableDescription & WithVectorIndexes(VectorIndexesT &&value)
TableDescription & AddKeySchema(KeySchemaT &&value)
TableDescription & AddReplicas(ReplicasT &&value)
void SetReplicas(ReplicasT &&value)
void SetItemCount(long long value)
const Aws::Vector< LocalSecondaryIndexDescription > & GetLocalSecondaryIndexes() const
bool TableClassSummaryHasBeenSet() const
void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
TableDescription & WithMultiRegionConsistency(MultiRegionConsistency value)
TableDescription & WithSSEDescription(SSEDescriptionT &&value)
bool KeySchemaHasBeenSet() const
TableDescription & WithTableName(TableNameT &&value)
void SetStreamSpecification(StreamSpecificationT &&value)
bool ItemCountHasBeenSet() const
bool SSEDescriptionHasBeenSet() const
TableDescription & WithCreationDateTime(CreationDateTimeT &&value)
TableDescription & AddAttributeDefinitions(AttributeDefinitionsT &&value)
AWS_DYNAMODB_API TableDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
TableDescription & WithProvisionedThroughput(ProvisionedThroughputT &&value)
bool GlobalTableSettingsReplicationModeHasBeenSet() const
const SSEDescription & GetSSEDescription() const
long long GetItemCount() const
void SetGlobalTableWitnesses(GlobalTableWitnessesT &&value)
MultiRegionConsistency GetMultiRegionConsistency() const
const Aws::Vector< AttributeDefinition > & GetAttributeDefinitions() const
const Aws::String & GetGlobalTableVersion() const
TableDescription & WithOnDemandThroughput(OnDemandThroughputT &&value)
GlobalTableSettingsReplicationMode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue