AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableDescription.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dynamodb/model/TableStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/dynamodb/model/ProvisionedThroughputDescription.h>
13#include <aws/dynamodb/model/BillingModeSummary.h>
14#include <aws/dynamodb/model/StreamSpecification.h>
15#include <aws/dynamodb/model/RestoreSummary.h>
16#include <aws/dynamodb/model/SSEDescription.h>
17#include <aws/dynamodb/model/ArchivalSummary.h>
18#include <aws/dynamodb/model/TableClassSummary.h>
19#include <aws/dynamodb/model/OnDemandThroughput.h>
20#include <aws/dynamodb/model/TableWarmThroughputDescription.h>
21#include <aws/dynamodb/model/MultiRegionConsistency.h>
22#include <aws/dynamodb/model/AttributeDefinition.h>
23#include <aws/dynamodb/model/KeySchemaElement.h>
24#include <aws/dynamodb/model/LocalSecondaryIndexDescription.h>
25#include <aws/dynamodb/model/GlobalSecondaryIndexDescription.h>
26#include <aws/dynamodb/model/ReplicaDescription.h>
27#include <aws/dynamodb/model/GlobalTableWitnessDescription.h>
28#include <utility>
29
30namespace Aws
31{
32namespace Utils
33{
34namespace Json
35{
36 class JsonValue;
37 class JsonView;
38} // namespace Json
39} // namespace Utils
40namespace DynamoDB
41{
42namespace Model
43{
44
51 {
52 public:
53 AWS_DYNAMODB_API TableDescription() = default;
54 AWS_DYNAMODB_API TableDescription(Aws::Utils::Json::JsonView jsonValue);
56 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
57
58
60
68 inline const Aws::Vector<AttributeDefinition>& GetAttributeDefinitions() const { return m_attributeDefinitions; }
69 inline bool AttributeDefinitionsHasBeenSet() const { return m_attributeDefinitionsHasBeenSet; }
70 template<typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
71 void SetAttributeDefinitions(AttributeDefinitionsT&& value) { m_attributeDefinitionsHasBeenSet = true; m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value); }
72 template<typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
73 TableDescription& WithAttributeDefinitions(AttributeDefinitionsT&& value) { SetAttributeDefinitions(std::forward<AttributeDefinitionsT>(value)); return *this;}
74 template<typename AttributeDefinitionsT = AttributeDefinition>
75 TableDescription& AddAttributeDefinitions(AttributeDefinitionsT&& value) { m_attributeDefinitionsHasBeenSet = true; m_attributeDefinitions.emplace_back(std::forward<AttributeDefinitionsT>(value)); return *this; }
77
79
82 inline const Aws::String& GetTableName() const { return m_tableName; }
83 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
84 template<typename TableNameT = Aws::String>
85 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
86 template<typename TableNameT = Aws::String>
87 TableDescription& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
89
91
107 inline const Aws::Vector<KeySchemaElement>& GetKeySchema() const { return m_keySchema; }
108 inline bool KeySchemaHasBeenSet() const { return m_keySchemaHasBeenSet; }
109 template<typename KeySchemaT = Aws::Vector<KeySchemaElement>>
110 void SetKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet = true; m_keySchema = std::forward<KeySchemaT>(value); }
111 template<typename KeySchemaT = Aws::Vector<KeySchemaElement>>
112 TableDescription& WithKeySchema(KeySchemaT&& value) { SetKeySchema(std::forward<KeySchemaT>(value)); return *this;}
113 template<typename KeySchemaT = KeySchemaElement>
114 TableDescription& AddKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet = true; m_keySchema.emplace_back(std::forward<KeySchemaT>(value)); return *this; }
116
118
134 inline TableStatus GetTableStatus() const { return m_tableStatus; }
135 inline bool TableStatusHasBeenSet() const { return m_tableStatusHasBeenSet; }
136 inline void SetTableStatus(TableStatus value) { m_tableStatusHasBeenSet = true; m_tableStatus = value; }
137 inline TableDescription& WithTableStatus(TableStatus value) { SetTableStatus(value); return *this;}
139
141
145 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
146 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
147 template<typename CreationDateTimeT = Aws::Utils::DateTime>
148 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
149 template<typename CreationDateTimeT = Aws::Utils::DateTime>
150 TableDescription& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
152
154
158 inline const ProvisionedThroughputDescription& GetProvisionedThroughput() const { return m_provisionedThroughput; }
159 inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; }
160 template<typename ProvisionedThroughputT = ProvisionedThroughputDescription>
161 void SetProvisionedThroughput(ProvisionedThroughputT&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value); }
162 template<typename ProvisionedThroughputT = ProvisionedThroughputDescription>
163 TableDescription& WithProvisionedThroughput(ProvisionedThroughputT&& value) { SetProvisionedThroughput(std::forward<ProvisionedThroughputT>(value)); return *this;}
165
167
172 inline long long GetTableSizeBytes() const { return m_tableSizeBytes; }
173 inline bool TableSizeBytesHasBeenSet() const { return m_tableSizeBytesHasBeenSet; }
174 inline void SetTableSizeBytes(long long value) { m_tableSizeBytesHasBeenSet = true; m_tableSizeBytes = value; }
175 inline TableDescription& WithTableSizeBytes(long long value) { SetTableSizeBytes(value); return *this;}
177
179
184 inline long long GetItemCount() const { return m_itemCount; }
185 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
186 inline void SetItemCount(long long value) { m_itemCountHasBeenSet = true; m_itemCount = value; }
187 inline TableDescription& WithItemCount(long long value) { SetItemCount(value); return *this;}
189
191
194 inline const Aws::String& GetTableArn() const { return m_tableArn; }
195 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
196 template<typename TableArnT = Aws::String>
197 void SetTableArn(TableArnT&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::forward<TableArnT>(value); }
198 template<typename TableArnT = Aws::String>
199 TableDescription& WithTableArn(TableArnT&& value) { SetTableArn(std::forward<TableArnT>(value)); return *this;}
201
203
206 inline const Aws::String& GetTableId() const { return m_tableId; }
207 inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
208 template<typename TableIdT = Aws::String>
209 void SetTableId(TableIdT&& value) { m_tableIdHasBeenSet = true; m_tableId = std::forward<TableIdT>(value); }
210 template<typename TableIdT = Aws::String>
211 TableDescription& WithTableId(TableIdT&& value) { SetTableId(std::forward<TableIdT>(value)); return *this;}
213
215
218 inline const BillingModeSummary& GetBillingModeSummary() const { return m_billingModeSummary; }
219 inline bool BillingModeSummaryHasBeenSet() const { return m_billingModeSummaryHasBeenSet; }
220 template<typename BillingModeSummaryT = BillingModeSummary>
221 void SetBillingModeSummary(BillingModeSummaryT&& value) { m_billingModeSummaryHasBeenSet = true; m_billingModeSummary = std::forward<BillingModeSummaryT>(value); }
222 template<typename BillingModeSummaryT = BillingModeSummary>
223 TableDescription& WithBillingModeSummary(BillingModeSummaryT&& value) { SetBillingModeSummary(std::forward<BillingModeSummaryT>(value)); return *this;}
225
227
263 inline const Aws::Vector<LocalSecondaryIndexDescription>& GetLocalSecondaryIndexes() const { return m_localSecondaryIndexes; }
264 inline bool LocalSecondaryIndexesHasBeenSet() const { return m_localSecondaryIndexesHasBeenSet; }
265 template<typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndexDescription>>
266 void SetLocalSecondaryIndexes(LocalSecondaryIndexesT&& value) { m_localSecondaryIndexesHasBeenSet = true; m_localSecondaryIndexes = std::forward<LocalSecondaryIndexesT>(value); }
267 template<typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndexDescription>>
268 TableDescription& WithLocalSecondaryIndexes(LocalSecondaryIndexesT&& value) { SetLocalSecondaryIndexes(std::forward<LocalSecondaryIndexesT>(value)); return *this;}
269 template<typename LocalSecondaryIndexesT = LocalSecondaryIndexDescription>
270 TableDescription& AddLocalSecondaryIndexes(LocalSecondaryIndexesT&& value) { m_localSecondaryIndexesHasBeenSet = true; m_localSecondaryIndexes.emplace_back(std::forward<LocalSecondaryIndexesT>(value)); return *this; }
272
274
326 inline const Aws::Vector<GlobalSecondaryIndexDescription>& GetGlobalSecondaryIndexes() const { return m_globalSecondaryIndexes; }
327 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
328 template<typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndexDescription>>
329 void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value); }
330 template<typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndexDescription>>
331 TableDescription& WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { SetGlobalSecondaryIndexes(std::forward<GlobalSecondaryIndexesT>(value)); return *this;}
332 template<typename GlobalSecondaryIndexesT = GlobalSecondaryIndexDescription>
333 TableDescription& AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value)); return *this; }
335
337
340 inline const StreamSpecification& GetStreamSpecification() const { return m_streamSpecification; }
341 inline bool StreamSpecificationHasBeenSet() const { return m_streamSpecificationHasBeenSet; }
342 template<typename StreamSpecificationT = StreamSpecification>
343 void SetStreamSpecification(StreamSpecificationT&& value) { m_streamSpecificationHasBeenSet = true; m_streamSpecification = std::forward<StreamSpecificationT>(value); }
344 template<typename StreamSpecificationT = StreamSpecification>
345 TableDescription& WithStreamSpecification(StreamSpecificationT&& value) { SetStreamSpecification(std::forward<StreamSpecificationT>(value)); return *this;}
347
349
358 inline const Aws::String& GetLatestStreamLabel() const { return m_latestStreamLabel; }
359 inline bool LatestStreamLabelHasBeenSet() const { return m_latestStreamLabelHasBeenSet; }
360 template<typename LatestStreamLabelT = Aws::String>
361 void SetLatestStreamLabel(LatestStreamLabelT&& value) { m_latestStreamLabelHasBeenSet = true; m_latestStreamLabel = std::forward<LatestStreamLabelT>(value); }
362 template<typename LatestStreamLabelT = Aws::String>
363 TableDescription& WithLatestStreamLabel(LatestStreamLabelT&& value) { SetLatestStreamLabel(std::forward<LatestStreamLabelT>(value)); return *this;}
365
367
371 inline const Aws::String& GetLatestStreamArn() const { return m_latestStreamArn; }
372 inline bool LatestStreamArnHasBeenSet() const { return m_latestStreamArnHasBeenSet; }
373 template<typename LatestStreamArnT = Aws::String>
374 void SetLatestStreamArn(LatestStreamArnT&& value) { m_latestStreamArnHasBeenSet = true; m_latestStreamArn = std::forward<LatestStreamArnT>(value); }
375 template<typename LatestStreamArnT = Aws::String>
376 TableDescription& WithLatestStreamArn(LatestStreamArnT&& value) { SetLatestStreamArn(std::forward<LatestStreamArnT>(value)); return *this;}
378
380
386 inline const Aws::String& GetGlobalTableVersion() const { return m_globalTableVersion; }
387 inline bool GlobalTableVersionHasBeenSet() const { return m_globalTableVersionHasBeenSet; }
388 template<typename GlobalTableVersionT = Aws::String>
389 void SetGlobalTableVersion(GlobalTableVersionT&& value) { m_globalTableVersionHasBeenSet = true; m_globalTableVersion = std::forward<GlobalTableVersionT>(value); }
390 template<typename GlobalTableVersionT = Aws::String>
391 TableDescription& WithGlobalTableVersion(GlobalTableVersionT&& value) { SetGlobalTableVersion(std::forward<GlobalTableVersionT>(value)); return *this;}
393
395
398 inline const Aws::Vector<ReplicaDescription>& GetReplicas() const { return m_replicas; }
399 inline bool ReplicasHasBeenSet() const { return m_replicasHasBeenSet; }
400 template<typename ReplicasT = Aws::Vector<ReplicaDescription>>
401 void SetReplicas(ReplicasT&& value) { m_replicasHasBeenSet = true; m_replicas = std::forward<ReplicasT>(value); }
402 template<typename ReplicasT = Aws::Vector<ReplicaDescription>>
403 TableDescription& WithReplicas(ReplicasT&& value) { SetReplicas(std::forward<ReplicasT>(value)); return *this;}
404 template<typename ReplicasT = ReplicaDescription>
405 TableDescription& AddReplicas(ReplicasT&& value) { m_replicasHasBeenSet = true; m_replicas.emplace_back(std::forward<ReplicasT>(value)); return *this; }
407
409
413 inline const Aws::Vector<GlobalTableWitnessDescription>& GetGlobalTableWitnesses() const { return m_globalTableWitnesses; }
414 inline bool GlobalTableWitnessesHasBeenSet() const { return m_globalTableWitnessesHasBeenSet; }
415 template<typename GlobalTableWitnessesT = Aws::Vector<GlobalTableWitnessDescription>>
416 void SetGlobalTableWitnesses(GlobalTableWitnessesT&& value) { m_globalTableWitnessesHasBeenSet = true; m_globalTableWitnesses = std::forward<GlobalTableWitnessesT>(value); }
417 template<typename GlobalTableWitnessesT = Aws::Vector<GlobalTableWitnessDescription>>
418 TableDescription& WithGlobalTableWitnesses(GlobalTableWitnessesT&& value) { SetGlobalTableWitnesses(std::forward<GlobalTableWitnessesT>(value)); return *this;}
419 template<typename GlobalTableWitnessesT = GlobalTableWitnessDescription>
420 TableDescription& AddGlobalTableWitnesses(GlobalTableWitnessesT&& value) { m_globalTableWitnessesHasBeenSet = true; m_globalTableWitnesses.emplace_back(std::forward<GlobalTableWitnessesT>(value)); return *this; }
422
424
427 inline const RestoreSummary& GetRestoreSummary() const { return m_restoreSummary; }
428 inline bool RestoreSummaryHasBeenSet() const { return m_restoreSummaryHasBeenSet; }
429 template<typename RestoreSummaryT = RestoreSummary>
430 void SetRestoreSummary(RestoreSummaryT&& value) { m_restoreSummaryHasBeenSet = true; m_restoreSummary = std::forward<RestoreSummaryT>(value); }
431 template<typename RestoreSummaryT = RestoreSummary>
432 TableDescription& WithRestoreSummary(RestoreSummaryT&& value) { SetRestoreSummary(std::forward<RestoreSummaryT>(value)); return *this;}
434
436
440 inline const SSEDescription& GetSSEDescription() const { return m_sSEDescription; }
441 inline bool SSEDescriptionHasBeenSet() const { return m_sSEDescriptionHasBeenSet; }
442 template<typename SSEDescriptionT = SSEDescription>
443 void SetSSEDescription(SSEDescriptionT&& value) { m_sSEDescriptionHasBeenSet = true; m_sSEDescription = std::forward<SSEDescriptionT>(value); }
444 template<typename SSEDescriptionT = SSEDescription>
445 TableDescription& WithSSEDescription(SSEDescriptionT&& value) { SetSSEDescription(std::forward<SSEDescriptionT>(value)); return *this;}
447
449
452 inline const ArchivalSummary& GetArchivalSummary() const { return m_archivalSummary; }
453 inline bool ArchivalSummaryHasBeenSet() const { return m_archivalSummaryHasBeenSet; }
454 template<typename ArchivalSummaryT = ArchivalSummary>
455 void SetArchivalSummary(ArchivalSummaryT&& value) { m_archivalSummaryHasBeenSet = true; m_archivalSummary = std::forward<ArchivalSummaryT>(value); }
456 template<typename ArchivalSummaryT = ArchivalSummary>
457 TableDescription& WithArchivalSummary(ArchivalSummaryT&& value) { SetArchivalSummary(std::forward<ArchivalSummaryT>(value)); return *this;}
459
461
464 inline const TableClassSummary& GetTableClassSummary() const { return m_tableClassSummary; }
465 inline bool TableClassSummaryHasBeenSet() const { return m_tableClassSummaryHasBeenSet; }
466 template<typename TableClassSummaryT = TableClassSummary>
467 void SetTableClassSummary(TableClassSummaryT&& value) { m_tableClassSummaryHasBeenSet = true; m_tableClassSummary = std::forward<TableClassSummaryT>(value); }
468 template<typename TableClassSummaryT = TableClassSummary>
469 TableDescription& WithTableClassSummary(TableClassSummaryT&& value) { SetTableClassSummary(std::forward<TableClassSummaryT>(value)); return *this;}
471
473
477 inline bool GetDeletionProtectionEnabled() const { return m_deletionProtectionEnabled; }
478 inline bool DeletionProtectionEnabledHasBeenSet() const { return m_deletionProtectionEnabledHasBeenSet; }
479 inline void SetDeletionProtectionEnabled(bool value) { m_deletionProtectionEnabledHasBeenSet = true; m_deletionProtectionEnabled = value; }
482
484
489 inline const OnDemandThroughput& GetOnDemandThroughput() const { return m_onDemandThroughput; }
490 inline bool OnDemandThroughputHasBeenSet() const { return m_onDemandThroughputHasBeenSet; }
491 template<typename OnDemandThroughputT = OnDemandThroughput>
492 void SetOnDemandThroughput(OnDemandThroughputT&& value) { m_onDemandThroughputHasBeenSet = true; m_onDemandThroughput = std::forward<OnDemandThroughputT>(value); }
493 template<typename OnDemandThroughputT = OnDemandThroughput>
494 TableDescription& WithOnDemandThroughput(OnDemandThroughputT&& value) { SetOnDemandThroughput(std::forward<OnDemandThroughputT>(value)); return *this;}
496
498
501 inline const TableWarmThroughputDescription& GetWarmThroughput() const { return m_warmThroughput; }
502 inline bool WarmThroughputHasBeenSet() const { return m_warmThroughputHasBeenSet; }
503 template<typename WarmThroughputT = TableWarmThroughputDescription>
504 void SetWarmThroughput(WarmThroughputT&& value) { m_warmThroughputHasBeenSet = true; m_warmThroughput = std::forward<WarmThroughputT>(value); }
505 template<typename WarmThroughputT = TableWarmThroughputDescription>
506 TableDescription& WithWarmThroughput(WarmThroughputT&& value) { SetWarmThroughput(std::forward<WarmThroughputT>(value)); return *this;}
508
510
521 inline MultiRegionConsistency GetMultiRegionConsistency() const { return m_multiRegionConsistency; }
522 inline bool MultiRegionConsistencyHasBeenSet() const { return m_multiRegionConsistencyHasBeenSet; }
523 inline void SetMultiRegionConsistency(MultiRegionConsistency value) { m_multiRegionConsistencyHasBeenSet = true; m_multiRegionConsistency = value; }
526 private:
527
528 Aws::Vector<AttributeDefinition> m_attributeDefinitions;
529 bool m_attributeDefinitionsHasBeenSet = false;
530
531 Aws::String m_tableName;
532 bool m_tableNameHasBeenSet = false;
533
535 bool m_keySchemaHasBeenSet = false;
536
537 TableStatus m_tableStatus{TableStatus::NOT_SET};
538 bool m_tableStatusHasBeenSet = false;
539
540 Aws::Utils::DateTime m_creationDateTime{};
541 bool m_creationDateTimeHasBeenSet = false;
542
543 ProvisionedThroughputDescription m_provisionedThroughput;
544 bool m_provisionedThroughputHasBeenSet = false;
545
546 long long m_tableSizeBytes{0};
547 bool m_tableSizeBytesHasBeenSet = false;
548
549 long long m_itemCount{0};
550 bool m_itemCountHasBeenSet = false;
551
552 Aws::String m_tableArn;
553 bool m_tableArnHasBeenSet = false;
554
555 Aws::String m_tableId;
556 bool m_tableIdHasBeenSet = false;
557
558 BillingModeSummary m_billingModeSummary;
559 bool m_billingModeSummaryHasBeenSet = false;
560
561 Aws::Vector<LocalSecondaryIndexDescription> m_localSecondaryIndexes;
562 bool m_localSecondaryIndexesHasBeenSet = false;
563
564 Aws::Vector<GlobalSecondaryIndexDescription> m_globalSecondaryIndexes;
565 bool m_globalSecondaryIndexesHasBeenSet = false;
566
567 StreamSpecification m_streamSpecification;
568 bool m_streamSpecificationHasBeenSet = false;
569
570 Aws::String m_latestStreamLabel;
571 bool m_latestStreamLabelHasBeenSet = false;
572
573 Aws::String m_latestStreamArn;
574 bool m_latestStreamArnHasBeenSet = false;
575
576 Aws::String m_globalTableVersion;
577 bool m_globalTableVersionHasBeenSet = false;
578
580 bool m_replicasHasBeenSet = false;
581
582 Aws::Vector<GlobalTableWitnessDescription> m_globalTableWitnesses;
583 bool m_globalTableWitnessesHasBeenSet = false;
584
585 RestoreSummary m_restoreSummary;
586 bool m_restoreSummaryHasBeenSet = false;
587
588 SSEDescription m_sSEDescription;
589 bool m_sSEDescriptionHasBeenSet = false;
590
591 ArchivalSummary m_archivalSummary;
592 bool m_archivalSummaryHasBeenSet = false;
593
594 TableClassSummary m_tableClassSummary;
595 bool m_tableClassSummaryHasBeenSet = false;
596
597 bool m_deletionProtectionEnabled{false};
598 bool m_deletionProtectionEnabledHasBeenSet = false;
599
600 OnDemandThroughput m_onDemandThroughput;
601 bool m_onDemandThroughputHasBeenSet = false;
602
603 TableWarmThroughputDescription m_warmThroughput;
604 bool m_warmThroughputHasBeenSet = false;
605
607 bool m_multiRegionConsistencyHasBeenSet = false;
608 };
609
610} // namespace Model
611} // namespace DynamoDB
612} // namespace Aws
const Aws::String & GetTableArn() const
const TableWarmThroughputDescription & GetWarmThroughput() const
AWS_DYNAMODB_API TableDescription()=default
void SetWarmThroughput(WarmThroughputT &&value)
const Aws::Vector< KeySchemaElement > & GetKeySchema() 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)
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