AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchDeleteTableRequest.h
1
6#pragma once
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 <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API BatchDeleteTableRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteTable"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
44 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
45 template<typename CatalogIdT = Aws::String>
46 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
47 template<typename CatalogIdT = Aws::String>
48 BatchDeleteTableRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
57 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
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>
61 BatchDeleteTableRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
63
65
68 inline const Aws::Vector<Aws::String>& GetTablesToDelete() const { return m_tablesToDelete; }
69 inline bool TablesToDeleteHasBeenSet() const { return m_tablesToDeleteHasBeenSet; }
70 template<typename TablesToDeleteT = Aws::Vector<Aws::String>>
71 void SetTablesToDelete(TablesToDeleteT&& value) { m_tablesToDeleteHasBeenSet = true; m_tablesToDelete = std::forward<TablesToDeleteT>(value); }
72 template<typename TablesToDeleteT = Aws::Vector<Aws::String>>
73 BatchDeleteTableRequest& WithTablesToDelete(TablesToDeleteT&& value) { SetTablesToDelete(std::forward<TablesToDeleteT>(value)); return *this;}
74 template<typename TablesToDeleteT = Aws::String>
75 BatchDeleteTableRequest& AddTablesToDelete(TablesToDeleteT&& value) { m_tablesToDeleteHasBeenSet = true; m_tablesToDelete.emplace_back(std::forward<TablesToDeleteT>(value)); return *this; }
77
79
82 inline const Aws::String& GetTransactionId() const { return m_transactionId; }
83 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
84 template<typename TransactionIdT = Aws::String>
85 void SetTransactionId(TransactionIdT&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::forward<TransactionIdT>(value); }
86 template<typename TransactionIdT = Aws::String>
87 BatchDeleteTableRequest& WithTransactionId(TransactionIdT&& value) { SetTransactionId(std::forward<TransactionIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_catalogId;
92 bool m_catalogIdHasBeenSet = false;
93
94 Aws::String m_databaseName;
95 bool m_databaseNameHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_tablesToDelete;
98 bool m_tablesToDeleteHasBeenSet = false;
99
100 Aws::String m_transactionId;
101 bool m_transactionIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Glue
106} // namespace Aws
BatchDeleteTableRequest & WithTransactionId(TransactionIdT &&value)
AWS_GLUE_API BatchDeleteTableRequest()=default
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDeleteTableRequest & AddTablesToDelete(TablesToDeleteT &&value)
BatchDeleteTableRequest & WithTablesToDelete(TablesToDeleteT &&value)
const Aws::Vector< Aws::String > & GetTablesToDelete() const
BatchDeleteTableRequest & WithDatabaseName(DatabaseNameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
BatchDeleteTableRequest & WithCatalogId(CatalogIdT &&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