/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure used to define a table.See Also:
AWS API
* Reference
The table name. For Hive compatibility, this is folded to lowercase when it * is stored.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The table name. For Hive compatibility, this is folded to lowercase when it * is stored.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The table name. For Hive compatibility, this is folded to lowercase when it * is stored.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The table name. For Hive compatibility, this is folded to lowercase when it * is stored.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The table name. For Hive compatibility, this is folded to lowercase when it * is stored.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The table name. For Hive compatibility, this is folded to lowercase when it * is stored.
*/ inline TableInput& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The table name. For Hive compatibility, this is folded to lowercase when it * is stored.
*/ inline TableInput& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The table name. For Hive compatibility, this is folded to lowercase when it * is stored.
*/ inline TableInput& WithName(const char* value) { SetName(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 TableInput& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the table.
*/ inline TableInput& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the table.
*/ inline TableInput& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The table owner. Included for Apache Hive compatibility. Not used in the * normal course of Glue operations.
*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *The table owner. Included for Apache Hive compatibility. Not used in the * normal course of Glue operations.
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *The table owner. Included for Apache Hive compatibility. Not used in the * normal course of Glue operations.
*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *The table owner. Included for Apache Hive compatibility. Not used in the * normal course of Glue operations.
*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *The table owner. Included for Apache Hive compatibility. Not used in the * normal course of Glue operations.
*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *The table owner. Included for Apache Hive compatibility. Not used in the * normal course of Glue operations.
*/ inline TableInput& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *The table owner. Included for Apache Hive compatibility. Not used in the * normal course of Glue operations.
*/ inline TableInput& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *The table owner. Included for Apache Hive compatibility. Not used in the * normal course of Glue operations.
*/ inline TableInput& WithOwner(const char* value) { SetOwner(value); return *this;} /** *The last time that the table was accessed.
*/ inline const Aws::Utils::DateTime& GetLastAccessTime() const{ return m_lastAccessTime; } /** *The last time that the table was accessed.
*/ inline bool LastAccessTimeHasBeenSet() const { return m_lastAccessTimeHasBeenSet; } /** *The last time that the table was accessed.
*/ inline void SetLastAccessTime(const Aws::Utils::DateTime& value) { m_lastAccessTimeHasBeenSet = true; m_lastAccessTime = value; } /** *The last time that the table was accessed.
*/ inline void SetLastAccessTime(Aws::Utils::DateTime&& value) { m_lastAccessTimeHasBeenSet = true; m_lastAccessTime = std::move(value); } /** *The last time that the table was accessed.
*/ inline TableInput& WithLastAccessTime(const Aws::Utils::DateTime& value) { SetLastAccessTime(value); return *this;} /** *The last time that the table was accessed.
*/ inline TableInput& 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 TableInput& WithLastAnalyzedTime(const Aws::Utils::DateTime& value) { SetLastAnalyzedTime(value); return *this;} /** *The last time that column statistics were computed for this table.
*/ inline TableInput& 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 TableInput& 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 TableInput& WithStorageDescriptor(const StorageDescriptor& value) { SetStorageDescriptor(value); return *this;} /** *A storage descriptor containing information about the physical storage of * this table.
*/ inline TableInput& 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": []
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.
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.
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.
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.
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.
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.
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.
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.
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 TableInput& WithViewExpandedText(const Aws::String& value) { SetViewExpandedText(value); return *this;} /** *Included for Apache Hive compatibility. Not used in the normal course of Glue * operations.
*/ inline TableInput& 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 TableInput& 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:
Hive compatible attribute - indicates a non-Hive * managed table.
Used by Lake Formation. The
* Glue Data Catalog understands GOVERNED
.
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:
Hive compatible attribute - indicates a non-Hive * managed table.
Used by Lake Formation. The
* Glue Data Catalog understands GOVERNED
.
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:
Hive compatible attribute - indicates a non-Hive * managed table.
Used by Lake Formation. The
* Glue Data Catalog understands GOVERNED
.
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:
Hive compatible attribute - indicates a non-Hive * managed table.
Used by Lake Formation. The
* Glue Data Catalog understands GOVERNED
.
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:
Hive compatible attribute - indicates a non-Hive * managed table.
Used by Lake Formation. The
* Glue Data Catalog understands GOVERNED
.
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:
Hive compatible attribute - indicates a non-Hive * managed table.
Used by Lake Formation. The
* Glue Data Catalog understands GOVERNED
.
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:
Hive compatible attribute - indicates a non-Hive * managed table.
Used by Lake Formation. The
* Glue Data Catalog understands GOVERNED
.
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:
Hive compatible attribute - indicates a non-Hive * managed table.
Used by Lake Formation. The
* Glue Data Catalog understands GOVERNED
.
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 TableInput& WithParameters(const Aws::MapThese key-value pairs define properties associated with the table.
*/ inline TableInput& WithParameters(Aws::MapThese key-value pairs define properties associated with the table.
*/ inline TableInput& 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 TableInput& 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 TableInput& 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 TableInput& 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 TableInput& 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 TableInput& 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 TableInput& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, 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.