/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Represents a collection of related data organized in columns and * rows.

See Also:

AWS API * Reference

*/ class Table { public: AWS_GLUE_API Table(); AWS_GLUE_API Table(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Table& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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": []

*/ inline const Aws::Vector& GetPartitionKeys() const{ return m_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": []

*/ inline bool PartitionKeysHasBeenSet() const { return m_partitionKeysHasBeenSet; } /** *

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": []

*/ inline void SetPartitionKeys(const Aws::Vector& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = value; } /** *

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": []

*/ inline void SetPartitionKeys(Aws::Vector&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = std::move(value); } /** *

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": []

*/ inline Table& WithPartitionKeys(const Aws::Vector& value) { SetPartitionKeys(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": []

*/ inline Table& WithPartitionKeys(Aws::Vector&& value) { SetPartitionKeys(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": []

*/ inline Table& AddPartitionKeys(const Column& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(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": []

*/ inline Table& AddPartitionKeys(Column&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(std::move(value)); return *this; } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations. If the table is a VIRTUAL_VIEW, certain Athena * configuration encoded in base64.

*/ inline const Aws::String& GetViewOriginalText() const{ return m_viewOriginalText; } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations. If the table is a VIRTUAL_VIEW, certain Athena * configuration encoded in base64.

*/ inline bool ViewOriginalTextHasBeenSet() const { return m_viewOriginalTextHasBeenSet; } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations. If the table is a VIRTUAL_VIEW, certain Athena * configuration encoded in base64.

*/ inline void SetViewOriginalText(const Aws::String& value) { m_viewOriginalTextHasBeenSet = true; m_viewOriginalText = value; } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations. If the table is a VIRTUAL_VIEW, certain Athena * configuration encoded in base64.

*/ inline void SetViewOriginalText(Aws::String&& value) { m_viewOriginalTextHasBeenSet = true; m_viewOriginalText = std::move(value); } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations. If the table is a VIRTUAL_VIEW, certain Athena * configuration encoded in base64.

*/ inline void SetViewOriginalText(const char* value) { m_viewOriginalTextHasBeenSet = true; m_viewOriginalText.assign(value); } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations. If the table is a VIRTUAL_VIEW, certain Athena * configuration encoded in base64.

*/ inline Table& WithViewOriginalText(const Aws::String& value) { SetViewOriginalText(value); return *this;} /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations. If the table is a VIRTUAL_VIEW, certain Athena * configuration encoded in base64.

*/ inline Table& WithViewOriginalText(Aws::String&& value) { SetViewOriginalText(std::move(value)); return *this;} /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations. If the table is a VIRTUAL_VIEW, certain Athena * configuration encoded in base64.

*/ inline Table& WithViewOriginalText(const char* value) { SetViewOriginalText(value); return *this;} /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations.

*/ inline const Aws::String& GetViewExpandedText() const{ return m_viewExpandedText; } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations.

*/ inline bool ViewExpandedTextHasBeenSet() const { return m_viewExpandedTextHasBeenSet; } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations.

*/ inline void SetViewExpandedText(const Aws::String& value) { m_viewExpandedTextHasBeenSet = true; m_viewExpandedText = value; } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations.

*/ inline void SetViewExpandedText(Aws::String&& value) { m_viewExpandedTextHasBeenSet = true; m_viewExpandedText = std::move(value); } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations.

*/ inline void SetViewExpandedText(const char* value) { m_viewExpandedTextHasBeenSet = true; m_viewExpandedText.assign(value); } /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations.

*/ inline Table& WithViewExpandedText(const Aws::String& value) { SetViewExpandedText(value); return *this;} /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations.

*/ inline Table& WithViewExpandedText(Aws::String&& value) { SetViewExpandedText(std::move(value)); return *this;} /** *

Included for Apache Hive compatibility. Not used in the normal course of Glue * operations.

*/ inline Table& WithViewExpandedText(const char* value) { SetViewExpandedText(value); return *this;} /** *

The type of this table. Glue will create tables with the * EXTERNAL_TABLE type. Other services, such as Athena, may create * tables with additional table types.

Glue related table types:

*
EXTERNAL_TABLE

Hive compatible attribute - indicates a non-Hive * managed table.

GOVERNED

Used by Lake Formation. The * Glue Data Catalog understands GOVERNED.

*/ inline const Aws::String& GetTableType() const{ return m_tableType; } /** *

The type of this table. Glue will create tables with the * EXTERNAL_TABLE type. Other services, such as Athena, may create * tables with additional table types.

Glue related table types:

*
EXTERNAL_TABLE

Hive compatible attribute - indicates a non-Hive * managed table.

GOVERNED

Used by Lake Formation. The * Glue Data Catalog understands GOVERNED.

*/ inline bool TableTypeHasBeenSet() const { return m_tableTypeHasBeenSet; } /** *

The type of this table. Glue will create tables with the * EXTERNAL_TABLE type. Other services, such as Athena, may create * tables with additional table types.

Glue related table types:

*
EXTERNAL_TABLE

Hive compatible attribute - indicates a non-Hive * managed table.

GOVERNED

Used by Lake Formation. The * Glue Data Catalog understands GOVERNED.

*/ inline void SetTableType(const Aws::String& value) { m_tableTypeHasBeenSet = true; m_tableType = value; } /** *

The type of this table. Glue will create tables with the * EXTERNAL_TABLE type. Other services, such as Athena, may create * tables with additional table types.

Glue related table types:

*
EXTERNAL_TABLE

Hive compatible attribute - indicates a non-Hive * managed table.

GOVERNED

Used by Lake Formation. The * Glue Data Catalog understands GOVERNED.

*/ inline void SetTableType(Aws::String&& value) { m_tableTypeHasBeenSet = true; m_tableType = std::move(value); } /** *

The type of this table. Glue will create tables with the * EXTERNAL_TABLE type. Other services, such as Athena, may create * tables with additional table types.

Glue related table types:

*
EXTERNAL_TABLE

Hive compatible attribute - indicates a non-Hive * managed table.

GOVERNED

Used by Lake Formation. The * Glue Data Catalog understands GOVERNED.

*/ inline void SetTableType(const char* value) { m_tableTypeHasBeenSet = true; m_tableType.assign(value); } /** *

The type of this table. Glue will create tables with the * EXTERNAL_TABLE type. Other services, such as Athena, may create * tables with additional table types.

Glue related table types:

*
EXTERNAL_TABLE

Hive compatible attribute - indicates a non-Hive * managed table.

GOVERNED

Used by Lake Formation. The * Glue Data Catalog understands GOVERNED.

*/ inline Table& WithTableType(const Aws::String& value) { SetTableType(value); return *this;} /** *

The type of this table. Glue will create tables with the * EXTERNAL_TABLE type. Other services, such as Athena, may create * tables with additional table types.

Glue related table types:

*
EXTERNAL_TABLE

Hive compatible attribute - indicates a non-Hive * managed table.

GOVERNED

Used by Lake Formation. The * Glue Data Catalog understands GOVERNED.

*/ inline Table& WithTableType(Aws::String&& value) { SetTableType(std::move(value)); return *this;} /** *

The type of this table. Glue will create tables with the * EXTERNAL_TABLE type. Other services, such as Athena, may create * tables with additional table types.

Glue related table types:

*
EXTERNAL_TABLE

Hive compatible attribute - indicates a non-Hive * managed table.

GOVERNED

Used by Lake Formation. The * Glue Data Catalog understands GOVERNED.

*/ inline Table& WithTableType(const char* value) { SetTableType(value); return *this;} /** *

These key-value pairs define properties associated with the table.

*/ inline const Aws::Map& GetParameters() const{ return m_parameters; } /** *

These 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::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

These key-value pairs define properties associated with the table.

*/ inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

These key-value pairs define properties associated with the table.

*/ inline Table& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} /** *

These key-value pairs define properties associated with the table.

*/ inline Table& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} /** *

These 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 Lake Formation.

*/ inline bool GetIsRegisteredWithLakeFormation() const{ return m_isRegisteredWithLakeFormation; } /** *

Indicates whether the table has been registered with Lake Formation.

*/ inline bool IsRegisteredWithLakeFormationHasBeenSet() const { return m_isRegisteredWithLakeFormationHasBeenSet; } /** *

Indicates whether the table has been registered with Lake Formation.

*/ inline void SetIsRegisteredWithLakeFormation(bool value) { m_isRegisteredWithLakeFormationHasBeenSet = true; m_isRegisteredWithLakeFormation = value; } /** *

Indicates whether the table has been registered with Lake Formation.

*/ inline Table& WithIsRegisteredWithLakeFormation(bool value) { SetIsRegisteredWithLakeFormation(value); return *this;} /** *

A TableIdentifier structure that describes a target table for * resource linking.

*/ inline const TableIdentifier& GetTargetTable() const{ return m_targetTable; } /** *

A TableIdentifier structure that describes a target table for * resource linking.

*/ inline bool TargetTableHasBeenSet() const { return m_targetTableHasBeenSet; } /** *

A TableIdentifier structure that describes a target table for * resource linking.

*/ inline void SetTargetTable(const TableIdentifier& value) { m_targetTableHasBeenSet = true; m_targetTable = value; } /** *

A TableIdentifier structure that describes a target table for * resource linking.

*/ inline void SetTargetTable(TableIdentifier&& value) { m_targetTableHasBeenSet = true; m_targetTable = std::move(value); } /** *

A TableIdentifier structure that describes a target table for * resource linking.

*/ inline Table& WithTargetTable(const TableIdentifier& value) { SetTargetTable(value); return *this;} /** *

A TableIdentifier structure that describes a target table for * resource linking.

*/ inline Table& WithTargetTable(TableIdentifier&& value) { SetTargetTable(std::move(value)); return *this;} /** *

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;} /** *

The ID of the table version.

*/ inline const Aws::String& GetVersionId() const{ return m_versionId; } /** *

The ID of the table version.

*/ inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } /** *

The ID of the table version.

*/ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** *

The ID of the table version.

*/ inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } /** *

The ID of the table version.

*/ inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } /** *

The ID of the table version.

*/ inline Table& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} /** *

The ID of the table version.

*/ inline Table& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} /** *

The ID of the table version.

*/ inline Table& WithVersionId(const char* value) { SetVersionId(value); return *this;} /** *

A FederatedTable structure that references an entity outside the * Glue Data Catalog.

*/ inline const FederatedTable& GetFederatedTable() const{ return m_federatedTable; } /** *

A FederatedTable structure that references an entity outside the * Glue Data Catalog.

*/ inline bool FederatedTableHasBeenSet() const { return m_federatedTableHasBeenSet; } /** *

A FederatedTable structure that references an entity outside the * Glue Data Catalog.

*/ inline void SetFederatedTable(const FederatedTable& value) { m_federatedTableHasBeenSet = true; m_federatedTable = value; } /** *

A FederatedTable structure that references an entity outside the * Glue Data Catalog.

*/ inline void SetFederatedTable(FederatedTable&& value) { m_federatedTableHasBeenSet = true; m_federatedTable = std::move(value); } /** *

A FederatedTable structure that references an entity outside the * Glue Data Catalog.

*/ inline Table& WithFederatedTable(const FederatedTable& value) { SetFederatedTable(value); return *this;} /** *

A FederatedTable structure that references an entity outside the * Glue Data Catalog.

*/ inline Table& WithFederatedTable(FederatedTable&& value) { SetFederatedTable(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastAccessTime; bool m_lastAccessTimeHasBeenSet = false; Aws::Utils::DateTime m_lastAnalyzedTime; bool m_lastAnalyzedTimeHasBeenSet = false; int m_retention; bool m_retentionHasBeenSet = false; StorageDescriptor m_storageDescriptor; bool m_storageDescriptorHasBeenSet = false; Aws::Vector m_partitionKeys; bool m_partitionKeysHasBeenSet = false; Aws::String m_viewOriginalText; bool m_viewOriginalTextHasBeenSet = false; Aws::String m_viewExpandedText; bool m_viewExpandedTextHasBeenSet = false; Aws::String m_tableType; bool m_tableTypeHasBeenSet = false; Aws::Map m_parameters; bool m_parametersHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; bool m_isRegisteredWithLakeFormation; bool m_isRegisteredWithLakeFormationHasBeenSet = false; TableIdentifier m_targetTable; bool m_targetTableHasBeenSet = false; Aws::String m_catalogId; bool m_catalogIdHasBeenSet = false; Aws::String m_versionId; bool m_versionIdHasBeenSet = false; FederatedTable m_federatedTable; bool m_federatedTableHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws