AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetTableOptimizerEntry.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/TableOptimizerType.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:
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 BatchGetTableOptimizerEntry& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
52 inline BatchGetTableOptimizerEntry& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
53 inline BatchGetTableOptimizerEntry& 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 BatchGetTableOptimizerEntry& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
66 inline BatchGetTableOptimizerEntry& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
67 inline BatchGetTableOptimizerEntry& 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 BatchGetTableOptimizerEntry& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
80 inline BatchGetTableOptimizerEntry& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
81 inline BatchGetTableOptimizerEntry& WithTableName(const char* value) { SetTableName(value); return *this;}
83
85
88 inline const TableOptimizerType& GetType() const{ return m_type; }
89 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
90 inline void SetType(const TableOptimizerType& value) { m_typeHasBeenSet = true; m_type = value; }
91 inline void SetType(TableOptimizerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
92 inline BatchGetTableOptimizerEntry& WithType(const TableOptimizerType& value) { SetType(value); return *this;}
93 inline BatchGetTableOptimizerEntry& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_catalogId;
98 bool m_catalogIdHasBeenSet = false;
99
100 Aws::String m_databaseName;
101 bool m_databaseNameHasBeenSet = false;
102
103 Aws::String m_tableName;
104 bool m_tableNameHasBeenSet = false;
105
106 TableOptimizerType m_type;
107 bool m_typeHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Glue
112} // namespace Aws
void SetTableName(Aws::String &&value)
AWS_GLUE_API BatchGetTableOptimizerEntry(Aws::Utils::Json::JsonView jsonValue)
bool DatabaseNameHasBeenSet() const
const Aws::String & GetTableName() const
void SetType(TableOptimizerType &&value)
BatchGetTableOptimizerEntry & WithCatalogId(const Aws::String &value)
void SetType(const TableOptimizerType &value)
void SetCatalogId(const char *value)
bool CatalogIdHasBeenSet() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDatabaseName() const
void SetCatalogId(Aws::String &&value)
AWS_GLUE_API BatchGetTableOptimizerEntry()
BatchGetTableOptimizerEntry & WithCatalogId(const char *value)
void SetTableName(const Aws::String &value)
const TableOptimizerType & GetType() const
void SetDatabaseName(const Aws::String &value)
bool TableNameHasBeenSet() const
BatchGetTableOptimizerEntry & WithType(const TableOptimizerType &value)
BatchGetTableOptimizerEntry & WithDatabaseName(const Aws::String &value)
BatchGetTableOptimizerEntry & WithTableName(const Aws::String &value)
const Aws::String & GetCatalogId() const
AWS_GLUE_API BatchGetTableOptimizerEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchGetTableOptimizerEntry & WithTableName(Aws::String &&value)
BatchGetTableOptimizerEntry & WithCatalogId(Aws::String &&value)
BatchGetTableOptimizerEntry & WithTableName(const char *value)
void SetTableName(const char *value)
BatchGetTableOptimizerEntry & WithType(TableOptimizerType &&value)
BatchGetTableOptimizerEntry & WithDatabaseName(Aws::String &&value)
void SetDatabaseName(const char *value)
void SetDatabaseName(Aws::String &&value)
bool TypeHasBeenSet() const
void SetCatalogId(const Aws::String &value)
BatchGetTableOptimizerEntry & WithDatabaseName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue