7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/PartitionValueList.h>
46 template<
typename CatalogIdT = Aws::String>
47 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet =
true; m_catalogId = std::forward<CatalogIdT>(value); }
48 template<
typename CatalogIdT = Aws::String>
58 template<
typename DatabaseNameT = Aws::String>
59 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
60 template<
typename DatabaseNameT = Aws::String>
70 template<
typename TableNameT = Aws::String>
71 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
72 template<
typename TableNameT = Aws::String>
83 template<
typename PartitionsToDeleteT = Aws::Vector<PartitionValueList>>
84 void SetPartitionsToDelete(PartitionsToDeleteT&& value) { m_partitionsToDeleteHasBeenSet =
true; m_partitionsToDelete = std::forward<PartitionsToDeleteT>(value); }
85 template<
typename PartitionsToDeleteT = Aws::Vector<PartitionValueList>>
87 template<
typename PartitionsToDeleteT = PartitionValueList>
93 bool m_catalogIdHasBeenSet =
false;
96 bool m_databaseNameHasBeenSet =
false;
99 bool m_tableNameHasBeenSet =
false;
102 bool m_partitionsToDeleteHasBeenSet =
false;
bool DatabaseNameHasBeenSet() const
void SetTableName(TableNameT &&value)
const Aws::String & GetCatalogId() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDeletePartitionRequest & AddPartitionsToDelete(PartitionsToDeleteT &&value)
AWS_GLUE_API BatchDeletePartitionRequest()=default
void SetPartitionsToDelete(PartitionsToDeleteT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
BatchDeletePartitionRequest & WithTableName(TableNameT &&value)
bool CatalogIdHasBeenSet() const
void SetCatalogId(CatalogIdT &&value)
BatchDeletePartitionRequest & WithCatalogId(CatalogIdT &&value)
bool PartitionsToDeleteHasBeenSet() const
void SetDatabaseName(DatabaseNameT &&value)
virtual const char * GetServiceRequestName() const override
BatchDeletePartitionRequest & WithDatabaseName(DatabaseNameT &&value)
const Aws::Vector< PartitionValueList > & GetPartitionsToDelete() const
bool TableNameHasBeenSet() const
const Aws::String & GetTableName() const
const Aws::String & GetDatabaseName() const
BatchDeletePartitionRequest & WithPartitionsToDelete(PartitionsToDeleteT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector