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

The response elements represent the output of a SQL statement over an array * of data.

See Also:

AWS * API Reference

*/ class AWS_RDSDATASERVICE_API BatchExecuteStatementResult { public: BatchExecuteStatementResult(); BatchExecuteStatementResult(const Aws::AmazonWebServiceResult& result); BatchExecuteStatementResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The execution results of each batch entry.

*/ inline const Aws::Vector& GetUpdateResults() const{ return m_updateResults; } /** *

The execution results of each batch entry.

*/ inline void SetUpdateResults(const Aws::Vector& value) { m_updateResults = value; } /** *

The execution results of each batch entry.

*/ inline void SetUpdateResults(Aws::Vector&& value) { m_updateResults = std::move(value); } /** *

The execution results of each batch entry.

*/ inline BatchExecuteStatementResult& WithUpdateResults(const Aws::Vector& value) { SetUpdateResults(value); return *this;} /** *

The execution results of each batch entry.

*/ inline BatchExecuteStatementResult& WithUpdateResults(Aws::Vector&& value) { SetUpdateResults(std::move(value)); return *this;} /** *

The execution results of each batch entry.

*/ inline BatchExecuteStatementResult& AddUpdateResults(const UpdateResult& value) { m_updateResults.push_back(value); return *this; } /** *

The execution results of each batch entry.

*/ inline BatchExecuteStatementResult& AddUpdateResults(UpdateResult&& value) { m_updateResults.push_back(std::move(value)); return *this; } private: Aws::Vector m_updateResults; }; } // namespace Model } // namespace RDSDataService } // namespace Aws