AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListVirtualServicesRequest.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 ListVirtualServicesRequest();
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 "ListVirtualServices"; }
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 ListVirtualServicesRequest& 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 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
68 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
69 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
70 inline ListVirtualServicesRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
71 inline ListVirtualServicesRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
72 inline ListVirtualServicesRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
74
76
83 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
84 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
85 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
86 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
87 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
88 inline ListVirtualServicesRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
89 inline ListVirtualServicesRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
90 inline ListVirtualServicesRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
92
94
100 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
103 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
104 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
105 inline ListVirtualServicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 inline ListVirtualServicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
107 inline ListVirtualServicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109 private:
110
111 int m_limit;
112 bool m_limitHasBeenSet = false;
113
114 Aws::String m_meshName;
115 bool m_meshNameHasBeenSet = false;
116
117 Aws::String m_meshOwner;
118 bool m_meshOwnerHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace AppMesh
126} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListVirtualServicesRequest & WithMeshName(Aws::String &&value)
ListVirtualServicesRequest & WithMeshOwner(const Aws::String &value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListVirtualServicesRequest & WithMeshOwner(const char *value)
ListVirtualServicesRequest & WithLimit(int value)
ListVirtualServicesRequest & WithMeshOwner(Aws::String &&value)
ListVirtualServicesRequest & WithMeshName(const char *value)
AWS_APPMESH_API Aws::String SerializePayload() const override
ListVirtualServicesRequest & WithMeshName(const Aws::String &value)
ListVirtualServicesRequest & WithNextToken(const Aws::String &value)
ListVirtualServicesRequest & WithNextToken(const char *value)
ListVirtualServicesRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String