AWS SDK for C++

AWS SDK for C++ Version 1.11.689

Loading...
Searching...
No Matches
GetTableVersionsRequest.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 GetTableVersionsRequest() = 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 "GetTableVersions"; }
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>
65 GetTableVersionsRequest& WithDatabaseName(DatabaseNameT&& value) {
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
94 inline const Aws::String& GetNextToken() const { return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 template <typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) {
98 m_nextTokenHasBeenSet = true;
99 m_nextToken = std::forward<NextTokenT>(value);
100 }
101 template <typename NextTokenT = Aws::String>
103 SetNextToken(std::forward<NextTokenT>(value));
104 return *this;
105 }
107
109
112 inline int GetMaxResults() const { return m_maxResults; }
113 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
114 inline void SetMaxResults(int value) {
115 m_maxResultsHasBeenSet = true;
116 m_maxResults = value;
117 }
119 SetMaxResults(value);
120 return *this;
121 }
123 private:
124 Aws::String m_catalogId;
125 bool m_catalogIdHasBeenSet = false;
126
127 Aws::String m_databaseName;
128 bool m_databaseNameHasBeenSet = false;
129
130 Aws::String m_tableName;
131 bool m_tableNameHasBeenSet = false;
132
133 Aws::String m_nextToken;
134 bool m_nextTokenHasBeenSet = false;
135
136 int m_maxResults{0};
137 bool m_maxResultsHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace Glue
142} // namespace Aws
GetTableVersionsRequest & WithTableName(TableNameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
GetTableVersionsRequest & WithCatalogId(CatalogIdT &&value)
GetTableVersionsRequest & WithNextToken(NextTokenT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
GetTableVersionsRequest & WithMaxResults(int value)
AWS_GLUE_API GetTableVersionsRequest()=default
GetTableVersionsRequest & WithDatabaseName(DatabaseNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String