/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The response elements represent the output of a request to run a SQL
* statement against a database.See Also:
AWS
* API Reference
Metadata for the columns included in the results.
*/ inline const Aws::VectorMetadata for the columns included in the results.
*/ inline void SetColumnMetadata(const Aws::VectorMetadata for the columns included in the results.
*/ inline void SetColumnMetadata(Aws::VectorMetadata for the columns included in the results.
*/ inline ExecuteStatementResult& WithColumnMetadata(const Aws::VectorMetadata for the columns included in the results.
*/ inline ExecuteStatementResult& WithColumnMetadata(Aws::VectorMetadata for the columns included in the results.
*/ inline ExecuteStatementResult& AddColumnMetadata(const ColumnMetadata& value) { m_columnMetadata.push_back(value); return *this; } /** *Metadata for the columns included in the results.
*/ inline ExecuteStatementResult& AddColumnMetadata(ColumnMetadata&& value) { m_columnMetadata.push_back(std::move(value)); return *this; } /** *Values for fields generated during the request.
<note>
* <p>The <code>generatedFields</code> data isn't supported by
* Aurora PostgreSQL. To get the values of generated fields, use the
* <code>RETURNING</code> clause. For more information, see <a
* href="https://www.postgresql.org/docs/10/dml-returning.html">Returning
* Data From Modified Rows</a> in the PostgreSQL documentation.</p>
* </note>
*/
inline const Aws::VectorValues for fields generated during the request.
<note>
* <p>The <code>generatedFields</code> data isn't supported by
* Aurora PostgreSQL. To get the values of generated fields, use the
* <code>RETURNING</code> clause. For more information, see <a
* href="https://www.postgresql.org/docs/10/dml-returning.html">Returning
* Data From Modified Rows</a> in the PostgreSQL documentation.</p>
* </note>
*/
inline void SetGeneratedFields(const Aws::VectorValues for fields generated during the request.
<note>
* <p>The <code>generatedFields</code> data isn't supported by
* Aurora PostgreSQL. To get the values of generated fields, use the
* <code>RETURNING</code> clause. For more information, see <a
* href="https://www.postgresql.org/docs/10/dml-returning.html">Returning
* Data From Modified Rows</a> in the PostgreSQL documentation.</p>
* </note>
*/
inline void SetGeneratedFields(Aws::VectorValues for fields generated during the request.
<note>
* <p>The <code>generatedFields</code> data isn't supported by
* Aurora PostgreSQL. To get the values of generated fields, use the
* <code>RETURNING</code> clause. For more information, see <a
* href="https://www.postgresql.org/docs/10/dml-returning.html">Returning
* Data From Modified Rows</a> in the PostgreSQL documentation.</p>
* </note>
*/
inline ExecuteStatementResult& WithGeneratedFields(const Aws::VectorValues for fields generated during the request.
<note>
* <p>The <code>generatedFields</code> data isn't supported by
* Aurora PostgreSQL. To get the values of generated fields, use the
* <code>RETURNING</code> clause. For more information, see <a
* href="https://www.postgresql.org/docs/10/dml-returning.html">Returning
* Data From Modified Rows</a> in the PostgreSQL documentation.</p>
* </note>
*/
inline ExecuteStatementResult& WithGeneratedFields(Aws::VectorValues for fields generated during the request.
<note>
* <p>The <code>generatedFields</code> data isn't supported by
* Aurora PostgreSQL. To get the values of generated fields, use the
* <code>RETURNING</code> clause. For more information, see <a
* href="https://www.postgresql.org/docs/10/dml-returning.html">Returning
* Data From Modified Rows</a> in the PostgreSQL documentation.</p>
* </note>
*/
inline ExecuteStatementResult& AddGeneratedFields(const Field& value) { m_generatedFields.push_back(value); return *this; }
/**
* Values for fields generated during the request.
<note>
* <p>The <code>generatedFields</code> data isn't supported by
* Aurora PostgreSQL. To get the values of generated fields, use the
* <code>RETURNING</code> clause. For more information, see <a
* href="https://www.postgresql.org/docs/10/dml-returning.html">Returning
* Data From Modified Rows</a> in the PostgreSQL documentation.</p>
* </note>
*/
inline ExecuteStatementResult& AddGeneratedFields(Field&& value) { m_generatedFields.push_back(std::move(value)); return *this; }
/**
* The number of records updated by the request.
*/ inline long long GetNumberOfRecordsUpdated() const{ return m_numberOfRecordsUpdated; } /** *The number of records updated by the request.
*/ inline void SetNumberOfRecordsUpdated(long long value) { m_numberOfRecordsUpdated = value; } /** *The number of records updated by the request.
*/ inline ExecuteStatementResult& WithNumberOfRecordsUpdated(long long value) { SetNumberOfRecordsUpdated(value); return *this;} /** *The records returned by the SQL statement.
*/ inline const Aws::VectorThe records returned by the SQL statement.
*/ inline void SetRecords(const Aws::VectorThe records returned by the SQL statement.
*/ inline void SetRecords(Aws::VectorThe records returned by the SQL statement.
*/ inline ExecuteStatementResult& WithRecords(const Aws::VectorThe records returned by the SQL statement.
*/ inline ExecuteStatementResult& WithRecords(Aws::VectorThe records returned by the SQL statement.
*/ inline ExecuteStatementResult& AddRecords(const Aws::VectorThe records returned by the SQL statement.
*/ inline ExecuteStatementResult& AddRecords(Aws::Vector