7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/OpenTableFormatInput.h>
12#include <aws/glue/model/PartitionIndex.h>
13#include <aws/glue/model/TableInput.h>
44 template <
typename CatalogIdT = Aws::String>
46 m_catalogIdHasBeenSet =
true;
47 m_catalogId = std::forward<CatalogIdT>(value);
49 template <
typename CatalogIdT = Aws::String>
63 template <
typename DatabaseNameT = Aws::String>
65 m_databaseNameHasBeenSet =
true;
66 m_databaseName = std::forward<DatabaseNameT>(value);
68 template <
typename DatabaseNameT = Aws::String>
82 template <
typename NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
101 template <
typename TableInputT = TableInput>
103 m_tableInputHasBeenSet =
true;
104 m_tableInput = std::forward<TableInputT>(value);
106 template <
typename TableInputT = TableInput>
120 template <
typename PartitionIndexesT = Aws::Vector<PartitionIndex>>
122 m_partitionIndexesHasBeenSet =
true;
123 m_partitionIndexes = std::forward<PartitionIndexesT>(value);
125 template <
typename PartitionIndexesT = Aws::Vector<PartitionIndex>>
130 template <
typename PartitionIndexesT = PartitionIndex>
132 m_partitionIndexesHasBeenSet =
true;
133 m_partitionIndexes.emplace_back(std::forward<PartitionIndexesT>(value));
144 template <
typename TransactionIdT = Aws::String>
146 m_transactionIdHasBeenSet =
true;
147 m_transactionId = std::forward<TransactionIdT>(value);
149 template <
typename TransactionIdT = Aws::String>
163 template <
typename OpenTableFormatInputT = OpenTableFormatInput>
165 m_openTableFormatInputHasBeenSet =
true;
166 m_openTableFormatInput = std::forward<OpenTableFormatInputT>(value);
168 template <
typename OpenTableFormatInputT = OpenTableFormatInput>
188 bool m_catalogIdHasBeenSet =
false;
189 bool m_databaseNameHasBeenSet =
false;
190 bool m_nameHasBeenSet =
false;
191 bool m_tableInputHasBeenSet =
false;
192 bool m_partitionIndexesHasBeenSet =
false;
193 bool m_transactionIdHasBeenSet =
false;
194 bool m_openTableFormatInputHasBeenSet =
false;
void SetName(NameT &&value)
void SetDatabaseName(DatabaseNameT &&value)
CreateTableRequest & WithTableInput(TableInputT &&value)
CreateTableRequest & WithOpenTableFormatInput(OpenTableFormatInputT &&value)
void SetTransactionId(TransactionIdT &&value)
const Aws::String & GetCatalogId() const
bool PartitionIndexesHasBeenSet() const
bool TableInputHasBeenSet() const
const Aws::String & GetTransactionId() const
bool OpenTableFormatInputHasBeenSet() const
const Aws::String & GetDatabaseName() const
const Aws::Vector< PartitionIndex > & GetPartitionIndexes() const
bool TransactionIdHasBeenSet() const
void SetOpenTableFormatInput(OpenTableFormatInputT &&value)
AWS_GLUE_API CreateTableRequest()=default
CreateTableRequest & AddPartitionIndexes(PartitionIndexesT &&value)
const Aws::String & GetName() const
virtual const char * GetServiceRequestName() const override
void SetTableInput(TableInputT &&value)
bool CatalogIdHasBeenSet() const
void SetCatalogId(CatalogIdT &&value)
CreateTableRequest & WithCatalogId(CatalogIdT &&value)
CreateTableRequest & WithPartitionIndexes(PartitionIndexesT &&value)
CreateTableRequest & WithName(NameT &&value)
CreateTableRequest & WithDatabaseName(DatabaseNameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetPartitionIndexes(PartitionIndexesT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const TableInput & GetTableInput() const
CreateTableRequest & WithTransactionId(TransactionIdT &&value)
bool NameHasBeenSet() const
const OpenTableFormatInput & GetOpenTableFormatInput() const
bool DatabaseNameHasBeenSet() const
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