AWS SDK for C++

AWS SDK for C++ Version 1.11.870

Loading...
Searching...
No Matches
TableDescription.h
1
6#pragma once
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>
30
31#include <utility>
32
33namespace Aws {
34namespace Utils {
35namespace Json {
36class JsonValue;
37class JsonView;
38} // namespace Json
39} // namespace Utils
40namespace DynamoDB {
41namespace Model {
42
49 public:
50 AWS_DYNAMODB_API TableDescription() = default;
51 AWS_DYNAMODB_API TableDescription(Aws::Utils::Json::JsonView jsonValue);
53 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
54
56
64 inline const Aws::Vector<AttributeDefinition>& GetAttributeDefinitions() const { return m_attributeDefinitions; }
65 inline bool AttributeDefinitionsHasBeenSet() const { return m_attributeDefinitionsHasBeenSet; }
66 template <typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
67 void SetAttributeDefinitions(AttributeDefinitionsT&& value) {
68 m_attributeDefinitionsHasBeenSet = true;
69 m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value);
70 }
71 template <typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
72 TableDescription& WithAttributeDefinitions(AttributeDefinitionsT&& value) {
73 SetAttributeDefinitions(std::forward<AttributeDefinitionsT>(value));
74 return *this;
75 }
76 template <typename AttributeDefinitionsT = AttributeDefinition>
77 TableDescription& AddAttributeDefinitions(AttributeDefinitionsT&& value) {
78 m_attributeDefinitionsHasBeenSet = true;
79 m_attributeDefinitions.emplace_back(std::forward<AttributeDefinitionsT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetTableName() const { return m_tableName; }
89 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
90 template <typename TableNameT = Aws::String>
91 void SetTableName(TableNameT&& value) {
92 m_tableNameHasBeenSet = true;
93 m_tableName = std::forward<TableNameT>(value);
94 }
95 template <typename TableNameT = Aws::String>
96 TableDescription& WithTableName(TableNameT&& value) {
97 SetTableName(std::forward<TableNameT>(value));
98 return *this;
99 }
101
103
119 inline const Aws::Vector<KeySchemaElement>& GetKeySchema() const { return m_keySchema; }
120 inline bool KeySchemaHasBeenSet() const { return m_keySchemaHasBeenSet; }
121 template <typename KeySchemaT = Aws::Vector<KeySchemaElement>>
122 void SetKeySchema(KeySchemaT&& value) {
123 m_keySchemaHasBeenSet = true;
124 m_keySchema = std::forward<KeySchemaT>(value);
125 }
126 template <typename KeySchemaT = Aws::Vector<KeySchemaElement>>
127 TableDescription& WithKeySchema(KeySchemaT&& value) {
128 SetKeySchema(std::forward<KeySchemaT>(value));
129 return *this;
130 }
131 template <typename KeySchemaT = KeySchemaElement>
132 TableDescription& AddKeySchema(KeySchemaT&& value) {
133 m_keySchemaHasBeenSet = true;
134 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
135 return *this;
136 }
138
140
156 inline TableStatus GetTableStatus() const { return m_tableStatus; }
157 inline bool TableStatusHasBeenSet() const { return m_tableStatusHasBeenSet; }
158 inline void SetTableStatus(TableStatus value) {
159 m_tableStatusHasBeenSet = true;
160 m_tableStatus = value;
161 }
163 SetTableStatus(value);
164 return *this;
165 }
167
169
173 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
174 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
175 template <typename CreationDateTimeT = Aws::Utils::DateTime>
176 void SetCreationDateTime(CreationDateTimeT&& value) {
177 m_creationDateTimeHasBeenSet = true;
178 m_creationDateTime = std::forward<CreationDateTimeT>(value);
179 }
180 template <typename CreationDateTimeT = Aws::Utils::DateTime>
181 TableDescription& WithCreationDateTime(CreationDateTimeT&& value) {
182 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
183 return *this;
184 }
186
188
192 inline const ProvisionedThroughputDescription& GetProvisionedThroughput() const { return m_provisionedThroughput; }
193 inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; }
194 template <typename ProvisionedThroughputT = ProvisionedThroughputDescription>
195 void SetProvisionedThroughput(ProvisionedThroughputT&& value) {
196 m_provisionedThroughputHasBeenSet = true;
197 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
198 }
199 template <typename ProvisionedThroughputT = ProvisionedThroughputDescription>
200 TableDescription& WithProvisionedThroughput(ProvisionedThroughputT&& value) {
201 SetProvisionedThroughput(std::forward<ProvisionedThroughputT>(value));
202 return *this;
203 }
205
207
212 inline long long GetTableSizeBytes() const { return m_tableSizeBytes; }
213 inline bool TableSizeBytesHasBeenSet() const { return m_tableSizeBytesHasBeenSet; }
214 inline void SetTableSizeBytes(long long value) {
215 m_tableSizeBytesHasBeenSet = true;
216 m_tableSizeBytes = value;
217 }
218 inline TableDescription& WithTableSizeBytes(long long value) {
219 SetTableSizeBytes(value);
220 return *this;
221 }
223
225
230 inline long long GetItemCount() const { return m_itemCount; }
231 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
232 inline void SetItemCount(long long value) {
233 m_itemCountHasBeenSet = true;
234 m_itemCount = value;
235 }
236 inline TableDescription& WithItemCount(long long value) {
237 SetItemCount(value);
238 return *this;
239 }
241
243
246 inline const Aws::String& GetTableArn() const { return m_tableArn; }
247 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
248 template <typename TableArnT = Aws::String>
249 void SetTableArn(TableArnT&& value) {
250 m_tableArnHasBeenSet = true;
251 m_tableArn = std::forward<TableArnT>(value);
252 }
253 template <typename TableArnT = Aws::String>
254 TableDescription& WithTableArn(TableArnT&& value) {
255 SetTableArn(std::forward<TableArnT>(value));
256 return *this;
257 }
259
261
265 inline const Aws::String& GetTableId() const { return m_tableId; }
266 inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
267 template <typename TableIdT = Aws::String>
268 void SetTableId(TableIdT&& value) {
269 m_tableIdHasBeenSet = true;
270 m_tableId = std::forward<TableIdT>(value);
271 }
272 template <typename TableIdT = Aws::String>
273 TableDescription& WithTableId(TableIdT&& value) {
274 SetTableId(std::forward<TableIdT>(value));
275 return *this;
276 }
278
280
283 inline const BillingModeSummary& GetBillingModeSummary() const { return m_billingModeSummary; }
284 inline bool BillingModeSummaryHasBeenSet() const { return m_billingModeSummaryHasBeenSet; }
285 template <typename BillingModeSummaryT = BillingModeSummary>
286 void SetBillingModeSummary(BillingModeSummaryT&& value) {
287 m_billingModeSummaryHasBeenSet = true;
288 m_billingModeSummary = std::forward<BillingModeSummaryT>(value);
289 }
290 template <typename BillingModeSummaryT = BillingModeSummary>
291 TableDescription& WithBillingModeSummary(BillingModeSummaryT&& value) {
292 SetBillingModeSummary(std::forward<BillingModeSummaryT>(value));
293 return *this;
294 }
296
298
334 inline const Aws::Vector<LocalSecondaryIndexDescription>& GetLocalSecondaryIndexes() const { return m_localSecondaryIndexes; }
335 inline bool LocalSecondaryIndexesHasBeenSet() const { return m_localSecondaryIndexesHasBeenSet; }
336 template <typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndexDescription>>
337 void SetLocalSecondaryIndexes(LocalSecondaryIndexesT&& value) {
338 m_localSecondaryIndexesHasBeenSet = true;
339 m_localSecondaryIndexes = std::forward<LocalSecondaryIndexesT>(value);
340 }
341 template <typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndexDescription>>
342 TableDescription& WithLocalSecondaryIndexes(LocalSecondaryIndexesT&& value) {
343 SetLocalSecondaryIndexes(std::forward<LocalSecondaryIndexesT>(value));
344 return *this;
345 }
346 template <typename LocalSecondaryIndexesT = LocalSecondaryIndexDescription>
347 TableDescription& AddLocalSecondaryIndexes(LocalSecondaryIndexesT&& value) {
348 m_localSecondaryIndexesHasBeenSet = true;
349 m_localSecondaryIndexes.emplace_back(std::forward<LocalSecondaryIndexesT>(value));
350 return *this;
351 }
353
355
407 inline const Aws::Vector<GlobalSecondaryIndexDescription>& GetGlobalSecondaryIndexes() const { return m_globalSecondaryIndexes; }
408 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
409 template <typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndexDescription>>
410 void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) {
411 m_globalSecondaryIndexesHasBeenSet = true;
412 m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value);
413 }
414 template <typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndexDescription>>
415 TableDescription& WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) {
416 SetGlobalSecondaryIndexes(std::forward<GlobalSecondaryIndexesT>(value));
417 return *this;
418 }
419 template <typename GlobalSecondaryIndexesT = GlobalSecondaryIndexDescription>
420 TableDescription& AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) {
421 m_globalSecondaryIndexesHasBeenSet = true;
422 m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value));
423 return *this;
424 }
426
428
431 inline const StreamSpecification& GetStreamSpecification() const { return m_streamSpecification; }
432 inline bool StreamSpecificationHasBeenSet() const { return m_streamSpecificationHasBeenSet; }
433 template <typename StreamSpecificationT = StreamSpecification>
434 void SetStreamSpecification(StreamSpecificationT&& value) {
435 m_streamSpecificationHasBeenSet = true;
436 m_streamSpecification = std::forward<StreamSpecificationT>(value);
437 }
438 template <typename StreamSpecificationT = StreamSpecification>
439 TableDescription& WithStreamSpecification(StreamSpecificationT&& value) {
440 SetStreamSpecification(std::forward<StreamSpecificationT>(value));
441 return *this;
442 }
444
446
455 inline const Aws::String& GetLatestStreamLabel() const { return m_latestStreamLabel; }
456 inline bool LatestStreamLabelHasBeenSet() const { return m_latestStreamLabelHasBeenSet; }
457 template <typename LatestStreamLabelT = Aws::String>
458 void SetLatestStreamLabel(LatestStreamLabelT&& value) {
459 m_latestStreamLabelHasBeenSet = true;
460 m_latestStreamLabel = std::forward<LatestStreamLabelT>(value);
461 }
462 template <typename LatestStreamLabelT = Aws::String>
463 TableDescription& WithLatestStreamLabel(LatestStreamLabelT&& value) {
464 SetLatestStreamLabel(std::forward<LatestStreamLabelT>(value));
465 return *this;
466 }
468
470
474 inline const Aws::String& GetLatestStreamArn() const { return m_latestStreamArn; }
475 inline bool LatestStreamArnHasBeenSet() const { return m_latestStreamArnHasBeenSet; }
476 template <typename LatestStreamArnT = Aws::String>
477 void SetLatestStreamArn(LatestStreamArnT&& value) {
478 m_latestStreamArnHasBeenSet = true;
479 m_latestStreamArn = std::forward<LatestStreamArnT>(value);
480 }
481 template <typename LatestStreamArnT = Aws::String>
482 TableDescription& WithLatestStreamArn(LatestStreamArnT&& value) {
483 SetLatestStreamArn(std::forward<LatestStreamArnT>(value));
484 return *this;
485 }
487
489
495 inline const Aws::String& GetGlobalTableVersion() const { return m_globalTableVersion; }
496 inline bool GlobalTableVersionHasBeenSet() const { return m_globalTableVersionHasBeenSet; }
497 template <typename GlobalTableVersionT = Aws::String>
498 void SetGlobalTableVersion(GlobalTableVersionT&& value) {
499 m_globalTableVersionHasBeenSet = true;
500 m_globalTableVersion = std::forward<GlobalTableVersionT>(value);
501 }
502 template <typename GlobalTableVersionT = Aws::String>
503 TableDescription& WithGlobalTableVersion(GlobalTableVersionT&& value) {
504 SetGlobalTableVersion(std::forward<GlobalTableVersionT>(value));
505 return *this;
506 }
508
510
513 inline const Aws::Vector<ReplicaDescription>& GetReplicas() const { return m_replicas; }
514 inline bool ReplicasHasBeenSet() const { return m_replicasHasBeenSet; }
515 template <typename ReplicasT = Aws::Vector<ReplicaDescription>>
516 void SetReplicas(ReplicasT&& value) {
517 m_replicasHasBeenSet = true;
518 m_replicas = std::forward<ReplicasT>(value);
519 }
520 template <typename ReplicasT = Aws::Vector<ReplicaDescription>>
521 TableDescription& WithReplicas(ReplicasT&& value) {
522 SetReplicas(std::forward<ReplicasT>(value));
523 return *this;
524 }
525 template <typename ReplicasT = ReplicaDescription>
526 TableDescription& AddReplicas(ReplicasT&& value) {
527 m_replicasHasBeenSet = true;
528 m_replicas.emplace_back(std::forward<ReplicasT>(value));
529 return *this;
530 }
532
534
538 inline const Aws::Vector<GlobalTableWitnessDescription>& GetGlobalTableWitnesses() const { return m_globalTableWitnesses; }
539 inline bool GlobalTableWitnessesHasBeenSet() const { return m_globalTableWitnessesHasBeenSet; }
540 template <typename GlobalTableWitnessesT = Aws::Vector<GlobalTableWitnessDescription>>
541 void SetGlobalTableWitnesses(GlobalTableWitnessesT&& value) {
542 m_globalTableWitnessesHasBeenSet = true;
543 m_globalTableWitnesses = std::forward<GlobalTableWitnessesT>(value);
544 }
545 template <typename GlobalTableWitnessesT = Aws::Vector<GlobalTableWitnessDescription>>
546 TableDescription& WithGlobalTableWitnesses(GlobalTableWitnessesT&& value) {
547 SetGlobalTableWitnesses(std::forward<GlobalTableWitnessesT>(value));
548 return *this;
549 }
550 template <typename GlobalTableWitnessesT = GlobalTableWitnessDescription>
551 TableDescription& AddGlobalTableWitnesses(GlobalTableWitnessesT&& value) {
552 m_globalTableWitnessesHasBeenSet = true;
553 m_globalTableWitnesses.emplace_back(std::forward<GlobalTableWitnessesT>(value));
554 return *this;
555 }
557
559
568 inline GlobalTableSettingsReplicationMode GetGlobalTableSettingsReplicationMode() const { return m_globalTableSettingsReplicationMode; }
569 inline bool GlobalTableSettingsReplicationModeHasBeenSet() const { return m_globalTableSettingsReplicationModeHasBeenSet; }
571 m_globalTableSettingsReplicationModeHasBeenSet = true;
572 m_globalTableSettingsReplicationMode = value;
573 }
576 return *this;
577 }
579
581
584 inline const RestoreSummary& GetRestoreSummary() const { return m_restoreSummary; }
585 inline bool RestoreSummaryHasBeenSet() const { return m_restoreSummaryHasBeenSet; }
586 template <typename RestoreSummaryT = RestoreSummary>
587 void SetRestoreSummary(RestoreSummaryT&& value) {
588 m_restoreSummaryHasBeenSet = true;
589 m_restoreSummary = std::forward<RestoreSummaryT>(value);
590 }
591 template <typename RestoreSummaryT = RestoreSummary>
592 TableDescription& WithRestoreSummary(RestoreSummaryT&& value) {
593 SetRestoreSummary(std::forward<RestoreSummaryT>(value));
594 return *this;
595 }
597
599
603 inline const SSEDescription& GetSSEDescription() const { return m_sSEDescription; }
604 inline bool SSEDescriptionHasBeenSet() const { return m_sSEDescriptionHasBeenSet; }
605 template <typename SSEDescriptionT = SSEDescription>
606 void SetSSEDescription(SSEDescriptionT&& value) {
607 m_sSEDescriptionHasBeenSet = true;
608 m_sSEDescription = std::forward<SSEDescriptionT>(value);
609 }
610 template <typename SSEDescriptionT = SSEDescription>
611 TableDescription& WithSSEDescription(SSEDescriptionT&& value) {
612 SetSSEDescription(std::forward<SSEDescriptionT>(value));
613 return *this;
614 }
616
618
621 inline const ArchivalSummary& GetArchivalSummary() const { return m_archivalSummary; }
622 inline bool ArchivalSummaryHasBeenSet() const { return m_archivalSummaryHasBeenSet; }
623 template <typename ArchivalSummaryT = ArchivalSummary>
624 void SetArchivalSummary(ArchivalSummaryT&& value) {
625 m_archivalSummaryHasBeenSet = true;
626 m_archivalSummary = std::forward<ArchivalSummaryT>(value);
627 }
628 template <typename ArchivalSummaryT = ArchivalSummary>
629 TableDescription& WithArchivalSummary(ArchivalSummaryT&& value) {
630 SetArchivalSummary(std::forward<ArchivalSummaryT>(value));
631 return *this;
632 }
634
636
639 inline const TableClassSummary& GetTableClassSummary() const { return m_tableClassSummary; }
640 inline bool TableClassSummaryHasBeenSet() const { return m_tableClassSummaryHasBeenSet; }
641 template <typename TableClassSummaryT = TableClassSummary>
642 void SetTableClassSummary(TableClassSummaryT&& value) {
643 m_tableClassSummaryHasBeenSet = true;
644 m_tableClassSummary = std::forward<TableClassSummaryT>(value);
645 }
646 template <typename TableClassSummaryT = TableClassSummary>
647 TableDescription& WithTableClassSummary(TableClassSummaryT&& value) {
648 SetTableClassSummary(std::forward<TableClassSummaryT>(value));
649 return *this;
650 }
652
654
658 inline bool GetDeletionProtectionEnabled() const { return m_deletionProtectionEnabled; }
659 inline bool DeletionProtectionEnabledHasBeenSet() const { return m_deletionProtectionEnabledHasBeenSet; }
660 inline void SetDeletionProtectionEnabled(bool value) {
661 m_deletionProtectionEnabledHasBeenSet = true;
662 m_deletionProtectionEnabled = value;
663 }
666 return *this;
667 }
669
671
676 inline const OnDemandThroughput& GetOnDemandThroughput() const { return m_onDemandThroughput; }
677 inline bool OnDemandThroughputHasBeenSet() const { return m_onDemandThroughputHasBeenSet; }
678 template <typename OnDemandThroughputT = OnDemandThroughput>
679 void SetOnDemandThroughput(OnDemandThroughputT&& value) {
680 m_onDemandThroughputHasBeenSet = true;
681 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
682 }
683 template <typename OnDemandThroughputT = OnDemandThroughput>
684 TableDescription& WithOnDemandThroughput(OnDemandThroughputT&& value) {
685 SetOnDemandThroughput(std::forward<OnDemandThroughputT>(value));
686 return *this;
687 }
689
691
694 inline const TableWarmThroughputDescription& GetWarmThroughput() const { return m_warmThroughput; }
695 inline bool WarmThroughputHasBeenSet() const { return m_warmThroughputHasBeenSet; }
696 template <typename WarmThroughputT = TableWarmThroughputDescription>
697 void SetWarmThroughput(WarmThroughputT&& value) {
698 m_warmThroughputHasBeenSet = true;
699 m_warmThroughput = std::forward<WarmThroughputT>(value);
700 }
701 template <typename WarmThroughputT = TableWarmThroughputDescription>
702 TableDescription& WithWarmThroughput(WarmThroughputT&& value) {
703 SetWarmThroughput(std::forward<WarmThroughputT>(value));
704 return *this;
705 }
707
709
720 inline MultiRegionConsistency GetMultiRegionConsistency() const { return m_multiRegionConsistency; }
721 inline bool MultiRegionConsistencyHasBeenSet() const { return m_multiRegionConsistencyHasBeenSet; }
723 m_multiRegionConsistencyHasBeenSet = true;
724 m_multiRegionConsistency = value;
725 }
728 return *this;
729 }
731
733
757 inline const Aws::Vector<VectorIndexDescription>& GetVectorIndexes() const { return m_vectorIndexes; }
758 inline bool VectorIndexesHasBeenSet() const { return m_vectorIndexesHasBeenSet; }
759 template <typename VectorIndexesT = Aws::Vector<VectorIndexDescription>>
760 void SetVectorIndexes(VectorIndexesT&& value) {
761 m_vectorIndexesHasBeenSet = true;
762 m_vectorIndexes = std::forward<VectorIndexesT>(value);
763 }
764 template <typename VectorIndexesT = Aws::Vector<VectorIndexDescription>>
765 TableDescription& WithVectorIndexes(VectorIndexesT&& value) {
766 SetVectorIndexes(std::forward<VectorIndexesT>(value));
767 return *this;
768 }
769 template <typename VectorIndexesT = VectorIndexDescription>
770 TableDescription& AddVectorIndexes(VectorIndexesT&& value) {
771 m_vectorIndexesHasBeenSet = true;
772 m_vectorIndexes.emplace_back(std::forward<VectorIndexesT>(value));
773 return *this;
774 }
776 private:
777 Aws::Vector<AttributeDefinition> m_attributeDefinitions;
778
779 Aws::String m_tableName;
780
782
783 TableStatus m_tableStatus{TableStatus::NOT_SET};
784
785 Aws::Utils::DateTime m_creationDateTime{};
786
787 ProvisionedThroughputDescription m_provisionedThroughput;
788
789 long long m_tableSizeBytes{0};
790
791 long long m_itemCount{0};
792
793 Aws::String m_tableArn;
794
795 Aws::String m_tableId;
796
797 BillingModeSummary m_billingModeSummary;
798
799 Aws::Vector<LocalSecondaryIndexDescription> m_localSecondaryIndexes;
800
801 Aws::Vector<GlobalSecondaryIndexDescription> m_globalSecondaryIndexes;
802
803 StreamSpecification m_streamSpecification;
804
805 Aws::String m_latestStreamLabel;
806
807 Aws::String m_latestStreamArn;
808
809 Aws::String m_globalTableVersion;
810
812
813 Aws::Vector<GlobalTableWitnessDescription> m_globalTableWitnesses;
814
816
817 RestoreSummary m_restoreSummary;
818
819 SSEDescription m_sSEDescription;
820
821 ArchivalSummary m_archivalSummary;
822
823 TableClassSummary m_tableClassSummary;
824
825 bool m_deletionProtectionEnabled{false};
826
827 OnDemandThroughput m_onDemandThroughput;
828
829 TableWarmThroughputDescription m_warmThroughput;
830
832
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;
863};
864
865} // namespace Model
866} // namespace DynamoDB
867} // namespace Aws
void SetGlobalTableSettingsReplicationMode(GlobalTableSettingsReplicationMode value)
const Aws::String & GetTableArn() const
const TableWarmThroughputDescription & GetWarmThroughput() const
AWS_DYNAMODB_API TableDescription()=default
void SetWarmThroughput(WarmThroughputT &&value)
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
GlobalTableSettingsReplicationMode GetGlobalTableSettingsReplicationMode() const
TableDescription & AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
void SetArchivalSummary(ArchivalSummaryT &&value)
void SetRestoreSummary(RestoreSummaryT &&value)
const TableClassSummary & GetTableClassSummary() const
TableDescription & AddVectorIndexes(VectorIndexesT &&value)
TableDescription & WithKeySchema(KeySchemaT &&value)
const RestoreSummary & GetRestoreSummary() const
void SetMultiRegionConsistency(MultiRegionConsistency value)
TableDescription & WithItemCount(long long value)
TableDescription & WithLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
TableDescription & WithGlobalTableSettingsReplicationMode(GlobalTableSettingsReplicationMode value)
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)
TableDescription & WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
TableDescription & WithLatestStreamLabel(LatestStreamLabelT &&value)
const Aws::String & GetTableId() const
TableDescription & WithLatestStreamArn(LatestStreamArnT &&value)
TableDescription & WithTableSizeBytes(long long value)
TableDescription & WithTableId(TableIdT &&value)
void SetLatestStreamArn(LatestStreamArnT &&value)
TableDescription & AddLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
void SetSSEDescription(SSEDescriptionT &&value)
const BillingModeSummary & GetBillingModeSummary() const
void SetCreationDateTime(CreationDateTimeT &&value)
TableDescription & WithReplicas(ReplicasT &&value)
const Aws::Vector< VectorIndexDescription > & GetVectorIndexes() const
void SetAttributeDefinitions(AttributeDefinitionsT &&value)
void SetTableClassSummary(TableClassSummaryT &&value)
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)
void SetLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
TableDescription & WithDeletionProtectionEnabled(bool value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetBillingModeSummary(BillingModeSummaryT &&value)
TableDescription & WithStreamSpecification(StreamSpecificationT &&value)
const Aws::Vector< ReplicaDescription > & GetReplicas() const
TableDescription & WithRestoreSummary(RestoreSummaryT &&value)
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
const ArchivalSummary & GetArchivalSummary() const
TableDescription & WithTableStatus(TableStatus value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< GlobalTableWitnessDescription > & GetGlobalTableWitnesses() const
TableDescription & WithVectorIndexes(VectorIndexesT &&value)
TableDescription & AddKeySchema(KeySchemaT &&value)
TableDescription & AddReplicas(ReplicasT &&value)
const Aws::Vector< LocalSecondaryIndexDescription > & GetLocalSecondaryIndexes() const
void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
TableDescription & WithMultiRegionConsistency(MultiRegionConsistency value)
TableDescription & WithSSEDescription(SSEDescriptionT &&value)
TableDescription & WithTableName(TableNameT &&value)
void SetStreamSpecification(StreamSpecificationT &&value)
TableDescription & WithCreationDateTime(CreationDateTimeT &&value)
TableDescription & AddAttributeDefinitions(AttributeDefinitionsT &&value)
AWS_DYNAMODB_API TableDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
TableDescription & WithProvisionedThroughput(ProvisionedThroughputT &&value)
const SSEDescription & GetSSEDescription() const
void SetGlobalTableWitnesses(GlobalTableWitnessesT &&value)
MultiRegionConsistency GetMultiRegionConsistency() const
const Aws::Vector< AttributeDefinition > & GetAttributeDefinitions() const
const Aws::String & GetGlobalTableVersion() const
TableDescription & WithOnDemandThroughput(OnDemandThroughputT &&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