AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListVirtualNodesRequest.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 ListVirtualNodesRequest() = 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 "ListVirtualNodes"; }
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 ListVirtualNodesRequest& WithLimit(int value) { SetLimit(value); return *this;}
60
62
65 inline const Aws::String& GetMeshName() const { return m_meshName; }
66 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
67 template<typename MeshNameT = Aws::String>
68 void SetMeshName(MeshNameT&& value) { m_meshNameHasBeenSet = true; m_meshName = std::forward<MeshNameT>(value); }
69 template<typename MeshNameT = Aws::String>
70 ListVirtualNodesRequest& WithMeshName(MeshNameT&& value) { SetMeshName(std::forward<MeshNameT>(value)); return *this;}
72
74
81 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
82 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
83 template<typename MeshOwnerT = Aws::String>
84 void SetMeshOwner(MeshOwnerT&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::forward<MeshOwnerT>(value); }
85 template<typename MeshOwnerT = Aws::String>
86 ListVirtualNodesRequest& WithMeshOwner(MeshOwnerT&& value) { SetMeshOwner(std::forward<MeshOwnerT>(value)); return *this;}
88
90
96 inline const Aws::String& GetNextToken() const { return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 template<typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
100 template<typename NextTokenT = Aws::String>
101 ListVirtualNodesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
103 private:
104
105 int m_limit{0};
106 bool m_limitHasBeenSet = false;
107
108 Aws::String m_meshName;
109 bool m_meshNameHasBeenSet = false;
110
111 Aws::String m_meshOwner;
112 bool m_meshOwnerHasBeenSet = false;
113
114 Aws::String m_nextToken;
115 bool m_nextTokenHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace AppMesh
120} // namespace Aws
ListVirtualNodesRequest & WithMeshOwner(MeshOwnerT &&value)
ListVirtualNodesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_APPMESH_API ListVirtualNodesRequest()=default
ListVirtualNodesRequest & WithLimit(int value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPMESH_API Aws::String SerializePayload() const override
ListVirtualNodesRequest & WithMeshName(MeshNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String