AWS SDK for C++  1.9.17
AWS SDK for C++
ListEngineVersionsRequest.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 "ListEngineVersions"; }
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 ListEngineVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
84 
91  inline ListEngineVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 
99  inline ListEngineVersionsRequest& 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 ListEngineVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
121 
122  private:
123 
124  Aws::String m_nextToken;
125  bool m_nextTokenHasBeenSet;
126 
127  int m_maxResults;
128  bool m_maxResultsHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace Athena
133 } // namespace Aws
Aws::Athena::Model::ListEngineVersionsRequest
Definition: ListEngineVersionsRequest.h:22
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::Model::ListEngineVersionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListEngineVersionsRequest.h:75
Aws::Athena::AthenaRequest
Definition: AthenaRequest.h:17
Aws::Athena::Model::ListEngineVersionsRequest::WithNextToken
ListEngineVersionsRequest & WithNextToken(const Aws::String &value)
Definition: ListEngineVersionsRequest.h:83
Aws::Athena::Model::ListEngineVersionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListEngineVersionsRequest.h:115
Aws::Athena::Model::ListEngineVersionsRequest::WithNextToken
ListEngineVersionsRequest & WithNextToken(const char *value)
Definition: ListEngineVersionsRequest.h:99
Aws::Athena::Model::ListEngineVersionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEngineVersionsRequest.h:67
Aws::Athena::Model::ListEngineVersionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListEngineVersionsRequest.h:110
Aws::Athena::Model::ListEngineVersionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Athena::Model::ListEngineVersionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEngineVersionsRequest.h:59
Aws::Athena::Model::ListEngineVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::ListEngineVersionsRequest::WithMaxResults
ListEngineVersionsRequest & WithMaxResults(int value)
Definition: ListEngineVersionsRequest.h:120
Aws::Athena::Model::ListEngineVersionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEngineVersionsRequest.h:43
Aws::Athena::Model::ListEngineVersionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListEngineVersionsRequest.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::ListEngineVersionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListEngineVersionsRequest.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AthenaRequest.h
Aws::Athena::Model::ListEngineVersionsRequest::WithNextToken
ListEngineVersionsRequest & WithNextToken(Aws::String &&value)
Definition: ListEngineVersionsRequest.h:91
Aws::Athena::Model::ListEngineVersionsRequest::ListEngineVersionsRequest
ListEngineVersionsRequest()
Aws::Athena::Model::ListEngineVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListEngineVersionsRequest.h:30