AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
ListMeshesRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMeshRequest.h>
8#include <aws/appmesh/AppMesh_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace AppMesh {
18namespace Model {
19
26 public:
27 AWS_APPMESH_API ListMeshesRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListMeshes"; }
34
35 AWS_APPMESH_API Aws::String SerializePayload() const override;
36
37 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
50 inline int GetLimit() const { return m_limit; }
51 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
52 inline void SetLimit(int value) {
53 m_limitHasBeenSet = true;
54 m_limit = value;
55 }
56 inline ListMeshesRequest& WithLimit(int value) {
57 SetLimit(value);
58 return *this;
59 }
61
63
72 inline const Aws::String& GetNextToken() const { return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 template <typename NextTokenT = Aws::String>
75 void SetNextToken(NextTokenT&& value) {
76 m_nextTokenHasBeenSet = true;
77 m_nextToken = std::forward<NextTokenT>(value);
78 }
79 template <typename NextTokenT = Aws::String>
80 ListMeshesRequest& WithNextToken(NextTokenT&& value) {
81 SetNextToken(std::forward<NextTokenT>(value));
82 return *this;
83 }
85 private:
86 int m_limit{0};
87
88 Aws::String m_nextToken;
89 bool m_limitHasBeenSet = false;
90 bool m_nextTokenHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace AppMesh
95} // namespace Aws
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListMeshesRequest & WithNextToken(NextTokenT &&value)
AWS_APPMESH_API ListMeshesRequest()=default
virtual const char * GetServiceRequestName() const override
ListMeshesRequest & WithLimit(int 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