AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
46 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
47 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
48 inline BatchDeleteTableRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
49 inline BatchDeleteTableRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
50 inline BatchDeleteTableRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
52
54
58 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
59 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
60 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
61 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
62 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
63 inline BatchDeleteTableRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
64 inline BatchDeleteTableRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
65 inline BatchDeleteTableRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
67
69
72 inline const Aws::Vector<Aws::String>& GetTablesToDelete() const{ return m_tablesToDelete; }
73 inline bool TablesToDeleteHasBeenSet() const { return m_tablesToDeleteHasBeenSet; }
74 inline void SetTablesToDelete(const Aws::Vector<Aws::String>& value) { m_tablesToDeleteHasBeenSet = true; m_tablesToDelete = value; }
75 inline void SetTablesToDelete(Aws::Vector<Aws::String>&& value) { m_tablesToDeleteHasBeenSet = true; m_tablesToDelete = std::move(value); }
77 inline BatchDeleteTableRequest& WithTablesToDelete(Aws::Vector<Aws::String>&& value) { SetTablesToDelete(std::move(value)); return *this;}
78 inline BatchDeleteTableRequest& AddTablesToDelete(const Aws::String& value) { m_tablesToDeleteHasBeenSet = true; m_tablesToDelete.push_back(value); return *this; }
79 inline BatchDeleteTableRequest& AddTablesToDelete(Aws::String&& value) { m_tablesToDeleteHasBeenSet = true; m_tablesToDelete.push_back(std::move(value)); return *this; }
80 inline BatchDeleteTableRequest& AddTablesToDelete(const char* value) { m_tablesToDeleteHasBeenSet = true; m_tablesToDelete.push_back(value); return *this; }
82
84
87 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
88 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
89 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
90 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
91 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
92 inline BatchDeleteTableRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
93 inline BatchDeleteTableRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
94 inline BatchDeleteTableRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
96 private:
97
98 Aws::String m_catalogId;
99 bool m_catalogIdHasBeenSet = false;
100
101 Aws::String m_databaseName;
102 bool m_databaseNameHasBeenSet = false;
103
104 Aws::Vector<Aws::String> m_tablesToDelete;
105 bool m_tablesToDeleteHasBeenSet = false;
106
107 Aws::String m_transactionId;
108 bool m_transactionIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Glue
113} // namespace Aws
BatchDeleteTableRequest & WithTransactionId(const char *value)
BatchDeleteTableRequest & WithCatalogId(Aws::String &&value)
BatchDeleteTableRequest & WithDatabaseName(const Aws::String &value)
BatchDeleteTableRequest & WithDatabaseName(const char *value)
void SetTablesToDelete(const Aws::Vector< Aws::String > &value)
void SetTransactionId(const Aws::String &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDeleteTableRequest & WithDatabaseName(Aws::String &&value)
BatchDeleteTableRequest & WithTransactionId(Aws::String &&value)
BatchDeleteTableRequest & WithTablesToDelete(Aws::Vector< Aws::String > &&value)
BatchDeleteTableRequest & AddTablesToDelete(Aws::String &&value)
void SetTablesToDelete(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetTablesToDelete() const
BatchDeleteTableRequest & WithTransactionId(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
BatchDeleteTableRequest & AddTablesToDelete(const char *value)
virtual const char * GetServiceRequestName() const override
BatchDeleteTableRequest & AddTablesToDelete(const Aws::String &value)
BatchDeleteTableRequest & WithCatalogId(const char *value)
BatchDeleteTableRequest & WithTablesToDelete(const Aws::Vector< Aws::String > &value)
BatchDeleteTableRequest & WithCatalogId(const Aws::String &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