AWS SDK for C++  1.9.40
AWS SDK for C++
ListQueryExecutionsResult.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 const Aws::Vector<Aws::String>& GetQueryExecutionIds() const{ return m_queryExecutionIds; }
40 
44  inline void SetQueryExecutionIds(const Aws::Vector<Aws::String>& value) { m_queryExecutionIds = value; }
45 
49  inline void SetQueryExecutionIds(Aws::Vector<Aws::String>&& value) { m_queryExecutionIds = std::move(value); }
50 
54  inline ListQueryExecutionsResult& WithQueryExecutionIds(const Aws::Vector<Aws::String>& value) { SetQueryExecutionIds(value); return *this;}
55 
59  inline ListQueryExecutionsResult& WithQueryExecutionIds(Aws::Vector<Aws::String>&& value) { SetQueryExecutionIds(std::move(value)); return *this;}
60 
64  inline ListQueryExecutionsResult& AddQueryExecutionIds(const Aws::String& value) { m_queryExecutionIds.push_back(value); return *this; }
65 
69  inline ListQueryExecutionsResult& AddQueryExecutionIds(Aws::String&& value) { m_queryExecutionIds.push_back(std::move(value)); return *this; }
70 
74  inline ListQueryExecutionsResult& AddQueryExecutionIds(const char* value) { m_queryExecutionIds.push_back(value); return *this; }
75 
76 
80  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 
85  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
86 
90  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
91 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
100  inline ListQueryExecutionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
101 
105  inline ListQueryExecutionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 
110  inline ListQueryExecutionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
111 
112  private:
113 
114  Aws::Vector<Aws::String> m_queryExecutionIds;
115 
116  Aws::String m_nextToken;
117  };
118 
119 } // namespace Model
120 } // namespace Athena
121 } // namespace Aws
Aws::Athena::Model::ListQueryExecutionsResult::SetQueryExecutionIds
void SetQueryExecutionIds(const Aws::Vector< Aws::String > &value)
Definition: ListQueryExecutionsResult.h:44
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::ListQueryExecutionsResult::WithQueryExecutionIds
ListQueryExecutionsResult & WithQueryExecutionIds(const Aws::Vector< Aws::String > &value)
Definition: ListQueryExecutionsResult.h:54
Aws::Athena::Model::ListQueryExecutionsResult::GetQueryExecutionIds
const Aws::Vector< Aws::String > & GetQueryExecutionIds() const
Definition: ListQueryExecutionsResult.h:39
Aws::Athena::Model::ListQueryExecutionsResult
Definition: ListQueryExecutionsResult.h:29
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::ListQueryExecutionsResult::AddQueryExecutionIds
ListQueryExecutionsResult & AddQueryExecutionIds(Aws::String &&value)
Definition: ListQueryExecutionsResult.h:69
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Athena::Model::ListQueryExecutionsResult::WithNextToken
ListQueryExecutionsResult & WithNextToken(const char *value)
Definition: ListQueryExecutionsResult.h:110
Aws::Athena::Model::ListQueryExecutionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListQueryExecutionsResult.h:95
Aws::Athena::Model::ListQueryExecutionsResult::SetQueryExecutionIds
void SetQueryExecutionIds(Aws::Vector< Aws::String > &&value)
Definition: ListQueryExecutionsResult.h:49
Aws::Athena::Model::ListQueryExecutionsResult::operator=
ListQueryExecutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::ListQueryExecutionsResult::WithQueryExecutionIds
ListQueryExecutionsResult & WithQueryExecutionIds(Aws::Vector< Aws::String > &&value)
Definition: ListQueryExecutionsResult.h:59
Aws::Athena::Model::ListQueryExecutionsResult::WithNextToken
ListQueryExecutionsResult & WithNextToken(Aws::String &&value)
Definition: ListQueryExecutionsResult.h:105
Aws::Athena::Model::ListQueryExecutionsResult::AddQueryExecutionIds
ListQueryExecutionsResult & AddQueryExecutionIds(const char *value)
Definition: ListQueryExecutionsResult.h:74
Aws::Athena::Model::ListQueryExecutionsResult::AddQueryExecutionIds
ListQueryExecutionsResult & AddQueryExecutionIds(const Aws::String &value)
Definition: ListQueryExecutionsResult.h:64
Aws::Athena::Model::ListQueryExecutionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListQueryExecutionsResult.h:90
Aws::Athena::Model::ListQueryExecutionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListQueryExecutionsResult.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::ListQueryExecutionsResult::WithNextToken
ListQueryExecutionsResult & WithNextToken(const Aws::String &value)
Definition: ListQueryExecutionsResult.h:100
Aws::Athena::Model::ListQueryExecutionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListQueryExecutionsResult.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::ListQueryExecutionsResult::ListQueryExecutionsResult
ListQueryExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::ListQueryExecutionsResult::ListQueryExecutionsResult
ListQueryExecutionsResult()