7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/keyspaces/KeyspacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/keyspaces/model/SchemaDefinition.h>
11#include <aws/keyspaces/model/Comment.h>
12#include <aws/keyspaces/model/CapacitySpecification.h>
13#include <aws/keyspaces/model/EncryptionSpecification.h>
14#include <aws/keyspaces/model/PointInTimeRecovery.h>
15#include <aws/keyspaces/model/TimeToLive.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/keyspaces/model/ClientSideTimestamps.h>
18#include <aws/keyspaces/model/AutoScalingSpecification.h>
19#include <aws/keyspaces/model/Tag.h>
20#include <aws/keyspaces/model/ReplicaSpecification.h>
56 inline void SetKeyspaceName(
const char* value) { m_keyspaceNameHasBeenSet =
true; m_keyspaceName.assign(value); }
70 inline void SetTableName(
const char* value) { m_tableNameHasBeenSet =
true; m_tableName.assign(value); }
115 inline void SetComment(
Comment&& value) { m_commentHasBeenSet =
true; m_comment = std::move(value); }
192 inline void SetTtl(
TimeToLive&& value) { m_ttlHasBeenSet =
true; m_ttl = std::move(value); }
207 inline void SetDefaultTimeToLive(
int value) { m_defaultTimeToLiveHasBeenSet =
true; m_defaultTimeToLive = value; }
293 bool m_keyspaceNameHasBeenSet =
false;
296 bool m_tableNameHasBeenSet =
false;
299 bool m_schemaDefinitionHasBeenSet =
false;
302 bool m_commentHasBeenSet =
false;
305 bool m_capacitySpecificationHasBeenSet =
false;
308 bool m_encryptionSpecificationHasBeenSet =
false;
311 bool m_pointInTimeRecoveryHasBeenSet =
false;
314 bool m_ttlHasBeenSet =
false;
316 int m_defaultTimeToLive;
317 bool m_defaultTimeToLiveHasBeenSet =
false;
320 bool m_tagsHasBeenSet =
false;
323 bool m_clientSideTimestampsHasBeenSet =
false;
326 bool m_autoScalingSpecificationHasBeenSet =
false;
329 bool m_replicaSpecificationsHasBeenSet =
false;
CreateTableRequest & WithTtl(TimeToLive &&value)
bool TagsHasBeenSet() const
void SetSchemaDefinition(const SchemaDefinition &value)
void SetSchemaDefinition(SchemaDefinition &&value)
void SetReplicaSpecifications(const Aws::Vector< ReplicaSpecification > &value)
bool CommentHasBeenSet() const
const TimeToLive & GetTtl() const
CreateTableRequest & WithKeyspaceName(const char *value)
CreateTableRequest & WithTags(const Aws::Vector< Tag > &value)
CreateTableRequest & WithTags(Aws::Vector< Tag > &&value)
void SetAutoScalingSpecification(AutoScalingSpecification &&value)
bool SchemaDefinitionHasBeenSet() const
CreateTableRequest & AddReplicaSpecifications(const ReplicaSpecification &value)
CreateTableRequest & WithComment(Comment &&value)
void SetComment(const Comment &value)
CreateTableRequest & WithAutoScalingSpecification(const AutoScalingSpecification &value)
const Aws::String & GetKeyspaceName() const
const SchemaDefinition & GetSchemaDefinition() const
CreateTableRequest & WithCapacitySpecification(CapacitySpecification &&value)
AWS_KEYSPACES_API Aws::String SerializePayload() const override
int GetDefaultTimeToLive() const
void SetTags(const Aws::Vector< Tag > &value)
void SetPointInTimeRecovery(const PointInTimeRecovery &value)
void SetTableName(Aws::String &&value)
bool TtlHasBeenSet() const
void SetReplicaSpecifications(Aws::Vector< ReplicaSpecification > &&value)
void SetPointInTimeRecovery(PointInTimeRecovery &&value)
void SetKeyspaceName(Aws::String &&value)
bool AutoScalingSpecificationHasBeenSet() const
AWS_KEYSPACES_API CreateTableRequest()
const CapacitySpecification & GetCapacitySpecification() const
CreateTableRequest & WithReplicaSpecifications(Aws::Vector< ReplicaSpecification > &&value)
CreateTableRequest & WithReplicaSpecifications(const Aws::Vector< ReplicaSpecification > &value)
CreateTableRequest & WithComment(const Comment &value)
const EncryptionSpecification & GetEncryptionSpecification() const
void SetEncryptionSpecification(const EncryptionSpecification &value)
CreateTableRequest & WithClientSideTimestamps(const ClientSideTimestamps &value)
CreateTableRequest & WithSchemaDefinition(const SchemaDefinition &value)
CreateTableRequest & WithClientSideTimestamps(ClientSideTimestamps &&value)
void SetTtl(TimeToLive &&value)
void SetComment(Comment &&value)
const Comment & GetComment() const
CreateTableRequest & WithTtl(const TimeToLive &value)
const ClientSideTimestamps & GetClientSideTimestamps() const
CreateTableRequest & WithAutoScalingSpecification(AutoScalingSpecification &&value)
CreateTableRequest & WithEncryptionSpecification(EncryptionSpecification &&value)
bool EncryptionSpecificationHasBeenSet() const
void SetKeyspaceName(const Aws::String &value)
CreateTableRequest & AddTags(const Tag &value)
void SetEncryptionSpecification(EncryptionSpecification &&value)
void SetAutoScalingSpecification(const AutoScalingSpecification &value)
const Aws::Vector< Tag > & GetTags() const
void SetTableName(const Aws::String &value)
CreateTableRequest & WithPointInTimeRecovery(const PointInTimeRecovery &value)
bool KeyspaceNameHasBeenSet() const
CreateTableRequest & WithSchemaDefinition(SchemaDefinition &&value)
CreateTableRequest & WithTableName(const Aws::String &value)
void SetClientSideTimestamps(ClientSideTimestamps &&value)
const Aws::Vector< ReplicaSpecification > & GetReplicaSpecifications() const
CreateTableRequest & AddTags(Tag &&value)
bool CapacitySpecificationHasBeenSet() const
const AutoScalingSpecification & GetAutoScalingSpecification() const
bool PointInTimeRecoveryHasBeenSet() const
CreateTableRequest & WithDefaultTimeToLive(int value)
bool TableNameHasBeenSet() const
void SetCapacitySpecification(const CapacitySpecification &value)
CreateTableRequest & WithTableName(const char *value)
CreateTableRequest & WithPointInTimeRecovery(PointInTimeRecovery &&value)
bool DefaultTimeToLiveHasBeenSet() const
bool ReplicaSpecificationsHasBeenSet() const
CreateTableRequest & WithKeyspaceName(const Aws::String &value)
void SetClientSideTimestamps(const ClientSideTimestamps &value)
CreateTableRequest & WithKeyspaceName(Aws::String &&value)
CreateTableRequest & WithEncryptionSpecification(const EncryptionSpecification &value)
void SetTableName(const char *value)
CreateTableRequest & WithCapacitySpecification(const CapacitySpecification &value)
const PointInTimeRecovery & GetPointInTimeRecovery() const
AWS_KEYSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetKeyspaceName(const char *value)
virtual const char * GetServiceRequestName() const override
CreateTableRequest & WithTableName(Aws::String &&value)
void SetCapacitySpecification(CapacitySpecification &&value)
const Aws::String & GetTableName() const
bool ClientSideTimestampsHasBeenSet() const
void SetDefaultTimeToLive(int value)
void SetTags(Aws::Vector< Tag > &&value)
CreateTableRequest & AddReplicaSpecifications(ReplicaSpecification &&value)
void SetTtl(const TimeToLive &value)
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