AWS SDK for C++  1.9.107
AWS SDK for C++
GetQueryExecutionResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Athena
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const QueryExecution& GetQueryExecution() const{ return m_queryExecution; }
39 
43  inline void SetQueryExecution(const QueryExecution& value) { m_queryExecution = value; }
44 
48  inline void SetQueryExecution(QueryExecution&& value) { m_queryExecution = std::move(value); }
49 
53  inline GetQueryExecutionResult& WithQueryExecution(const QueryExecution& value) { SetQueryExecution(value); return *this;}
54 
58  inline GetQueryExecutionResult& WithQueryExecution(QueryExecution&& value) { SetQueryExecution(std::move(value)); return *this;}
59 
60  private:
61 
62  QueryExecution m_queryExecution;
63  };
64 
65 } // namespace Model
66 } // namespace Athena
67 } // namespace Aws
Aws::Athena::Model::GetQueryExecutionResult
Definition: GetQueryExecutionResult.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::GetQueryExecutionResult::SetQueryExecution
void SetQueryExecution(const QueryExecution &value)
Definition: GetQueryExecutionResult.h:43
Aws::Athena::Model::GetQueryExecutionResult::SetQueryExecution
void SetQueryExecution(QueryExecution &&value)
Definition: GetQueryExecutionResult.h:48
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::GetQueryExecutionResult::GetQueryExecutionResult
GetQueryExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::GetQueryExecutionResult::WithQueryExecution
GetQueryExecutionResult & WithQueryExecution(const QueryExecution &value)
Definition: GetQueryExecutionResult.h:53
QueryExecution.h
Aws::Athena::Model::GetQueryExecutionResult::operator=
GetQueryExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Athena_EXPORTS.h
Aws::Athena::Model::GetQueryExecutionResult::GetQueryExecutionResult
GetQueryExecutionResult()
Aws::Athena::Model::QueryExecution
Definition: QueryExecution.h:39
Aws::Athena::Model::GetQueryExecutionResult::WithQueryExecution
GetQueryExecutionResult & WithQueryExecution(QueryExecution &&value)
Definition: GetQueryExecutionResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::GetQueryExecutionResult::GetQueryExecution
const QueryExecution & GetQueryExecution() const
Definition: GetQueryExecutionResult.h:38