AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteTableVersionRequest.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 "BatchDeleteTableVersion"; }
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 BatchDeleteTableVersionRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
49 inline BatchDeleteTableVersionRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
50 inline BatchDeleteTableVersionRequest& 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 BatchDeleteTableVersionRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
64 inline BatchDeleteTableVersionRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
65 inline BatchDeleteTableVersionRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
67
69
73 inline const Aws::String& GetTableName() const{ return m_tableName; }
74 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
75 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
76 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
77 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
78 inline BatchDeleteTableVersionRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
79 inline BatchDeleteTableVersionRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
80 inline BatchDeleteTableVersionRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
82
84
88 inline const Aws::Vector<Aws::String>& GetVersionIds() const{ return m_versionIds; }
89 inline bool VersionIdsHasBeenSet() const { return m_versionIdsHasBeenSet; }
90 inline void SetVersionIds(const Aws::Vector<Aws::String>& value) { m_versionIdsHasBeenSet = true; m_versionIds = value; }
91 inline void SetVersionIds(Aws::Vector<Aws::String>&& value) { m_versionIdsHasBeenSet = true; m_versionIds = std::move(value); }
93 inline BatchDeleteTableVersionRequest& WithVersionIds(Aws::Vector<Aws::String>&& value) { SetVersionIds(std::move(value)); return *this;}
94 inline BatchDeleteTableVersionRequest& AddVersionIds(const Aws::String& value) { m_versionIdsHasBeenSet = true; m_versionIds.push_back(value); return *this; }
95 inline BatchDeleteTableVersionRequest& AddVersionIds(Aws::String&& value) { m_versionIdsHasBeenSet = true; m_versionIds.push_back(std::move(value)); return *this; }
96 inline BatchDeleteTableVersionRequest& AddVersionIds(const char* value) { m_versionIdsHasBeenSet = true; m_versionIds.push_back(value); return *this; }
98 private:
99
100 Aws::String m_catalogId;
101 bool m_catalogIdHasBeenSet = false;
102
103 Aws::String m_databaseName;
104 bool m_databaseNameHasBeenSet = false;
105
106 Aws::String m_tableName;
107 bool m_tableNameHasBeenSet = false;
108
109 Aws::Vector<Aws::String> m_versionIds;
110 bool m_versionIdsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Glue
115} // namespace Aws
BatchDeleteTableVersionRequest & WithTableName(const char *value)
BatchDeleteTableVersionRequest & WithDatabaseName(Aws::String &&value)
BatchDeleteTableVersionRequest & AddVersionIds(Aws::String &&value)
BatchDeleteTableVersionRequest & AddVersionIds(const char *value)
BatchDeleteTableVersionRequest & WithVersionIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetVersionIds() const
BatchDeleteTableVersionRequest & WithTableName(Aws::String &&value)
BatchDeleteTableVersionRequest & AddVersionIds(const Aws::String &value)
BatchDeleteTableVersionRequest & WithTableName(const Aws::String &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDeleteTableVersionRequest & WithVersionIds(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
BatchDeleteTableVersionRequest & WithCatalogId(const char *value)
BatchDeleteTableVersionRequest & WithDatabaseName(const char *value)
void SetVersionIds(const Aws::Vector< Aws::String > &value)
BatchDeleteTableVersionRequest & WithCatalogId(const Aws::String &value)
BatchDeleteTableVersionRequest & WithDatabaseName(const Aws::String &value)
BatchDeleteTableVersionRequest & WithCatalogId(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