7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/StorageDescriptor.h>
44 template <
typename ValuesT = Aws::Vector<Aws::String>>
46 m_valuesHasBeenSet =
true;
47 m_values = std::forward<ValuesT>(value);
49 template <
typename ValuesT = Aws::Vector<Aws::String>>
54 template <
typename ValuesT = Aws::String>
56 m_valuesHasBeenSet =
true;
57 m_values.emplace_back(std::forward<ValuesT>(value));
68 template <
typename DatabaseNameT = Aws::String>
70 m_databaseNameHasBeenSet =
true;
71 m_databaseName = std::forward<DatabaseNameT>(value);
73 template <
typename DatabaseNameT = Aws::String>
86 template <
typename TableNameT = Aws::String>
88 m_tableNameHasBeenSet =
true;
89 m_tableName = std::forward<TableNameT>(value);
91 template <
typename TableNameT = Aws::String>
104 template <
typename CreationTimeT = Aws::Utils::DateTime>
106 m_creationTimeHasBeenSet =
true;
107 m_creationTime = std::forward<CreationTimeT>(value);
109 template <
typename CreationTimeT = Aws::Utils::DateTime>
122 template <
typename LastAccessTimeT = Aws::Utils::DateTime>
124 m_lastAccessTimeHasBeenSet =
true;
125 m_lastAccessTime = std::forward<LastAccessTimeT>(value);
127 template <
typename LastAccessTimeT = Aws::Utils::DateTime>
141 template <
typename StorageDescriptorT = StorageDescriptor>
143 m_storageDescriptorHasBeenSet =
true;
144 m_storageDescriptor = std::forward<StorageDescriptorT>(value);
146 template <
typename StorageDescriptorT = StorageDescriptor>
159 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
161 m_parametersHasBeenSet =
true;
162 m_parameters = std::forward<ParametersT>(value);
164 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
169 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
171 m_parametersHasBeenSet =
true;
172 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
184 template <
typename LastAnalyzedTimeT = Aws::Utils::DateTime>
186 m_lastAnalyzedTimeHasBeenSet =
true;
187 m_lastAnalyzedTime = std::forward<LastAnalyzedTimeT>(value);
189 template <
typename LastAnalyzedTimeT = Aws::Utils::DateTime>
202 template <
typename CatalogIdT = Aws::String>
204 m_catalogIdHasBeenSet =
true;
205 m_catalogId = std::forward<CatalogIdT>(value);
207 template <
typename CatalogIdT = Aws::String>
224 StorageDescriptor m_storageDescriptor;
231 bool m_valuesHasBeenSet =
false;
232 bool m_databaseNameHasBeenSet =
false;
233 bool m_tableNameHasBeenSet =
false;
234 bool m_creationTimeHasBeenSet =
false;
235 bool m_lastAccessTimeHasBeenSet =
false;
236 bool m_storageDescriptorHasBeenSet =
false;
237 bool m_parametersHasBeenSet =
false;
238 bool m_lastAnalyzedTimeHasBeenSet =
false;
239 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