AWS SDK for C++  1.9.20
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 
89  inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
90 
98  inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
99 
107  inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
108 
116  inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
117 
125  inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
126 
134  inline DescribeVirtualGatewayRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
135 
143  inline DescribeVirtualGatewayRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
144 
152  inline DescribeVirtualGatewayRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
153 
154 
158  inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
159 
163  inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
164 
168  inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
169 
173  inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
174 
178  inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
179 
183  inline DescribeVirtualGatewayRequest& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
184 
188  inline DescribeVirtualGatewayRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
189 
193  inline DescribeVirtualGatewayRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
194 
195  private:
196 
197  Aws::String m_meshName;
198  bool m_meshNameHasBeenSet;
199 
200  Aws::String m_meshOwner;
201  bool m_meshOwnerHasBeenSet;
202 
203  Aws::String m_virtualGatewayName;
204  bool m_virtualGatewayNameHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace AppMesh
209 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::SetMeshName
void SetMeshName(Aws::String &&value)
Definition: DescribeVirtualGatewayRequest.h:59
Aws::AppMesh::Model::DescribeVirtualGatewayRequest
Definition: DescribeVirtualGatewayRequest.h:26
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeVirtualGatewayRequest.h:34
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::SetMeshOwner
void SetMeshOwner(const char *value)
Definition: DescribeVirtualGatewayRequest.h:125
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::DescribeVirtualGatewayRequest
DescribeVirtualGatewayRequest()
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::VirtualGatewayNameHasBeenSet
bool VirtualGatewayNameHasBeenSet() const
Definition: DescribeVirtualGatewayRequest.h:163
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::MeshOwnerHasBeenSet
bool MeshOwnerHasBeenSet() const
Definition: DescribeVirtualGatewayRequest.h:98
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::WithMeshOwner
DescribeVirtualGatewayRequest & WithMeshOwner(const char *value)
Definition: DescribeVirtualGatewayRequest.h:152
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::GetMeshName
const Aws::String & GetMeshName() const
Definition: DescribeVirtualGatewayRequest.h:44
AppMesh_EXPORTS.h
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::WithMeshOwner
DescribeVirtualGatewayRequest & WithMeshOwner(Aws::String &&value)
Definition: DescribeVirtualGatewayRequest.h:143
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::SetMeshOwner
void SetMeshOwner(const Aws::String &value)
Definition: DescribeVirtualGatewayRequest.h:107
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::WithVirtualGatewayName
DescribeVirtualGatewayRequest & WithVirtualGatewayName(Aws::String &&value)
Definition: DescribeVirtualGatewayRequest.h:188
Aws::AppMesh::AppMeshRequest
Definition: AppMeshRequest.h:17
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::SetVirtualGatewayName
void SetVirtualGatewayName(const Aws::String &value)
Definition: DescribeVirtualGatewayRequest.h:168
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::GetMeshOwner
const Aws::String & GetMeshOwner() const
Definition: DescribeVirtualGatewayRequest.h:89
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::WithVirtualGatewayName
DescribeVirtualGatewayRequest & WithVirtualGatewayName(const char *value)
Definition: DescribeVirtualGatewayRequest.h:193
AWSString.h
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::SetMeshOwner
void SetMeshOwner(Aws::String &&value)
Definition: DescribeVirtualGatewayRequest.h:116
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::WithMeshName
DescribeVirtualGatewayRequest & WithMeshName(const char *value)
Definition: DescribeVirtualGatewayRequest.h:79
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::GetVirtualGatewayName
const Aws::String & GetVirtualGatewayName() const
Definition: DescribeVirtualGatewayRequest.h:158
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::SetVirtualGatewayName
void SetVirtualGatewayName(Aws::String &&value)
Definition: DescribeVirtualGatewayRequest.h:173
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::SetVirtualGatewayName
void SetVirtualGatewayName(const char *value)
Definition: DescribeVirtualGatewayRequest.h:178
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::WithMeshName
DescribeVirtualGatewayRequest & WithMeshName(Aws::String &&value)
Definition: DescribeVirtualGatewayRequest.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::WithVirtualGatewayName
DescribeVirtualGatewayRequest & WithVirtualGatewayName(const Aws::String &value)
Definition: DescribeVirtualGatewayRequest.h:183
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::WithMeshName
DescribeVirtualGatewayRequest & WithMeshName(const Aws::String &value)
Definition: DescribeVirtualGatewayRequest.h:69
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::WithMeshOwner
DescribeVirtualGatewayRequest & WithMeshOwner(const Aws::String &value)
Definition: DescribeVirtualGatewayRequest.h:134
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::SetMeshName
void SetMeshName(const Aws::String &value)
Definition: DescribeVirtualGatewayRequest.h:54
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::SetMeshName
void SetMeshName(const char *value)
Definition: DescribeVirtualGatewayRequest.h:64
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
AppMeshRequest.h
Aws::AppMesh::Model::DescribeVirtualGatewayRequest::MeshNameHasBeenSet
bool MeshNameHasBeenSet() const
Definition: DescribeVirtualGatewayRequest.h:49