AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetTableRequest.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 <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API GetTableRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetTable"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
44 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
45 template<typename CatalogIdT = Aws::String>
46 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
47 template<typename CatalogIdT = Aws::String>
48 GetTableRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
57 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
58 template<typename DatabaseNameT = Aws::String>
59 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
60 template<typename DatabaseNameT = Aws::String>
61 GetTableRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
63
65
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 GetTableRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetTransactionId() const { return m_transactionId; }
82 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
83 template<typename TransactionIdT = Aws::String>
84 void SetTransactionId(TransactionIdT&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::forward<TransactionIdT>(value); }
85 template<typename TransactionIdT = Aws::String>
86 GetTableRequest& WithTransactionId(TransactionIdT&& value) { SetTransactionId(std::forward<TransactionIdT>(value)); return *this;}
88
90
95 inline const Aws::Utils::DateTime& GetQueryAsOfTime() const { return m_queryAsOfTime; }
96 inline bool QueryAsOfTimeHasBeenSet() const { return m_queryAsOfTimeHasBeenSet; }
97 template<typename QueryAsOfTimeT = Aws::Utils::DateTime>
98 void SetQueryAsOfTime(QueryAsOfTimeT&& value) { m_queryAsOfTimeHasBeenSet = true; m_queryAsOfTime = std::forward<QueryAsOfTimeT>(value); }
99 template<typename QueryAsOfTimeT = Aws::Utils::DateTime>
100 GetTableRequest& WithQueryAsOfTime(QueryAsOfTimeT&& value) { SetQueryAsOfTime(std::forward<QueryAsOfTimeT>(value)); return *this;}
102
104
108 inline bool GetIncludeStatusDetails() const { return m_includeStatusDetails; }
109 inline bool IncludeStatusDetailsHasBeenSet() const { return m_includeStatusDetailsHasBeenSet; }
110 inline void SetIncludeStatusDetails(bool value) { m_includeStatusDetailsHasBeenSet = true; m_includeStatusDetails = value; }
111 inline GetTableRequest& WithIncludeStatusDetails(bool value) { SetIncludeStatusDetails(value); return *this;}
113 private:
114
115 Aws::String m_catalogId;
116 bool m_catalogIdHasBeenSet = false;
117
118 Aws::String m_databaseName;
119 bool m_databaseNameHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 Aws::String m_transactionId;
125 bool m_transactionIdHasBeenSet = false;
126
127 Aws::Utils::DateTime m_queryAsOfTime{};
128 bool m_queryAsOfTimeHasBeenSet = false;
129
130 bool m_includeStatusDetails{false};
131 bool m_includeStatusDetailsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Glue
136} // namespace Aws
GetTableRequest & WithDatabaseName(DatabaseNameT &&value)
const Aws::String & GetName() const
GetTableRequest & WithQueryAsOfTime(QueryAsOfTimeT &&value)
void SetTransactionId(TransactionIdT &&value)
void SetCatalogId(CatalogIdT &&value)
GetTableRequest & WithIncludeStatusDetails(bool value)
AWS_GLUE_API GetTableRequest()=default
GetTableRequest & WithCatalogId(CatalogIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetTableRequest & WithName(NameT &&value)
const Aws::Utils::DateTime & GetQueryAsOfTime() const
void SetDatabaseName(DatabaseNameT &&value)
const Aws::String & GetTransactionId() const
const Aws::String & GetCatalogId() const
const Aws::String & GetDatabaseName() const
AWS_GLUE_API Aws::String SerializePayload() const override
GetTableRequest & WithTransactionId(TransactionIdT &&value)
void SetQueryAsOfTime(QueryAsOfTimeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String