AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
52 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
53 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
54 inline UpdateGatewayRouteRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
55 inline UpdateGatewayRouteRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
56 inline UpdateGatewayRouteRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
58
60
63 inline const Aws::String& GetGatewayRouteName() const{ return m_gatewayRouteName; }
64 inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
65 inline void SetGatewayRouteName(const Aws::String& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = value; }
66 inline void SetGatewayRouteName(Aws::String&& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = std::move(value); }
67 inline void SetGatewayRouteName(const char* value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName.assign(value); }
69 inline UpdateGatewayRouteRequest& WithGatewayRouteName(Aws::String&& value) { SetGatewayRouteName(std::move(value)); return *this;}
70 inline UpdateGatewayRouteRequest& WithGatewayRouteName(const char* value) { SetGatewayRouteName(value); return *this;}
72
74
77 inline const Aws::String& GetMeshName() const{ return m_meshName; }
78 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
79 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
80 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
81 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
82 inline UpdateGatewayRouteRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
83 inline UpdateGatewayRouteRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
84 inline UpdateGatewayRouteRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
86
88
95 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
96 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
97 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
98 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
99 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
100 inline UpdateGatewayRouteRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
101 inline UpdateGatewayRouteRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
102 inline UpdateGatewayRouteRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
104
106
110 inline const GatewayRouteSpec& GetSpec() const{ return m_spec; }
111 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
112 inline void SetSpec(const GatewayRouteSpec& value) { m_specHasBeenSet = true; m_spec = value; }
113 inline void SetSpec(GatewayRouteSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
114 inline UpdateGatewayRouteRequest& WithSpec(const GatewayRouteSpec& value) { SetSpec(value); return *this;}
115 inline UpdateGatewayRouteRequest& WithSpec(GatewayRouteSpec&& value) { SetSpec(std::move(value)); return *this;}
117
119
123 inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
124 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
125 inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
126 inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
127 inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
129 inline UpdateGatewayRouteRequest& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
130 inline UpdateGatewayRouteRequest& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
132 private:
133
134 Aws::String m_clientToken;
135 bool m_clientTokenHasBeenSet = false;
136
137 Aws::String m_gatewayRouteName;
138 bool m_gatewayRouteNameHasBeenSet = false;
139
140 Aws::String m_meshName;
141 bool m_meshNameHasBeenSet = false;
142
143 Aws::String m_meshOwner;
144 bool m_meshOwnerHasBeenSet = false;
145
146 GatewayRouteSpec m_spec;
147 bool m_specHasBeenSet = false;
148
149 Aws::String m_virtualGatewayName;
150 bool m_virtualGatewayNameHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace AppMesh
155} // namespace Aws
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
UpdateGatewayRouteRequest & WithMeshName(const Aws::String &value)
UpdateGatewayRouteRequest & WithGatewayRouteName(const Aws::String &value)
UpdateGatewayRouteRequest & WithGatewayRouteName(Aws::String &&value)
UpdateGatewayRouteRequest & WithVirtualGatewayName(const char *value)
UpdateGatewayRouteRequest & WithClientToken(Aws::String &&value)
UpdateGatewayRouteRequest & WithClientToken(const Aws::String &value)
AWS_APPMESH_API Aws::String SerializePayload() const override
UpdateGatewayRouteRequest & WithMeshOwner(const Aws::String &value)
UpdateGatewayRouteRequest & WithMeshName(Aws::String &&value)
UpdateGatewayRouteRequest & WithVirtualGatewayName(Aws::String &&value)
UpdateGatewayRouteRequest & WithGatewayRouteName(const char *value)
UpdateGatewayRouteRequest & WithSpec(const GatewayRouteSpec &value)
UpdateGatewayRouteRequest & WithMeshName(const char *value)
UpdateGatewayRouteRequest & WithVirtualGatewayName(const Aws::String &value)
UpdateGatewayRouteRequest & WithClientToken(const char *value)
UpdateGatewayRouteRequest & WithSpec(GatewayRouteSpec &&value)
UpdateGatewayRouteRequest & WithMeshOwner(Aws::String &&value)
UpdateGatewayRouteRequest & WithMeshOwner(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String