/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the details of the executed statement.See Also:
AWS
* API Reference
Contains the details of the first fetched page.
*/ inline const Page& GetFirstPage() const{ return m_firstPage; } /** *Contains the details of the first fetched page.
*/ inline bool FirstPageHasBeenSet() const { return m_firstPageHasBeenSet; } /** *Contains the details of the first fetched page.
*/ inline void SetFirstPage(const Page& value) { m_firstPageHasBeenSet = true; m_firstPage = value; } /** *Contains the details of the first fetched page.
*/ inline void SetFirstPage(Page&& value) { m_firstPageHasBeenSet = true; m_firstPage = std::move(value); } /** *Contains the details of the first fetched page.
*/ inline ExecuteStatementResult& WithFirstPage(const Page& value) { SetFirstPage(value); return *this;} /** *Contains the details of the first fetched page.
*/ inline ExecuteStatementResult& WithFirstPage(Page&& value) { SetFirstPage(std::move(value)); return *this;} /** *Contains server-side performance information for the command.
*/ inline const TimingInformation& GetTimingInformation() const{ return m_timingInformation; } /** *Contains server-side performance information for the command.
*/ inline bool TimingInformationHasBeenSet() const { return m_timingInformationHasBeenSet; } /** *Contains server-side performance information for the command.
*/ inline void SetTimingInformation(const TimingInformation& value) { m_timingInformationHasBeenSet = true; m_timingInformation = value; } /** *Contains server-side performance information for the command.
*/ inline void SetTimingInformation(TimingInformation&& value) { m_timingInformationHasBeenSet = true; m_timingInformation = std::move(value); } /** *Contains server-side performance information for the command.
*/ inline ExecuteStatementResult& WithTimingInformation(const TimingInformation& value) { SetTimingInformation(value); return *this;} /** *Contains server-side performance information for the command.
*/ inline ExecuteStatementResult& WithTimingInformation(TimingInformation&& value) { SetTimingInformation(std::move(value)); return *this;} /** *Contains metrics about the number of I/O requests that were consumed.
*/ inline const IOUsage& GetConsumedIOs() const{ return m_consumedIOs; } /** *Contains metrics about the number of I/O requests that were consumed.
*/ inline bool ConsumedIOsHasBeenSet() const { return m_consumedIOsHasBeenSet; } /** *Contains metrics about the number of I/O requests that were consumed.
*/ inline void SetConsumedIOs(const IOUsage& value) { m_consumedIOsHasBeenSet = true; m_consumedIOs = value; } /** *Contains metrics about the number of I/O requests that were consumed.
*/ inline void SetConsumedIOs(IOUsage&& value) { m_consumedIOsHasBeenSet = true; m_consumedIOs = std::move(value); } /** *Contains metrics about the number of I/O requests that were consumed.
*/ inline ExecuteStatementResult& WithConsumedIOs(const IOUsage& value) { SetConsumedIOs(value); return *this;} /** *Contains metrics about the number of I/O requests that were consumed.
*/ inline ExecuteStatementResult& WithConsumedIOs(IOUsage&& value) { SetConsumedIOs(std::move(value)); return *this;} private: Page m_firstPage; bool m_firstPageHasBeenSet = false; TimingInformation m_timingInformation; bool m_timingInformationHasBeenSet = false; IOUsage m_consumedIOs; bool m_consumedIOsHasBeenSet = false; }; } // namespace Model } // namespace QLDBSession } // namespace Aws