/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result set returned by a SQL statement. This data structure
* is only used with the deprecated ExecuteSql
operation. Use the
* BatchExecuteStatement
or ExecuteStatement
operation
* instead.See Also:
AWS
* API Reference
The result-set metadata in the result set.
*/ inline const ResultSetMetadata& GetResultSetMetadata() const{ return m_resultSetMetadata; } /** *The result-set metadata in the result set.
*/ inline bool ResultSetMetadataHasBeenSet() const { return m_resultSetMetadataHasBeenSet; } /** *The result-set metadata in the result set.
*/ inline void SetResultSetMetadata(const ResultSetMetadata& value) { m_resultSetMetadataHasBeenSet = true; m_resultSetMetadata = value; } /** *The result-set metadata in the result set.
*/ inline void SetResultSetMetadata(ResultSetMetadata&& value) { m_resultSetMetadataHasBeenSet = true; m_resultSetMetadata = std::move(value); } /** *The result-set metadata in the result set.
*/ inline ResultFrame& WithResultSetMetadata(const ResultSetMetadata& value) { SetResultSetMetadata(value); return *this;} /** *The result-set metadata in the result set.
*/ inline ResultFrame& WithResultSetMetadata(ResultSetMetadata&& value) { SetResultSetMetadata(std::move(value)); return *this;} /** *The records in the result set.
*/ inline const Aws::VectorThe records in the result set.
*/ inline bool RecordsHasBeenSet() const { return m_recordsHasBeenSet; } /** *The records in the result set.
*/ inline void SetRecords(const Aws::VectorThe records in the result set.
*/ inline void SetRecords(Aws::VectorThe records in the result set.
*/ inline ResultFrame& WithRecords(const Aws::VectorThe records in the result set.
*/ inline ResultFrame& WithRecords(Aws::VectorThe records in the result set.
*/ inline ResultFrame& AddRecords(const Record& value) { m_recordsHasBeenSet = true; m_records.push_back(value); return *this; } /** *The records in the result set.
*/ inline ResultFrame& AddRecords(Record&& value) { m_recordsHasBeenSet = true; m_records.push_back(std::move(value)); return *this; } private: ResultSetMetadata m_resultSetMetadata; bool m_resultSetMetadataHasBeenSet = false; Aws::Vector