7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/model/AwsDynamoDbTableBillingModeSummary.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/securityhub/model/AwsDynamoDbTableProvisionedThroughput.h>
12#include <aws/securityhub/model/AwsDynamoDbTableRestoreSummary.h>
13#include <aws/securityhub/model/AwsDynamoDbTableSseDescription.h>
14#include <aws/securityhub/model/AwsDynamoDbTableStreamSpecification.h>
15#include <aws/securityhub/model/AwsDynamoDbTableAttributeDefinition.h>
16#include <aws/securityhub/model/AwsDynamoDbTableGlobalSecondaryIndex.h>
17#include <aws/securityhub/model/AwsDynamoDbTableKeySchema.h>
18#include <aws/securityhub/model/AwsDynamoDbTableLocalSecondaryIndex.h>
19#include <aws/securityhub/model/AwsDynamoDbTableReplica.h>
57 template<
typename AttributeDefinitionsT = Aws::Vector<AwsDynamoDbTableAttributeDefinition>>
58 void SetAttributeDefinitions(AttributeDefinitionsT&& value) { m_attributeDefinitionsHasBeenSet =
true; m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value); }
59 template<
typename AttributeDefinitionsT = Aws::Vector<AwsDynamoDbTableAttributeDefinition>>
61 template<
typename AttributeDefinitionsT = AwsDynamoDbTableAttributeDefinition>
71 template<
typename BillingModeSummaryT = AwsDynamoDbTableBillingModeSummary>
72 void SetBillingModeSummary(BillingModeSummaryT&& value) { m_billingModeSummaryHasBeenSet =
true; m_billingModeSummary = std::forward<BillingModeSummaryT>(value); }
73 template<
typename BillingModeSummaryT = AwsDynamoDbTableBillingModeSummary>
85 template<
typename CreationDateTimeT = Aws::String>
86 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
87 template<
typename CreationDateTimeT = Aws::String>
97 template<
typename GlobalSecondaryIndexesT = Aws::Vector<AwsDynamoDbTableGlobalSecondaryIndex>>
98 void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { m_globalSecondaryIndexesHasBeenSet =
true; m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value); }
99 template<
typename GlobalSecondaryIndexesT = Aws::Vector<AwsDynamoDbTableGlobalSecondaryIndex>>
101 template<
typename GlobalSecondaryIndexesT = AwsDynamoDbTableGlobalSecondaryIndex>
111 template<
typename GlobalTableVersionT = Aws::String>
112 void SetGlobalTableVersion(GlobalTableVersionT&& value) { m_globalTableVersionHasBeenSet =
true; m_globalTableVersion = std::forward<GlobalTableVersionT>(value); }
113 template<
typename GlobalTableVersionT = Aws::String>
123 inline void SetItemCount(
int value) { m_itemCountHasBeenSet =
true; m_itemCount = value; }
133 template<
typename KeySchemaT = Aws::Vector<AwsDynamoDbTableKeySchema>>
134 void SetKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet =
true; m_keySchema = std::forward<KeySchemaT>(value); }
135 template<
typename KeySchemaT = Aws::Vector<AwsDynamoDbTableKeySchema>>
137 template<
typename KeySchemaT = AwsDynamoDbTableKeySchema>
147 template<
typename LatestStreamArnT = Aws::String>
148 void SetLatestStreamArn(LatestStreamArnT&& value) { m_latestStreamArnHasBeenSet =
true; m_latestStreamArn = std::forward<LatestStreamArnT>(value); }
149 template<
typename LatestStreamArnT = Aws::String>
159 template<
typename LatestStreamLabelT = Aws::String>
160 void SetLatestStreamLabel(LatestStreamLabelT&& value) { m_latestStreamLabelHasBeenSet =
true; m_latestStreamLabel = std::forward<LatestStreamLabelT>(value); }
161 template<
typename LatestStreamLabelT = Aws::String>
171 template<
typename LocalSecondaryIndexesT = Aws::Vector<AwsDynamoDbTableLocalSecondaryIndex>>
172 void SetLocalSecondaryIndexes(LocalSecondaryIndexesT&& value) { m_localSecondaryIndexesHasBeenSet =
true; m_localSecondaryIndexes = std::forward<LocalSecondaryIndexesT>(value); }
173 template<
typename LocalSecondaryIndexesT = Aws::Vector<AwsDynamoDbTableLocalSecondaryIndex>>
175 template<
typename LocalSecondaryIndexesT = AwsDynamoDbTableLocalSecondaryIndex>
185 template<
typename ProvisionedThroughputT = AwsDynamoDbTableProvisionedThroughput>
186 void SetProvisionedThroughput(ProvisionedThroughputT&& value) { m_provisionedThroughputHasBeenSet =
true; m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value); }
187 template<
typename ProvisionedThroughputT = AwsDynamoDbTableProvisionedThroughput>
197 template<
typename ReplicasT = Aws::Vector<AwsDynamoDbTableReplica>>
198 void SetReplicas(ReplicasT&& value) { m_replicasHasBeenSet =
true; m_replicas = std::forward<ReplicasT>(value); }
199 template<
typename ReplicasT = Aws::Vector<AwsDynamoDbTableReplica>>
201 template<
typename ReplicasT = AwsDynamoDbTableReplica>
211 template<
typename RestoreSummaryT = AwsDynamoDbTableRestoreSummary>
212 void SetRestoreSummary(RestoreSummaryT&& value) { m_restoreSummaryHasBeenSet =
true; m_restoreSummary = std::forward<RestoreSummaryT>(value); }
213 template<
typename RestoreSummaryT = AwsDynamoDbTableRestoreSummary>
223 template<
typename SseDescriptionT = AwsDynamoDbTableSseDescription>
224 void SetSseDescription(SseDescriptionT&& value) { m_sseDescriptionHasBeenSet =
true; m_sseDescription = std::forward<SseDescriptionT>(value); }
225 template<
typename SseDescriptionT = AwsDynamoDbTableSseDescription>
235 template<
typename StreamSpecificationT = AwsDynamoDbTableStreamSpecification>
236 void SetStreamSpecification(StreamSpecificationT&& value) { m_streamSpecificationHasBeenSet =
true; m_streamSpecification = std::forward<StreamSpecificationT>(value); }
237 template<
typename StreamSpecificationT = AwsDynamoDbTableStreamSpecification>
247 template<
typename TableIdT = Aws::String>
248 void SetTableId(TableIdT&& value) { m_tableIdHasBeenSet =
true; m_tableId = std::forward<TableIdT>(value); }
249 template<
typename TableIdT = Aws::String>
259 template<
typename TableNameT = Aws::String>
260 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
261 template<
typename TableNameT = Aws::String>
271 inline void SetTableSizeBytes(
long long value) { m_tableSizeBytesHasBeenSet =
true; m_tableSizeBytes = value; }
286 template<
typename TableStatusT = Aws::String>
287 void SetTableStatus(TableStatusT&& value) { m_tableStatusHasBeenSet =
true; m_tableStatus = std::forward<TableStatusT>(value); }
288 template<
typename TableStatusT = Aws::String>
305 bool m_attributeDefinitionsHasBeenSet =
false;
308 bool m_billingModeSummaryHasBeenSet =
false;
311 bool m_creationDateTimeHasBeenSet =
false;
314 bool m_globalSecondaryIndexesHasBeenSet =
false;
317 bool m_globalTableVersionHasBeenSet =
false;
320 bool m_itemCountHasBeenSet =
false;
323 bool m_keySchemaHasBeenSet =
false;
326 bool m_latestStreamArnHasBeenSet =
false;
329 bool m_latestStreamLabelHasBeenSet =
false;
332 bool m_localSecondaryIndexesHasBeenSet =
false;
334 AwsDynamoDbTableProvisionedThroughput m_provisionedThroughput;
335 bool m_provisionedThroughputHasBeenSet =
false;
338 bool m_replicasHasBeenSet =
false;
340 AwsDynamoDbTableRestoreSummary m_restoreSummary;
341 bool m_restoreSummaryHasBeenSet =
false;
343 AwsDynamoDbTableSseDescription m_sseDescription;
344 bool m_sseDescriptionHasBeenSet =
false;
346 AwsDynamoDbTableStreamSpecification m_streamSpecification;
347 bool m_streamSpecificationHasBeenSet =
false;
350 bool m_tableIdHasBeenSet =
false;
353 bool m_tableNameHasBeenSet =
false;
355 long long m_tableSizeBytes{0};
356 bool m_tableSizeBytesHasBeenSet =
false;
359 bool m_tableStatusHasBeenSet =
false;
361 bool m_deletionProtectionEnabled{
false};
362 bool m_deletionProtectionEnabledHasBeenSet =
false;
AwsDynamoDbTableDetails & WithLatestStreamArn(LatestStreamArnT &&value)
long long GetTableSizeBytes() const
bool TableSizeBytesHasBeenSet() const
AwsDynamoDbTableDetails & WithTableName(TableNameT &&value)
const Aws::String & GetLatestStreamLabel() const
void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
bool BillingModeSummaryHasBeenSet() const
AwsDynamoDbTableDetails & WithRestoreSummary(RestoreSummaryT &&value)
AwsDynamoDbTableDetails & WithReplicas(ReplicasT &&value)
void SetDeletionProtectionEnabled(bool value)
const Aws::Vector< AwsDynamoDbTableGlobalSecondaryIndex > & GetGlobalSecondaryIndexes() const
bool StreamSpecificationHasBeenSet() const
bool TableNameHasBeenSet() const
const Aws::String & GetLatestStreamArn() const
AwsDynamoDbTableDetails & AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
const Aws::Vector< AwsDynamoDbTableReplica > & GetReplicas() const
bool CreationDateTimeHasBeenSet() const
const Aws::String & GetGlobalTableVersion() const
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
AwsDynamoDbTableDetails & WithTableId(TableIdT &&value)
AWS_SECURITYHUB_API AwsDynamoDbTableDetails(Aws::Utils::Json::JsonView jsonValue)
void SetSseDescription(SseDescriptionT &&value)
AWS_SECURITYHUB_API AwsDynamoDbTableDetails()=default
AwsDynamoDbTableDetails & WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
bool KeySchemaHasBeenSet() const
bool ProvisionedThroughputHasBeenSet() const
void SetLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
const Aws::String & GetTableStatus() const
void SetGlobalTableVersion(GlobalTableVersionT &&value)
AwsDynamoDbTableDetails & AddReplicas(ReplicasT &&value)
void SetLatestStreamLabel(LatestStreamLabelT &&value)
const Aws::Vector< AwsDynamoDbTableKeySchema > & GetKeySchema() const
bool LatestStreamLabelHasBeenSet() const
void SetTableSizeBytes(long long value)
const AwsDynamoDbTableRestoreSummary & GetRestoreSummary() const
void SetStreamSpecification(StreamSpecificationT &&value)
void SetLatestStreamArn(LatestStreamArnT &&value)
AwsDynamoDbTableDetails & WithItemCount(int value)
AWS_SECURITYHUB_API AwsDynamoDbTableDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTableName() const
void SetReplicas(ReplicasT &&value)
AwsDynamoDbTableDetails & AddAttributeDefinitions(AttributeDefinitionsT &&value)
AwsDynamoDbTableDetails & WithStreamSpecification(StreamSpecificationT &&value)
AwsDynamoDbTableDetails & WithLatestStreamLabel(LatestStreamLabelT &&value)
bool LatestStreamArnHasBeenSet() const
const AwsDynamoDbTableBillingModeSummary & GetBillingModeSummary() const
AwsDynamoDbTableDetails & WithAttributeDefinitions(AttributeDefinitionsT &&value)
const Aws::String & GetCreationDateTime() const
AwsDynamoDbTableDetails & WithDeletionProtectionEnabled(bool value)
void SetKeySchema(KeySchemaT &&value)
void SetItemCount(int value)
AwsDynamoDbTableDetails & WithCreationDateTime(CreationDateTimeT &&value)
void SetTableId(TableIdT &&value)
AwsDynamoDbTableDetails & WithKeySchema(KeySchemaT &&value)
void SetBillingModeSummary(BillingModeSummaryT &&value)
bool SseDescriptionHasBeenSet() const
bool LocalSecondaryIndexesHasBeenSet() const
AwsDynamoDbTableDetails & WithGlobalTableVersion(GlobalTableVersionT &&value)
bool GlobalSecondaryIndexesHasBeenSet() const
bool DeletionProtectionEnabledHasBeenSet() const
AwsDynamoDbTableDetails & AddKeySchema(KeySchemaT &&value)
void SetTableStatus(TableStatusT &&value)
bool ItemCountHasBeenSet() const
AwsDynamoDbTableDetails & AddLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
const Aws::Vector< AwsDynamoDbTableLocalSecondaryIndex > & GetLocalSecondaryIndexes() const
const Aws::String & GetTableId() const
const Aws::Vector< AwsDynamoDbTableAttributeDefinition > & GetAttributeDefinitions() const
bool RestoreSummaryHasBeenSet() const
void SetTableName(TableNameT &&value)
AwsDynamoDbTableDetails & WithSseDescription(SseDescriptionT &&value)
const AwsDynamoDbTableProvisionedThroughput & GetProvisionedThroughput() const
bool TableIdHasBeenSet() const
AwsDynamoDbTableDetails & WithProvisionedThroughput(ProvisionedThroughputT &&value)
void SetRestoreSummary(RestoreSummaryT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool AttributeDefinitionsHasBeenSet() const
void SetCreationDateTime(CreationDateTimeT &&value)
bool GlobalTableVersionHasBeenSet() const
bool TableStatusHasBeenSet() const
AwsDynamoDbTableDetails & WithTableStatus(TableStatusT &&value)
bool ReplicasHasBeenSet() const
bool GetDeletionProtectionEnabled() const
AwsDynamoDbTableDetails & WithTableSizeBytes(long long value)
void SetAttributeDefinitions(AttributeDefinitionsT &&value)
const AwsDynamoDbTableSseDescription & GetSseDescription() const
const AwsDynamoDbTableStreamSpecification & GetStreamSpecification() const
AwsDynamoDbTableDetails & WithLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
AwsDynamoDbTableDetails & WithBillingModeSummary(BillingModeSummaryT &&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