AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
BatchDeleteTableVersionRequest.h
1
6#pragma once
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
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API BatchDeleteTableVersionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteTableVersion"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
40 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
41 template <typename CatalogIdT = Aws::String>
42 void SetCatalogId(CatalogIdT&& value) {
43 m_catalogIdHasBeenSet = true;
44 m_catalogId = std::forward<CatalogIdT>(value);
45 }
46 template <typename CatalogIdT = Aws::String>
48 SetCatalogId(std::forward<CatalogIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
59 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
60 template <typename DatabaseNameT = Aws::String>
61 void SetDatabaseName(DatabaseNameT&& value) {
62 m_databaseNameHasBeenSet = true;
63 m_databaseName = std::forward<DatabaseNameT>(value);
64 }
65 template <typename DatabaseNameT = Aws::String>
67 SetDatabaseName(std::forward<DatabaseNameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetTableName() const { return m_tableName; }
78 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
79 template <typename TableNameT = Aws::String>
80 void SetTableName(TableNameT&& value) {
81 m_tableNameHasBeenSet = true;
82 m_tableName = std::forward<TableNameT>(value);
83 }
84 template <typename TableNameT = Aws::String>
86 SetTableName(std::forward<TableNameT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::Vector<Aws::String>& GetVersionIds() const { return m_versionIds; }
97 inline bool VersionIdsHasBeenSet() const { return m_versionIdsHasBeenSet; }
98 template <typename VersionIdsT = Aws::Vector<Aws::String>>
99 void SetVersionIds(VersionIdsT&& value) {
100 m_versionIdsHasBeenSet = true;
101 m_versionIds = std::forward<VersionIdsT>(value);
102 }
103 template <typename VersionIdsT = Aws::Vector<Aws::String>>
105 SetVersionIds(std::forward<VersionIdsT>(value));
106 return *this;
107 }
108 template <typename VersionIdsT = Aws::String>
110 m_versionIdsHasBeenSet = true;
111 m_versionIds.emplace_back(std::forward<VersionIdsT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_catalogId;
117 bool m_catalogIdHasBeenSet = false;
118
119 Aws::String m_databaseName;
120 bool m_databaseNameHasBeenSet = false;
121
122 Aws::String m_tableName;
123 bool m_tableNameHasBeenSet = false;
124
125 Aws::Vector<Aws::String> m_versionIds;
126 bool m_versionIdsHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace Glue
131} // namespace Aws
BatchDeleteTableVersionRequest & AddVersionIds(VersionIdsT &&value)
const Aws::Vector< Aws::String > & GetVersionIds() const
BatchDeleteTableVersionRequest & WithCatalogId(CatalogIdT &&value)
BatchDeleteTableVersionRequest & WithVersionIds(VersionIdsT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDeleteTableVersionRequest & WithDatabaseName(DatabaseNameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
BatchDeleteTableVersionRequest & WithTableName(TableNameT &&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