AWS SDK for C++  1.9.107
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 
40  inline long long GetUpdateCount() const{ return m_updateCount; }
41 
46  inline void SetUpdateCount(long long value) { m_updateCount = value; }
47 
52  inline GetQueryResultsResult& WithUpdateCount(long long value) { SetUpdateCount(value); return *this;}
53 
54 
58  inline const ResultSet& GetResultSet() const{ return m_resultSet; }
59 
63  inline void SetResultSet(const ResultSet& value) { m_resultSet = value; }
64 
68  inline void SetResultSet(ResultSet&& value) { m_resultSet = std::move(value); }
69 
73  inline GetQueryResultsResult& WithResultSet(const ResultSet& value) { SetResultSet(value); return *this;}
74 
78  inline GetQueryResultsResult& WithResultSet(ResultSet&& value) { SetResultSet(std::move(value)); return *this;}
79 
80 
87  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 
95  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
96 
103  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
104 
111  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
112 
119  inline GetQueryResultsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
120 
127  inline GetQueryResultsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
128 
135  inline GetQueryResultsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
136 
137  private:
138 
139  long long m_updateCount;
140 
141  ResultSet m_resultSet;
142 
143  Aws::String m_nextToken;
144  };
145 
146 } // namespace Model
147 } // namespace Athena
148 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::GetQueryResultsResult::WithResultSet
GetQueryResultsResult & WithResultSet(const ResultSet &value)
Definition: GetQueryResultsResult.h:73
Aws::Athena::Model::GetQueryResultsResult::GetQueryResultsResult
GetQueryResultsResult()
Aws::Athena::Model::GetQueryResultsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetQueryResultsResult.h:87
Aws::Athena::Model::GetQueryResultsResult::GetResultSet
const ResultSet & GetResultSet() const
Definition: GetQueryResultsResult.h:58
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:135
Aws::Athena::Model::GetQueryResultsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetQueryResultsResult.h:95
Aws::Athena::Model::GetQueryResultsResult::GetUpdateCount
long long GetUpdateCount() const
Definition: GetQueryResultsResult.h:40
Aws::Athena::Model::GetQueryResultsResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetQueryResultsResult.h:111
Aws::Athena::Model::GetQueryResultsResult::SetResultSet
void SetResultSet(const ResultSet &value)
Definition: GetQueryResultsResult.h:63
Aws::Athena::Model::GetQueryResultsResult::WithUpdateCount
GetQueryResultsResult & WithUpdateCount(long long value)
Definition: GetQueryResultsResult.h:52
Aws::Athena::Model::GetQueryResultsResult::SetResultSet
void SetResultSet(ResultSet &&value)
Definition: GetQueryResultsResult.h:68
Aws::Athena::Model::GetQueryResultsResult::WithNextToken
GetQueryResultsResult & WithNextToken(const Aws::String &value)
Definition: GetQueryResultsResult.h:119
Aws::Athena::Model::GetQueryResultsResult::SetUpdateCount
void SetUpdateCount(long long value)
Definition: GetQueryResultsResult.h:46
Aws::Athena::Model::GetQueryResultsResult::WithResultSet
GetQueryResultsResult & WithResultSet(ResultSet &&value)
Definition: GetQueryResultsResult.h:78
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::GetQueryResultsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetQueryResultsResult.h:103
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:127
Aws::Athena::Model::GetQueryResultsResult
Definition: GetQueryResultsResult.h:29