AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
DeleteTableVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Glue {
15namespace Model {
16
20 public:
21 AWS_GLUE_API DeleteTableVersionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteTableVersion"; }
28
29 AWS_GLUE_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
39 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
40 template <typename CatalogIdT = Aws::String>
41 void SetCatalogId(CatalogIdT&& value) {
42 m_catalogIdHasBeenSet = true;
43 m_catalogId = std::forward<CatalogIdT>(value);
44 }
45 template <typename CatalogIdT = Aws::String>
47 SetCatalogId(std::forward<CatalogIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
58 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
59 template <typename DatabaseNameT = Aws::String>
60 void SetDatabaseName(DatabaseNameT&& value) {
61 m_databaseNameHasBeenSet = true;
62 m_databaseName = std::forward<DatabaseNameT>(value);
63 }
64 template <typename DatabaseNameT = Aws::String>
66 SetDatabaseName(std::forward<DatabaseNameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetTableName() const { return m_tableName; }
77 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
78 template <typename TableNameT = Aws::String>
79 void SetTableName(TableNameT&& value) {
80 m_tableNameHasBeenSet = true;
81 m_tableName = std::forward<TableNameT>(value);
82 }
83 template <typename TableNameT = Aws::String>
85 SetTableName(std::forward<TableNameT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetVersionId() const { return m_versionId; }
96 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
97 template <typename VersionIdT = Aws::String>
98 void SetVersionId(VersionIdT&& value) {
99 m_versionIdHasBeenSet = true;
100 m_versionId = std::forward<VersionIdT>(value);
101 }
102 template <typename VersionIdT = Aws::String>
104 SetVersionId(std::forward<VersionIdT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_catalogId;
110 bool m_catalogIdHasBeenSet = false;
111
112 Aws::String m_databaseName;
113 bool m_databaseNameHasBeenSet = false;
114
115 Aws::String m_tableName;
116 bool m_tableNameHasBeenSet = false;
117
118 Aws::String m_versionId;
119 bool m_versionIdHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Glue
124} // namespace Aws
DeleteTableVersionRequest & WithDatabaseName(DatabaseNameT &&value)
DeleteTableVersionRequest & WithVersionId(VersionIdT &&value)
AWS_GLUE_API DeleteTableVersionRequest()=default
DeleteTableVersionRequest & WithCatalogId(CatalogIdT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DeleteTableVersionRequest & WithTableName(TableNameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String