AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeVirtualGatewayRequest.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 
26  {
27  public:
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 "DescribeVirtualGateway"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetMeshName() const{ return m_meshName; }
45 
49  inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
50 
54  inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
55 
59  inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
60 
64  inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
65 
69  inline DescribeVirtualGatewayRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
70 
74  inline DescribeVirtualGatewayRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
75 
79  inline DescribeVirtualGatewayRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
80 
81 
90  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
91 
100  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
101 
110  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
111 
120  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
121 
130  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
131 
140  inline DescribeVirtualGatewayRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
141 
150  inline DescribeVirtualGatewayRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
151 
160  inline DescribeVirtualGatewayRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
161 
162 
166  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
167 
171  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
172 
176  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
177 
181  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
182 
186  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
187 
191  inline DescribeVirtualGatewayRequest& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
192 
196  inline DescribeVirtualGatewayRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
197 
201  inline DescribeVirtualGatewayRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
202 
203  private:
204 
205  Aws::String m_meshName;
206  bool m_meshNameHasBeenSet;
207 
208  Aws::String m_meshOwner;
209  bool m_meshOwnerHasBeenSet;
210 
211  Aws::String m_virtualGatewayName;
212  bool m_virtualGatewayNameHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace AppMesh
217 } // namespace Aws
DescribeVirtualGatewayRequest & WithMeshOwner(const char *value)
DescribeVirtualGatewayRequest & WithMeshName(const char *value)
DescribeVirtualGatewayRequest & WithMeshName(Aws::String &&value)
DescribeVirtualGatewayRequest & WithVirtualGatewayName(const Aws::String &value)
DescribeVirtualGatewayRequest & WithVirtualGatewayName(Aws::String &&value)
DescribeVirtualGatewayRequest & WithMeshName(const Aws::String &value)
DescribeVirtualGatewayRequest & WithMeshOwner(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeVirtualGatewayRequest & WithMeshOwner(Aws::String &&value)
#define AWS_APPMESH_API
DescribeVirtualGatewayRequest & WithVirtualGatewayName(const char *value)