7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/glue/model/StorageDescriptor.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/glue/model/TableIdentifier.h>
14#include <aws/glue/model/FederatedTable.h>
15#include <aws/glue/model/ViewDefinition.h>
16#include <aws/glue/model/Column.h>
17#include <aws/core/utils/memory/stl/AWSAllocator.h>
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
70 template<
typename DatabaseNameT = Aws::String>
71 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
72 template<
typename DatabaseNameT = Aws::String>
82 template<
typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
84 template<
typename DescriptionT = Aws::String>
94 template<
typename OwnerT = Aws::String>
95 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
96 template<
typename OwnerT = Aws::String>
106 template<
typename CreateTimeT = Aws::Utils::DateTime>
107 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
108 template<
typename CreateTimeT = Aws::Utils::DateTime>
118 template<
typename UpdateTimeT = Aws::Utils::DateTime>
119 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet =
true; m_updateTime = std::forward<UpdateTimeT>(value); }
120 template<
typename UpdateTimeT = Aws::Utils::DateTime>
131 template<
typename LastAccessTimeT = Aws::Utils::DateTime>
132 void SetLastAccessTime(LastAccessTimeT&& value) { m_lastAccessTimeHasBeenSet =
true; m_lastAccessTime = std::forward<LastAccessTimeT>(value); }
133 template<
typename LastAccessTimeT = Aws::Utils::DateTime>
143 template<
typename LastAnalyzedTimeT = Aws::Utils::DateTime>
144 void SetLastAnalyzedTime(LastAnalyzedTimeT&& value) { m_lastAnalyzedTimeHasBeenSet =
true; m_lastAnalyzedTime = std::forward<LastAnalyzedTimeT>(value); }
145 template<
typename LastAnalyzedTimeT = Aws::Utils::DateTime>
155 inline void SetRetention(
int value) { m_retentionHasBeenSet =
true; m_retention = value; }
166 template<
typename StorageDescriptorT = StorageDescriptor>
167 void SetStorageDescriptor(StorageDescriptorT&& value) { m_storageDescriptorHasBeenSet =
true; m_storageDescriptor = std::forward<StorageDescriptorT>(value); }
168 template<
typename StorageDescriptorT = StorageDescriptor>
182 template<
typename PartitionKeysT = Aws::Vector<Column>>
183 void SetPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet =
true; m_partitionKeys = std::forward<PartitionKeysT>(value); }
184 template<
typename PartitionKeysT = Aws::Vector<Column>>
186 template<
typename PartitionKeysT = Column>
187 Table&
AddPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet =
true; m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value));
return *
this; }
198 template<
typename ViewOriginalTextT = Aws::String>
199 void SetViewOriginalText(ViewOriginalTextT&& value) { m_viewOriginalTextHasBeenSet =
true; m_viewOriginalText = std::forward<ViewOriginalTextT>(value); }
200 template<
typename ViewOriginalTextT = Aws::String>
211 template<
typename ViewExpandedTextT = Aws::String>
212 void SetViewExpandedText(ViewExpandedTextT&& value) { m_viewExpandedTextHasBeenSet =
true; m_viewExpandedText = std::forward<ViewExpandedTextT>(value); }
213 template<
typename ViewExpandedTextT = Aws::String>
228 template<
typename TableTypeT = Aws::String>
229 void SetTableType(TableTypeT&& value) { m_tableTypeHasBeenSet =
true; m_tableType = std::forward<TableTypeT>(value); }
230 template<
typename TableTypeT = Aws::String>
240 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
241 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
242 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
244 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
246 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
256 template<
typename CreatedByT = Aws::String>
257 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
258 template<
typename CreatedByT = Aws::String>
279 template<
typename TargetTableT = TableIdentifier>
280 void SetTargetTable(TargetTableT&& value) { m_targetTableHasBeenSet =
true; m_targetTable = std::forward<TargetTableT>(value); }
281 template<
typename TargetTableT = TableIdentifier>
291 template<
typename CatalogIdT = Aws::String>
292 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet =
true; m_catalogId = std::forward<CatalogIdT>(value); }
293 template<
typename CatalogIdT = Aws::String>
303 template<
typename VersionIdT = Aws::String>
304 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
305 template<
typename VersionIdT = Aws::String>
316 template<
typename FederatedTableT = FederatedTable>
317 void SetFederatedTable(FederatedTableT&& value) { m_federatedTableHasBeenSet =
true; m_federatedTable = std::forward<FederatedTableT>(value); }
318 template<
typename FederatedTableT = FederatedTable>
329 template<
typename ViewDefinitionT = ViewDefinition>
330 void SetViewDefinition(ViewDefinitionT&& value) { m_viewDefinitionHasBeenSet =
true; m_viewDefinition = std::forward<ViewDefinitionT>(value); }
331 template<
typename ViewDefinitionT = ViewDefinition>
342 inline void SetIsMultiDialectView(
bool value) { m_isMultiDialectViewHasBeenSet =
true; m_isMultiDialectView = value; }
352 template<
typename StatusT = TableStatus>
354 m_statusHasBeenSet =
true;
355 m_status = Aws::MakeShared<TableStatus>(
"Table", std::forward<StatusT>(value));
357 template<
typename StatusT = TableStatus>
363 bool m_nameHasBeenSet =
false;
366 bool m_databaseNameHasBeenSet =
false;
369 bool m_descriptionHasBeenSet =
false;
372 bool m_ownerHasBeenSet =
false;
375 bool m_createTimeHasBeenSet =
false;
378 bool m_updateTimeHasBeenSet =
false;
381 bool m_lastAccessTimeHasBeenSet =
false;
384 bool m_lastAnalyzedTimeHasBeenSet =
false;
387 bool m_retentionHasBeenSet =
false;
389 StorageDescriptor m_storageDescriptor;
390 bool m_storageDescriptorHasBeenSet =
false;
393 bool m_partitionKeysHasBeenSet =
false;
396 bool m_viewOriginalTextHasBeenSet =
false;
399 bool m_viewExpandedTextHasBeenSet =
false;
402 bool m_tableTypeHasBeenSet =
false;
405 bool m_parametersHasBeenSet =
false;
408 bool m_createdByHasBeenSet =
false;
410 bool m_isRegisteredWithLakeFormation{
false};
411 bool m_isRegisteredWithLakeFormationHasBeenSet =
false;
413 TableIdentifier m_targetTable;
414 bool m_targetTableHasBeenSet =
false;
417 bool m_catalogIdHasBeenSet =
false;
420 bool m_versionIdHasBeenSet =
false;
422 FederatedTable m_federatedTable;
423 bool m_federatedTableHasBeenSet =
false;
425 ViewDefinition m_viewDefinition;
426 bool m_viewDefinitionHasBeenSet =
false;
428 bool m_isMultiDialectView{
false};
429 bool m_isMultiDialectViewHasBeenSet =
false;
431 std::shared_ptr<TableStatus> m_status;
432 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)
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
bool FederatedTableHasBeenSet() 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
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