7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-write/model/TableStatus.h>
10#include <aws/timestream-write/model/RetentionProperties.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/timestream-write/model/MagneticStoreWriteProperties.h>
13#include <aws/timestream-write/model/Schema.h>
26namespace TimestreamWrite
41 AWS_TIMESTREAMWRITE_API
Table() =
default;
53 template<
typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
55 template<
typename ArnT = Aws::String>
65 template<
typename TableNameT = Aws::String>
66 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
67 template<
typename TableNameT = Aws::String>
77 template<
typename DatabaseNameT = Aws::String>
78 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
79 template<
typename DatabaseNameT = Aws::String>
101 template<
typename RetentionPropertiesT = RetentionProperties>
102 void SetRetentionProperties(RetentionPropertiesT&& value) { m_retentionPropertiesHasBeenSet =
true; m_retentionProperties = std::forward<RetentionPropertiesT>(value); }
103 template<
typename RetentionPropertiesT = RetentionProperties>
113 template<
typename CreationTimeT = Aws::Utils::DateTime>
114 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
115 template<
typename CreationTimeT = Aws::Utils::DateTime>
125 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
126 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
127 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
138 template<
typename MagneticStoreWritePropertiesT = MagneticStoreWriteProperties>
139 void SetMagneticStoreWriteProperties(MagneticStoreWritePropertiesT&& value) { m_magneticStoreWritePropertiesHasBeenSet =
true; m_magneticStoreWriteProperties = std::forward<MagneticStoreWritePropertiesT>(value); }
140 template<
typename MagneticStoreWritePropertiesT = MagneticStoreWriteProperties>
150 template<
typename SchemaT = Schema>
151 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet =
true; m_schema = std::forward<SchemaT>(value); }
152 template<
typename SchemaT = Schema>
158 bool m_arnHasBeenSet =
false;
161 bool m_tableNameHasBeenSet =
false;
164 bool m_databaseNameHasBeenSet =
false;
167 bool m_tableStatusHasBeenSet =
false;
169 RetentionProperties m_retentionProperties;
170 bool m_retentionPropertiesHasBeenSet =
false;
173 bool m_creationTimeHasBeenSet =
false;
176 bool m_lastUpdatedTimeHasBeenSet =
false;
178 MagneticStoreWriteProperties m_magneticStoreWriteProperties;
179 bool m_magneticStoreWritePropertiesHasBeenSet =
false;
182 bool m_schemaHasBeenSet =
false;
Table & WithSchema(SchemaT &&value)
Table & WithDatabaseName(DatabaseNameT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
void SetTableStatus(TableStatus value)
void SetArn(ArnT &&value)
AWS_TIMESTREAMWRITE_API Table & operator=(Aws::Utils::Json::JsonView jsonValue)
TableStatus GetTableStatus() const
bool SchemaHasBeenSet() const
bool DatabaseNameHasBeenSet() const
bool ArnHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
AWS_TIMESTREAMWRITE_API Table()=default
Table & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool MagneticStoreWritePropertiesHasBeenSet() const
Table & WithTableStatus(TableStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetTableName() const
bool TableNameHasBeenSet() const
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
const RetentionProperties & GetRetentionProperties() const
Table & WithTableName(TableNameT &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Table & WithRetentionProperties(RetentionPropertiesT &&value)
Table & WithArn(ArnT &&value)
void SetDatabaseName(DatabaseNameT &&value)
void SetSchema(SchemaT &&value)
Table & WithCreationTime(CreationTimeT &&value)
const MagneticStoreWriteProperties & GetMagneticStoreWriteProperties() const
void SetTableName(TableNameT &&value)
void SetMagneticStoreWriteProperties(MagneticStoreWritePropertiesT &&value)
void SetRetentionProperties(RetentionPropertiesT &&value)
bool RetentionPropertiesHasBeenSet() const
AWS_TIMESTREAMWRITE_API Table(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatabaseName() const
const Schema & GetSchema() const
bool TableStatusHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
Table & WithMagneticStoreWriteProperties(MagneticStoreWritePropertiesT &&value)
bool CreationTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue