/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a collection of related data organized in columns and
* rows.See Also:
AWS API
* Reference
The table name. For Hive compatibility, this must be entirely lowercase.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The table name. For Hive compatibility, this must be entirely lowercase.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The table name. For Hive compatibility, this must be entirely lowercase.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The table name. For Hive compatibility, this must be entirely lowercase.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The table name. For Hive compatibility, this must be entirely lowercase.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The table name. For Hive compatibility, this must be entirely lowercase.
*/ inline Table& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The table name. For Hive compatibility, this must be entirely lowercase.
*/ inline Table& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The table name. For Hive compatibility, this must be entirely lowercase.
*/ inline Table& WithName(const char* value) { SetName(value); return *this;} /** *The name of the database where the table metadata resides. For Hive * compatibility, this must be all lowercase.
*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *The name of the database where the table metadata resides. For Hive * compatibility, this must be all lowercase.
*/ inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } /** *The name of the database where the table metadata resides. For Hive * compatibility, this must be all lowercase.
*/ inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } /** *The name of the database where the table metadata resides. For Hive * compatibility, this must be all lowercase.
*/ inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } /** *The name of the database where the table metadata resides. For Hive * compatibility, this must be all lowercase.
*/ inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } /** *The name of the database where the table metadata resides. For Hive * compatibility, this must be all lowercase.
*/ inline Table& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *The name of the database where the table metadata resides. For Hive * compatibility, this must be all lowercase.
*/ inline Table& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *The name of the database where the table metadata resides. For Hive * compatibility, this must be all lowercase.
*/ inline Table& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} /** *A description of the table.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the table.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the table.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the table.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the table.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the table.
*/ inline Table& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the table.
*/ inline Table& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the table.
*/ inline Table& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The owner of the table.
*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *The owner of the table.
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *The owner of the table.
*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *The owner of the table.
*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *The owner of the table.
*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *The owner of the table.
*/ inline Table& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *The owner of the table.
*/ inline Table& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *The owner of the table.
*/ inline Table& WithOwner(const char* value) { SetOwner(value); return *this;} /** *The time when the table definition was created in the Data Catalog.
*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *The time when the table definition was created in the Data Catalog.
*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *The time when the table definition was created in the Data Catalog.
*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *The time when the table definition was created in the Data Catalog.
*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *The time when the table definition was created in the Data Catalog.
*/ inline Table& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *The time when the table definition was created in the Data Catalog.
*/ inline Table& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *The last time that the table was updated.
*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *The last time that the table was updated.
*/ inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *The last time that the table was updated.
*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } /** *The last time that the table was updated.
*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } /** *The last time that the table was updated.
*/ inline Table& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *The last time that the table was updated.
*/ inline Table& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} /** *The last time that the table was accessed. This is usually taken from HDFS, * and might not be reliable.
*/ inline const Aws::Utils::DateTime& GetLastAccessTime() const{ return m_lastAccessTime; } /** *The last time that the table was accessed. This is usually taken from HDFS, * and might not be reliable.
*/ inline bool LastAccessTimeHasBeenSet() const { return m_lastAccessTimeHasBeenSet; } /** *The last time that the table was accessed. This is usually taken from HDFS, * and might not be reliable.
*/ inline void SetLastAccessTime(const Aws::Utils::DateTime& value) { m_lastAccessTimeHasBeenSet = true; m_lastAccessTime = value; } /** *The last time that the table was accessed. This is usually taken from HDFS, * and might not be reliable.
*/ inline void SetLastAccessTime(Aws::Utils::DateTime&& value) { m_lastAccessTimeHasBeenSet = true; m_lastAccessTime = std::move(value); } /** *The last time that the table was accessed. This is usually taken from HDFS, * and might not be reliable.
*/ inline Table& WithLastAccessTime(const Aws::Utils::DateTime& value) { SetLastAccessTime(value); return *this;} /** *The last time that the table was accessed. This is usually taken from HDFS, * and might not be reliable.
*/ inline Table& WithLastAccessTime(Aws::Utils::DateTime&& value) { SetLastAccessTime(std::move(value)); return *this;} /** *The last time that column statistics were computed for this table.
*/ inline const Aws::Utils::DateTime& GetLastAnalyzedTime() const{ return m_lastAnalyzedTime; } /** *The last time that column statistics were computed for this table.
*/ inline bool LastAnalyzedTimeHasBeenSet() const { return m_lastAnalyzedTimeHasBeenSet; } /** *The last time that column statistics were computed for this table.
*/ inline void SetLastAnalyzedTime(const Aws::Utils::DateTime& value) { m_lastAnalyzedTimeHasBeenSet = true; m_lastAnalyzedTime = value; } /** *The last time that column statistics were computed for this table.
*/ inline void SetLastAnalyzedTime(Aws::Utils::DateTime&& value) { m_lastAnalyzedTimeHasBeenSet = true; m_lastAnalyzedTime = std::move(value); } /** *The last time that column statistics were computed for this table.
*/ inline Table& WithLastAnalyzedTime(const Aws::Utils::DateTime& value) { SetLastAnalyzedTime(value); return *this;} /** *The last time that column statistics were computed for this table.
*/ inline Table& WithLastAnalyzedTime(Aws::Utils::DateTime&& value) { SetLastAnalyzedTime(std::move(value)); return *this;} /** *The retention time for this table.
*/ inline int GetRetention() const{ return m_retention; } /** *The retention time for this table.
*/ inline bool RetentionHasBeenSet() const { return m_retentionHasBeenSet; } /** *The retention time for this table.
*/ inline void SetRetention(int value) { m_retentionHasBeenSet = true; m_retention = value; } /** *The retention time for this table.
*/ inline Table& WithRetention(int value) { SetRetention(value); return *this;} /** *A storage descriptor containing information about the physical storage of * this table.
*/ inline const StorageDescriptor& GetStorageDescriptor() const{ return m_storageDescriptor; } /** *A storage descriptor containing information about the physical storage of * this table.
*/ inline bool StorageDescriptorHasBeenSet() const { return m_storageDescriptorHasBeenSet; } /** *A storage descriptor containing information about the physical storage of * this table.
*/ inline void SetStorageDescriptor(const StorageDescriptor& value) { m_storageDescriptorHasBeenSet = true; m_storageDescriptor = value; } /** *A storage descriptor containing information about the physical storage of * this table.
*/ inline void SetStorageDescriptor(StorageDescriptor&& value) { m_storageDescriptorHasBeenSet = true; m_storageDescriptor = std::move(value); } /** *A storage descriptor containing information about the physical storage of * this table.
*/ inline Table& WithStorageDescriptor(const StorageDescriptor& value) { SetStorageDescriptor(value); return *this;} /** *A storage descriptor containing information about the physical storage of * this table.
*/ inline Table& WithStorageDescriptor(StorageDescriptor&& value) { SetStorageDescriptor(std::move(value)); return *this;} /** *A list of columns by which the table is partitioned. Only primitive types are * supported as partition keys.
When you create a table used by Amazon
* Athena, and you do not specify any partitionKeys, you must at least
* set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
A list of columns by which the table is partitioned. Only primitive types are * supported as partition keys.
When you create a table used by Amazon
* Athena, and you do not specify any partitionKeys, you must at least
* set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
A list of columns by which the table is partitioned. Only primitive types are * supported as partition keys.
When you create a table used by Amazon
* Athena, and you do not specify any partitionKeys, you must at least
* set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
A list of columns by which the table is partitioned. Only primitive types are * supported as partition keys.
When you create a table used by Amazon
* Athena, and you do not specify any partitionKeys, you must at least
* set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
A list of columns by which the table is partitioned. Only primitive types are * supported as partition keys.
When you create a table used by Amazon
* Athena, and you do not specify any partitionKeys, you must at least
* set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
A list of columns by which the table is partitioned. Only primitive types are * supported as partition keys.
When you create a table used by Amazon
* Athena, and you do not specify any partitionKeys, you must at least
* set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
A list of columns by which the table is partitioned. Only primitive types are * supported as partition keys.
When you create a table used by Amazon
* Athena, and you do not specify any partitionKeys, you must at least
* set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
A list of columns by which the table is partitioned. Only primitive types are * supported as partition keys.
When you create a table used by Amazon
* Athena, and you do not specify any partitionKeys, you must at least
* set the value of partitionKeys to an empty list. For example:
"PartitionKeys": []
If the table is a view, the original text of the view; otherwise
* null.
If the table is a view, the original text of the view; otherwise
* null.
If the table is a view, the original text of the view; otherwise
* null.
If the table is a view, the original text of the view; otherwise
* null.
If the table is a view, the original text of the view; otherwise
* null.
If the table is a view, the original text of the view; otherwise
* null.
If the table is a view, the original text of the view; otherwise
* null.
If the table is a view, the original text of the view; otherwise
* null.
If the table is a view, the expanded text of the view; otherwise
* null.
If the table is a view, the expanded text of the view; otherwise
* null.
If the table is a view, the expanded text of the view; otherwise
* null.
If the table is a view, the expanded text of the view; otherwise
* null.
If the table is a view, the expanded text of the view; otherwise
* null.
If the table is a view, the expanded text of the view; otherwise
* null.
If the table is a view, the expanded text of the view; otherwise
* null.
If the table is a view, the expanded text of the view; otherwise
* null.
The type of this table (EXTERNAL_TABLE,
* VIRTUAL_VIEW, etc.).
The type of this table (EXTERNAL_TABLE,
* VIRTUAL_VIEW, etc.).
The type of this table (EXTERNAL_TABLE,
* VIRTUAL_VIEW, etc.).
The type of this table (EXTERNAL_TABLE,
* VIRTUAL_VIEW, etc.).
The type of this table (EXTERNAL_TABLE,
* VIRTUAL_VIEW, etc.).
The type of this table (EXTERNAL_TABLE,
* VIRTUAL_VIEW, etc.).
The type of this table (EXTERNAL_TABLE,
* VIRTUAL_VIEW, etc.).
The type of this table (EXTERNAL_TABLE,
* VIRTUAL_VIEW, etc.).
These key-value pairs define properties associated with the table.
*/ inline const Aws::MapThese key-value pairs define properties associated with the table.
*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *These key-value pairs define properties associated with the table.
*/ inline void SetParameters(const Aws::MapThese key-value pairs define properties associated with the table.
*/ inline void SetParameters(Aws::MapThese key-value pairs define properties associated with the table.
*/ inline Table& WithParameters(const Aws::MapThese key-value pairs define properties associated with the table.
*/ inline Table& WithParameters(Aws::MapThese key-value pairs define properties associated with the table.
*/ inline Table& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } /** *These key-value pairs define properties associated with the table.
*/ inline Table& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *These key-value pairs define properties associated with the table.
*/ inline Table& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *These key-value pairs define properties associated with the table.
*/ inline Table& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } /** *These key-value pairs define properties associated with the table.
*/ inline Table& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *These key-value pairs define properties associated with the table.
*/ inline Table& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *These key-value pairs define properties associated with the table.
*/ inline Table& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } /** *The person or entity who created the table.
*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *The person or entity who created the table.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *The person or entity who created the table.
*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *The person or entity who created the table.
*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *The person or entity who created the table.
*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *The person or entity who created the table.
*/ inline Table& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *The person or entity who created the table.
*/ inline Table& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *The person or entity who created the table.
*/ inline Table& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *Indicates whether the table has been registered with AWS Lake Formation.
*/ inline bool GetIsRegisteredWithLakeFormation() const{ return m_isRegisteredWithLakeFormation; } /** *Indicates whether the table has been registered with AWS Lake Formation.
*/ inline bool IsRegisteredWithLakeFormationHasBeenSet() const { return m_isRegisteredWithLakeFormationHasBeenSet; } /** *Indicates whether the table has been registered with AWS Lake Formation.
*/ inline void SetIsRegisteredWithLakeFormation(bool value) { m_isRegisteredWithLakeFormationHasBeenSet = true; m_isRegisteredWithLakeFormation = value; } /** *Indicates whether the table has been registered with AWS Lake Formation.
*/ inline Table& WithIsRegisteredWithLakeFormation(bool value) { SetIsRegisteredWithLakeFormation(value); return *this;} /** *A TableIdentifier structure that describes a target table for
* resource linking.
A TableIdentifier structure that describes a target table for
* resource linking.
A TableIdentifier structure that describes a target table for
* resource linking.
A TableIdentifier structure that describes a target table for
* resource linking.
A TableIdentifier structure that describes a target table for
* resource linking.
A TableIdentifier structure that describes a target table for
* resource linking.
The ID of the Data Catalog in which the table resides.
*/ inline const Aws::String& GetCatalogId() const{ return m_catalogId; } /** *The ID of the Data Catalog in which the table resides.
*/ inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } /** *The ID of the Data Catalog in which the table resides.
*/ inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } /** *The ID of the Data Catalog in which the table resides.
*/ inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } /** *The ID of the Data Catalog in which the table resides.
*/ inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } /** *The ID of the Data Catalog in which the table resides.
*/ inline Table& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} /** *The ID of the Data Catalog in which the table resides.
*/ inline Table& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} /** *The ID of the Data Catalog in which the table resides.
*/ inline Table& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_databaseName; bool m_databaseNameHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; Aws::String m_owner; bool m_ownerHasBeenSet; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet; Aws::Utils::DateTime m_lastAccessTime; bool m_lastAccessTimeHasBeenSet; Aws::Utils::DateTime m_lastAnalyzedTime; bool m_lastAnalyzedTimeHasBeenSet; int m_retention; bool m_retentionHasBeenSet; StorageDescriptor m_storageDescriptor; bool m_storageDescriptorHasBeenSet; Aws::Vector