AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NextTokenT = Aws::String>
74 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
75 template<typename NextTokenT = Aws::String>
76 ListMeshesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
78 private:
79
80 int m_limit{0};
81 bool m_limitHasBeenSet = false;
82
83 Aws::String m_nextToken;
84 bool m_nextTokenHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace AppMesh
89} // 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