AWS SDK for C++  1.9.13
AWS SDK for C++
ListMeshesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace AppMesh
19 {
20 namespace Model
21 {
22 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "ListMeshes"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
54  inline int GetLimit() const{ return m_limit; }
55 
66  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
67 
78  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
79 
90  inline ListMeshesRequest& WithLimit(int value) { SetLimit(value); return *this;}
91 
92 
102  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
103 
113  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
114 
124  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
125 
135  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
136 
146  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
147 
157  inline ListMeshesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
158 
168  inline ListMeshesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
169 
179  inline ListMeshesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
180 
181  private:
182 
183  int m_limit;
184  bool m_limitHasBeenSet;
185 
186  Aws::String m_nextToken;
187  bool m_nextTokenHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace AppMesh
192 } // namespace Aws
Aws::AppMesh::Model::ListMeshesRequest::WithNextToken
ListMeshesRequest & WithNextToken(const Aws::String &value)
Definition: ListMeshesRequest.h:157
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::ListMeshesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppMesh::Model::ListMeshesRequest::WithNextToken
ListMeshesRequest & WithNextToken(Aws::String &&value)
Definition: ListMeshesRequest.h:168
Aws::AppMesh::Model::ListMeshesRequest::WithLimit
ListMeshesRequest & WithLimit(int value)
Definition: ListMeshesRequest.h:90
Aws::AppMesh::Model::ListMeshesRequest::GetLimit
int GetLimit() const
Definition: ListMeshesRequest.h:54
Aws::AppMesh::Model::ListMeshesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListMeshesRequest.h:37
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListMeshesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListMeshesRequest.h:135
Aws::AppMesh::Model::ListMeshesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListMeshesRequest.h:124
Aws::AppMesh::Model::ListMeshesRequest::WithNextToken
ListMeshesRequest & WithNextToken(const char *value)
Definition: ListMeshesRequest.h:179
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::ListMeshesRequest::ListMeshesRequest
ListMeshesRequest()
Aws::AppMesh::Model::ListMeshesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::ListMeshesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListMeshesRequest.h:146
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListMeshesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListMeshesRequest.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListMeshesRequest
Definition: ListMeshesRequest.h:29
Aws::AppMesh::Model::ListMeshesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListMeshesRequest.h:113
Aws::AppMesh::Model::ListMeshesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListMeshesRequest.h:102
Aws::AppMesh::Model::ListMeshesRequest::SetLimit
void SetLimit(int value)
Definition: ListMeshesRequest.h:78
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
AppMeshRequest.h