AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetTableVersionsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Glue
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GLUE_API GetTableVersionsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetTableVersions"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
43 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
44 template<typename CatalogIdT = Aws::String>
45 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
46 template<typename CatalogIdT = Aws::String>
47 GetTableVersionsRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
49
51
55 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
56 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
57 template<typename DatabaseNameT = Aws::String>
58 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
59 template<typename DatabaseNameT = Aws::String>
60 GetTableVersionsRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
62
64
68 inline const Aws::String& GetTableName() const { return m_tableName; }
69 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
70 template<typename TableNameT = Aws::String>
71 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
72 template<typename TableNameT = Aws::String>
73 GetTableVersionsRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template<typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
84 template<typename NextTokenT = Aws::String>
85 GetTableVersionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
87
89
92 inline int GetMaxResults() const { return m_maxResults; }
93 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
95 inline GetTableVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
97 private:
98
99 Aws::String m_catalogId;
100 bool m_catalogIdHasBeenSet = false;
101
102 Aws::String m_databaseName;
103 bool m_databaseNameHasBeenSet = false;
104
105 Aws::String m_tableName;
106 bool m_tableNameHasBeenSet = false;
107
108 Aws::String m_nextToken;
109 bool m_nextTokenHasBeenSet = false;
110
111 int m_maxResults{0};
112 bool m_maxResultsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Glue
117} // 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