AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
36
37
39
42 inline const Aws::Vector<QueryExecution>& GetQueryExecutions() const{ return m_queryExecutions; }
43 inline void SetQueryExecutions(const Aws::Vector<QueryExecution>& value) { m_queryExecutions = value; }
44 inline void SetQueryExecutions(Aws::Vector<QueryExecution>&& value) { m_queryExecutions = std::move(value); }
47 inline BatchGetQueryExecutionResult& AddQueryExecutions(const QueryExecution& value) { m_queryExecutions.push_back(value); return *this; }
48 inline BatchGetQueryExecutionResult& AddQueryExecutions(QueryExecution&& value) { m_queryExecutions.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<UnprocessedQueryExecutionId>& GetUnprocessedQueryExecutionIds() const{ return m_unprocessedQueryExecutionIds; }
56 inline void SetUnprocessedQueryExecutionIds(const Aws::Vector<UnprocessedQueryExecutionId>& value) { m_unprocessedQueryExecutionIds = value; }
57 inline void SetUnprocessedQueryExecutionIds(Aws::Vector<UnprocessedQueryExecutionId>&& value) { m_unprocessedQueryExecutionIds = std::move(value); }
60 inline BatchGetQueryExecutionResult& AddUnprocessedQueryExecutionIds(const UnprocessedQueryExecutionId& value) { m_unprocessedQueryExecutionIds.push_back(value); return *this; }
61 inline BatchGetQueryExecutionResult& AddUnprocessedQueryExecutionIds(UnprocessedQueryExecutionId&& value) { m_unprocessedQueryExecutionIds.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline BatchGetQueryExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline BatchGetQueryExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline BatchGetQueryExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<QueryExecution> m_queryExecutions;
77
78 Aws::Vector<UnprocessedQueryExecutionId> m_unprocessedQueryExecutionIds;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace Athena
85} // namespace Aws
BatchGetQueryExecutionResult & AddQueryExecutions(QueryExecution &&value)
BatchGetQueryExecutionResult & AddQueryExecutions(const QueryExecution &value)
AWS_ATHENA_API BatchGetQueryExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetQueryExecutionResult & WithRequestId(const Aws::String &value)
void SetQueryExecutions(const Aws::Vector< QueryExecution > &value)
BatchGetQueryExecutionResult & WithQueryExecutions(Aws::Vector< QueryExecution > &&value)
const Aws::Vector< QueryExecution > & GetQueryExecutions() const
void SetUnprocessedQueryExecutionIds(const Aws::Vector< UnprocessedQueryExecutionId > &value)
BatchGetQueryExecutionResult & WithQueryExecutions(const Aws::Vector< QueryExecution > &value)
BatchGetQueryExecutionResult & AddUnprocessedQueryExecutionIds(UnprocessedQueryExecutionId &&value)
BatchGetQueryExecutionResult & WithRequestId(const char *value)
BatchGetQueryExecutionResult & WithUnprocessedQueryExecutionIds(const Aws::Vector< UnprocessedQueryExecutionId > &value)
void SetUnprocessedQueryExecutionIds(Aws::Vector< UnprocessedQueryExecutionId > &&value)
BatchGetQueryExecutionResult & WithRequestId(Aws::String &&value)
BatchGetQueryExecutionResult & WithUnprocessedQueryExecutionIds(Aws::Vector< UnprocessedQueryExecutionId > &&value)
AWS_ATHENA_API BatchGetQueryExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQueryExecutions(Aws::Vector< QueryExecution > &&value)
BatchGetQueryExecutionResult & AddUnprocessedQueryExecutionIds(const UnprocessedQueryExecutionId &value)
const Aws::Vector< UnprocessedQueryExecutionId > & GetUnprocessedQueryExecutionIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue