AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeVirtualRouterRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace AppMesh
19 {
20 namespace Model
21 {
22 
29  {
30  public:
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 "DescribeVirtualRouter"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
47  inline const Aws::String& GetMeshName() const{ return m_meshName; }
48 
52  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
53 
57  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
58 
62  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
63 
67  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
68 
72  inline DescribeVirtualRouterRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
73 
77  inline DescribeVirtualRouterRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
78 
82  inline DescribeVirtualRouterRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
83 
84 
93  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
94 
103  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
104 
113  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
114 
123  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
124 
133  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
134 
143  inline DescribeVirtualRouterRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
144 
153  inline DescribeVirtualRouterRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
154 
163  inline DescribeVirtualRouterRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
164 
165 
169  inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
170 
174  inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
175 
179  inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
180 
184  inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
185 
189  inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
190 
194  inline DescribeVirtualRouterRequest& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
195 
199  inline DescribeVirtualRouterRequest& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
200 
204  inline DescribeVirtualRouterRequest& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
205 
206  private:
207 
208  Aws::String m_meshName;
209  bool m_meshNameHasBeenSet;
210 
211  Aws::String m_meshOwner;
212  bool m_meshOwnerHasBeenSet;
213 
214  Aws::String m_virtualRouterName;
215  bool m_virtualRouterNameHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace AppMesh
220 } // namespace Aws
DescribeVirtualRouterRequest & WithMeshOwner(const char *value)
DescribeVirtualRouterRequest & WithVirtualRouterName(const Aws::String &value)
DescribeVirtualRouterRequest & WithMeshOwner(const Aws::String &value)
DescribeVirtualRouterRequest & WithMeshName(Aws::String &&value)
DescribeVirtualRouterRequest & WithMeshName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
virtual const char * GetServiceRequestName() const override
DescribeVirtualRouterRequest & WithMeshOwner(Aws::String &&value)
DescribeVirtualRouterRequest & WithVirtualRouterName(Aws::String &&value)
DescribeVirtualRouterRequest & WithVirtualRouterName(const char *value)
#define AWS_APPMESH_API
DescribeVirtualRouterRequest & WithMeshName(const char *value)