/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Encapsulates a column name that failed and the reason for
* failure.See Also:
AWS
* API Reference
The name of the column that failed.
*/ inline const Aws::String& GetColumnName() const{ return m_columnName; } /** *The name of the column that failed.
*/ inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } /** *The name of the column that failed.
*/ inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } /** *The name of the column that failed.
*/ inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } /** *The name of the column that failed.
*/ inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } /** *The name of the column that failed.
*/ inline ColumnError& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} /** *The name of the column that failed.
*/ inline ColumnError& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} /** *The name of the column that failed.
*/ inline ColumnError& WithColumnName(const char* value) { SetColumnName(value); return *this;} /** *An error message with the reason for the failure of an operation.
*/ inline const ErrorDetail& GetError() const{ return m_error; } /** *An error message with the reason for the failure of an operation.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *An error message with the reason for the failure of an operation.
*/ inline void SetError(const ErrorDetail& value) { m_errorHasBeenSet = true; m_error = value; } /** *An error message with the reason for the failure of an operation.
*/ inline void SetError(ErrorDetail&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *An error message with the reason for the failure of an operation.
*/ inline ColumnError& WithError(const ErrorDetail& value) { SetError(value); return *this;} /** *An error message with the reason for the failure of an operation.
*/ inline ColumnError& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;} private: Aws::String m_columnName; bool m_columnNameHasBeenSet = false; ErrorDetail m_error; bool m_errorHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws