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/StorageDescriptor.h>
16#include <aws/glue/model/TableIdentifier.h>
17#include <aws/glue/model/ViewDefinition.h>
51 template <
typename NameT = Aws::String>
53 m_nameHasBeenSet =
true;
54 m_name = std::forward<NameT>(value);
56 template <
typename NameT = Aws::String>
58 SetName(std::forward<NameT>(value));
70 template <
typename DatabaseNameT = Aws::String>
72 m_databaseNameHasBeenSet =
true;
73 m_databaseName = std::forward<DatabaseNameT>(value);
75 template <
typename DatabaseNameT = Aws::String>
88 template <
typename DescriptionT = Aws::String>
90 m_descriptionHasBeenSet =
true;
91 m_description = std::forward<DescriptionT>(value);
93 template <
typename DescriptionT = Aws::String>
106 template <
typename OwnerT = Aws::String>
108 m_ownerHasBeenSet =
true;
109 m_owner = std::forward<OwnerT>(value);
111 template <
typename OwnerT = Aws::String>
113 SetOwner(std::forward<OwnerT>(value));
124 template <
typename CreateTimeT = Aws::Utils::DateTime>
126 m_createTimeHasBeenSet =
true;
127 m_createTime = std::forward<CreateTimeT>(value);
129 template <
typename CreateTimeT = Aws::Utils::DateTime>
142 template <
typename UpdateTimeT = Aws::Utils::DateTime>
144 m_updateTimeHasBeenSet =
true;
145 m_updateTime = std::forward<UpdateTimeT>(value);
147 template <
typename UpdateTimeT = Aws::Utils::DateTime>
161 template <
typename LastAccessTimeT = Aws::Utils::DateTime>
163 m_lastAccessTimeHasBeenSet =
true;
164 m_lastAccessTime = std::forward<LastAccessTimeT>(value);
166 template <
typename LastAccessTimeT = Aws::Utils::DateTime>
179 template <
typename LastAnalyzedTimeT = Aws::Utils::DateTime>
181 m_lastAnalyzedTimeHasBeenSet =
true;
182 m_lastAnalyzedTime = std::forward<LastAnalyzedTimeT>(value);
184 template <
typename LastAnalyzedTimeT = Aws::Utils::DateTime>
198 m_retentionHasBeenSet =
true;
214 template <
typename StorageDescriptorT = StorageDescriptor>
216 m_storageDescriptorHasBeenSet =
true;
217 m_storageDescriptor = std::forward<StorageDescriptorT>(value);
219 template <
typename StorageDescriptorT = StorageDescriptor>
236 template <
typename PartitionKeysT = Aws::Vector<Column>>
238 m_partitionKeysHasBeenSet =
true;
239 m_partitionKeys = std::forward<PartitionKeysT>(value);
241 template <
typename PartitionKeysT = Aws::Vector<Column>>
246 template <
typename PartitionKeysT = Column>
248 m_partitionKeysHasBeenSet =
true;
249 m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value));
262 template <
typename ViewOriginalTextT = Aws::String>
264 m_viewOriginalTextHasBeenSet =
true;
265 m_viewOriginalText = std::forward<ViewOriginalTextT>(value);
267 template <
typename ViewOriginalTextT = Aws::String>
281 template <
typename ViewExpandedTextT = Aws::String>
283 m_viewExpandedTextHasBeenSet =
true;
284 m_viewExpandedText = std::forward<ViewExpandedTextT>(value);
286 template <
typename ViewExpandedTextT = Aws::String>
304 template <
typename TableTypeT = Aws::String>
306 m_tableTypeHasBeenSet =
true;
307 m_tableType = std::forward<TableTypeT>(value);
309 template <
typename TableTypeT = Aws::String>
322 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
324 m_parametersHasBeenSet =
true;
325 m_parameters = std::forward<ParametersT>(value);
327 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
332 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
334 m_parametersHasBeenSet =
true;
335 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
346 template <
typename CreatedByT = Aws::String>
348 m_createdByHasBeenSet =
true;
349 m_createdBy = std::forward<CreatedByT>(value);
351 template <
typename CreatedByT = Aws::String>
365 m_isRegisteredWithLakeFormationHasBeenSet =
true;
366 m_isRegisteredWithLakeFormation = value;
381 template <
typename TargetTableT = TableIdentifier>
383 m_targetTableHasBeenSet =
true;
384 m_targetTable = std::forward<TargetTableT>(value);
386 template <
typename TargetTableT = TableIdentifier>
399 template <
typename CatalogIdT = Aws::String>
401 m_catalogIdHasBeenSet =
true;
402 m_catalogId = std::forward<CatalogIdT>(value);
404 template <
typename CatalogIdT = Aws::String>
417 template <
typename VersionIdT = Aws::String>
419 m_versionIdHasBeenSet =
true;
420 m_versionId = std::forward<VersionIdT>(value);
422 template <
typename VersionIdT = Aws::String>
436 template <
typename FederatedTableT = FederatedTable>
438 m_federatedTableHasBeenSet =
true;
439 m_federatedTable = std::forward<FederatedTableT>(value);
441 template <
typename FederatedTableT = FederatedTable>
455 template <
typename ViewDefinitionT = ViewDefinition>
457 m_viewDefinitionHasBeenSet =
true;
458 m_viewDefinition = std::forward<ViewDefinitionT>(value);
460 template <
typename ViewDefinitionT = ViewDefinition>
475 m_isMultiDialectViewHasBeenSet =
true;
476 m_isMultiDialectView = value;
491 m_isMaterializedViewHasBeenSet =
true;
492 m_isMaterializedView = value;
506 template <
typename StatusT = TableStatus>
508 m_statusHasBeenSet =
true;
509 m_status = Aws::MakeShared<TableStatus>(
"Table", std::forward<StatusT>(value));
511 template <
typename StatusT = TableStatus>
536 StorageDescriptor m_storageDescriptor;
550 bool m_isRegisteredWithLakeFormation{
false};
552 TableIdentifier m_targetTable;
558 FederatedTable m_federatedTable;
560 ViewDefinition m_viewDefinition;
562 bool m_isMultiDialectView{
false};
564 bool m_isMaterializedView{
false};
566 std::shared_ptr<TableStatus> m_status;
567 bool m_nameHasBeenSet =
false;
568 bool m_databaseNameHasBeenSet =
false;
569 bool m_descriptionHasBeenSet =
false;
570 bool m_ownerHasBeenSet =
false;
571 bool m_createTimeHasBeenSet =
false;
572 bool m_updateTimeHasBeenSet =
false;
573 bool m_lastAccessTimeHasBeenSet =
false;
574 bool m_lastAnalyzedTimeHasBeenSet =
false;
575 bool m_retentionHasBeenSet =
false;
576 bool m_storageDescriptorHasBeenSet =
false;
577 bool m_partitionKeysHasBeenSet =
false;
578 bool m_viewOriginalTextHasBeenSet =
false;
579 bool m_viewExpandedTextHasBeenSet =
false;
580 bool m_tableTypeHasBeenSet =
false;
581 bool m_parametersHasBeenSet =
false;
582 bool m_createdByHasBeenSet =
false;
583 bool m_isRegisteredWithLakeFormationHasBeenSet =
false;
584 bool m_targetTableHasBeenSet =
false;
585 bool m_catalogIdHasBeenSet =
false;
586 bool m_versionIdHasBeenSet =
false;
587 bool m_federatedTableHasBeenSet =
false;
588 bool m_viewDefinitionHasBeenSet =
false;
589 bool m_isMultiDialectViewHasBeenSet =
false;
590 bool m_isMaterializedViewHasBeenSet =
false;
591 bool m_statusHasBeenSet =
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 & WithIsRegisteredWithLakeFormation(bool value)
const TableStatus & GetStatus() 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 & WithDescription(DescriptionT &&value)
void SetLastAccessTime(LastAccessTimeT &&value)
Table & WithTableType(TableTypeT &&value)
const Aws::Utils::DateTime & GetLastAnalyzedTime() const
AWS_GLUE_API Table()=default
const TableIdentifier & GetTargetTable() const
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
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)
bool CatalogIdHasBeenSet() 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