AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetTableOptimizerError.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ErrorDetail.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 Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API BatchGetTableOptimizerError() = default;
41
42
44
48 inline const ErrorDetail& GetError() const { return m_error; }
49 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
50 template<typename ErrorT = ErrorDetail>
51 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
52 template<typename ErrorT = ErrorDetail>
53 BatchGetTableOptimizerError& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
55
57
60 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
61 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
62 template<typename CatalogIdT = Aws::String>
63 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
64 template<typename CatalogIdT = Aws::String>
65 BatchGetTableOptimizerError& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
73 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
74 template<typename DatabaseNameT = Aws::String>
75 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
76 template<typename DatabaseNameT = Aws::String>
77 BatchGetTableOptimizerError& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
79
81
84 inline const Aws::String& GetTableName() const { return m_tableName; }
85 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
86 template<typename TableNameT = Aws::String>
87 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
88 template<typename TableNameT = Aws::String>
89 BatchGetTableOptimizerError& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
91
93
96 inline TableOptimizerType GetType() const { return m_type; }
97 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
98 inline void SetType(TableOptimizerType value) { m_typeHasBeenSet = true; m_type = value; }
99 inline BatchGetTableOptimizerError& WithType(TableOptimizerType value) { SetType(value); return *this;}
101 private:
102
103 ErrorDetail m_error;
104 bool m_errorHasBeenSet = false;
105
106 Aws::String m_catalogId;
107 bool m_catalogIdHasBeenSet = false;
108
109 Aws::String m_databaseName;
110 bool m_databaseNameHasBeenSet = false;
111
112 Aws::String m_tableName;
113 bool m_tableNameHasBeenSet = false;
114
116 bool m_typeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Glue
121} // namespace Aws
BatchGetTableOptimizerError & WithError(ErrorT &&value)
AWS_GLUE_API BatchGetTableOptimizerError()=default
BatchGetTableOptimizerError & WithTableName(TableNameT &&value)
BatchGetTableOptimizerError & WithType(TableOptimizerType value)
BatchGetTableOptimizerError & WithDatabaseName(DatabaseNameT &&value)
AWS_GLUE_API BatchGetTableOptimizerError(Aws::Utils::Json::JsonView jsonValue)
BatchGetTableOptimizerError & WithCatalogId(CatalogIdT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API BatchGetTableOptimizerError & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue