AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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
30#include <utility>
31
32namespace Aws {
33namespace Utils {
34namespace Json {
35class JsonValue;
36class JsonView;
37} // namespace Json
38} // namespace Utils
39namespace DynamoDB {
40namespace Model {
41
48 public:
49 AWS_DYNAMODB_API TableDescription() = default;
50 AWS_DYNAMODB_API TableDescription(Aws::Utils::Json::JsonView jsonValue);
52 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
53
55
63 inline const Aws::Vector<AttributeDefinition>& GetAttributeDefinitions() const { return m_attributeDefinitions; }
64 inline bool AttributeDefinitionsHasBeenSet() const { return m_attributeDefinitionsHasBeenSet; }
65 template <typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
66 void SetAttributeDefinitions(AttributeDefinitionsT&& value) {
67 m_attributeDefinitionsHasBeenSet = true;
68 m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value);
69 }
70 template <typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
71 TableDescription& WithAttributeDefinitions(AttributeDefinitionsT&& value) {
72 SetAttributeDefinitions(std::forward<AttributeDefinitionsT>(value));
73 return *this;
74 }
75 template <typename AttributeDefinitionsT = AttributeDefinition>
76 TableDescription& AddAttributeDefinitions(AttributeDefinitionsT&& value) {
77 m_attributeDefinitionsHasBeenSet = true;
78 m_attributeDefinitions.emplace_back(std::forward<AttributeDefinitionsT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetTableName() const { return m_tableName; }
88 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
89 template <typename TableNameT = Aws::String>
90 void SetTableName(TableNameT&& value) {
91 m_tableNameHasBeenSet = true;
92 m_tableName = std::forward<TableNameT>(value);
93 }
94 template <typename TableNameT = Aws::String>
95 TableDescription& WithTableName(TableNameT&& value) {
96 SetTableName(std::forward<TableNameT>(value));
97 return *this;
98 }
100
102
118 inline const Aws::Vector<KeySchemaElement>& GetKeySchema() const { return m_keySchema; }
119 inline bool KeySchemaHasBeenSet() const { return m_keySchemaHasBeenSet; }
120 template <typename KeySchemaT = Aws::Vector<KeySchemaElement>>
121 void SetKeySchema(KeySchemaT&& value) {
122 m_keySchemaHasBeenSet = true;
123 m_keySchema = std::forward<KeySchemaT>(value);
124 }
125 template <typename KeySchemaT = Aws::Vector<KeySchemaElement>>
126 TableDescription& WithKeySchema(KeySchemaT&& value) {
127 SetKeySchema(std::forward<KeySchemaT>(value));
128 return *this;
129 }
130 template <typename KeySchemaT = KeySchemaElement>
131 TableDescription& AddKeySchema(KeySchemaT&& value) {
132 m_keySchemaHasBeenSet = true;
133 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
134 return *this;
135 }
137
139
155 inline TableStatus GetTableStatus() const { return m_tableStatus; }
156 inline bool TableStatusHasBeenSet() const { return m_tableStatusHasBeenSet; }
157 inline void SetTableStatus(TableStatus value) {
158 m_tableStatusHasBeenSet = true;
159 m_tableStatus = value;
160 }
162 SetTableStatus(value);
163 return *this;
164 }
166
168
172 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
173 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
174 template <typename CreationDateTimeT = Aws::Utils::DateTime>
175 void SetCreationDateTime(CreationDateTimeT&& value) {
176 m_creationDateTimeHasBeenSet = true;
177 m_creationDateTime = std::forward<CreationDateTimeT>(value);
178 }
179 template <typename CreationDateTimeT = Aws::Utils::DateTime>
180 TableDescription& WithCreationDateTime(CreationDateTimeT&& value) {
181 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
182 return *this;
183 }
185
187
191 inline const ProvisionedThroughputDescription& GetProvisionedThroughput() const { return m_provisionedThroughput; }
192 inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; }
193 template <typename ProvisionedThroughputT = ProvisionedThroughputDescription>
194 void SetProvisionedThroughput(ProvisionedThroughputT&& value) {
195 m_provisionedThroughputHasBeenSet = true;
196 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
197 }
198 template <typename ProvisionedThroughputT = ProvisionedThroughputDescription>
199 TableDescription& WithProvisionedThroughput(ProvisionedThroughputT&& value) {
200 SetProvisionedThroughput(std::forward<ProvisionedThroughputT>(value));
201 return *this;
202 }
204
206
211 inline long long GetTableSizeBytes() const { return m_tableSizeBytes; }
212 inline bool TableSizeBytesHasBeenSet() const { return m_tableSizeBytesHasBeenSet; }
213 inline void SetTableSizeBytes(long long value) {
214 m_tableSizeBytesHasBeenSet = true;
215 m_tableSizeBytes = value;
216 }
217 inline TableDescription& WithTableSizeBytes(long long value) {
218 SetTableSizeBytes(value);
219 return *this;
220 }
222
224
229 inline long long GetItemCount() const { return m_itemCount; }
230 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
231 inline void SetItemCount(long long value) {
232 m_itemCountHasBeenSet = true;
233 m_itemCount = value;
234 }
235 inline TableDescription& WithItemCount(long long value) {
236 SetItemCount(value);
237 return *this;
238 }
240
242
245 inline const Aws::String& GetTableArn() const { return m_tableArn; }
246 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
247 template <typename TableArnT = Aws::String>
248 void SetTableArn(TableArnT&& value) {
249 m_tableArnHasBeenSet = true;
250 m_tableArn = std::forward<TableArnT>(value);
251 }
252 template <typename TableArnT = Aws::String>
253 TableDescription& WithTableArn(TableArnT&& value) {
254 SetTableArn(std::forward<TableArnT>(value));
255 return *this;
256 }
258
260
263 inline const Aws::String& GetTableId() const { return m_tableId; }
264 inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
265 template <typename TableIdT = Aws::String>
266 void SetTableId(TableIdT&& value) {
267 m_tableIdHasBeenSet = true;
268 m_tableId = std::forward<TableIdT>(value);
269 }
270 template <typename TableIdT = Aws::String>
271 TableDescription& WithTableId(TableIdT&& value) {
272 SetTableId(std::forward<TableIdT>(value));
273 return *this;
274 }
276
278
281 inline const BillingModeSummary& GetBillingModeSummary() const { return m_billingModeSummary; }
282 inline bool BillingModeSummaryHasBeenSet() const { return m_billingModeSummaryHasBeenSet; }
283 template <typename BillingModeSummaryT = BillingModeSummary>
284 void SetBillingModeSummary(BillingModeSummaryT&& value) {
285 m_billingModeSummaryHasBeenSet = true;
286 m_billingModeSummary = std::forward<BillingModeSummaryT>(value);
287 }
288 template <typename BillingModeSummaryT = BillingModeSummary>
289 TableDescription& WithBillingModeSummary(BillingModeSummaryT&& value) {
290 SetBillingModeSummary(std::forward<BillingModeSummaryT>(value));
291 return *this;
292 }
294
296
332 inline const Aws::Vector<LocalSecondaryIndexDescription>& GetLocalSecondaryIndexes() const { return m_localSecondaryIndexes; }
333 inline bool LocalSecondaryIndexesHasBeenSet() const { return m_localSecondaryIndexesHasBeenSet; }
334 template <typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndexDescription>>
335 void SetLocalSecondaryIndexes(LocalSecondaryIndexesT&& value) {
336 m_localSecondaryIndexesHasBeenSet = true;
337 m_localSecondaryIndexes = std::forward<LocalSecondaryIndexesT>(value);
338 }
339 template <typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndexDescription>>
340 TableDescription& WithLocalSecondaryIndexes(LocalSecondaryIndexesT&& value) {
341 SetLocalSecondaryIndexes(std::forward<LocalSecondaryIndexesT>(value));
342 return *this;
343 }
344 template <typename LocalSecondaryIndexesT = LocalSecondaryIndexDescription>
345 TableDescription& AddLocalSecondaryIndexes(LocalSecondaryIndexesT&& value) {
346 m_localSecondaryIndexesHasBeenSet = true;
347 m_localSecondaryIndexes.emplace_back(std::forward<LocalSecondaryIndexesT>(value));
348 return *this;
349 }
351
353
405 inline const Aws::Vector<GlobalSecondaryIndexDescription>& GetGlobalSecondaryIndexes() const { return m_globalSecondaryIndexes; }
406 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
407 template <typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndexDescription>>
408 void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) {
409 m_globalSecondaryIndexesHasBeenSet = true;
410 m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value);
411 }
412 template <typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndexDescription>>
413 TableDescription& WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) {
414 SetGlobalSecondaryIndexes(std::forward<GlobalSecondaryIndexesT>(value));
415 return *this;
416 }
417 template <typename GlobalSecondaryIndexesT = GlobalSecondaryIndexDescription>
418 TableDescription& AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) {
419 m_globalSecondaryIndexesHasBeenSet = true;
420 m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value));
421 return *this;
422 }
424
426
429 inline const StreamSpecification& GetStreamSpecification() const { return m_streamSpecification; }
430 inline bool StreamSpecificationHasBeenSet() const { return m_streamSpecificationHasBeenSet; }
431 template <typename StreamSpecificationT = StreamSpecification>
432 void SetStreamSpecification(StreamSpecificationT&& value) {
433 m_streamSpecificationHasBeenSet = true;
434 m_streamSpecification = std::forward<StreamSpecificationT>(value);
435 }
436 template <typename StreamSpecificationT = StreamSpecification>
437 TableDescription& WithStreamSpecification(StreamSpecificationT&& value) {
438 SetStreamSpecification(std::forward<StreamSpecificationT>(value));
439 return *this;
440 }
442
444
453 inline const Aws::String& GetLatestStreamLabel() const { return m_latestStreamLabel; }
454 inline bool LatestStreamLabelHasBeenSet() const { return m_latestStreamLabelHasBeenSet; }
455 template <typename LatestStreamLabelT = Aws::String>
456 void SetLatestStreamLabel(LatestStreamLabelT&& value) {
457 m_latestStreamLabelHasBeenSet = true;
458 m_latestStreamLabel = std::forward<LatestStreamLabelT>(value);
459 }
460 template <typename LatestStreamLabelT = Aws::String>
461 TableDescription& WithLatestStreamLabel(LatestStreamLabelT&& value) {
462 SetLatestStreamLabel(std::forward<LatestStreamLabelT>(value));
463 return *this;
464 }
466
468
472 inline const Aws::String& GetLatestStreamArn() const { return m_latestStreamArn; }
473 inline bool LatestStreamArnHasBeenSet() const { return m_latestStreamArnHasBeenSet; }
474 template <typename LatestStreamArnT = Aws::String>
475 void SetLatestStreamArn(LatestStreamArnT&& value) {
476 m_latestStreamArnHasBeenSet = true;
477 m_latestStreamArn = std::forward<LatestStreamArnT>(value);
478 }
479 template <typename LatestStreamArnT = Aws::String>
480 TableDescription& WithLatestStreamArn(LatestStreamArnT&& value) {
481 SetLatestStreamArn(std::forward<LatestStreamArnT>(value));
482 return *this;
483 }
485
487
493 inline const Aws::String& GetGlobalTableVersion() const { return m_globalTableVersion; }
494 inline bool GlobalTableVersionHasBeenSet() const { return m_globalTableVersionHasBeenSet; }
495 template <typename GlobalTableVersionT = Aws::String>
496 void SetGlobalTableVersion(GlobalTableVersionT&& value) {
497 m_globalTableVersionHasBeenSet = true;
498 m_globalTableVersion = std::forward<GlobalTableVersionT>(value);
499 }
500 template <typename GlobalTableVersionT = Aws::String>
501 TableDescription& WithGlobalTableVersion(GlobalTableVersionT&& value) {
502 SetGlobalTableVersion(std::forward<GlobalTableVersionT>(value));
503 return *this;
504 }
506
508
511 inline const Aws::Vector<ReplicaDescription>& GetReplicas() const { return m_replicas; }
512 inline bool ReplicasHasBeenSet() const { return m_replicasHasBeenSet; }
513 template <typename ReplicasT = Aws::Vector<ReplicaDescription>>
514 void SetReplicas(ReplicasT&& value) {
515 m_replicasHasBeenSet = true;
516 m_replicas = std::forward<ReplicasT>(value);
517 }
518 template <typename ReplicasT = Aws::Vector<ReplicaDescription>>
519 TableDescription& WithReplicas(ReplicasT&& value) {
520 SetReplicas(std::forward<ReplicasT>(value));
521 return *this;
522 }
523 template <typename ReplicasT = ReplicaDescription>
524 TableDescription& AddReplicas(ReplicasT&& value) {
525 m_replicasHasBeenSet = true;
526 m_replicas.emplace_back(std::forward<ReplicasT>(value));
527 return *this;
528 }
530
532
536 inline const Aws::Vector<GlobalTableWitnessDescription>& GetGlobalTableWitnesses() const { return m_globalTableWitnesses; }
537 inline bool GlobalTableWitnessesHasBeenSet() const { return m_globalTableWitnessesHasBeenSet; }
538 template <typename GlobalTableWitnessesT = Aws::Vector<GlobalTableWitnessDescription>>
539 void SetGlobalTableWitnesses(GlobalTableWitnessesT&& value) {
540 m_globalTableWitnessesHasBeenSet = true;
541 m_globalTableWitnesses = std::forward<GlobalTableWitnessesT>(value);
542 }
543 template <typename GlobalTableWitnessesT = Aws::Vector<GlobalTableWitnessDescription>>
544 TableDescription& WithGlobalTableWitnesses(GlobalTableWitnessesT&& value) {
545 SetGlobalTableWitnesses(std::forward<GlobalTableWitnessesT>(value));
546 return *this;
547 }
548 template <typename GlobalTableWitnessesT = GlobalTableWitnessDescription>
549 TableDescription& AddGlobalTableWitnesses(GlobalTableWitnessesT&& value) {
550 m_globalTableWitnessesHasBeenSet = true;
551 m_globalTableWitnesses.emplace_back(std::forward<GlobalTableWitnessesT>(value));
552 return *this;
553 }
555
557
566 inline GlobalTableSettingsReplicationMode GetGlobalTableSettingsReplicationMode() const { return m_globalTableSettingsReplicationMode; }
567 inline bool GlobalTableSettingsReplicationModeHasBeenSet() const { return m_globalTableSettingsReplicationModeHasBeenSet; }
569 m_globalTableSettingsReplicationModeHasBeenSet = true;
570 m_globalTableSettingsReplicationMode = value;
571 }
574 return *this;
575 }
577
579
582 inline const RestoreSummary& GetRestoreSummary() const { return m_restoreSummary; }
583 inline bool RestoreSummaryHasBeenSet() const { return m_restoreSummaryHasBeenSet; }
584 template <typename RestoreSummaryT = RestoreSummary>
585 void SetRestoreSummary(RestoreSummaryT&& value) {
586 m_restoreSummaryHasBeenSet = true;
587 m_restoreSummary = std::forward<RestoreSummaryT>(value);
588 }
589 template <typename RestoreSummaryT = RestoreSummary>
590 TableDescription& WithRestoreSummary(RestoreSummaryT&& value) {
591 SetRestoreSummary(std::forward<RestoreSummaryT>(value));
592 return *this;
593 }
595
597
601 inline const SSEDescription& GetSSEDescription() const { return m_sSEDescription; }
602 inline bool SSEDescriptionHasBeenSet() const { return m_sSEDescriptionHasBeenSet; }
603 template <typename SSEDescriptionT = SSEDescription>
604 void SetSSEDescription(SSEDescriptionT&& value) {
605 m_sSEDescriptionHasBeenSet = true;
606 m_sSEDescription = std::forward<SSEDescriptionT>(value);
607 }
608 template <typename SSEDescriptionT = SSEDescription>
609 TableDescription& WithSSEDescription(SSEDescriptionT&& value) {
610 SetSSEDescription(std::forward<SSEDescriptionT>(value));
611 return *this;
612 }
614
616
619 inline const ArchivalSummary& GetArchivalSummary() const { return m_archivalSummary; }
620 inline bool ArchivalSummaryHasBeenSet() const { return m_archivalSummaryHasBeenSet; }
621 template <typename ArchivalSummaryT = ArchivalSummary>
622 void SetArchivalSummary(ArchivalSummaryT&& value) {
623 m_archivalSummaryHasBeenSet = true;
624 m_archivalSummary = std::forward<ArchivalSummaryT>(value);
625 }
626 template <typename ArchivalSummaryT = ArchivalSummary>
627 TableDescription& WithArchivalSummary(ArchivalSummaryT&& value) {
628 SetArchivalSummary(std::forward<ArchivalSummaryT>(value));
629 return *this;
630 }
632
634
637 inline const TableClassSummary& GetTableClassSummary() const { return m_tableClassSummary; }
638 inline bool TableClassSummaryHasBeenSet() const { return m_tableClassSummaryHasBeenSet; }
639 template <typename TableClassSummaryT = TableClassSummary>
640 void SetTableClassSummary(TableClassSummaryT&& value) {
641 m_tableClassSummaryHasBeenSet = true;
642 m_tableClassSummary = std::forward<TableClassSummaryT>(value);
643 }
644 template <typename TableClassSummaryT = TableClassSummary>
645 TableDescription& WithTableClassSummary(TableClassSummaryT&& value) {
646 SetTableClassSummary(std::forward<TableClassSummaryT>(value));
647 return *this;
648 }
650
652
656 inline bool GetDeletionProtectionEnabled() const { return m_deletionProtectionEnabled; }
657 inline bool DeletionProtectionEnabledHasBeenSet() const { return m_deletionProtectionEnabledHasBeenSet; }
658 inline void SetDeletionProtectionEnabled(bool value) {
659 m_deletionProtectionEnabledHasBeenSet = true;
660 m_deletionProtectionEnabled = value;
661 }
664 return *this;
665 }
667
669
674 inline const OnDemandThroughput& GetOnDemandThroughput() const { return m_onDemandThroughput; }
675 inline bool OnDemandThroughputHasBeenSet() const { return m_onDemandThroughputHasBeenSet; }
676 template <typename OnDemandThroughputT = OnDemandThroughput>
677 void SetOnDemandThroughput(OnDemandThroughputT&& value) {
678 m_onDemandThroughputHasBeenSet = true;
679 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
680 }
681 template <typename OnDemandThroughputT = OnDemandThroughput>
682 TableDescription& WithOnDemandThroughput(OnDemandThroughputT&& value) {
683 SetOnDemandThroughput(std::forward<OnDemandThroughputT>(value));
684 return *this;
685 }
687
689
692 inline const TableWarmThroughputDescription& GetWarmThroughput() const { return m_warmThroughput; }
693 inline bool WarmThroughputHasBeenSet() const { return m_warmThroughputHasBeenSet; }
694 template <typename WarmThroughputT = TableWarmThroughputDescription>
695 void SetWarmThroughput(WarmThroughputT&& value) {
696 m_warmThroughputHasBeenSet = true;
697 m_warmThroughput = std::forward<WarmThroughputT>(value);
698 }
699 template <typename WarmThroughputT = TableWarmThroughputDescription>
700 TableDescription& WithWarmThroughput(WarmThroughputT&& value) {
701 SetWarmThroughput(std::forward<WarmThroughputT>(value));
702 return *this;
703 }
705
707
718 inline MultiRegionConsistency GetMultiRegionConsistency() const { return m_multiRegionConsistency; }
719 inline bool MultiRegionConsistencyHasBeenSet() const { return m_multiRegionConsistencyHasBeenSet; }
721 m_multiRegionConsistencyHasBeenSet = true;
722 m_multiRegionConsistency = value;
723 }
726 return *this;
727 }
729 private:
730 Aws::Vector<AttributeDefinition> m_attributeDefinitions;
731
732 Aws::String m_tableName;
733
735
736 TableStatus m_tableStatus{TableStatus::NOT_SET};
737
738 Aws::Utils::DateTime m_creationDateTime{};
739
740 ProvisionedThroughputDescription m_provisionedThroughput;
741
742 long long m_tableSizeBytes{0};
743
744 long long m_itemCount{0};
745
746 Aws::String m_tableArn;
747
748 Aws::String m_tableId;
749
750 BillingModeSummary m_billingModeSummary;
751
752 Aws::Vector<LocalSecondaryIndexDescription> m_localSecondaryIndexes;
753
754 Aws::Vector<GlobalSecondaryIndexDescription> m_globalSecondaryIndexes;
755
756 StreamSpecification m_streamSpecification;
757
758 Aws::String m_latestStreamLabel;
759
760 Aws::String m_latestStreamArn;
761
762 Aws::String m_globalTableVersion;
763
765
766 Aws::Vector<GlobalTableWitnessDescription> m_globalTableWitnesses;
767
769
770 RestoreSummary m_restoreSummary;
771
772 SSEDescription m_sSEDescription;
773
774 ArchivalSummary m_archivalSummary;
775
776 TableClassSummary m_tableClassSummary;
777
778 bool m_deletionProtectionEnabled{false};
779
780 OnDemandThroughput m_onDemandThroughput;
781
782 TableWarmThroughputDescription m_warmThroughput;
783
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;
813};
814
815} // namespace Model
816} // namespace DynamoDB
817} // 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 & 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)
void SetAttributeDefinitions(AttributeDefinitionsT &&value)
void SetTableClassSummary(TableClassSummaryT &&value)
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)
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 & 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