/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An error record for table operations.See Also:
AWS API
* Reference
The name of the table. For Hive compatibility, this must be entirely * lowercase.
*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *The name of the table. For Hive compatibility, this must be entirely * lowercase.
*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *The name of the table. For Hive compatibility, this must be entirely * lowercase.
*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *The name of the table. For Hive compatibility, this must be entirely * lowercase.
*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *The name of the table. For Hive compatibility, this must be entirely * lowercase.
*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *The name of the table. For Hive compatibility, this must be entirely * lowercase.
*/ inline TableError& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *The name of the table. For Hive compatibility, this must be entirely * lowercase.
*/ inline TableError& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *The name of the table. For Hive compatibility, this must be entirely * lowercase.
*/ inline TableError& WithTableName(const char* value) { SetTableName(value); return *this;} /** *The details about the error.
*/ inline const ErrorDetail& GetErrorDetail() const{ return m_errorDetail; } /** *The details about the error.
*/ inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; } /** *The details about the error.
*/ inline void SetErrorDetail(const ErrorDetail& value) { m_errorDetailHasBeenSet = true; m_errorDetail = value; } /** *The details about the error.
*/ inline void SetErrorDetail(ErrorDetail&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::move(value); } /** *The details about the error.
*/ inline TableError& WithErrorDetail(const ErrorDetail& value) { SetErrorDetail(value); return *this;} /** *The details about the error.
*/ inline TableError& WithErrorDetail(ErrorDetail&& value) { SetErrorDetail(std::move(value)); return *this;} private: Aws::String m_tableName; bool m_tableNameHasBeenSet = false; ErrorDetail m_errorDetail; bool m_errorDetailHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws