AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_GLUE_API BatchDeleteTableVersionRequest() = 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 "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 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 BatchDeleteTableVersionRequest& 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 BatchDeleteTableVersionRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
63
65
69 inline const Aws::String& GetTableName() const { return m_tableName; }
70 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
71 template<typename TableNameT = Aws::String>
72 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
73 template<typename TableNameT = Aws::String>
74 BatchDeleteTableVersionRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
76
78
82 inline const Aws::Vector<Aws::String>& GetVersionIds() const { return m_versionIds; }
83 inline bool VersionIdsHasBeenSet() const { return m_versionIdsHasBeenSet; }
84 template<typename VersionIdsT = Aws::Vector<Aws::String>>
85 void SetVersionIds(VersionIdsT&& value) { m_versionIdsHasBeenSet = true; m_versionIds = std::forward<VersionIdsT>(value); }
86 template<typename VersionIdsT = Aws::Vector<Aws::String>>
87 BatchDeleteTableVersionRequest& WithVersionIds(VersionIdsT&& value) { SetVersionIds(std::forward<VersionIdsT>(value)); return *this;}
88 template<typename VersionIdsT = Aws::String>
89 BatchDeleteTableVersionRequest& AddVersionIds(VersionIdsT&& value) { m_versionIdsHasBeenSet = true; m_versionIds.emplace_back(std::forward<VersionIdsT>(value)); return *this; }
91 private:
92
93 Aws::String m_catalogId;
94 bool m_catalogIdHasBeenSet = false;
95
96 Aws::String m_databaseName;
97 bool m_databaseNameHasBeenSet = false;
98
99 Aws::String m_tableName;
100 bool m_tableNameHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_versionIds;
103 bool m_versionIdsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Glue
108} // 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