7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/dynamodb/model/BillingMode.h>
12#include <aws/dynamodb/model/ProvisionedThroughput.h>
13#include <aws/dynamodb/model/StreamSpecification.h>
14#include <aws/dynamodb/model/SSESpecification.h>
15#include <aws/dynamodb/model/TableClass.h>
16#include <aws/dynamodb/model/OnDemandThroughput.h>
17#include <aws/dynamodb/model/AttributeDefinition.h>
18#include <aws/dynamodb/model/KeySchemaElement.h>
19#include <aws/dynamodb/model/LocalSecondaryIndex.h>
20#include <aws/dynamodb/model/GlobalSecondaryIndex.h>
21#include <aws/dynamodb/model/Tag.h>
77 inline void SetTableName(
const char* value) { m_tableNameHasBeenSet =
true; m_tableName.assign(value); }
327 inline void SetResourcePolicy(
const char* value) { m_resourcePolicyHasBeenSet =
true; m_resourcePolicy.assign(value); }
350 bool m_attributeDefinitionsHasBeenSet =
false;
353 bool m_tableNameHasBeenSet =
false;
356 bool m_keySchemaHasBeenSet =
false;
359 bool m_localSecondaryIndexesHasBeenSet =
false;
362 bool m_globalSecondaryIndexesHasBeenSet =
false;
365 bool m_billingModeHasBeenSet =
false;
368 bool m_provisionedThroughputHasBeenSet =
false;
371 bool m_streamSpecificationHasBeenSet =
false;
374 bool m_sSESpecificationHasBeenSet =
false;
377 bool m_tagsHasBeenSet =
false;
380 bool m_tableClassHasBeenSet =
false;
382 bool m_deletionProtectionEnabled;
383 bool m_deletionProtectionEnabledHasBeenSet =
false;
386 bool m_resourcePolicyHasBeenSet =
false;
389 bool m_onDemandThroughputHasBeenSet =
false;
const Aws::Vector< GlobalSecondaryIndex > & GetGlobalSecondaryIndexes() const
void SetTableName(Aws::String &&value)
void SetResourcePolicy(Aws::String &&value)
CreateTableRequest & AddKeySchema(KeySchemaElement &&value)
const Aws::String & GetTableName() const
bool ResourcePolicyHasBeenSet() const
CreateTableRequest & WithGlobalSecondaryIndexes(Aws::Vector< GlobalSecondaryIndex > &&value)
CreateTableRequest & AddAttributeDefinitions(const AttributeDefinition &value)
void SetDeletionProtectionEnabled(bool value)
void SetGlobalSecondaryIndexes(Aws::Vector< GlobalSecondaryIndex > &&value)
void SetSSESpecification(const SSESpecification &value)
CreateTableRequest & WithSSESpecification(SSESpecification &&value)
CreateTableRequest & WithOnDemandThroughput(OnDemandThroughput &&value)
CreateTableRequest & WithProvisionedThroughput(ProvisionedThroughput &&value)
CreateTableRequest & WithStreamSpecification(StreamSpecification &&value)
CreateTableRequest & WithResourcePolicy(Aws::String &&value)
CreateTableRequest & WithTableClass(TableClass &&value)
void SetResourcePolicy(const Aws::String &value)
bool AttributeDefinitionsHasBeenSet() const
CreateTableRequest & WithTableClass(const TableClass &value)
CreateTableRequest & WithTableName(Aws::String &&value)
CreateTableRequest & WithAttributeDefinitions(Aws::Vector< AttributeDefinition > &&value)
CreateTableRequest & WithDeletionProtectionEnabled(bool value)
CreateTableRequest & AddLocalSecondaryIndexes(LocalSecondaryIndex &&value)
void SetTableClass(const TableClass &value)
CreateTableRequest & WithKeySchema(const Aws::Vector< KeySchemaElement > &value)
CreateTableRequest & WithTableName(const Aws::String &value)
bool TableClassHasBeenSet() const
CreateTableRequest & AddKeySchema(const KeySchemaElement &value)
CreateTableRequest & WithResourcePolicy(const char *value)
bool OnDemandThroughputHasBeenSet() const
CreateTableRequest & AddGlobalSecondaryIndexes(GlobalSecondaryIndex &&value)
void SetTableName(const char *value)
void SetTableName(const Aws::String &value)
bool TableNameHasBeenSet() const
bool KeySchemaHasBeenSet() const
void SetGlobalSecondaryIndexes(const Aws::Vector< GlobalSecondaryIndex > &value)
void SetLocalSecondaryIndexes(Aws::Vector< LocalSecondaryIndex > &&value)
void SetSSESpecification(SSESpecification &&value)
const BillingMode & GetBillingMode() const
CreateTableRequest & WithAttributeDefinitions(const Aws::Vector< AttributeDefinition > &value)
bool LocalSecondaryIndexesHasBeenSet() const
CreateTableRequest & WithTags(const Aws::Vector< Tag > &value)
CreateTableRequest & AddTags(const Tag &value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::Vector< AttributeDefinition > & GetAttributeDefinitions() const
const Aws::Vector< Tag > & GetTags() const
void SetResourcePolicy(const char *value)
CreateTableRequest & WithLocalSecondaryIndexes(Aws::Vector< LocalSecondaryIndex > &&value)
CreateTableRequest & WithOnDemandThroughput(const OnDemandThroughput &value)
virtual const char * GetServiceRequestName() const override
CreateTableRequest & WithStreamSpecification(const StreamSpecification &value)
bool StreamSpecificationHasBeenSet() const
void SetOnDemandThroughput(const OnDemandThroughput &value)
AWS_DYNAMODB_API CreateTableRequest()
CreateTableRequest & WithSSESpecification(const SSESpecification &value)
void SetProvisionedThroughput(const ProvisionedThroughput &value)
bool GlobalSecondaryIndexesHasBeenSet() const
const SSESpecification & GetSSESpecification() const
void SetOnDemandThroughput(OnDemandThroughput &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetKeySchema(const Aws::Vector< KeySchemaElement > &value)
CreateTableRequest & WithTableName(const char *value)
void SetLocalSecondaryIndexes(const Aws::Vector< LocalSecondaryIndex > &value)
CreateTableRequest & WithProvisionedThroughput(const ProvisionedThroughput &value)
void SetKeySchema(Aws::Vector< KeySchemaElement > &&value)
CreateTableRequest & AddTags(Tag &&value)
CreateTableRequest & WithGlobalSecondaryIndexes(const Aws::Vector< GlobalSecondaryIndex > &value)
CreateTableRequest & WithKeySchema(Aws::Vector< KeySchemaElement > &&value)
const Aws::String & GetResourcePolicy() const
void SetStreamSpecification(StreamSpecification &&value)
bool TagsHasBeenSet() const
void SetTableClass(TableClass &&value)
const TableClass & GetTableClass() const
CreateTableRequest & WithBillingMode(const BillingMode &value)
void SetBillingMode(BillingMode &&value)
CreateTableRequest & WithTags(Aws::Vector< Tag > &&value)
CreateTableRequest & WithResourcePolicy(const Aws::String &value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTableRequest & WithBillingMode(BillingMode &&value)
bool DeletionProtectionEnabledHasBeenSet() const
void SetStreamSpecification(const StreamSpecification &value)
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
const OnDemandThroughput & GetOnDemandThroughput() const
void SetProvisionedThroughput(ProvisionedThroughput &&value)
void SetBillingMode(const BillingMode &value)
const StreamSpecification & GetStreamSpecification() const
AWS_DYNAMODB_API Aws::String SerializePayload() const override
CreateTableRequest & AddLocalSecondaryIndexes(const LocalSecondaryIndex &value)
bool BillingModeHasBeenSet() const
CreateTableRequest & WithLocalSecondaryIndexes(const Aws::Vector< LocalSecondaryIndex > &value)
const Aws::Vector< LocalSecondaryIndex > & GetLocalSecondaryIndexes() const
CreateTableRequest & AddAttributeDefinitions(AttributeDefinition &&value)
void SetAttributeDefinitions(Aws::Vector< AttributeDefinition > &&value)
bool SSESpecificationHasBeenSet() const
void SetAttributeDefinitions(const Aws::Vector< AttributeDefinition > &value)
bool GetDeletionProtectionEnabled() const
CreateTableRequest & AddGlobalSecondaryIndexes(const GlobalSecondaryIndex &value)
bool ProvisionedThroughputHasBeenSet() const
const ProvisionedThroughput & GetProvisionedThroughput() const
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