AWS SDK for C++  1.9.40
AWS SDK for C++
BatchGetQueryExecutionResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Athena
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<QueryExecution>& GetQueryExecutions() const{ return m_queryExecutions; }
41 
45  inline void SetQueryExecutions(const Aws::Vector<QueryExecution>& value) { m_queryExecutions = value; }
46 
50  inline void SetQueryExecutions(Aws::Vector<QueryExecution>&& value) { m_queryExecutions = std::move(value); }
51 
55  inline BatchGetQueryExecutionResult& WithQueryExecutions(const Aws::Vector<QueryExecution>& value) { SetQueryExecutions(value); return *this;}
56 
60  inline BatchGetQueryExecutionResult& WithQueryExecutions(Aws::Vector<QueryExecution>&& value) { SetQueryExecutions(std::move(value)); return *this;}
61 
65  inline BatchGetQueryExecutionResult& AddQueryExecutions(const QueryExecution& value) { m_queryExecutions.push_back(value); return *this; }
66 
70  inline BatchGetQueryExecutionResult& AddQueryExecutions(QueryExecution&& value) { m_queryExecutions.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::Vector<UnprocessedQueryExecutionId>& GetUnprocessedQueryExecutionIds() const{ return m_unprocessedQueryExecutionIds; }
77 
81  inline void SetUnprocessedQueryExecutionIds(const Aws::Vector<UnprocessedQueryExecutionId>& value) { m_unprocessedQueryExecutionIds = value; }
82 
86  inline void SetUnprocessedQueryExecutionIds(Aws::Vector<UnprocessedQueryExecutionId>&& value) { m_unprocessedQueryExecutionIds = std::move(value); }
87 
91  inline BatchGetQueryExecutionResult& WithUnprocessedQueryExecutionIds(const Aws::Vector<UnprocessedQueryExecutionId>& value) { SetUnprocessedQueryExecutionIds(value); return *this;}
92 
96  inline BatchGetQueryExecutionResult& WithUnprocessedQueryExecutionIds(Aws::Vector<UnprocessedQueryExecutionId>&& value) { SetUnprocessedQueryExecutionIds(std::move(value)); return *this;}
97 
101  inline BatchGetQueryExecutionResult& AddUnprocessedQueryExecutionIds(const UnprocessedQueryExecutionId& value) { m_unprocessedQueryExecutionIds.push_back(value); return *this; }
102 
106  inline BatchGetQueryExecutionResult& AddUnprocessedQueryExecutionIds(UnprocessedQueryExecutionId&& value) { m_unprocessedQueryExecutionIds.push_back(std::move(value)); return *this; }
107 
108  private:
109 
110  Aws::Vector<QueryExecution> m_queryExecutions;
111 
112  Aws::Vector<UnprocessedQueryExecutionId> m_unprocessedQueryExecutionIds;
113  };
114 
115 } // namespace Model
116 } // namespace Athena
117 } // namespace Aws
Aws::Athena::Model::BatchGetQueryExecutionResult::WithUnprocessedQueryExecutionIds
BatchGetQueryExecutionResult & WithUnprocessedQueryExecutionIds(const Aws::Vector< UnprocessedQueryExecutionId > &value)
Definition: BatchGetQueryExecutionResult.h:91
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
UnprocessedQueryExecutionId.h
Aws::Athena::Model::BatchGetQueryExecutionResult::WithUnprocessedQueryExecutionIds
BatchGetQueryExecutionResult & WithUnprocessedQueryExecutionIds(Aws::Vector< UnprocessedQueryExecutionId > &&value)
Definition: BatchGetQueryExecutionResult.h:96
Aws::Athena::Model::BatchGetQueryExecutionResult::AddQueryExecutions
BatchGetQueryExecutionResult & AddQueryExecutions(QueryExecution &&value)
Definition: BatchGetQueryExecutionResult.h:70
Aws::Athena::Model::BatchGetQueryExecutionResult::WithQueryExecutions
BatchGetQueryExecutionResult & WithQueryExecutions(Aws::Vector< QueryExecution > &&value)
Definition: BatchGetQueryExecutionResult.h:60
Aws::Athena::Model::BatchGetQueryExecutionResult::GetQueryExecutions
const Aws::Vector< QueryExecution > & GetQueryExecutions() const
Definition: BatchGetQueryExecutionResult.h:40
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::BatchGetQueryExecutionResult::WithQueryExecutions
BatchGetQueryExecutionResult & WithQueryExecutions(const Aws::Vector< QueryExecution > &value)
Definition: BatchGetQueryExecutionResult.h:55
Aws::Athena::Model::BatchGetQueryExecutionResult
Definition: BatchGetQueryExecutionResult.h:30
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Athena::Model::BatchGetQueryExecutionResult::BatchGetQueryExecutionResult
BatchGetQueryExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::Athena::Model::UnprocessedQueryExecutionId
Definition: UnprocessedQueryExecutionId.h:33
QueryExecution.h
Aws::Athena::Model::BatchGetQueryExecutionResult::SetUnprocessedQueryExecutionIds
void SetUnprocessedQueryExecutionIds(const Aws::Vector< UnprocessedQueryExecutionId > &value)
Definition: BatchGetQueryExecutionResult.h:81
Aws::Athena::Model::BatchGetQueryExecutionResult::SetQueryExecutions
void SetQueryExecutions(const Aws::Vector< QueryExecution > &value)
Definition: BatchGetQueryExecutionResult.h:45
Aws::Athena::Model::BatchGetQueryExecutionResult::SetQueryExecutions
void SetQueryExecutions(Aws::Vector< QueryExecution > &&value)
Definition: BatchGetQueryExecutionResult.h:50
Aws::Athena::Model::BatchGetQueryExecutionResult::AddQueryExecutions
BatchGetQueryExecutionResult & AddQueryExecutions(const QueryExecution &value)
Definition: BatchGetQueryExecutionResult.h:65
Aws::Athena::Model::BatchGetQueryExecutionResult::BatchGetQueryExecutionResult
BatchGetQueryExecutionResult()
Athena_EXPORTS.h
Aws::Athena::Model::QueryExecution
Definition: QueryExecution.h:39
Aws::Athena::Model::BatchGetQueryExecutionResult::operator=
BatchGetQueryExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::BatchGetQueryExecutionResult::AddUnprocessedQueryExecutionIds
BatchGetQueryExecutionResult & AddUnprocessedQueryExecutionIds(UnprocessedQueryExecutionId &&value)
Definition: BatchGetQueryExecutionResult.h:106
Aws::Athena::Model::BatchGetQueryExecutionResult::SetUnprocessedQueryExecutionIds
void SetUnprocessedQueryExecutionIds(Aws::Vector< UnprocessedQueryExecutionId > &&value)
Definition: BatchGetQueryExecutionResult.h:86
Aws::Athena::Model::BatchGetQueryExecutionResult::GetUnprocessedQueryExecutionIds
const Aws::Vector< UnprocessedQueryExecutionId > & GetUnprocessedQueryExecutionIds() const
Definition: BatchGetQueryExecutionResult.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::BatchGetQueryExecutionResult::AddUnprocessedQueryExecutionIds
BatchGetQueryExecutionResult & AddUnprocessedQueryExecutionIds(const UnprocessedQueryExecutionId &value)
Definition: BatchGetQueryExecutionResult.h:101