AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteTableRequest.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 <utility>
11
12namespace Aws
13{
14namespace Glue
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GLUE_API DeleteTableRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteTable"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
43 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
44 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
45 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
46 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
47 inline DeleteTableRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
48 inline DeleteTableRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
49 inline DeleteTableRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
51
53
57 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
58 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
59 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
60 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
61 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
62 inline DeleteTableRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
63 inline DeleteTableRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
64 inline DeleteTableRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
66
68
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
75 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
76 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
77 inline DeleteTableRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
78 inline DeleteTableRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
79 inline DeleteTableRequest& WithName(const char* value) { SetName(value); return *this;}
81
83
86 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
87 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
88 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
89 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
90 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
91 inline DeleteTableRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
92 inline DeleteTableRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
93 inline DeleteTableRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
95 private:
96
97 Aws::String m_catalogId;
98 bool m_catalogIdHasBeenSet = false;
99
100 Aws::String m_databaseName;
101 bool m_databaseNameHasBeenSet = false;
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 Aws::String m_transactionId;
107 bool m_transactionIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Glue
112} // namespace Aws
void SetName(const Aws::String &value)
DeleteTableRequest & WithCatalogId(Aws::String &&value)
const Aws::String & GetName() const
DeleteTableRequest & WithCatalogId(const char *value)
DeleteTableRequest & WithDatabaseName(const char *value)
const Aws::String & GetTransactionId() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteTableRequest & WithTransactionId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DeleteTableRequest & WithTransactionId(const char *value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetDatabaseName(const Aws::String &value)
DeleteTableRequest & WithCatalogId(const Aws::String &value)
void SetCatalogId(const Aws::String &value)
const Aws::String & GetDatabaseName() const
void SetTransactionId(Aws::String &&value)
DeleteTableRequest & WithDatabaseName(const Aws::String &value)
DeleteTableRequest & WithDatabaseName(Aws::String &&value)
void SetCatalogId(Aws::String &&value)
const Aws::String & GetCatalogId() const
void SetTransactionId(const Aws::String &value)
void SetDatabaseName(Aws::String &&value)
DeleteTableRequest & WithName(const char *value)
DeleteTableRequest & WithName(Aws::String &&value)
DeleteTableRequest & WithName(const Aws::String &value)
DeleteTableRequest & WithTransactionId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String