AWS SDK for C++  1.8.95
AWS SDK for C++
DeleteRouteResponseRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ApiGatewayV2
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteRouteResponse"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetApiId() const{ return m_apiId; }
39 
43  inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
44 
48  inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
49 
53  inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
54 
58  inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
59 
63  inline DeleteRouteResponseRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
64 
68  inline DeleteRouteResponseRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
69 
73  inline DeleteRouteResponseRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
74 
75 
79  inline const Aws::String& GetRouteId() const{ return m_routeId; }
80 
84  inline bool RouteIdHasBeenSet() const { return m_routeIdHasBeenSet; }
85 
89  inline void SetRouteId(const Aws::String& value) { m_routeIdHasBeenSet = true; m_routeId = value; }
90 
94  inline void SetRouteId(Aws::String&& value) { m_routeIdHasBeenSet = true; m_routeId = std::move(value); }
95 
99  inline void SetRouteId(const char* value) { m_routeIdHasBeenSet = true; m_routeId.assign(value); }
100 
104  inline DeleteRouteResponseRequest& WithRouteId(const Aws::String& value) { SetRouteId(value); return *this;}
105 
109  inline DeleteRouteResponseRequest& WithRouteId(Aws::String&& value) { SetRouteId(std::move(value)); return *this;}
110 
114  inline DeleteRouteResponseRequest& WithRouteId(const char* value) { SetRouteId(value); return *this;}
115 
116 
120  inline const Aws::String& GetRouteResponseId() const{ return m_routeResponseId; }
121 
125  inline bool RouteResponseIdHasBeenSet() const { return m_routeResponseIdHasBeenSet; }
126 
130  inline void SetRouteResponseId(const Aws::String& value) { m_routeResponseIdHasBeenSet = true; m_routeResponseId = value; }
131 
135  inline void SetRouteResponseId(Aws::String&& value) { m_routeResponseIdHasBeenSet = true; m_routeResponseId = std::move(value); }
136 
140  inline void SetRouteResponseId(const char* value) { m_routeResponseIdHasBeenSet = true; m_routeResponseId.assign(value); }
141 
145  inline DeleteRouteResponseRequest& WithRouteResponseId(const Aws::String& value) { SetRouteResponseId(value); return *this;}
146 
150  inline DeleteRouteResponseRequest& WithRouteResponseId(Aws::String&& value) { SetRouteResponseId(std::move(value)); return *this;}
151 
155  inline DeleteRouteResponseRequest& WithRouteResponseId(const char* value) { SetRouteResponseId(value); return *this;}
156 
157  private:
158 
159  Aws::String m_apiId;
160  bool m_apiIdHasBeenSet;
161 
162  Aws::String m_routeId;
163  bool m_routeIdHasBeenSet;
164 
165  Aws::String m_routeResponseId;
166  bool m_routeResponseIdHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace ApiGatewayV2
171 } // namespace Aws
DeleteRouteResponseRequest & WithApiId(const Aws::String &value)
DeleteRouteResponseRequest & WithRouteId(const char *value)
#define AWS_APIGATEWAYV2_API
virtual const char * GetServiceRequestName() const override
DeleteRouteResponseRequest & WithRouteId(const Aws::String &value)
DeleteRouteResponseRequest & WithRouteId(Aws::String &&value)
DeleteRouteResponseRequest & WithRouteResponseId(const char *value)
DeleteRouteResponseRequest & WithApiId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteRouteResponseRequest & WithApiId(const char *value)
DeleteRouteResponseRequest & WithRouteResponseId(const Aws::String &value)
DeleteRouteResponseRequest & WithRouteResponseId(Aws::String &&value)