AWS SDK for C++

AWS SDK for C++ Version 1.11.809

Loading...
Searching...
No Matches
GetTableVersionRequest.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#include <aws/glue/model/AuditContext.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API GetTableVersionRequest() = 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 "GetTableVersion"; }
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>
66 GetTableVersionRequest& WithDatabaseName(DatabaseNameT&& value) {
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::String& GetVersionId() const { return m_versionId; }
97 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
98 template <typename VersionIdT = Aws::String>
99 void SetVersionId(VersionIdT&& value) {
100 m_versionIdHasBeenSet = true;
101 m_versionId = std::forward<VersionIdT>(value);
102 }
103 template <typename VersionIdT = Aws::String>
105 SetVersionId(std::forward<VersionIdT>(value));
106 return *this;
107 }
109
111
112 inline const AuditContext& GetAuditContext() const { return m_auditContext; }
113 inline bool AuditContextHasBeenSet() const { return m_auditContextHasBeenSet; }
114 template <typename AuditContextT = AuditContext>
115 void SetAuditContext(AuditContextT&& value) {
116 m_auditContextHasBeenSet = true;
117 m_auditContext = std::forward<AuditContextT>(value);
118 }
119 template <typename AuditContextT = AuditContext>
120 GetTableVersionRequest& WithAuditContext(AuditContextT&& value) {
121 SetAuditContext(std::forward<AuditContextT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_catalogId;
127
128 Aws::String m_databaseName;
129
130 Aws::String m_tableName;
131
132 Aws::String m_versionId;
133
134 AuditContext m_auditContext;
135 bool m_catalogIdHasBeenSet = false;
136 bool m_databaseNameHasBeenSet = false;
137 bool m_tableNameHasBeenSet = false;
138 bool m_versionIdHasBeenSet = false;
139 bool m_auditContextHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace Glue
144} // namespace Aws
GetTableVersionRequest & WithAuditContext(AuditContextT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
GetTableVersionRequest & WithTableName(TableNameT &&value)
GetTableVersionRequest & WithVersionId(VersionIdT &&value)
AWS_GLUE_API GetTableVersionRequest()=default
AWS_GLUE_API Aws::String SerializePayload() const override
GetTableVersionRequest & WithDatabaseName(DatabaseNameT &&value)
GetTableVersionRequest & WithCatalogId(CatalogIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String