/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QLDBSession { namespace Model { /** *

Contains the page that was fetched.

See Also:

AWS * API Reference

*/ class AWS_QLDBSESSION_API FetchPageResult { public: FetchPageResult(); FetchPageResult(Aws::Utils::Json::JsonView jsonValue); FetchPageResult& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

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;} private: Page m_page; bool m_pageHasBeenSet; }; } // namespace Model } // namespace QLDBSession } // namespace Aws