AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
36 AWS_GLUE_API BatchGetTableOptimizerEntry() = default;
40
41
43
46 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
47 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
48 template<typename CatalogIdT = Aws::String>
49 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
50 template<typename CatalogIdT = Aws::String>
51 BatchGetTableOptimizerEntry& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
59 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
60 template<typename DatabaseNameT = Aws::String>
61 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
62 template<typename DatabaseNameT = Aws::String>
63 BatchGetTableOptimizerEntry& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetTableName() const { return m_tableName; }
71 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
72 template<typename TableNameT = Aws::String>
73 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
74 template<typename TableNameT = Aws::String>
75 BatchGetTableOptimizerEntry& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
77
79
82 inline TableOptimizerType GetType() const { return m_type; }
83 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
84 inline void SetType(TableOptimizerType value) { m_typeHasBeenSet = true; m_type = value; }
85 inline BatchGetTableOptimizerEntry& WithType(TableOptimizerType value) { SetType(value); return *this;}
87 private:
88
89 Aws::String m_catalogId;
90 bool m_catalogIdHasBeenSet = false;
91
92 Aws::String m_databaseName;
93 bool m_databaseNameHasBeenSet = false;
94
95 Aws::String m_tableName;
96 bool m_tableNameHasBeenSet = false;
97
99 bool m_typeHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Glue
104} // namespace Aws
AWS_GLUE_API BatchGetTableOptimizerEntry(Aws::Utils::Json::JsonView jsonValue)
bool DatabaseNameHasBeenSet() const
void SetDatabaseName(DatabaseNameT &&value)
const Aws::String & GetTableName() const
TableOptimizerType GetType() const
bool CatalogIdHasBeenSet() const
void SetTableName(TableNameT &&value)
void SetType(TableOptimizerType value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchGetTableOptimizerEntry & WithDatabaseName(DatabaseNameT &&value)
const Aws::String & GetDatabaseName() const
BatchGetTableOptimizerEntry & WithType(TableOptimizerType value)
AWS_GLUE_API BatchGetTableOptimizerEntry()=default
BatchGetTableOptimizerEntry & WithTableName(TableNameT &&value)
bool TableNameHasBeenSet() const
const Aws::String & GetCatalogId() const
AWS_GLUE_API BatchGetTableOptimizerEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchGetTableOptimizerEntry & WithCatalogId(CatalogIdT &&value)
bool TypeHasBeenSet() const
void SetCatalogId(CatalogIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue