AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchTableOptimizer.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/TableOptimizer.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API BatchTableOptimizer();
40
41
43
46 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
47 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
48 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
49 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
50 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
51 inline BatchTableOptimizer& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
52 inline BatchTableOptimizer& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
53 inline BatchTableOptimizer& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
55
57
60 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
61 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
62 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
63 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
64 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
65 inline BatchTableOptimizer& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
66 inline BatchTableOptimizer& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
67 inline BatchTableOptimizer& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
69
71
74 inline const Aws::String& GetTableName() const{ return m_tableName; }
75 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
76 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
77 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
78 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
79 inline BatchTableOptimizer& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
80 inline BatchTableOptimizer& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
81 inline BatchTableOptimizer& WithTableName(const char* value) { SetTableName(value); return *this;}
83
85
89 inline const TableOptimizer& GetTableOptimizer() const{ return m_tableOptimizer; }
90 inline bool TableOptimizerHasBeenSet() const { return m_tableOptimizerHasBeenSet; }
91 inline void SetTableOptimizer(const TableOptimizer& value) { m_tableOptimizerHasBeenSet = true; m_tableOptimizer = value; }
92 inline void SetTableOptimizer(TableOptimizer&& value) { m_tableOptimizerHasBeenSet = true; m_tableOptimizer = std::move(value); }
93 inline BatchTableOptimizer& WithTableOptimizer(const TableOptimizer& value) { SetTableOptimizer(value); return *this;}
94 inline BatchTableOptimizer& WithTableOptimizer(TableOptimizer&& value) { SetTableOptimizer(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_catalogId;
99 bool m_catalogIdHasBeenSet = false;
100
101 Aws::String m_databaseName;
102 bool m_databaseNameHasBeenSet = false;
103
104 Aws::String m_tableName;
105 bool m_tableNameHasBeenSet = false;
106
107 TableOptimizer m_tableOptimizer;
108 bool m_tableOptimizerHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Glue
113} // namespace Aws
BatchTableOptimizer & WithDatabaseName(Aws::String &&value)
BatchTableOptimizer & WithCatalogId(Aws::String &&value)
BatchTableOptimizer & WithCatalogId(const Aws::String &value)
void SetTableOptimizer(const TableOptimizer &value)
void SetTableOptimizer(TableOptimizer &&value)
const TableOptimizer & GetTableOptimizer() const
BatchTableOptimizer & WithCatalogId(const char *value)
void SetCatalogId(const Aws::String &value)
BatchTableOptimizer & WithTableOptimizer(TableOptimizer &&value)
BatchTableOptimizer & WithDatabaseName(const char *value)
BatchTableOptimizer & WithTableName(const Aws::String &value)
const Aws::String & GetDatabaseName() const
BatchTableOptimizer & WithTableOptimizer(const TableOptimizer &value)
void SetDatabaseName(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchTableOptimizer & WithDatabaseName(const Aws::String &value)
const Aws::String & GetTableName() const
AWS_GLUE_API BatchTableOptimizer & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API BatchTableOptimizer(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCatalogId() const
void SetTableName(const Aws::String &value)
BatchTableOptimizer & WithTableName(const char *value)
void SetDatabaseName(Aws::String &&value)
BatchTableOptimizer & WithTableName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue