7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/PreparedStatement.h>
9#include <aws/athena/model/UnprocessedPreparedStatementName.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename PreparedStatementsT = Aws::Vector<PreparedStatement>>
39 m_preparedStatementsHasBeenSet =
true;
40 m_preparedStatements = std::forward<PreparedStatementsT>(value);
42 template <
typename PreparedStatementsT = Aws::Vector<PreparedStatement>>
47 template <
typename PreparedStatementsT = PreparedStatement>
49 m_preparedStatementsHasBeenSet =
true;
50 m_preparedStatements.emplace_back(std::forward<PreparedStatementsT>(value));
61 return m_unprocessedPreparedStatementNames;
63 template <
typename UnprocessedPreparedStatementNamesT = Aws::Vector<UnprocessedPreparedStatementName>>
65 m_unprocessedPreparedStatementNamesHasBeenSet =
true;
66 m_unprocessedPreparedStatementNames = std::forward<UnprocessedPreparedStatementNamesT>(value);
68 template <
typename UnprocessedPreparedStatementNamesT = Aws::Vector<UnprocessedPreparedStatementName>>
73 template <
typename UnprocessedPreparedStatementNamesT = UnprocessedPreparedStatementName>
75 m_unprocessedPreparedStatementNamesHasBeenSet =
true;
76 m_unprocessedPreparedStatementNames.emplace_back(std::forward<UnprocessedPreparedStatementNamesT>(value));
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
101 bool m_preparedStatementsHasBeenSet =
false;
102 bool m_unprocessedPreparedStatementNamesHasBeenSet =
false;
103 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
BatchGetPreparedStatementResult & AddPreparedStatements(PreparedStatementsT &&value)
void SetPreparedStatements(PreparedStatementsT &&value)
void SetUnprocessedPreparedStatementNames(UnprocessedPreparedStatementNamesT &&value)
BatchGetPreparedStatementResult & WithRequestId(RequestIdT &&value)
AWS_ATHENA_API BatchGetPreparedStatementResult()=default
void SetRequestId(RequestIdT &&value)
BatchGetPreparedStatementResult & AddUnprocessedPreparedStatementNames(UnprocessedPreparedStatementNamesT &&value)
AWS_ATHENA_API BatchGetPreparedStatementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< UnprocessedPreparedStatementName > & GetUnprocessedPreparedStatementNames() const
AWS_ATHENA_API BatchGetPreparedStatementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< PreparedStatement > & GetPreparedStatements() const
BatchGetPreparedStatementResult & WithPreparedStatements(PreparedStatementsT &&value)
BatchGetPreparedStatementResult & WithUnprocessedPreparedStatementNames(UnprocessedPreparedStatementNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue