/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the page that was fetched.See Also:
AWS
* API Reference
Contains details of the fetched page.
*/ inline const Page& GetPage() const{ return m_page; } /** *Contains details of the fetched page.
*/ inline bool PageHasBeenSet() const { return m_pageHasBeenSet; } /** *Contains details of the fetched page.
*/ inline void SetPage(const Page& value) { m_pageHasBeenSet = true; m_page = value; } /** *Contains details of the fetched page.
*/ inline void SetPage(Page&& value) { m_pageHasBeenSet = true; m_page = std::move(value); } /** *Contains details of the fetched page.
*/ inline FetchPageResult& WithPage(const Page& value) { SetPage(value); return *this;} /** *Contains details of the fetched page.
*/ inline FetchPageResult& WithPage(Page&& value) { SetPage(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 FetchPageResult& WithTimingInformation(const TimingInformation& value) { SetTimingInformation(value); return *this;} /** *Contains server-side performance information for the command.
*/ inline FetchPageResult& 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 FetchPageResult& WithConsumedIOs(const IOUsage& value) { SetConsumedIOs(value); return *this;} /** *Contains metrics about the number of I/O requests that were consumed.
*/ inline FetchPageResult& WithConsumedIOs(IOUsage&& value) { SetConsumedIOs(std::move(value)); return *this;} private: Page m_page; bool m_pageHasBeenSet = false; TimingInformation m_timingInformation; bool m_timingInformationHasBeenSet = false; IOUsage m_consumedIOs; bool m_consumedIOsHasBeenSet = false; }; } // namespace Model } // namespace QLDBSession } // namespace Aws