AWS SDK for C++  1.9.40
AWS SDK for C++
GetQueryResultsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Athena
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline long long GetUpdateCount() const{ return m_updateCount; }
40 
44  inline void SetUpdateCount(long long value) { m_updateCount = value; }
45 
49  inline GetQueryResultsResult& WithUpdateCount(long long value) { SetUpdateCount(value); return *this;}
50 
51 
55  inline const ResultSet& GetResultSet() const{ return m_resultSet; }
56 
60  inline void SetResultSet(const ResultSet& value) { m_resultSet = value; }
61 
65  inline void SetResultSet(ResultSet&& value) { m_resultSet = std::move(value); }
66 
70  inline GetQueryResultsResult& WithResultSet(const ResultSet& value) { SetResultSet(value); return *this;}
71 
75  inline GetQueryResultsResult& WithResultSet(ResultSet&& value) { SetResultSet(std::move(value)); return *this;}
76 
77 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
92  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
93 
100  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
101 
108  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
109 
116  inline GetQueryResultsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 
124  inline GetQueryResultsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
125 
132  inline GetQueryResultsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
133 
134  private:
135 
136  long long m_updateCount;
137 
138  ResultSet m_resultSet;
139 
140  Aws::String m_nextToken;
141  };
142 
143 } // namespace Model
144 } // namespace Athena
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::GetQueryResultsResult::WithResultSet
GetQueryResultsResult & WithResultSet(const ResultSet &value)
Definition: GetQueryResultsResult.h:70
Aws::Athena::Model::GetQueryResultsResult::GetQueryResultsResult
GetQueryResultsResult()
Aws::Athena::Model::GetQueryResultsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetQueryResultsResult.h:84
Aws::Athena::Model::GetQueryResultsResult::GetResultSet
const ResultSet & GetResultSet() const
Definition: GetQueryResultsResult.h:55
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::GetQueryResultsResult::WithNextToken
GetQueryResultsResult & WithNextToken(const char *value)
Definition: GetQueryResultsResult.h:132
Aws::Athena::Model::GetQueryResultsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetQueryResultsResult.h:92
Aws::Athena::Model::GetQueryResultsResult::GetUpdateCount
long long GetUpdateCount() const
Definition: GetQueryResultsResult.h:39
Aws::Athena::Model::GetQueryResultsResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetQueryResultsResult.h:108
Aws::Athena::Model::GetQueryResultsResult::SetResultSet
void SetResultSet(const ResultSet &value)
Definition: GetQueryResultsResult.h:60
Aws::Athena::Model::GetQueryResultsResult::WithUpdateCount
GetQueryResultsResult & WithUpdateCount(long long value)
Definition: GetQueryResultsResult.h:49
Aws::Athena::Model::GetQueryResultsResult::SetResultSet
void SetResultSet(ResultSet &&value)
Definition: GetQueryResultsResult.h:65
Aws::Athena::Model::GetQueryResultsResult::WithNextToken
GetQueryResultsResult & WithNextToken(const Aws::String &value)
Definition: GetQueryResultsResult.h:116
Aws::Athena::Model::GetQueryResultsResult::SetUpdateCount
void SetUpdateCount(long long value)
Definition: GetQueryResultsResult.h:44
Aws::Athena::Model::GetQueryResultsResult::WithResultSet
GetQueryResultsResult & WithResultSet(ResultSet &&value)
Definition: GetQueryResultsResult.h:75
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::GetQueryResultsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetQueryResultsResult.h:100
Aws::Athena::Model::ResultSet
Definition: ResultSet.h:37
Aws::Athena::Model::GetQueryResultsResult::operator=
GetQueryResultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::GetQueryResultsResult::GetQueryResultsResult
GetQueryResultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResultSet.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::GetQueryResultsResult::WithNextToken
GetQueryResultsResult & WithNextToken(Aws::String &&value)
Definition: GetQueryResultsResult.h:124
Aws::Athena::Model::GetQueryResultsResult
Definition: GetQueryResultsResult.h:29