7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
10#include <aws/timestream-write/model/MagneticStoreWriteProperties.h>
11#include <aws/timestream-write/model/RetentionProperties.h>
12#include <aws/timestream-write/model/Schema.h>
13#include <aws/timestream-write/model/TableStatus.h>
24namespace TimestreamWrite {
36 AWS_TIMESTREAMWRITE_API
Table() =
default;
47 template <
typename ArnT = Aws::String>
49 m_arnHasBeenSet =
true;
50 m_arn = std::forward<ArnT>(value);
52 template <
typename ArnT = Aws::String>
54 SetArn(std::forward<ArnT>(value));
65 template <
typename TableNameT = Aws::String>
67 m_tableNameHasBeenSet =
true;
68 m_tableName = std::forward<TableNameT>(value);
70 template <
typename TableNameT = Aws::String>
83 template <
typename DatabaseNameT = Aws::String>
85 m_databaseNameHasBeenSet =
true;
86 m_databaseName = std::forward<DatabaseNameT>(value);
88 template <
typename DatabaseNameT = Aws::String>
104 m_tableStatusHasBeenSet =
true;
105 m_tableStatus = value;
119 template <
typename RetentionPropertiesT = RetentionProperties>
121 m_retentionPropertiesHasBeenSet =
true;
122 m_retentionProperties = std::forward<RetentionPropertiesT>(value);
124 template <
typename RetentionPropertiesT = RetentionProperties>
137 template <
typename CreationTimeT = Aws::Utils::DateTime>
139 m_creationTimeHasBeenSet =
true;
140 m_creationTime = std::forward<CreationTimeT>(value);
142 template <
typename CreationTimeT = Aws::Utils::DateTime>
155 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
157 m_lastUpdatedTimeHasBeenSet =
true;
158 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
160 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
174 template <
typename MagneticStoreWritePropertiesT = MagneticStoreWriteProperties>
176 m_magneticStoreWritePropertiesHasBeenSet =
true;
177 m_magneticStoreWriteProperties = std::forward<MagneticStoreWritePropertiesT>(value);
179 template <
typename MagneticStoreWritePropertiesT = MagneticStoreWriteProperties>
192 template <
typename SchemaT = Schema>
194 m_schemaHasBeenSet =
true;
195 m_schema = std::forward<SchemaT>(value);
197 template <
typename SchemaT = Schema>
212 RetentionProperties m_retentionProperties;
218 MagneticStoreWriteProperties m_magneticStoreWriteProperties;
221 bool m_arnHasBeenSet =
false;
222 bool m_tableNameHasBeenSet =
false;
223 bool m_databaseNameHasBeenSet =
false;
224 bool m_tableStatusHasBeenSet =
false;
225 bool m_retentionPropertiesHasBeenSet =
false;
226 bool m_creationTimeHasBeenSet =
false;
227 bool m_lastUpdatedTimeHasBeenSet =
false;
228 bool m_magneticStoreWritePropertiesHasBeenSet =
false;
229 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