AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateVirtualGatewayRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMeshRequest.h>
8#include <aws/appmesh/AppMesh_EXPORTS.h>
9#include <aws/appmesh/model/VirtualGatewaySpec.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace AppMesh {
20namespace Model {
21
25 public:
26 AWS_APPMESH_API UpdateVirtualGatewayRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateVirtualGateway"; }
33
34 AWS_APPMESH_API Aws::String SerializePayload() const override;
35
36 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
44 inline const Aws::String& GetClientToken() const { return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 template <typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) {
48 m_clientTokenHasBeenSet = true;
49 m_clientToken = std::forward<ClientTokenT>(value);
50 }
51 template <typename ClientTokenT = Aws::String>
53 SetClientToken(std::forward<ClientTokenT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetMeshName() const { return m_meshName; }
63 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
64 template <typename MeshNameT = Aws::String>
65 void SetMeshName(MeshNameT&& value) {
66 m_meshNameHasBeenSet = true;
67 m_meshName = std::forward<MeshNameT>(value);
68 }
69 template <typename MeshNameT = Aws::String>
71 SetMeshName(std::forward<MeshNameT>(value));
72 return *this;
73 }
75
77
84 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
85 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
86 template <typename MeshOwnerT = Aws::String>
87 void SetMeshOwner(MeshOwnerT&& value) {
88 m_meshOwnerHasBeenSet = true;
89 m_meshOwner = std::forward<MeshOwnerT>(value);
90 }
91 template <typename MeshOwnerT = Aws::String>
93 SetMeshOwner(std::forward<MeshOwnerT>(value));
94 return *this;
95 }
97
99
103 inline const VirtualGatewaySpec& GetSpec() const { return m_spec; }
104 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
105 template <typename SpecT = VirtualGatewaySpec>
106 void SetSpec(SpecT&& value) {
107 m_specHasBeenSet = true;
108 m_spec = std::forward<SpecT>(value);
109 }
110 template <typename SpecT = VirtualGatewaySpec>
112 SetSpec(std::forward<SpecT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetVirtualGatewayName() const { return m_virtualGatewayName; }
122 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
123 template <typename VirtualGatewayNameT = Aws::String>
124 void SetVirtualGatewayName(VirtualGatewayNameT&& value) {
125 m_virtualGatewayNameHasBeenSet = true;
126 m_virtualGatewayName = std::forward<VirtualGatewayNameT>(value);
127 }
128 template <typename VirtualGatewayNameT = Aws::String>
130 SetVirtualGatewayName(std::forward<VirtualGatewayNameT>(value));
131 return *this;
132 }
134 private:
136
137 Aws::String m_meshName;
138
139 Aws::String m_meshOwner;
140
141 VirtualGatewaySpec m_spec;
142
143 Aws::String m_virtualGatewayName;
144 bool m_clientTokenHasBeenSet = true;
145 bool m_meshNameHasBeenSet = false;
146 bool m_meshOwnerHasBeenSet = false;
147 bool m_specHasBeenSet = false;
148 bool m_virtualGatewayNameHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace AppMesh
153} // namespace Aws
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPMESH_API UpdateVirtualGatewayRequest()=default
UpdateVirtualGatewayRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
UpdateVirtualGatewayRequest & WithMeshName(MeshNameT &&value)
UpdateVirtualGatewayRequest & WithMeshOwner(MeshOwnerT &&value)
UpdateVirtualGatewayRequest & WithSpec(SpecT &&value)
AWS_APPMESH_API Aws::String SerializePayload() const override
UpdateVirtualGatewayRequest & WithVirtualGatewayName(VirtualGatewayNameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String