/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of a SQL statement. <note> <p>This
* data structure is only used with the deprecated
* <code>ExecuteSql</code> operation. Use the
* <code>BatchExecuteStatement</code> or
* <code>ExecuteStatement</code> operation instead.</p>
* </note>
See Also:
AWS
* API Reference
The result set of the SQL statement.
*/ inline const ResultFrame& GetResultFrame() const{ return m_resultFrame; } /** *The result set of the SQL statement.
*/ inline bool ResultFrameHasBeenSet() const { return m_resultFrameHasBeenSet; } /** *The result set of the SQL statement.
*/ inline void SetResultFrame(const ResultFrame& value) { m_resultFrameHasBeenSet = true; m_resultFrame = value; } /** *The result set of the SQL statement.
*/ inline void SetResultFrame(ResultFrame&& value) { m_resultFrameHasBeenSet = true; m_resultFrame = std::move(value); } /** *The result set of the SQL statement.
*/ inline SqlStatementResult& WithResultFrame(const ResultFrame& value) { SetResultFrame(value); return *this;} /** *The result set of the SQL statement.
*/ inline SqlStatementResult& WithResultFrame(ResultFrame&& value) { SetResultFrame(std::move(value)); return *this;} /** *The number of records updated by a SQL statement.
*/ inline long long GetNumberOfRecordsUpdated() const{ return m_numberOfRecordsUpdated; } /** *The number of records updated by a SQL statement.
*/ inline bool NumberOfRecordsUpdatedHasBeenSet() const { return m_numberOfRecordsUpdatedHasBeenSet; } /** *The number of records updated by a SQL statement.
*/ inline void SetNumberOfRecordsUpdated(long long value) { m_numberOfRecordsUpdatedHasBeenSet = true; m_numberOfRecordsUpdated = value; } /** *The number of records updated by a SQL statement.
*/ inline SqlStatementResult& WithNumberOfRecordsUpdated(long long value) { SetNumberOfRecordsUpdated(value); return *this;} private: ResultFrame m_resultFrame; bool m_resultFrameHasBeenSet = false; long long m_numberOfRecordsUpdated; bool m_numberOfRecordsUpdatedHasBeenSet = false; }; } // namespace Model } // namespace RDSDataService } // namespace Aws