AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetTableOptimizerResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/TableOptimizer.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API GetTableOptimizerResult() = default;
30
32
35 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
36 template <typename CatalogIdT = Aws::String>
37 void SetCatalogId(CatalogIdT&& value) {
38 m_catalogIdHasBeenSet = true;
39 m_catalogId = std::forward<CatalogIdT>(value);
40 }
41 template <typename CatalogIdT = Aws::String>
43 SetCatalogId(std::forward<CatalogIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
53 template <typename DatabaseNameT = Aws::String>
54 void SetDatabaseName(DatabaseNameT&& value) {
55 m_databaseNameHasBeenSet = true;
56 m_databaseName = std::forward<DatabaseNameT>(value);
57 }
58 template <typename DatabaseNameT = Aws::String>
59 GetTableOptimizerResult& WithDatabaseName(DatabaseNameT&& value) {
60 SetDatabaseName(std::forward<DatabaseNameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetTableName() const { return m_tableName; }
70 template <typename TableNameT = Aws::String>
71 void SetTableName(TableNameT&& value) {
72 m_tableNameHasBeenSet = true;
73 m_tableName = std::forward<TableNameT>(value);
74 }
75 template <typename TableNameT = Aws::String>
77 SetTableName(std::forward<TableNameT>(value));
78 return *this;
79 }
81
83
86 inline const TableOptimizer& GetTableOptimizer() const { return m_tableOptimizer; }
87 template <typename TableOptimizerT = TableOptimizer>
88 void SetTableOptimizer(TableOptimizerT&& value) {
89 m_tableOptimizerHasBeenSet = true;
90 m_tableOptimizer = std::forward<TableOptimizerT>(value);
91 }
92 template <typename TableOptimizerT = TableOptimizer>
93 GetTableOptimizerResult& WithTableOptimizer(TableOptimizerT&& value) {
94 SetTableOptimizer(std::forward<TableOptimizerT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::String m_catalogId;
117
118 Aws::String m_databaseName;
119
120 Aws::String m_tableName;
121
122 TableOptimizer m_tableOptimizer;
123
124 Aws::String m_requestId;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_catalogIdHasBeenSet = false;
127 bool m_databaseNameHasBeenSet = false;
128 bool m_tableNameHasBeenSet = false;
129 bool m_tableOptimizerHasBeenSet = false;
130 bool m_requestIdHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace Glue
135} // namespace Aws
GetTableOptimizerResult & WithRequestId(RequestIdT &&value)
GetTableOptimizerResult & WithDatabaseName(DatabaseNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_GLUE_API GetTableOptimizerResult()=default
GetTableOptimizerResult & WithTableName(TableNameT &&value)
AWS_GLUE_API GetTableOptimizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableOptimizerResult & WithTableOptimizer(TableOptimizerT &&value)
GetTableOptimizerResult & WithCatalogId(CatalogIdT &&value)
AWS_GLUE_API GetTableOptimizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const TableOptimizer & GetTableOptimizer() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue