AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTableOptimizerRequest.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/glue/model/TableOptimizerType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
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 "GetTableOptimizer"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
43 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
44 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
45 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
46 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
47 inline GetTableOptimizerRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
48 inline GetTableOptimizerRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
49 inline GetTableOptimizerRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
51
53
56 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
57 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
58 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
59 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
60 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
61 inline GetTableOptimizerRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
62 inline GetTableOptimizerRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
63 inline GetTableOptimizerRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
65
67
70 inline const Aws::String& GetTableName() const{ return m_tableName; }
71 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
72 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
73 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
74 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
75 inline GetTableOptimizerRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
76 inline GetTableOptimizerRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
77 inline GetTableOptimizerRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
79
81
84 inline const TableOptimizerType& GetType() const{ return m_type; }
85 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
86 inline void SetType(const TableOptimizerType& value) { m_typeHasBeenSet = true; m_type = value; }
87 inline void SetType(TableOptimizerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
88 inline GetTableOptimizerRequest& WithType(const TableOptimizerType& value) { SetType(value); return *this;}
89 inline GetTableOptimizerRequest& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_catalogId;
94 bool m_catalogIdHasBeenSet = false;
95
96 Aws::String m_databaseName;
97 bool m_databaseNameHasBeenSet = false;
98
99 Aws::String m_tableName;
100 bool m_tableNameHasBeenSet = false;
101
102 TableOptimizerType m_type;
103 bool m_typeHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Glue
108} // namespace Aws
GetTableOptimizerRequest & WithDatabaseName(Aws::String &&value)
GetTableOptimizerRequest & WithType(const TableOptimizerType &value)
GetTableOptimizerRequest & WithTableName(const char *value)
virtual const char * GetServiceRequestName() const override
GetTableOptimizerRequest & WithDatabaseName(const Aws::String &value)
GetTableOptimizerRequest & WithCatalogId(Aws::String &&value)
GetTableOptimizerRequest & WithType(TableOptimizerType &&value)
GetTableOptimizerRequest & WithDatabaseName(const char *value)
GetTableOptimizerRequest & WithTableName(Aws::String &&value)
void SetType(const TableOptimizerType &value)
GetTableOptimizerRequest & WithTableName(const Aws::String &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API Aws::String SerializePayload() const override
GetTableOptimizerRequest & WithCatalogId(const Aws::String &value)
GetTableOptimizerRequest & WithCatalogId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String