/** * 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 details of the executed statement.

See Also:

AWS * API Reference

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

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