AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
48 inline const ErrorDetail& GetError() const{ return m_error; }
49 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
50 inline void SetError(const ErrorDetail& value) { m_errorHasBeenSet = true; m_error = value; }
51 inline void SetError(ErrorDetail&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
52 inline BatchGetTableOptimizerError& WithError(const ErrorDetail& value) { SetError(value); return *this;}
53 inline BatchGetTableOptimizerError& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
61 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
62 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
63 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
64 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
65 inline BatchGetTableOptimizerError& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
66 inline BatchGetTableOptimizerError& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
67 inline BatchGetTableOptimizerError& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
69
71
74 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
75 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
76 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
77 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
78 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
79 inline BatchGetTableOptimizerError& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
80 inline BatchGetTableOptimizerError& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
81 inline BatchGetTableOptimizerError& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
83
85
88 inline const Aws::String& GetTableName() const{ return m_tableName; }
89 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
90 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
91 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
92 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
93 inline BatchGetTableOptimizerError& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
94 inline BatchGetTableOptimizerError& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
95 inline BatchGetTableOptimizerError& WithTableName(const char* value) { SetTableName(value); return *this;}
97
99
102 inline const TableOptimizerType& GetType() const{ return m_type; }
103 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
104 inline void SetType(const TableOptimizerType& value) { m_typeHasBeenSet = true; m_type = value; }
105 inline void SetType(TableOptimizerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
106 inline BatchGetTableOptimizerError& WithType(const TableOptimizerType& value) { SetType(value); return *this;}
107 inline BatchGetTableOptimizerError& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;}
109 private:
110
111 ErrorDetail m_error;
112 bool m_errorHasBeenSet = false;
113
114 Aws::String m_catalogId;
115 bool m_catalogIdHasBeenSet = false;
116
117 Aws::String m_databaseName;
118 bool m_databaseNameHasBeenSet = false;
119
120 Aws::String m_tableName;
121 bool m_tableNameHasBeenSet = false;
122
123 TableOptimizerType m_type;
124 bool m_typeHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Glue
129} // namespace Aws
BatchGetTableOptimizerError & WithCatalogId(const Aws::String &value)
BatchGetTableOptimizerError & WithType(const TableOptimizerType &value)
BatchGetTableOptimizerError & WithType(TableOptimizerType &&value)
BatchGetTableOptimizerError & WithTableName(Aws::String &&value)
BatchGetTableOptimizerError & WithTableName(const Aws::String &value)
BatchGetTableOptimizerError & WithCatalogId(const char *value)
BatchGetTableOptimizerError & WithDatabaseName(Aws::String &&value)
BatchGetTableOptimizerError & WithError(const ErrorDetail &value)
AWS_GLUE_API BatchGetTableOptimizerError(Aws::Utils::Json::JsonView jsonValue)
BatchGetTableOptimizerError & WithDatabaseName(const Aws::String &value)
BatchGetTableOptimizerError & WithDatabaseName(const char *value)
BatchGetTableOptimizerError & WithCatalogId(Aws::String &&value)
BatchGetTableOptimizerError & WithTableName(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API BatchGetTableOptimizerError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchGetTableOptimizerError & WithError(ErrorDetail &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue