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>
65 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
67 m_attributeDefinitionsHasBeenSet =
true;
68 m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value);
70 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
75 template <
typename AttributeDefinitionsT = AttributeDefinition>
77 m_attributeDefinitionsHasBeenSet =
true;
78 m_attributeDefinitions.emplace_back(std::forward<AttributeDefinitionsT>(value));
89 template <
typename TableNameT = Aws::String>
91 m_tableNameHasBeenSet =
true;
92 m_tableName = std::forward<TableNameT>(value);
94 template <
typename TableNameT = Aws::String>
120 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
122 m_keySchemaHasBeenSet =
true;
123 m_keySchema = std::forward<KeySchemaT>(value);
125 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
130 template <
typename KeySchemaT = KeySchemaElement>
132 m_keySchemaHasBeenSet =
true;
133 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
158 m_tableStatusHasBeenSet =
true;
159 m_tableStatus = value;
174 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
176 m_creationDateTimeHasBeenSet =
true;
177 m_creationDateTime = std::forward<CreationDateTimeT>(value);
179 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
193 template <
typename ProvisionedThroughputT = ProvisionedThroughputDescription>
195 m_provisionedThroughputHasBeenSet =
true;
196 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
198 template <
typename ProvisionedThroughputT = ProvisionedThroughputDescription>
214 m_tableSizeBytesHasBeenSet =
true;
215 m_tableSizeBytes = value;
232 m_itemCountHasBeenSet =
true;
247 template <
typename TableArnT = Aws::String>
249 m_tableArnHasBeenSet =
true;
250 m_tableArn = std::forward<TableArnT>(value);
252 template <
typename TableArnT = Aws::String>
265 template <
typename TableIdT = Aws::String>
267 m_tableIdHasBeenSet =
true;
268 m_tableId = std::forward<TableIdT>(value);
270 template <
typename TableIdT = Aws::String>
283 template <
typename BillingModeSummaryT = BillingModeSummary>
285 m_billingModeSummaryHasBeenSet =
true;
286 m_billingModeSummary = std::forward<BillingModeSummaryT>(value);
288 template <
typename BillingModeSummaryT = BillingModeSummary>
334 template <
typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndexDescription>>
336 m_localSecondaryIndexesHasBeenSet =
true;
337 m_localSecondaryIndexes = std::forward<LocalSecondaryIndexesT>(value);
339 template <
typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndexDescription>>
344 template <
typename LocalSecondaryIndexesT = LocalSecondaryIndexDescription>
346 m_localSecondaryIndexesHasBeenSet =
true;
347 m_localSecondaryIndexes.emplace_back(std::forward<LocalSecondaryIndexesT>(value));
407 template <
typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndexDescription>>
409 m_globalSecondaryIndexesHasBeenSet =
true;
410 m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value);
412 template <
typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndexDescription>>
417 template <
typename GlobalSecondaryIndexesT = GlobalSecondaryIndexDescription>
419 m_globalSecondaryIndexesHasBeenSet =
true;
420 m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value));
431 template <
typename StreamSpecificationT = StreamSpecification>
433 m_streamSpecificationHasBeenSet =
true;
434 m_streamSpecification = std::forward<StreamSpecificationT>(value);
436 template <
typename StreamSpecificationT = StreamSpecification>
455 template <
typename LatestStreamLabelT = Aws::String>
457 m_latestStreamLabelHasBeenSet =
true;
458 m_latestStreamLabel = std::forward<LatestStreamLabelT>(value);
460 template <
typename LatestStreamLabelT = Aws::String>
474 template <
typename LatestStreamArnT = Aws::String>
476 m_latestStreamArnHasBeenSet =
true;
477 m_latestStreamArn = std::forward<LatestStreamArnT>(value);
479 template <
typename LatestStreamArnT = Aws::String>
495 template <
typename GlobalTableVersionT = Aws::String>
497 m_globalTableVersionHasBeenSet =
true;
498 m_globalTableVersion = std::forward<GlobalTableVersionT>(value);
500 template <
typename GlobalTableVersionT = Aws::String>
513 template <
typename ReplicasT = Aws::Vector<ReplicaDescription>>
515 m_replicasHasBeenSet =
true;
516 m_replicas = std::forward<ReplicasT>(value);
518 template <
typename ReplicasT = Aws::Vector<ReplicaDescription>>
523 template <
typename ReplicasT = ReplicaDescription>
525 m_replicasHasBeenSet =
true;
526 m_replicas.emplace_back(std::forward<ReplicasT>(value));
538 template <
typename GlobalTableWitnessesT = Aws::Vector<GlobalTableWitnessDescription>>
540 m_globalTableWitnessesHasBeenSet =
true;
541 m_globalTableWitnesses = std::forward<GlobalTableWitnessesT>(value);
543 template <
typename GlobalTableWitnessesT = Aws::Vector<GlobalTableWitnessDescription>>
548 template <
typename GlobalTableWitnessesT = GlobalTableWitnessDescription>
550 m_globalTableWitnessesHasBeenSet =
true;
551 m_globalTableWitnesses.emplace_back(std::forward<GlobalTableWitnessesT>(value));
569 m_globalTableSettingsReplicationModeHasBeenSet =
true;
570 m_globalTableSettingsReplicationMode = value;
584 template <
typename RestoreSummaryT = RestoreSummary>
586 m_restoreSummaryHasBeenSet =
true;
587 m_restoreSummary = std::forward<RestoreSummaryT>(value);
589 template <
typename RestoreSummaryT = RestoreSummary>
603 template <
typename SSEDescriptionT = SSEDescription>
605 m_sSEDescriptionHasBeenSet =
true;
606 m_sSEDescription = std::forward<SSEDescriptionT>(value);
608 template <
typename SSEDescriptionT = SSEDescription>
621 template <
typename ArchivalSummaryT = ArchivalSummary>
623 m_archivalSummaryHasBeenSet =
true;
624 m_archivalSummary = std::forward<ArchivalSummaryT>(value);
626 template <
typename ArchivalSummaryT = ArchivalSummary>
639 template <
typename TableClassSummaryT = TableClassSummary>
641 m_tableClassSummaryHasBeenSet =
true;
642 m_tableClassSummary = std::forward<TableClassSummaryT>(value);
644 template <
typename TableClassSummaryT = TableClassSummary>
659 m_deletionProtectionEnabledHasBeenSet =
true;
660 m_deletionProtectionEnabled = value;
676 template <
typename OnDemandThroughputT = OnDemandThroughput>
678 m_onDemandThroughputHasBeenSet =
true;
679 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
681 template <
typename OnDemandThroughputT = OnDemandThroughput>
694 template <
typename WarmThroughputT = TableWarmThroughputDescription>
696 m_warmThroughputHasBeenSet =
true;
697 m_warmThroughput = std::forward<WarmThroughputT>(value);
699 template <
typename WarmThroughputT = TableWarmThroughputDescription>
721 m_multiRegionConsistencyHasBeenSet =
true;
722 m_multiRegionConsistency = value;
740 ProvisionedThroughputDescription m_provisionedThroughput;
742 long long m_tableSizeBytes{0};
744 long long m_itemCount{0};
750 BillingModeSummary m_billingModeSummary;
756 StreamSpecification m_streamSpecification;
770 RestoreSummary m_restoreSummary;
772 SSEDescription m_sSEDescription;
774 ArchivalSummary m_archivalSummary;
776 TableClassSummary m_tableClassSummary;
778 bool m_deletionProtectionEnabled{
false};
780 OnDemandThroughput m_onDemandThroughput;
782 TableWarmThroughputDescription m_warmThroughput;
785 bool m_attributeDefinitionsHasBeenSet =
false;
786 bool m_tableNameHasBeenSet =
false;
787 bool m_keySchemaHasBeenSet =
false;
788 bool m_tableStatusHasBeenSet =
false;
789 bool m_creationDateTimeHasBeenSet =
false;
790 bool m_provisionedThroughputHasBeenSet =
false;
791 bool m_tableSizeBytesHasBeenSet =
false;
792 bool m_itemCountHasBeenSet =
false;
793 bool m_tableArnHasBeenSet =
false;
794 bool m_tableIdHasBeenSet =
false;
795 bool m_billingModeSummaryHasBeenSet =
false;
796 bool m_localSecondaryIndexesHasBeenSet =
false;
797 bool m_globalSecondaryIndexesHasBeenSet =
false;
798 bool m_streamSpecificationHasBeenSet =
false;
799 bool m_latestStreamLabelHasBeenSet =
false;
800 bool m_latestStreamArnHasBeenSet =
false;
801 bool m_globalTableVersionHasBeenSet =
false;
802 bool m_replicasHasBeenSet =
false;
803 bool m_globalTableWitnessesHasBeenSet =
false;
804 bool m_globalTableSettingsReplicationModeHasBeenSet =
false;
805 bool m_restoreSummaryHasBeenSet =
false;
806 bool m_sSEDescriptionHasBeenSet =
false;
807 bool m_archivalSummaryHasBeenSet =
false;
808 bool m_tableClassSummaryHasBeenSet =
false;
809 bool m_deletionProtectionEnabledHasBeenSet =
false;
810 bool m_onDemandThroughputHasBeenSet =
false;
811 bool m_warmThroughputHasBeenSet =
false;
812 bool m_multiRegionConsistencyHasBeenSet =
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
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
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)
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)
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 & 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