7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDBRequest.h>
10#include <aws/dynamodb/DynamoDB_EXPORTS.h>
11#include <aws/dynamodb/model/AttributeDefinition.h>
12#include <aws/dynamodb/model/BillingMode.h>
13#include <aws/dynamodb/model/GlobalSecondaryIndex.h>
14#include <aws/dynamodb/model/GlobalTableSettingsReplicationMode.h>
15#include <aws/dynamodb/model/KeySchemaElement.h>
16#include <aws/dynamodb/model/LocalSecondaryIndex.h>
17#include <aws/dynamodb/model/OnDemandThroughput.h>
18#include <aws/dynamodb/model/ProvisionedThroughput.h>
19#include <aws/dynamodb/model/SSESpecification.h>
20#include <aws/dynamodb/model/StreamSpecification.h>
21#include <aws/dynamodb/model/TableClass.h>
22#include <aws/dynamodb/model/Tag.h>
23#include <aws/dynamodb/model/WarmThroughput.h>
63 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
65 m_attributeDefinitionsHasBeenSet =
true;
66 m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value);
68 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
73 template <
typename AttributeDefinitionsT = AttributeDefinition>
75 m_attributeDefinitionsHasBeenSet =
true;
76 m_attributeDefinitions.emplace_back(std::forward<AttributeDefinitionsT>(value));
88 template <
typename TableNameT = Aws::String>
90 m_tableNameHasBeenSet =
true;
91 m_tableName = std::forward<TableNameT>(value);
93 template <
typename TableNameT = Aws::String>
129 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
131 m_keySchemaHasBeenSet =
true;
132 m_keySchema = std::forward<KeySchemaT>(value);
134 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
139 template <
typename KeySchemaT = KeySchemaElement>
141 m_keySchemaHasBeenSet =
true;
142 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
179 template <
typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndex>>
181 m_localSecondaryIndexesHasBeenSet =
true;
182 m_localSecondaryIndexes = std::forward<LocalSecondaryIndexesT>(value);
184 template <
typename LocalSecondaryIndexesT = Aws::Vector<LocalSecondaryIndex>>
189 template <
typename LocalSecondaryIndexesT = LocalSecondaryIndex>
191 m_localSecondaryIndexesHasBeenSet =
true;
192 m_localSecondaryIndexes.emplace_back(std::forward<LocalSecondaryIndexesT>(value));
230 template <
typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndex>>
232 m_globalSecondaryIndexesHasBeenSet =
true;
233 m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value);
235 template <
typename GlobalSecondaryIndexesT = Aws::Vector<GlobalSecondaryIndex>>
240 template <
typename GlobalSecondaryIndexesT = GlobalSecondaryIndex>
242 m_globalSecondaryIndexesHasBeenSet =
true;
243 m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value));
266 m_billingModeHasBeenSet =
true;
267 m_billingMode = value;
288 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
290 m_provisionedThroughputHasBeenSet =
true;
291 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
293 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
318 template <
typename StreamSpecificationT = StreamSpecification>
320 m_streamSpecificationHasBeenSet =
true;
321 m_streamSpecification = std::forward<StreamSpecificationT>(value);
323 template <
typename StreamSpecificationT = StreamSpecification>
336 template <
typename SSESpecificationT = SSESpecification>
338 m_sSESpecificationHasBeenSet =
true;
339 m_sSESpecification = std::forward<SSESpecificationT>(value);
341 template <
typename SSESpecificationT = SSESpecification>
356 template <
typename TagsT = Aws::Vector<Tag>>
358 m_tagsHasBeenSet =
true;
359 m_tags = std::forward<TagsT>(value);
361 template <
typename TagsT = Aws::Vector<Tag>>
363 SetTags(std::forward<TagsT>(value));
366 template <
typename TagsT = Tag>
368 m_tagsHasBeenSet =
true;
369 m_tags.emplace_back(std::forward<TagsT>(value));
382 m_tableClassHasBeenSet =
true;
383 m_tableClass = value;
399 m_deletionProtectionEnabledHasBeenSet =
true;
400 m_deletionProtectionEnabled = value;
415 template <
typename WarmThroughputT = WarmThroughput>
417 m_warmThroughputHasBeenSet =
true;
418 m_warmThroughput = std::forward<WarmThroughputT>(value);
420 template <
typename WarmThroughputT = WarmThroughput>
443 template <
typename ResourcePolicyT = Aws::String>
445 m_resourcePolicyHasBeenSet =
true;
446 m_resourcePolicy = std::forward<ResourcePolicyT>(value);
448 template <
typename ResourcePolicyT = Aws::String>
464 template <
typename OnDemandThroughputT = OnDemandThroughput>
466 m_onDemandThroughputHasBeenSet =
true;
467 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
469 template <
typename OnDemandThroughputT = OnDemandThroughput>
483 template <
typename GlobalTableSourceArnT = Aws::String>
485 m_globalTableSourceArnHasBeenSet =
true;
486 m_globalTableSourceArn = std::forward<GlobalTableSourceArnT>(value);
488 template <
typename GlobalTableSourceArnT = Aws::String>
505 m_globalTableSettingsReplicationModeHasBeenSet =
true;
506 m_globalTableSettingsReplicationMode = value;
526 ProvisionedThroughput m_provisionedThroughput;
528 StreamSpecification m_streamSpecification;
530 SSESpecification m_sSESpecification;
536 bool m_deletionProtectionEnabled{
false};
538 WarmThroughput m_warmThroughput;
542 OnDemandThroughput m_onDemandThroughput;
547 bool m_attributeDefinitionsHasBeenSet =
false;
548 bool m_tableNameHasBeenSet =
false;
549 bool m_keySchemaHasBeenSet =
false;
550 bool m_localSecondaryIndexesHasBeenSet =
false;
551 bool m_globalSecondaryIndexesHasBeenSet =
false;
552 bool m_billingModeHasBeenSet =
false;
553 bool m_provisionedThroughputHasBeenSet =
false;
554 bool m_streamSpecificationHasBeenSet =
false;
555 bool m_sSESpecificationHasBeenSet =
false;
556 bool m_tagsHasBeenSet =
false;
557 bool m_tableClassHasBeenSet =
false;
558 bool m_deletionProtectionEnabledHasBeenSet =
false;
559 bool m_warmThroughputHasBeenSet =
false;
560 bool m_resourcePolicyHasBeenSet =
false;
561 bool m_onDemandThroughputHasBeenSet =
false;
562 bool m_globalTableSourceArnHasBeenSet =
false;
563 bool m_globalTableSettingsReplicationModeHasBeenSet =
false;
Aws::Endpoint::EndpointParameters EndpointParameters
const Aws::Vector< GlobalSecondaryIndex > & GetGlobalSecondaryIndexes() const
CreateTableRequest & WithProvisionedThroughput(ProvisionedThroughputT &&value)
void SetTableName(TableNameT &&value)
void SetOnDemandThroughput(OnDemandThroughputT &&value)
void SetKeySchema(KeySchemaT &&value)
CreateTableRequest & WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
const Aws::String & GetTableName() const
bool ResourcePolicyHasBeenSet() const
void SetDeletionProtectionEnabled(bool value)
CreateTableRequest & WithBillingMode(BillingMode value)
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
void SetWarmThroughput(WarmThroughputT &&value)
void SetTags(TagsT &&value)
void SetResourcePolicy(ResourcePolicyT &&value)
void SetAttributeDefinitions(AttributeDefinitionsT &&value)
void SetGlobalTableSourceArn(GlobalTableSourceArnT &&value)
CreateTableRequest & WithTags(TagsT &&value)
bool AttributeDefinitionsHasBeenSet() const
const WarmThroughput & GetWarmThroughput() const
TableClass GetTableClass() const
CreateTableRequest & WithDeletionProtectionEnabled(bool value)
bool GlobalTableSourceArnHasBeenSet() const
CreateTableRequest & AddLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
void SetSSESpecification(SSESpecificationT &&value)
bool TableClassHasBeenSet() const
GlobalTableSettingsReplicationMode GetGlobalTableSettingsReplicationMode() const
BillingMode GetBillingMode() const
bool OnDemandThroughputHasBeenSet() const
AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override
bool TableNameHasBeenSet() const
bool KeySchemaHasBeenSet() const
CreateTableRequest & WithGlobalTableSourceArn(GlobalTableSourceArnT &&value)
const Aws::String & GetGlobalTableSourceArn() const
bool LocalSecondaryIndexesHasBeenSet() const
bool WarmThroughputHasBeenSet() const
const Aws::Vector< AttributeDefinition > & GetAttributeDefinitions() const
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
bool StreamSpecificationHasBeenSet() const
void SetGlobalTableSettingsReplicationMode(GlobalTableSettingsReplicationMode value)
CreateTableRequest & AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
CreateTableRequest & WithLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
bool GlobalSecondaryIndexesHasBeenSet() const
const SSESpecification & GetSSESpecification() const
CreateTableRequest & WithSSESpecification(SSESpecificationT &&value)
CreateTableRequest & WithGlobalTableSettingsReplicationMode(GlobalTableSettingsReplicationMode value)
const Aws::String & GetResourcePolicy() const
CreateTableRequest & WithResourcePolicy(ResourcePolicyT &&value)
void SetBillingMode(BillingMode value)
bool TagsHasBeenSet() const
void SetLocalSecondaryIndexes(LocalSecondaryIndexesT &&value)
CreateTableRequest & AddKeySchema(KeySchemaT &&value)
CreateTableRequest & WithTableName(TableNameT &&value)
CreateTableRequest & AddTags(TagsT &&value)
bool GlobalTableSettingsReplicationModeHasBeenSet() const
CreateTableRequest & WithOnDemandThroughput(OnDemandThroughputT &&value)
CreateTableRequest & WithAttributeDefinitions(AttributeDefinitionsT &&value)
CreateTableRequest & WithStreamSpecification(StreamSpecificationT &&value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTableRequest & WithTableClass(TableClass value)
void SetTableClass(TableClass value)
bool DeletionProtectionEnabledHasBeenSet() const
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
const OnDemandThroughput & GetOnDemandThroughput() const
const StreamSpecification & GetStreamSpecification() const
AWS_DYNAMODB_API Aws::String SerializePayload() const override
bool BillingModeHasBeenSet() const
CreateTableRequest & AddAttributeDefinitions(AttributeDefinitionsT &&value)
AWS_DYNAMODB_API CreateTableRequest()=default
CreateTableRequest & WithWarmThroughput(WarmThroughputT &&value)
const Aws::Vector< LocalSecondaryIndex > & GetLocalSecondaryIndexes() const
void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
CreateTableRequest & WithKeySchema(KeySchemaT &&value)
bool SSESpecificationHasBeenSet() const
bool GetDeletionProtectionEnabled() const
void SetStreamSpecification(StreamSpecificationT &&value)
bool ProvisionedThroughputHasBeenSet() const
const ProvisionedThroughput & GetProvisionedThroughput() const
GlobalTableSettingsReplicationMode
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector