AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRouteRequest.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/RouteSpec.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
31 {
32 public:
33 AWS_APPMESH_API UpdateRouteRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "UpdateRoute"; }
40
41 AWS_APPMESH_API Aws::String SerializePayload() const override;
42
43 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
52 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
53 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
54 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
55 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
56 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
57 inline UpdateRouteRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
58 inline UpdateRouteRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
59 inline UpdateRouteRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
61
63
66 inline const Aws::String& GetMeshName() const{ return m_meshName; }
67 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
68 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
69 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
70 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
71 inline UpdateRouteRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
72 inline UpdateRouteRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
73 inline UpdateRouteRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
75
77
84 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
85 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
86 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
87 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
88 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
89 inline UpdateRouteRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
90 inline UpdateRouteRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
91 inline UpdateRouteRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
93
95
98 inline const Aws::String& GetRouteName() const{ return m_routeName; }
99 inline bool RouteNameHasBeenSet() const { return m_routeNameHasBeenSet; }
100 inline void SetRouteName(const Aws::String& value) { m_routeNameHasBeenSet = true; m_routeName = value; }
101 inline void SetRouteName(Aws::String&& value) { m_routeNameHasBeenSet = true; m_routeName = std::move(value); }
102 inline void SetRouteName(const char* value) { m_routeNameHasBeenSet = true; m_routeName.assign(value); }
103 inline UpdateRouteRequest& WithRouteName(const Aws::String& value) { SetRouteName(value); return *this;}
104 inline UpdateRouteRequest& WithRouteName(Aws::String&& value) { SetRouteName(std::move(value)); return *this;}
105 inline UpdateRouteRequest& WithRouteName(const char* value) { SetRouteName(value); return *this;}
107
109
112 inline const RouteSpec& GetSpec() const{ return m_spec; }
113 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
114 inline void SetSpec(const RouteSpec& value) { m_specHasBeenSet = true; m_spec = value; }
115 inline void SetSpec(RouteSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
116 inline UpdateRouteRequest& WithSpec(const RouteSpec& value) { SetSpec(value); return *this;}
117 inline UpdateRouteRequest& WithSpec(RouteSpec&& value) { SetSpec(std::move(value)); return *this;}
119
121
124 inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
125 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
126 inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
127 inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
128 inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
129 inline UpdateRouteRequest& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
130 inline UpdateRouteRequest& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
131 inline UpdateRouteRequest& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
133 private:
134
135 Aws::String m_clientToken;
136 bool m_clientTokenHasBeenSet = false;
137
138 Aws::String m_meshName;
139 bool m_meshNameHasBeenSet = false;
140
141 Aws::String m_meshOwner;
142 bool m_meshOwnerHasBeenSet = false;
143
144 Aws::String m_routeName;
145 bool m_routeNameHasBeenSet = false;
146
147 RouteSpec m_spec;
148 bool m_specHasBeenSet = false;
149
150 Aws::String m_virtualRouterName;
151 bool m_virtualRouterNameHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace AppMesh
156} // namespace Aws
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetVirtualRouterName(Aws::String &&value)
UpdateRouteRequest & WithClientToken(const char *value)
void SetRouteName(const Aws::String &value)
const Aws::String & GetClientToken() const
UpdateRouteRequest & WithMeshOwner(const char *value)
UpdateRouteRequest & WithRouteName(Aws::String &&value)
UpdateRouteRequest & WithRouteName(const char *value)
UpdateRouteRequest & WithClientToken(Aws::String &&value)
void SetMeshOwner(const Aws::String &value)
void SetVirtualRouterName(const Aws::String &value)
const Aws::String & GetMeshName() const
void SetMeshName(const Aws::String &value)
UpdateRouteRequest & WithMeshName(Aws::String &&value)
UpdateRouteRequest & WithSpec(const RouteSpec &value)
UpdateRouteRequest & WithVirtualRouterName(const Aws::String &value)
const Aws::String & GetVirtualRouterName() const
UpdateRouteRequest & WithVirtualRouterName(Aws::String &&value)
void SetClientToken(const Aws::String &value)
UpdateRouteRequest & WithSpec(RouteSpec &&value)
UpdateRouteRequest & WithRouteName(const Aws::String &value)
AWS_APPMESH_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateRouteRequest & WithMeshName(const Aws::String &value)
UpdateRouteRequest & WithMeshName(const char *value)
UpdateRouteRequest & WithVirtualRouterName(const char *value)
const Aws::String & GetRouteName() const
UpdateRouteRequest & WithMeshOwner(Aws::String &&value)
UpdateRouteRequest & WithClientToken(const Aws::String &value)
UpdateRouteRequest & WithMeshOwner(const Aws::String &value)
const Aws::String & GetMeshOwner() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String