AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQueryResultsResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/ResultSet.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Athena
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ATHENA_API GetQueryResultsResult();
34
35
37
41 inline long long GetUpdateCount() const{ return m_updateCount; }
42 inline void SetUpdateCount(long long value) { m_updateCount = value; }
43 inline GetQueryResultsResult& WithUpdateCount(long long value) { SetUpdateCount(value); return *this;}
45
47
50 inline const ResultSet& GetResultSet() const{ return m_resultSet; }
51 inline void SetResultSet(const ResultSet& value) { m_resultSet = value; }
52 inline void SetResultSet(ResultSet&& value) { m_resultSet = std::move(value); }
53 inline GetQueryResultsResult& WithResultSet(const ResultSet& value) { SetResultSet(value); return *this;}
54 inline GetQueryResultsResult& WithResultSet(ResultSet&& value) { SetResultSet(std::move(value)); return *this;}
56
58
64 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
65 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
66 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
67 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
68 inline GetQueryResultsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
69 inline GetQueryResultsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
70 inline GetQueryResultsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline GetQueryResultsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline GetQueryResultsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline GetQueryResultsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 long long m_updateCount;
86
87 ResultSet m_resultSet;
88
89 Aws::String m_nextToken;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Athena
96} // namespace Aws
GetQueryResultsResult & WithResultSet(ResultSet &&value)
GetQueryResultsResult & WithRequestId(const Aws::String &value)
AWS_ATHENA_API GetQueryResultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueryResultsResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetNextToken(const Aws::String &value)
GetQueryResultsResult & WithRequestId(const char *value)
GetQueryResultsResult & WithNextToken(const Aws::String &value)
GetQueryResultsResult & WithResultSet(const ResultSet &value)
AWS_ATHENA_API GetQueryResultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueryResultsResult & WithUpdateCount(long long value)
GetQueryResultsResult & WithNextToken(Aws::String &&value)
GetQueryResultsResult & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue