/** * 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 BatchGetNamedQueryResult { public: AWS_ATHENA_API BatchGetNamedQueryResult(); AWS_ATHENA_API BatchGetNamedQueryResult(const Aws::AmazonWebServiceResult& result); AWS_ATHENA_API BatchGetNamedQueryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the named query IDs submitted.

*/ inline const Aws::Vector& GetNamedQueries() const{ return m_namedQueries; } /** *

Information about the named query IDs submitted.

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

Information about the named query IDs submitted.

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

Information about the named query IDs submitted.

*/ inline BatchGetNamedQueryResult& WithNamedQueries(const Aws::Vector& value) { SetNamedQueries(value); return *this;} /** *

Information about the named query IDs submitted.

*/ inline BatchGetNamedQueryResult& WithNamedQueries(Aws::Vector&& value) { SetNamedQueries(std::move(value)); return *this;} /** *

Information about the named query IDs submitted.

*/ inline BatchGetNamedQueryResult& AddNamedQueries(const NamedQuery& value) { m_namedQueries.push_back(value); return *this; } /** *

Information about the named query IDs submitted.

*/ inline BatchGetNamedQueryResult& AddNamedQueries(NamedQuery&& value) { m_namedQueries.push_back(std::move(value)); return *this; } /** *

Information about provided query IDs.

*/ inline const Aws::Vector& GetUnprocessedNamedQueryIds() const{ return m_unprocessedNamedQueryIds; } /** *

Information about provided query IDs.

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

Information about provided query IDs.

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

Information about provided query IDs.

*/ inline BatchGetNamedQueryResult& WithUnprocessedNamedQueryIds(const Aws::Vector& value) { SetUnprocessedNamedQueryIds(value); return *this;} /** *

Information about provided query IDs.

*/ inline BatchGetNamedQueryResult& WithUnprocessedNamedQueryIds(Aws::Vector&& value) { SetUnprocessedNamedQueryIds(std::move(value)); return *this;} /** *

Information about provided query IDs.

*/ inline BatchGetNamedQueryResult& AddUnprocessedNamedQueryIds(const UnprocessedNamedQueryId& value) { m_unprocessedNamedQueryIds.push_back(value); return *this; } /** *

Information about provided query IDs.

*/ inline BatchGetNamedQueryResult& AddUnprocessedNamedQueryIds(UnprocessedNamedQueryId&& value) { m_unprocessedNamedQueryIds.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 BatchGetNamedQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetNamedQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetNamedQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_namedQueries; Aws::Vector m_unprocessedNamedQueryIds; Aws::String m_requestId; }; } // namespace Model } // namespace Athena } // namespace Aws