7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSAllocator.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/glue/Glue_EXPORTS.h>
13#include <aws/glue/model/Column.h>
14#include <aws/glue/model/FederatedTable.h>
15#include <aws/glue/model/IcebergTableMetadata.h>
16#include <aws/glue/model/RLSProperties.h>
17#include <aws/glue/model/StorageDescriptor.h>
18#include <aws/glue/model/TableIdentifier.h>
19#include <aws/glue/model/ViewDefinition.h>
53 template <
typename NameT = Aws::String>
55 m_nameHasBeenSet =
true;
56 m_name = std::forward<NameT>(value);
58 template <
typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
72 template <
typename DatabaseNameT = Aws::String>
74 m_databaseNameHasBeenSet =
true;
75 m_databaseName = std::forward<DatabaseNameT>(value);
77 template <
typename DatabaseNameT = Aws::String>
90 template <
typename DescriptionT = Aws::String>
92 m_descriptionHasBeenSet =
true;
93 m_description = std::forward<DescriptionT>(value);
95 template <
typename DescriptionT = Aws::String>
108 template <
typename OwnerT = Aws::String>
110 m_ownerHasBeenSet =
true;
111 m_owner = std::forward<OwnerT>(value);
113 template <
typename OwnerT = Aws::String>
115 SetOwner(std::forward<OwnerT>(value));
126 template <
typename CreateTimeT = Aws::Utils::DateTime>
128 m_createTimeHasBeenSet =
true;
129 m_createTime = std::forward<CreateTimeT>(value);
131 template <
typename CreateTimeT = Aws::Utils::DateTime>
144 template <
typename UpdateTimeT = Aws::Utils::DateTime>
146 m_updateTimeHasBeenSet =
true;
147 m_updateTime = std::forward<UpdateTimeT>(value);
149 template <
typename UpdateTimeT = Aws::Utils::DateTime>
163 template <
typename LastAccessTimeT = Aws::Utils::DateTime>
165 m_lastAccessTimeHasBeenSet =
true;
166 m_lastAccessTime = std::forward<LastAccessTimeT>(value);
168 template <
typename LastAccessTimeT = Aws::Utils::DateTime>
181 template <
typename LastAnalyzedTimeT = Aws::Utils::DateTime>
183 m_lastAnalyzedTimeHasBeenSet =
true;
184 m_lastAnalyzedTime = std::forward<LastAnalyzedTimeT>(value);
186 template <
typename LastAnalyzedTimeT = Aws::Utils::DateTime>
200 m_retentionHasBeenSet =
true;
216 template <
typename StorageDescriptorT = StorageDescriptor>
218 m_storageDescriptorHasBeenSet =
true;
219 m_storageDescriptor = std::forward<StorageDescriptorT>(value);
221 template <
typename StorageDescriptorT = StorageDescriptor>
238 template <
typename PartitionKeysT = Aws::Vector<Column>>
240 m_partitionKeysHasBeenSet =
true;
241 m_partitionKeys = std::forward<PartitionKeysT>(value);
243 template <
typename PartitionKeysT = Aws::Vector<Column>>
248 template <
typename PartitionKeysT = Column>
250 m_partitionKeysHasBeenSet =
true;
251 m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value));
264 template <
typename ViewOriginalTextT = Aws::String>
266 m_viewOriginalTextHasBeenSet =
true;
267 m_viewOriginalText = std::forward<ViewOriginalTextT>(value);
269 template <
typename ViewOriginalTextT = Aws::String>
283 template <
typename ViewExpandedTextT = Aws::String>
285 m_viewExpandedTextHasBeenSet =
true;
286 m_viewExpandedText = std::forward<ViewExpandedTextT>(value);
288 template <
typename ViewExpandedTextT = Aws::String>
306 template <
typename TableTypeT = Aws::String>
308 m_tableTypeHasBeenSet =
true;
309 m_tableType = std::forward<TableTypeT>(value);
311 template <
typename TableTypeT = Aws::String>
324 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
326 m_parametersHasBeenSet =
true;
327 m_parameters = std::forward<ParametersT>(value);
329 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
334 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
336 m_parametersHasBeenSet =
true;
337 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
348 template <
typename CreatedByT = Aws::String>
350 m_createdByHasBeenSet =
true;
351 m_createdBy = std::forward<CreatedByT>(value);
353 template <
typename CreatedByT = Aws::String>
367 m_isRegisteredWithLakeFormationHasBeenSet =
true;
368 m_isRegisteredWithLakeFormation = value;
383 template <
typename TargetTableT = TableIdentifier>
385 m_targetTableHasBeenSet =
true;
386 m_targetTable = std::forward<TargetTableT>(value);
388 template <
typename TargetTableT = TableIdentifier>
401 template <
typename CatalogIdT = Aws::String>
403 m_catalogIdHasBeenSet =
true;
404 m_catalogId = std::forward<CatalogIdT>(value);
406 template <
typename CatalogIdT = Aws::String>
419 template <
typename VersionIdT = Aws::String>
421 m_versionIdHasBeenSet =
true;
422 m_versionId = std::forward<VersionIdT>(value);
424 template <
typename VersionIdT = Aws::String>
438 template <
typename FederatedTableT = FederatedTable>
440 m_federatedTableHasBeenSet =
true;
441 m_federatedTable = std::forward<FederatedTableT>(value);
443 template <
typename FederatedTableT = FederatedTable>
457 template <
typename ViewDefinitionT = ViewDefinition>
459 m_viewDefinitionHasBeenSet =
true;
460 m_viewDefinition = std::forward<ViewDefinitionT>(value);
462 template <
typename ViewDefinitionT = ViewDefinition>
477 m_isMultiDialectViewHasBeenSet =
true;
478 m_isMultiDialectView = value;
493 m_isMaterializedViewHasBeenSet =
true;
494 m_isMaterializedView = value;
511 template <
typename IcebergTableMetadataT = IcebergTableMetadata>
513 m_icebergTableMetadataHasBeenSet =
true;
514 m_icebergTableMetadata = std::forward<IcebergTableMetadataT>(value);
516 template <
typename IcebergTableMetadataT = IcebergTableMetadata>
529 template <
typename StatusT = TableStatus>
531 m_statusHasBeenSet =
true;
532 m_status = Aws::MakeShared<TableStatus>(
"Table", std::forward<StatusT>(value));
534 template <
typename StatusT = TableStatus>
548 template <
typename RLSPropertiesT = RLSProperties>
550 m_rLSPropertiesHasBeenSet =
true;
551 m_rLSProperties = std::forward<RLSPropertiesT>(value);
553 template <
typename RLSPropertiesT = RLSProperties>
578 StorageDescriptor m_storageDescriptor;
592 bool m_isRegisteredWithLakeFormation{
false};
594 TableIdentifier m_targetTable;
600 FederatedTable m_federatedTable;
602 ViewDefinition m_viewDefinition;
604 bool m_isMultiDialectView{
false};
606 bool m_isMaterializedView{
false};
608 IcebergTableMetadata m_icebergTableMetadata;
610 std::shared_ptr<TableStatus> m_status;
612 RLSProperties m_rLSProperties;
613 bool m_nameHasBeenSet =
false;
614 bool m_databaseNameHasBeenSet =
false;
615 bool m_descriptionHasBeenSet =
false;
616 bool m_ownerHasBeenSet =
false;
617 bool m_createTimeHasBeenSet =
false;
618 bool m_updateTimeHasBeenSet =
false;
619 bool m_lastAccessTimeHasBeenSet =
false;
620 bool m_lastAnalyzedTimeHasBeenSet =
false;
621 bool m_retentionHasBeenSet =
false;
622 bool m_storageDescriptorHasBeenSet =
false;
623 bool m_partitionKeysHasBeenSet =
false;
624 bool m_viewOriginalTextHasBeenSet =
false;
625 bool m_viewExpandedTextHasBeenSet =
false;
626 bool m_tableTypeHasBeenSet =
false;
627 bool m_parametersHasBeenSet =
false;
628 bool m_createdByHasBeenSet =
false;
629 bool m_isRegisteredWithLakeFormationHasBeenSet =
false;
630 bool m_targetTableHasBeenSet =
false;
631 bool m_catalogIdHasBeenSet =
false;
632 bool m_versionIdHasBeenSet =
false;
633 bool m_federatedTableHasBeenSet =
false;
634 bool m_viewDefinitionHasBeenSet =
false;
635 bool m_isMultiDialectViewHasBeenSet =
false;
636 bool m_isMaterializedViewHasBeenSet =
false;
637 bool m_icebergTableMetadataHasBeenSet =
false;
638 bool m_statusHasBeenSet =
false;
639 bool m_rLSPropertiesHasBeenSet =
false;
const ViewDefinition & GetViewDefinition() const
Table & WithTargetTable(TargetTableT &&value)
const StorageDescriptor & GetStorageDescriptor() const
const Aws::String & GetTableType() const
Table & WithPartitionKeys(PartitionKeysT &&value)
void SetIsMaterializedView(bool value)
Table & WithDatabaseName(DatabaseNameT &&value)
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
void SetLastAnalyzedTime(LastAnalyzedTimeT &&value)
Table & WithViewOriginalText(ViewOriginalTextT &&value)
Table & WithRetention(int value)
bool CreatedByHasBeenSet() const
Table & WithIsMaterializedView(bool value)
bool FederatedTableHasBeenSet() const
bool IsMaterializedViewHasBeenSet() const
void SetVersionId(VersionIdT &&value)
void SetCreatedBy(CreatedByT &&value)
Table & WithCatalogId(CatalogIdT &&value)
AWS_GLUE_API Table & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreateTimeHasBeenSet() const
bool DatabaseNameHasBeenSet() const
Table & WithUpdateTime(UpdateTimeT &&value)
Table & WithIcebergTableMetadata(IcebergTableMetadataT &&value)
Table & WithIsRegisteredWithLakeFormation(bool value)
const TableStatus & GetStatus() const
const IcebergTableMetadata & GetIcebergTableMetadata() const
const Aws::String & GetCatalogId() const
Table & WithLastAccessTime(LastAccessTimeT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetViewExpandedText() const
Table & WithParameters(ParametersT &&value)
bool IsRegisteredWithLakeFormationHasBeenSet() const
bool GetIsRegisteredWithLakeFormation() const
Table & WithStatus(StatusT &&value)
bool DescriptionHasBeenSet() const
bool PartitionKeysHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Table & WithCreateTime(CreateTimeT &&value)
bool LastAnalyzedTimeHasBeenSet() const
Table & WithRLSProperties(RLSPropertiesT &&value)
Table & WithDescription(DescriptionT &&value)
void SetLastAccessTime(LastAccessTimeT &&value)
Table & WithTableType(TableTypeT &&value)
bool RLSPropertiesHasBeenSet() const
const Aws::Utils::DateTime & GetLastAnalyzedTime() const
AWS_GLUE_API Table()=default
const TableIdentifier & GetTargetTable() const
void SetRLSProperties(RLSPropertiesT &&value)
Table & AddPartitionKeys(PartitionKeysT &&value)
bool StatusHasBeenSet() const
bool ViewDefinitionHasBeenSet() const
void SetUpdateTime(UpdateTimeT &&value)
Table & WithCreatedBy(CreatedByT &&value)
void SetCatalogId(CatalogIdT &&value)
Table & WithOwner(OwnerT &&value)
void SetRetention(int value)
Table & WithVersionId(VersionIdT &&value)
void SetIsMultiDialectView(bool value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ViewOriginalTextHasBeenSet() const
const Aws::String & GetDatabaseName() const
const Aws::Utils::DateTime & GetCreateTime() const
const FederatedTable & GetFederatedTable() const
Table & WithFederatedTable(FederatedTableT &&value)
Table & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
void SetCreateTime(CreateTimeT &&value)
void SetTableType(TableTypeT &&value)
const Aws::String & GetName() const
const Aws::String & GetCreatedBy() const
bool ViewExpandedTextHasBeenSet() const
const Aws::String & GetViewOriginalText() const
const RLSProperties & GetRLSProperties() const
void SetDescription(DescriptionT &&value)
AWS_GLUE_API Table(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Column > & GetPartitionKeys() const
Table & WithStorageDescriptor(StorageDescriptorT &&value)
const Aws::Utils::DateTime & GetLastAccessTime() const
void SetPartitionKeys(PartitionKeysT &&value)
bool TableTypeHasBeenSet() const
void SetFederatedTable(FederatedTableT &&value)
void SetParameters(ParametersT &&value)
bool OwnerHasBeenSet() const
Table & WithName(NameT &&value)
Table & WithIsMultiDialectView(bool value)
const Aws::String & GetDescription() const
const Aws::String & GetVersionId() const
void SetOwner(OwnerT &&value)
bool IsMultiDialectViewHasBeenSet() const
bool NameHasBeenSet() const
bool UpdateTimeHasBeenSet() const
bool LastAccessTimeHasBeenSet() const
void SetIsRegisteredWithLakeFormation(bool value)
void SetIcebergTableMetadata(IcebergTableMetadataT &&value)
bool CatalogIdHasBeenSet() const
bool IcebergTableMetadataHasBeenSet() const
bool VersionIdHasBeenSet() const
bool RetentionHasBeenSet() const
void SetTargetTable(TargetTableT &&value)
bool ParametersHasBeenSet() const
void SetViewOriginalText(ViewOriginalTextT &&value)
Table & WithLastAnalyzedTime(LastAnalyzedTimeT &&value)
bool StorageDescriptorHasBeenSet() const
bool GetIsMaterializedView() const
void SetViewDefinition(ViewDefinitionT &&value)
bool GetIsMultiDialectView() const
bool TargetTableHasBeenSet() const
void SetStorageDescriptor(StorageDescriptorT &&value)
const Aws::String & GetOwner() const
Table & WithViewExpandedText(ViewExpandedTextT &&value)
void SetViewExpandedText(ViewExpandedTextT &&value)
void SetDatabaseName(DatabaseNameT &&value)
Table & WithViewDefinition(ViewDefinitionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue