AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListVirtualGatewaysRequest.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
26 {
27 public:
28 AWS_APPMESH_API ListVirtualGatewaysRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListVirtualGateways"; }
35
36 AWS_APPMESH_API Aws::String SerializePayload() const override;
37
38 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
52 inline int GetLimit() const { return m_limit; }
53 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
54 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
55 inline ListVirtualGatewaysRequest& WithLimit(int value) { SetLimit(value); return *this;}
57
59
62 inline const Aws::String& GetMeshName() const { return m_meshName; }
63 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
64 template<typename MeshNameT = Aws::String>
65 void SetMeshName(MeshNameT&& value) { m_meshNameHasBeenSet = true; m_meshName = std::forward<MeshNameT>(value); }
66 template<typename MeshNameT = Aws::String>
67 ListVirtualGatewaysRequest& WithMeshName(MeshNameT&& value) { SetMeshName(std::forward<MeshNameT>(value)); return *this;}
69
71
78 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
79 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
80 template<typename MeshOwnerT = Aws::String>
81 void SetMeshOwner(MeshOwnerT&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::forward<MeshOwnerT>(value); }
82 template<typename MeshOwnerT = Aws::String>
83 ListVirtualGatewaysRequest& WithMeshOwner(MeshOwnerT&& value) { SetMeshOwner(std::forward<MeshOwnerT>(value)); return *this;}
85
87
93 inline const Aws::String& GetNextToken() const { return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 template<typename NextTokenT = Aws::String>
96 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
97 template<typename NextTokenT = Aws::String>
98 ListVirtualGatewaysRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
100 private:
101
102 int m_limit{0};
103 bool m_limitHasBeenSet = false;
104
105 Aws::String m_meshName;
106 bool m_meshNameHasBeenSet = false;
107
108 Aws::String m_meshOwner;
109 bool m_meshOwnerHasBeenSet = false;
110
111 Aws::String m_nextToken;
112 bool m_nextTokenHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace AppMesh
117} // namespace Aws
ListVirtualGatewaysRequest & WithMeshOwner(MeshOwnerT &&value)
ListVirtualGatewaysRequest & WithLimit(int value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_APPMESH_API Aws::String SerializePayload() const override
ListVirtualGatewaysRequest & WithMeshName(MeshNameT &&value)
AWS_APPMESH_API ListVirtualGatewaysRequest()=default
ListVirtualGatewaysRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String