AWS SDK for C++

AWS SDK for C++ Version 1.11.689

Loading...
Searching...
No Matches
GetTableOptimizerRequest.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#include <aws/glue/model/TableOptimizerType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API GetTableOptimizerRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetTableOptimizer"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
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
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) {
60 m_databaseNameHasBeenSet = true;
61 m_databaseName = std::forward<DatabaseNameT>(value);
62 }
63 template <typename DatabaseNameT = Aws::String>
65 SetDatabaseName(std::forward<DatabaseNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetTableName() const { return m_tableName; }
75 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
76 template <typename TableNameT = Aws::String>
77 void SetTableName(TableNameT&& value) {
78 m_tableNameHasBeenSet = true;
79 m_tableName = std::forward<TableNameT>(value);
80 }
81 template <typename TableNameT = Aws::String>
83 SetTableName(std::forward<TableNameT>(value));
84 return *this;
85 }
87
89
92 inline TableOptimizerType GetType() const { return m_type; }
93 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 inline void SetType(TableOptimizerType value) {
95 m_typeHasBeenSet = true;
96 m_type = value;
97 }
99 SetType(value);
100 return *this;
101 }
103 private:
104 Aws::String m_catalogId;
105 bool m_catalogIdHasBeenSet = false;
106
107 Aws::String m_databaseName;
108 bool m_databaseNameHasBeenSet = false;
109
110 Aws::String m_tableName;
111 bool m_tableNameHasBeenSet = false;
112
114 bool m_typeHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Glue
119} // namespace Aws
GetTableOptimizerRequest & WithType(TableOptimizerType value)
GetTableOptimizerRequest & WithTableName(TableNameT &&value)
virtual const char * GetServiceRequestName() const override
GetTableOptimizerRequest & WithCatalogId(CatalogIdT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API GetTableOptimizerRequest()=default
GetTableOptimizerRequest & WithDatabaseName(DatabaseNameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String