7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/glue/model/StorageDescriptor.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
50 template<
typename ValuesT = Aws::Vector<Aws::String>>
51 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
52 template<
typename ValuesT = Aws::Vector<Aws::String>>
54 template<
typename ValuesT = Aws::String>
55 Partition&
AddValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values.emplace_back(std::forward<ValuesT>(value));
return *
this; }
64 template<
typename DatabaseNameT = Aws::String>
65 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
66 template<
typename DatabaseNameT = Aws::String>
76 template<
typename TableNameT = Aws::String>
77 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
78 template<
typename TableNameT = Aws::String>
88 template<
typename CreationTimeT = Aws::Utils::DateTime>
89 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
90 template<
typename CreationTimeT = Aws::Utils::DateTime>
100 template<
typename LastAccessTimeT = Aws::Utils::DateTime>
101 void SetLastAccessTime(LastAccessTimeT&& value) { m_lastAccessTimeHasBeenSet =
true; m_lastAccessTime = std::forward<LastAccessTimeT>(value); }
102 template<
typename LastAccessTimeT = Aws::Utils::DateTime>
113 template<
typename StorageDescriptorT = StorageDescriptor>
114 void SetStorageDescriptor(StorageDescriptorT&& value) { m_storageDescriptorHasBeenSet =
true; m_storageDescriptor = std::forward<StorageDescriptorT>(value); }
115 template<
typename StorageDescriptorT = StorageDescriptor>
125 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
126 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
127 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
129 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
131 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
142 template<
typename LastAnalyzedTimeT = Aws::Utils::DateTime>
143 void SetLastAnalyzedTime(LastAnalyzedTimeT&& value) { m_lastAnalyzedTimeHasBeenSet =
true; m_lastAnalyzedTime = std::forward<LastAnalyzedTimeT>(value); }
144 template<
typename LastAnalyzedTimeT = Aws::Utils::DateTime>
154 template<
typename CatalogIdT = Aws::String>
155 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet =
true; m_catalogId = std::forward<CatalogIdT>(value); }
156 template<
typename CatalogIdT = Aws::String>
162 bool m_valuesHasBeenSet =
false;
165 bool m_databaseNameHasBeenSet =
false;
168 bool m_tableNameHasBeenSet =
false;
171 bool m_creationTimeHasBeenSet =
false;
174 bool m_lastAccessTimeHasBeenSet =
false;
176 StorageDescriptor m_storageDescriptor;
177 bool m_storageDescriptorHasBeenSet =
false;
180 bool m_parametersHasBeenSet =
false;
183 bool m_lastAnalyzedTimeHasBeenSet =
false;
186 bool m_catalogIdHasBeenSet =
false;
Partition & WithLastAnalyzedTime(LastAnalyzedTimeT &&value)
Partition & WithCreationTime(CreationTimeT &&value)
void SetCatalogId(CatalogIdT &&value)
const Aws::String & GetDatabaseName() const
void SetDatabaseName(DatabaseNameT &&value)
void SetCreationTime(CreationTimeT &&value)
AWS_GLUE_API Partition()=default
Partition & WithLastAccessTime(LastAccessTimeT &&value)
bool LastAccessTimeHasBeenSet() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Partition & WithCatalogId(CatalogIdT &&value)
bool LastAnalyzedTimeHasBeenSet() const
bool CatalogIdHasBeenSet() const
Partition & WithStorageDescriptor(StorageDescriptorT &&value)
const Aws::Utils::DateTime & GetLastAccessTime() const
bool DatabaseNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetValues() const
const StorageDescriptor & GetStorageDescriptor() const
Partition & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
bool TableNameHasBeenSet() const
Partition & WithTableName(TableNameT &&value)
const Aws::String & GetCatalogId() const
bool CreationTimeHasBeenSet() const
Partition & WithValues(ValuesT &&value)
AWS_GLUE_API Partition(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastAnalyzedTime() const
bool ParametersHasBeenSet() const
void SetStorageDescriptor(StorageDescriptorT &&value)
Partition & WithParameters(ParametersT &&value)
void SetTableName(TableNameT &&value)
void SetLastAccessTime(LastAccessTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
Partition & WithDatabaseName(DatabaseNameT &&value)
void SetLastAnalyzedTime(LastAnalyzedTimeT &&value)
AWS_GLUE_API Partition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParameters(ParametersT &&value)
Partition & AddValues(ValuesT &&value)
const Aws::String & GetTableName() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
void SetValues(ValuesT &&value)
bool StorageDescriptorHasBeenSet() const
bool ValuesHasBeenSet() const
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