/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace QLDBSession { namespace Model { ExecuteStatementResult::ExecuteStatementResult() : m_firstPageHasBeenSet(false) { } ExecuteStatementResult::ExecuteStatementResult(JsonView jsonValue) : m_firstPageHasBeenSet(false) { *this = jsonValue; } ExecuteStatementResult& ExecuteStatementResult::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("FirstPage")) { m_firstPage = jsonValue.GetObject("FirstPage"); m_firstPageHasBeenSet = true; } return *this; } JsonValue ExecuteStatementResult::Jsonize() const { JsonValue payload; if(m_firstPageHasBeenSet) { payload.WithObject("FirstPage", m_firstPage.Jsonize()); } return payload; } } // namespace Model } // namespace QLDBSession } // namespace Aws