AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchGetQueryExecutionResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/athena/model/QueryExecution.h>
11#include <aws/athena/model/UnprocessedQueryExecutionId.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Athena
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ATHENA_API BatchGetQueryExecutionResult() = default;
36
37
39
42 inline const Aws::Vector<QueryExecution>& GetQueryExecutions() const { return m_queryExecutions; }
43 template<typename QueryExecutionsT = Aws::Vector<QueryExecution>>
44 void SetQueryExecutions(QueryExecutionsT&& value) { m_queryExecutionsHasBeenSet = true; m_queryExecutions = std::forward<QueryExecutionsT>(value); }
45 template<typename QueryExecutionsT = Aws::Vector<QueryExecution>>
46 BatchGetQueryExecutionResult& WithQueryExecutions(QueryExecutionsT&& value) { SetQueryExecutions(std::forward<QueryExecutionsT>(value)); return *this;}
47 template<typename QueryExecutionsT = QueryExecution>
48 BatchGetQueryExecutionResult& AddQueryExecutions(QueryExecutionsT&& value) { m_queryExecutionsHasBeenSet = true; m_queryExecutions.emplace_back(std::forward<QueryExecutionsT>(value)); return *this; }
50
52
55 inline const Aws::Vector<UnprocessedQueryExecutionId>& GetUnprocessedQueryExecutionIds() const { return m_unprocessedQueryExecutionIds; }
56 template<typename UnprocessedQueryExecutionIdsT = Aws::Vector<UnprocessedQueryExecutionId>>
57 void SetUnprocessedQueryExecutionIds(UnprocessedQueryExecutionIdsT&& value) { m_unprocessedQueryExecutionIdsHasBeenSet = true; m_unprocessedQueryExecutionIds = std::forward<UnprocessedQueryExecutionIdsT>(value); }
58 template<typename UnprocessedQueryExecutionIdsT = Aws::Vector<UnprocessedQueryExecutionId>>
59 BatchGetQueryExecutionResult& WithUnprocessedQueryExecutionIds(UnprocessedQueryExecutionIdsT&& value) { SetUnprocessedQueryExecutionIds(std::forward<UnprocessedQueryExecutionIdsT>(value)); return *this;}
60 template<typename UnprocessedQueryExecutionIdsT = UnprocessedQueryExecutionId>
61 BatchGetQueryExecutionResult& AddUnprocessedQueryExecutionIds(UnprocessedQueryExecutionIdsT&& value) { m_unprocessedQueryExecutionIdsHasBeenSet = true; m_unprocessedQueryExecutionIds.emplace_back(std::forward<UnprocessedQueryExecutionIdsT>(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template<typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
69 template<typename RequestIdT = Aws::String>
70 BatchGetQueryExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
72 private:
73
74 Aws::Vector<QueryExecution> m_queryExecutions;
75 bool m_queryExecutionsHasBeenSet = false;
76
77 Aws::Vector<UnprocessedQueryExecutionId> m_unprocessedQueryExecutionIds;
78 bool m_unprocessedQueryExecutionIdsHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Athena
86} // namespace Aws
void SetUnprocessedQueryExecutionIds(UnprocessedQueryExecutionIdsT &&value)
BatchGetQueryExecutionResult & AddQueryExecutions(QueryExecutionsT &&value)
BatchGetQueryExecutionResult & WithQueryExecutions(QueryExecutionsT &&value)
AWS_ATHENA_API BatchGetQueryExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< QueryExecution > & GetQueryExecutions() const
BatchGetQueryExecutionResult & WithUnprocessedQueryExecutionIds(UnprocessedQueryExecutionIdsT &&value)
AWS_ATHENA_API BatchGetQueryExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetQueryExecutionResult & WithRequestId(RequestIdT &&value)
AWS_ATHENA_API BatchGetQueryExecutionResult()=default
const Aws::Vector< UnprocessedQueryExecutionId > & GetUnprocessedQueryExecutionIds() const
BatchGetQueryExecutionResult & AddUnprocessedQueryExecutionIds(UnprocessedQueryExecutionIdsT &&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