7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/timestream-write/TimestreamWriteRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/timestream-write/model/RetentionProperties.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/timestream-write/model/MagneticStoreWriteProperties.h>
13#include <aws/timestream-write/model/Schema.h>
14#include <aws/timestream-write/model/Tag.h>
19namespace TimestreamWrite
50 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
64 inline void SetTableName(
const char* value) { m_tableNameHasBeenSet =
true; m_tableName.assign(value); }
116 inline void SetSchema(
const Schema& value) { m_schemaHasBeenSet =
true; m_schema = value; }
117 inline void SetSchema(
Schema&& value) { m_schemaHasBeenSet =
true; m_schema = std::move(value); }
124 bool m_databaseNameHasBeenSet =
false;
127 bool m_tableNameHasBeenSet =
false;
130 bool m_retentionPropertiesHasBeenSet =
false;
133 bool m_tagsHasBeenSet =
false;
136 bool m_magneticStoreWritePropertiesHasBeenSet =
false;
139 bool m_schemaHasBeenSet =
false;
AWS_TIMESTREAMWRITE_API CreateTableRequest()
CreateTableRequest & WithMagneticStoreWriteProperties(MagneticStoreWriteProperties &&value)
CreateTableRequest & WithTableName(Aws::String &&value)
bool SchemaHasBeenSet() const
CreateTableRequest & WithTags(const Aws::Vector< Tag > &value)
CreateTableRequest & WithSchema(Schema &&value)
CreateTableRequest & WithDatabaseName(const char *value)
const Aws::String & GetDatabaseName() const
void SetSchema(Schema &&value)
AWS_TIMESTREAMWRITE_API Aws::String SerializePayload() const override
void SetTags(Aws::Vector< Tag > &&value)
bool RetentionPropertiesHasBeenSet() const
void SetDatabaseName(Aws::String &&value)
const Schema & GetSchema() const
void SetDatabaseName(const char *value)
const RetentionProperties & GetRetentionProperties() const
bool TagsHasBeenSet() const
CreateTableRequest & WithMagneticStoreWriteProperties(const MagneticStoreWriteProperties &value)
AWS_TIMESTREAMWRITE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTableName(const char *value)
virtual const char * GetServiceRequestName() const override
bool DatabaseNameHasBeenSet() const
CreateTableRequest & WithSchema(const Schema &value)
void SetDatabaseName(const Aws::String &value)
void SetMagneticStoreWriteProperties(MagneticStoreWriteProperties &&value)
void SetRetentionProperties(RetentionProperties &&value)
void SetSchema(const Schema &value)
CreateTableRequest & WithTableName(const Aws::String &value)
CreateTableRequest & WithDatabaseName(Aws::String &&value)
CreateTableRequest & WithTags(Aws::Vector< Tag > &&value)
void SetMagneticStoreWriteProperties(const MagneticStoreWriteProperties &value)
const MagneticStoreWriteProperties & GetMagneticStoreWriteProperties() const
void SetTags(const Aws::Vector< Tag > &value)
bool MagneticStoreWritePropertiesHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
CreateTableRequest & WithDatabaseName(const Aws::String &value)
CreateTableRequest & AddTags(const Tag &value)
CreateTableRequest & WithRetentionProperties(const RetentionProperties &value)
const Aws::String & GetTableName() const
void SetRetentionProperties(const RetentionProperties &value)
CreateTableRequest & WithTableName(const char *value)
void SetTableName(Aws::String &&value)
bool TableNameHasBeenSet() const
void SetTableName(const Aws::String &value)
CreateTableRequest & WithRetentionProperties(RetentionProperties &&value)
CreateTableRequest & AddTags(Tag &&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