/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Athena { namespace Model { class BatchGetPreparedStatementResult { public: AWS_ATHENA_API BatchGetPreparedStatementResult(); AWS_ATHENA_API BatchGetPreparedStatementResult(const Aws::AmazonWebServiceResult& result); AWS_ATHENA_API BatchGetPreparedStatementResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of prepared statements returned.

*/ inline const Aws::Vector& GetPreparedStatements() const{ return m_preparedStatements; } /** *

The list of prepared statements returned.

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

The list of prepared statements returned.

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

The list of prepared statements returned.

*/ inline BatchGetPreparedStatementResult& WithPreparedStatements(const Aws::Vector& value) { SetPreparedStatements(value); return *this;} /** *

The list of prepared statements returned.

*/ inline BatchGetPreparedStatementResult& WithPreparedStatements(Aws::Vector&& value) { SetPreparedStatements(std::move(value)); return *this;} /** *

The list of prepared statements returned.

*/ inline BatchGetPreparedStatementResult& AddPreparedStatements(const PreparedStatement& value) { m_preparedStatements.push_back(value); return *this; } /** *

The list of prepared statements returned.

*/ inline BatchGetPreparedStatementResult& AddPreparedStatements(PreparedStatement&& value) { m_preparedStatements.push_back(std::move(value)); return *this; } /** *

A list of one or more prepared statements that were requested but could not * be returned.

*/ inline const Aws::Vector& GetUnprocessedPreparedStatementNames() const{ return m_unprocessedPreparedStatementNames; } /** *

A list of one or more prepared statements that were requested but could not * be returned.

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

A list of one or more prepared statements that were requested but could not * be returned.

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

A list of one or more prepared statements that were requested but could not * be returned.

*/ inline BatchGetPreparedStatementResult& WithUnprocessedPreparedStatementNames(const Aws::Vector& value) { SetUnprocessedPreparedStatementNames(value); return *this;} /** *

A list of one or more prepared statements that were requested but could not * be returned.

*/ inline BatchGetPreparedStatementResult& WithUnprocessedPreparedStatementNames(Aws::Vector&& value) { SetUnprocessedPreparedStatementNames(std::move(value)); return *this;} /** *

A list of one or more prepared statements that were requested but could not * be returned.

*/ inline BatchGetPreparedStatementResult& AddUnprocessedPreparedStatementNames(const UnprocessedPreparedStatementName& value) { m_unprocessedPreparedStatementNames.push_back(value); return *this; } /** *

A list of one or more prepared statements that were requested but could not * be returned.

*/ inline BatchGetPreparedStatementResult& AddUnprocessedPreparedStatementNames(UnprocessedPreparedStatementName&& value) { m_unprocessedPreparedStatementNames.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline BatchGetPreparedStatementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetPreparedStatementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetPreparedStatementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_preparedStatements; Aws::Vector m_unprocessedPreparedStatementNames; Aws::String m_requestId; }; } // namespace Model } // namespace Athena } // namespace Aws