AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchGetTableOptimizerEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/TableOptimizerType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API BatchGetTableOptimizerEntry() = default;
35
37
40 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
41 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
42 template <typename CatalogIdT = Aws::String>
43 void SetCatalogId(CatalogIdT&& value) {
44 m_catalogIdHasBeenSet = true;
45 m_catalogId = std::forward<CatalogIdT>(value);
46 }
47 template <typename CatalogIdT = Aws::String>
49 SetCatalogId(std::forward<CatalogIdT>(value));
50 return *this;
51 }
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) {
62 m_databaseNameHasBeenSet = true;
63 m_databaseName = std::forward<DatabaseNameT>(value);
64 }
65 template <typename DatabaseNameT = Aws::String>
67 SetDatabaseName(std::forward<DatabaseNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetTableName() const { return m_tableName; }
77 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
78 template <typename TableNameT = Aws::String>
79 void SetTableName(TableNameT&& value) {
80 m_tableNameHasBeenSet = true;
81 m_tableName = std::forward<TableNameT>(value);
82 }
83 template <typename TableNameT = Aws::String>
85 SetTableName(std::forward<TableNameT>(value));
86 return *this;
87 }
89
91
94 inline TableOptimizerType GetType() const { return m_type; }
95 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
96 inline void SetType(TableOptimizerType value) {
97 m_typeHasBeenSet = true;
98 m_type = value;
99 }
101 SetType(value);
102 return *this;
103 }
105 private:
106 Aws::String m_catalogId;
107
108 Aws::String m_databaseName;
109
110 Aws::String m_tableName;
111
113 bool m_catalogIdHasBeenSet = false;
114 bool m_databaseNameHasBeenSet = false;
115 bool m_tableNameHasBeenSet = false;
116 bool m_typeHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace Glue
121} // 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