/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An SQL statement encountered an environmental error while
* running.See Also:
AWS
* API Reference
Statement identifier of the exception.
*/ inline const Aws::String& GetStatementId() const{ return m_statementId; } /** *Statement identifier of the exception.
*/ inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; } /** *Statement identifier of the exception.
*/ inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; } /** *Statement identifier of the exception.
*/ inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); } /** *Statement identifier of the exception.
*/ inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); } /** *Statement identifier of the exception.
*/ inline BatchExecuteStatementException& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;} /** *Statement identifier of the exception.
*/ inline BatchExecuteStatementException& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;} /** *Statement identifier of the exception.
*/ inline BatchExecuteStatementException& WithStatementId(const char* value) { SetStatementId(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_statementId; bool m_statementIdHasBeenSet = false; }; } // namespace Model } // namespace RedshiftDataAPIService } // namespace Aws