AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeVirtualGatewayRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMeshRequest.h>
8#include <aws/appmesh/AppMesh_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace AppMesh {
18namespace Model {
19
23 public:
24 AWS_APPMESH_API DescribeVirtualGatewayRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeVirtualGateway"; }
31
32 AWS_APPMESH_API Aws::String SerializePayload() const override;
33
34 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetMeshName() const { return m_meshName; }
41 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
42 template <typename MeshNameT = Aws::String>
43 void SetMeshName(MeshNameT&& value) {
44 m_meshNameHasBeenSet = true;
45 m_meshName = std::forward<MeshNameT>(value);
46 }
47 template <typename MeshNameT = Aws::String>
49 SetMeshName(std::forward<MeshNameT>(value));
50 return *this;
51 }
53
55
62 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
63 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
64 template <typename MeshOwnerT = Aws::String>
65 void SetMeshOwner(MeshOwnerT&& value) {
66 m_meshOwnerHasBeenSet = true;
67 m_meshOwner = std::forward<MeshOwnerT>(value);
68 }
69 template <typename MeshOwnerT = Aws::String>
71 SetMeshOwner(std::forward<MeshOwnerT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetVirtualGatewayName() const { return m_virtualGatewayName; }
81 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
82 template <typename VirtualGatewayNameT = Aws::String>
83 void SetVirtualGatewayName(VirtualGatewayNameT&& value) {
84 m_virtualGatewayNameHasBeenSet = true;
85 m_virtualGatewayName = std::forward<VirtualGatewayNameT>(value);
86 }
87 template <typename VirtualGatewayNameT = Aws::String>
89 SetVirtualGatewayName(std::forward<VirtualGatewayNameT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_meshName;
95
96 Aws::String m_meshOwner;
97
98 Aws::String m_virtualGatewayName;
99 bool m_meshNameHasBeenSet = false;
100 bool m_meshOwnerHasBeenSet = false;
101 bool m_virtualGatewayNameHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace AppMesh
106} // namespace Aws
DescribeVirtualGatewayRequest & WithMeshName(MeshNameT &&value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPMESH_API DescribeVirtualGatewayRequest()=default
AWS_APPMESH_API Aws::String SerializePayload() const override
DescribeVirtualGatewayRequest & WithVirtualGatewayName(VirtualGatewayNameT &&value)
DescribeVirtualGatewayRequest & WithMeshOwner(MeshOwnerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String