AWS SDK for C++  1.9.20
AWS SDK for C++
ListQueryExecutionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Athena
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListQueryExecutions"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
43  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
44 
51  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
52 
59  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
60 
67  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 
75  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 
83  inline ListQueryExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
84 
91  inline ListQueryExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 
99  inline ListQueryExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100 
101 
105  inline int GetMaxResults() const{ return m_maxResults; }
106 
110  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
111 
115  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
116 
120  inline ListQueryExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
121 
122 
128  inline const Aws::String& GetWorkGroup() const{ return m_workGroup; }
129 
135  inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
136 
142  inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; }
143 
149  inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); }
150 
156  inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); }
157 
163  inline ListQueryExecutionsRequest& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;}
164 
170  inline ListQueryExecutionsRequest& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;}
171 
177  inline ListQueryExecutionsRequest& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;}
178 
179  private:
180 
181  Aws::String m_nextToken;
182  bool m_nextTokenHasBeenSet;
183 
184  int m_maxResults;
185  bool m_maxResultsHasBeenSet;
186 
187  Aws::String m_workGroup;
188  bool m_workGroupHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace Athena
193 } // namespace Aws
Aws::Athena::Model::ListQueryExecutionsRequest
Definition: ListQueryExecutionsRequest.h:22
Aws::Athena::Model::ListQueryExecutionsRequest::SetWorkGroup
void SetWorkGroup(const char *value)
Definition: ListQueryExecutionsRequest.h:156
Aws::Athena::Model::ListQueryExecutionsRequest::SetWorkGroup
void SetWorkGroup(Aws::String &&value)
Definition: ListQueryExecutionsRequest.h:149
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::AthenaRequest
Definition: AthenaRequest.h:17
Aws::Athena::Model::ListQueryExecutionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Athena::Model::ListQueryExecutionsRequest::ListQueryExecutionsRequest
ListQueryExecutionsRequest()
Aws::Athena::Model::ListQueryExecutionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListQueryExecutionsRequest.h:59
Aws::Athena::Model::ListQueryExecutionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListQueryExecutionsRequest.h:75
Aws::Athena::Model::ListQueryExecutionsRequest::WithWorkGroup
ListQueryExecutionsRequest & WithWorkGroup(const char *value)
Definition: ListQueryExecutionsRequest.h:177
Aws::Athena::Model::ListQueryExecutionsRequest::SetWorkGroup
void SetWorkGroup(const Aws::String &value)
Definition: ListQueryExecutionsRequest.h:142
Aws::Athena::Model::ListQueryExecutionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListQueryExecutionsRequest.h:105
Aws::Athena::Model::ListQueryExecutionsRequest::WithWorkGroup
ListQueryExecutionsRequest & WithWorkGroup(Aws::String &&value)
Definition: ListQueryExecutionsRequest.h:170
Aws::Athena::Model::ListQueryExecutionsRequest::WithMaxResults
ListQueryExecutionsRequest & WithMaxResults(int value)
Definition: ListQueryExecutionsRequest.h:120
Aws::Athena::Model::ListQueryExecutionsRequest::GetWorkGroup
const Aws::String & GetWorkGroup() const
Definition: ListQueryExecutionsRequest.h:128
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::ListQueryExecutionsRequest::WithNextToken
ListQueryExecutionsRequest & WithNextToken(const char *value)
Definition: ListQueryExecutionsRequest.h:99
Aws::Athena::Model::ListQueryExecutionsRequest::WithNextToken
ListQueryExecutionsRequest & WithNextToken(Aws::String &&value)
Definition: ListQueryExecutionsRequest.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::ListQueryExecutionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListQueryExecutionsRequest.h:115
Aws::Athena::Model::ListQueryExecutionsRequest::WithWorkGroup
ListQueryExecutionsRequest & WithWorkGroup(const Aws::String &value)
Definition: ListQueryExecutionsRequest.h:163
Aws::Athena::Model::ListQueryExecutionsRequest::WithNextToken
ListQueryExecutionsRequest & WithNextToken(const Aws::String &value)
Definition: ListQueryExecutionsRequest.h:83
Aws::Athena::Model::ListQueryExecutionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::ListQueryExecutionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListQueryExecutionsRequest.h:30
Aws::Athena::Model::ListQueryExecutionsRequest::WorkGroupHasBeenSet
bool WorkGroupHasBeenSet() const
Definition: ListQueryExecutionsRequest.h:135
AthenaRequest.h
Aws::Athena::Model::ListQueryExecutionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListQueryExecutionsRequest.h:110
Aws::Athena::Model::ListQueryExecutionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListQueryExecutionsRequest.h:43
Aws::Athena::Model::ListQueryExecutionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListQueryExecutionsRequest.h:51
Aws::Athena::Model::ListQueryExecutionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListQueryExecutionsRequest.h:67