AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
65 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
66 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
67 inline ListVirtualGatewaysRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
68 inline ListVirtualGatewaysRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
69 inline ListVirtualGatewaysRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
71
73
80 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
81 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
82 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
83 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
84 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
85 inline ListVirtualGatewaysRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
86 inline ListVirtualGatewaysRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
87 inline ListVirtualGatewaysRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
89
91
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline ListVirtualGatewaysRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline ListVirtualGatewaysRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline ListVirtualGatewaysRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106 private:
107
108 int m_limit;
109 bool m_limitHasBeenSet = false;
110
111 Aws::String m_meshName;
112 bool m_meshNameHasBeenSet = false;
113
114 Aws::String m_meshOwner;
115 bool m_meshOwnerHasBeenSet = false;
116
117 Aws::String m_nextToken;
118 bool m_nextTokenHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace AppMesh
123} // namespace Aws
ListVirtualGatewaysRequest & WithMeshName(const char *value)
ListVirtualGatewaysRequest & WithLimit(int value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListVirtualGatewaysRequest & WithMeshName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListVirtualGatewaysRequest & WithMeshOwner(const Aws::String &value)
AWS_APPMESH_API Aws::String SerializePayload() const override
ListVirtualGatewaysRequest & WithNextToken(Aws::String &&value)
ListVirtualGatewaysRequest & WithNextToken(const Aws::String &value)
ListVirtualGatewaysRequest & WithMeshOwner(Aws::String &&value)
ListVirtualGatewaysRequest & WithMeshOwner(const char *value)
ListVirtualGatewaysRequest & WithMeshName(const Aws::String &value)
ListVirtualGatewaysRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String