AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListMeshesRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/AppMeshRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace AppMesh
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_APPMESH_API ListMeshesRequest();
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_APPMESH_API Aws::String SerializePayload() const override;
40
41 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
55 inline int GetLimit() const{ return m_limit; }
56 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
57 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
58 inline ListMeshesRequest& WithLimit(int value) { SetLimit(value); return *this;}
60
62
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline ListMeshesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListMeshesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListMeshesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80 private:
81
82 int m_limit;
83 bool m_limitHasBeenSet = false;
84
85 Aws::String m_nextToken;
86 bool m_nextTokenHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace AppMesh
91} // namespace Aws
ListMeshesRequest & WithNextToken(const Aws::String &value)
ListMeshesRequest & WithNextToken(const char *value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListMeshesRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListMeshesRequest & WithLimit(int value)
void SetNextToken(const Aws::String &value)
const Aws::String & GetNextToken() const
AWS_APPMESH_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String