AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetTableVersionRequest.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 GetTableVersionRequest() = 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 "GetTableVersion"; }
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 GetTableVersionRequest& 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 GetTableVersionRequest& 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 GetTableVersionRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
75
77
81 inline const Aws::String& GetVersionId() const { return m_versionId; }
82 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
83 template<typename VersionIdT = Aws::String>
84 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
85 template<typename VersionIdT = Aws::String>
86 GetTableVersionRequest& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_catalogId;
91 bool m_catalogIdHasBeenSet = false;
92
93 Aws::String m_databaseName;
94 bool m_databaseNameHasBeenSet = false;
95
96 Aws::String m_tableName;
97 bool m_tableNameHasBeenSet = false;
98
99 Aws::String m_versionId;
100 bool m_versionIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Glue
105} // namespace Aws
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