AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateGatewayRouteRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/AppMeshRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appmesh/model/GatewayRouteSpec.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace AppMesh
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_APPMESH_API UpdateGatewayRouteRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateGatewayRoute"; }
37
38 AWS_APPMESH_API Aws::String SerializePayload() const override;
39
40 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const Aws::String& GetClientToken() const { return m_clientToken; }
50 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
51 template<typename ClientTokenT = Aws::String>
52 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
53 template<typename ClientTokenT = Aws::String>
54 UpdateGatewayRouteRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
56
58
61 inline const Aws::String& GetGatewayRouteName() const { return m_gatewayRouteName; }
62 inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
63 template<typename GatewayRouteNameT = Aws::String>
64 void SetGatewayRouteName(GatewayRouteNameT&& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = std::forward<GatewayRouteNameT>(value); }
65 template<typename GatewayRouteNameT = Aws::String>
66 UpdateGatewayRouteRequest& WithGatewayRouteName(GatewayRouteNameT&& value) { SetGatewayRouteName(std::forward<GatewayRouteNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetMeshName() const { return m_meshName; }
74 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
75 template<typename MeshNameT = Aws::String>
76 void SetMeshName(MeshNameT&& value) { m_meshNameHasBeenSet = true; m_meshName = std::forward<MeshNameT>(value); }
77 template<typename MeshNameT = Aws::String>
78 UpdateGatewayRouteRequest& WithMeshName(MeshNameT&& value) { SetMeshName(std::forward<MeshNameT>(value)); return *this;}
80
82
89 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
90 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
91 template<typename MeshOwnerT = Aws::String>
92 void SetMeshOwner(MeshOwnerT&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::forward<MeshOwnerT>(value); }
93 template<typename MeshOwnerT = Aws::String>
94 UpdateGatewayRouteRequest& WithMeshOwner(MeshOwnerT&& value) { SetMeshOwner(std::forward<MeshOwnerT>(value)); return *this;}
96
98
102 inline const GatewayRouteSpec& GetSpec() const { return m_spec; }
103 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
104 template<typename SpecT = GatewayRouteSpec>
105 void SetSpec(SpecT&& value) { m_specHasBeenSet = true; m_spec = std::forward<SpecT>(value); }
106 template<typename SpecT = GatewayRouteSpec>
107 UpdateGatewayRouteRequest& WithSpec(SpecT&& value) { SetSpec(std::forward<SpecT>(value)); return *this;}
109
111
115 inline const Aws::String& GetVirtualGatewayName() const { return m_virtualGatewayName; }
116 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
117 template<typename VirtualGatewayNameT = Aws::String>
118 void SetVirtualGatewayName(VirtualGatewayNameT&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::forward<VirtualGatewayNameT>(value); }
119 template<typename VirtualGatewayNameT = Aws::String>
120 UpdateGatewayRouteRequest& WithVirtualGatewayName(VirtualGatewayNameT&& value) { SetVirtualGatewayName(std::forward<VirtualGatewayNameT>(value)); return *this;}
122 private:
123
125 bool m_clientTokenHasBeenSet = true;
126
127 Aws::String m_gatewayRouteName;
128 bool m_gatewayRouteNameHasBeenSet = false;
129
130 Aws::String m_meshName;
131 bool m_meshNameHasBeenSet = false;
132
133 Aws::String m_meshOwner;
134 bool m_meshOwnerHasBeenSet = false;
135
136 GatewayRouteSpec m_spec;
137 bool m_specHasBeenSet = false;
138
139 Aws::String m_virtualGatewayName;
140 bool m_virtualGatewayNameHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace AppMesh
145} // 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