AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateGatewayRouteRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMeshRequest.h>
8#include <aws/appmesh/AppMesh_EXPORTS.h>
9#include <aws/appmesh/model/GatewayRouteSpec.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 UpdateGatewayRouteRequest() = 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 "UpdateGatewayRoute"; }
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& GetGatewayRouteName() const { return m_gatewayRouteName; }
63 inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
64 template <typename GatewayRouteNameT = Aws::String>
65 void SetGatewayRouteName(GatewayRouteNameT&& value) {
66 m_gatewayRouteNameHasBeenSet = true;
67 m_gatewayRouteName = std::forward<GatewayRouteNameT>(value);
68 }
69 template <typename GatewayRouteNameT = Aws::String>
70 UpdateGatewayRouteRequest& WithGatewayRouteName(GatewayRouteNameT&& value) {
71 SetGatewayRouteName(std::forward<GatewayRouteNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetMeshName() const { return m_meshName; }
81 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
82 template <typename MeshNameT = Aws::String>
83 void SetMeshName(MeshNameT&& value) {
84 m_meshNameHasBeenSet = true;
85 m_meshName = std::forward<MeshNameT>(value);
86 }
87 template <typename MeshNameT = Aws::String>
89 SetMeshName(std::forward<MeshNameT>(value));
90 return *this;
91 }
93
95
102 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
103 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
104 template <typename MeshOwnerT = Aws::String>
105 void SetMeshOwner(MeshOwnerT&& value) {
106 m_meshOwnerHasBeenSet = true;
107 m_meshOwner = std::forward<MeshOwnerT>(value);
108 }
109 template <typename MeshOwnerT = Aws::String>
111 SetMeshOwner(std::forward<MeshOwnerT>(value));
112 return *this;
113 }
115
117
121 inline const GatewayRouteSpec& GetSpec() const { return m_spec; }
122 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
123 template <typename SpecT = GatewayRouteSpec>
124 void SetSpec(SpecT&& value) {
125 m_specHasBeenSet = true;
126 m_spec = std::forward<SpecT>(value);
127 }
128 template <typename SpecT = GatewayRouteSpec>
130 SetSpec(std::forward<SpecT>(value));
131 return *this;
132 }
134
136
140 inline const Aws::String& GetVirtualGatewayName() const { return m_virtualGatewayName; }
141 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
142 template <typename VirtualGatewayNameT = Aws::String>
143 void SetVirtualGatewayName(VirtualGatewayNameT&& value) {
144 m_virtualGatewayNameHasBeenSet = true;
145 m_virtualGatewayName = std::forward<VirtualGatewayNameT>(value);
146 }
147 template <typename VirtualGatewayNameT = Aws::String>
148 UpdateGatewayRouteRequest& WithVirtualGatewayName(VirtualGatewayNameT&& value) {
149 SetVirtualGatewayName(std::forward<VirtualGatewayNameT>(value));
150 return *this;
151 }
153 private:
155
156 Aws::String m_gatewayRouteName;
157
158 Aws::String m_meshName;
159
160 Aws::String m_meshOwner;
161
162 GatewayRouteSpec m_spec;
163
164 Aws::String m_virtualGatewayName;
165 bool m_clientTokenHasBeenSet = true;
166 bool m_gatewayRouteNameHasBeenSet = false;
167 bool m_meshNameHasBeenSet = false;
168 bool m_meshOwnerHasBeenSet = false;
169 bool m_specHasBeenSet = false;
170 bool m_virtualGatewayNameHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace AppMesh
175} // namespace Aws
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
UpdateGatewayRouteRequest & WithMeshName(MeshNameT &&value)
UpdateGatewayRouteRequest & WithSpec(SpecT &&value)
UpdateGatewayRouteRequest & WithMeshOwner(MeshOwnerT &&value)
AWS_APPMESH_API Aws::String SerializePayload() const override
AWS_APPMESH_API UpdateGatewayRouteRequest()=default
UpdateGatewayRouteRequest & WithVirtualGatewayName(VirtualGatewayNameT &&value)
UpdateGatewayRouteRequest & WithClientToken(ClientTokenT &&value)
UpdateGatewayRouteRequest & WithGatewayRouteName(GatewayRouteNameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String