AWS SDK for C++  1.9.20
AWS SDK for C++
DeleteMethodResponseRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace APIGateway
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteMethodResponse"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
43 
47  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
48 
52  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
53 
57  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
58 
62  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
63 
67  inline DeleteMethodResponseRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
68 
72  inline DeleteMethodResponseRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
73 
77  inline DeleteMethodResponseRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
78 
79 
84  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
85 
90  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
91 
96  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
97 
102  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
103 
108  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
109 
114  inline DeleteMethodResponseRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
115 
120  inline DeleteMethodResponseRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
121 
126  inline DeleteMethodResponseRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
127 
128 
132  inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; }
133 
137  inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
138 
142  inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
143 
147  inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
148 
152  inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); }
153 
157  inline DeleteMethodResponseRequest& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
158 
162  inline DeleteMethodResponseRequest& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}
163 
167  inline DeleteMethodResponseRequest& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}
168 
169 
174  inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
175 
180  inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
181 
186  inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
187 
192  inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
193 
198  inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
199 
204  inline DeleteMethodResponseRequest& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
205 
210  inline DeleteMethodResponseRequest& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
211 
216  inline DeleteMethodResponseRequest& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
217 
218  private:
219 
220  Aws::String m_restApiId;
221  bool m_restApiIdHasBeenSet;
222 
223  Aws::String m_resourceId;
224  bool m_resourceIdHasBeenSet;
225 
226  Aws::String m_httpMethod;
227  bool m_httpMethodHasBeenSet;
228 
229  Aws::String m_statusCode;
230  bool m_statusCodeHasBeenSet;
231  };
232 
233 } // namespace Model
234 } // namespace APIGateway
235 } // namespace Aws
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithResourceId
DeleteMethodResponseRequest & WithResourceId(Aws::String &&value)
Definition: DeleteMethodResponseRequest.h:120
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithHttpMethod
DeleteMethodResponseRequest & WithHttpMethod(const Aws::String &value)
Definition: DeleteMethodResponseRequest.h:157
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetStatusCode
void SetStatusCode(const char *value)
Definition: DeleteMethodResponseRequest.h:198
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithResourceId
DeleteMethodResponseRequest & WithResourceId(const Aws::String &value)
Definition: DeleteMethodResponseRequest.h:114
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithHttpMethod
DeleteMethodResponseRequest & WithHttpMethod(const char *value)
Definition: DeleteMethodResponseRequest.h:167
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: DeleteMethodResponseRequest.h:102
Aws::APIGateway::Model::DeleteMethodResponseRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: DeleteMethodResponseRequest.h:47
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithResourceId
DeleteMethodResponseRequest & WithResourceId(const char *value)
Definition: DeleteMethodResponseRequest.h:126
Aws::APIGateway::Model::DeleteMethodResponseRequest::HttpMethodHasBeenSet
bool HttpMethodHasBeenSet() const
Definition: DeleteMethodResponseRequest.h:137
Aws::APIGateway::Model::DeleteMethodResponseRequest::GetHttpMethod
const Aws::String & GetHttpMethod() const
Definition: DeleteMethodResponseRequest.h:132
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetHttpMethod
void SetHttpMethod(Aws::String &&value)
Definition: DeleteMethodResponseRequest.h:147
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetStatusCode
void SetStatusCode(Aws::String &&value)
Definition: DeleteMethodResponseRequest.h:192
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithRestApiId
DeleteMethodResponseRequest & WithRestApiId(const Aws::String &value)
Definition: DeleteMethodResponseRequest.h:67
Aws::APIGateway::Model::DeleteMethodResponseRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteMethodResponseRequest.h:34
APIGateway_EXPORTS.h
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithRestApiId
DeleteMethodResponseRequest & WithRestApiId(const char *value)
Definition: DeleteMethodResponseRequest.h:77
Aws::APIGateway::Model::DeleteMethodResponseRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: DeleteMethodResponseRequest.h:90
Aws::APIGateway::Model::DeleteMethodResponseRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetHttpMethod
void SetHttpMethod(const Aws::String &value)
Definition: DeleteMethodResponseRequest.h:142
APIGatewayRequest.h
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: DeleteMethodResponseRequest.h:96
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithStatusCode
DeleteMethodResponseRequest & WithStatusCode(const Aws::String &value)
Definition: DeleteMethodResponseRequest.h:204
Aws::APIGateway::Model::DeleteMethodResponseRequest
Definition: DeleteMethodResponseRequest.h:26
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetStatusCode
void SetStatusCode(const Aws::String &value)
Definition: DeleteMethodResponseRequest.h:186
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: DeleteMethodResponseRequest.h:52
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetResourceId
void SetResourceId(const char *value)
Definition: DeleteMethodResponseRequest.h:108
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithStatusCode
DeleteMethodResponseRequest & WithStatusCode(Aws::String &&value)
Definition: DeleteMethodResponseRequest.h:210
Aws::APIGateway::Model::DeleteMethodResponseRequest::StatusCodeHasBeenSet
bool StatusCodeHasBeenSet() const
Definition: DeleteMethodResponseRequest.h:180
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetHttpMethod
void SetHttpMethod(const char *value)
Definition: DeleteMethodResponseRequest.h:152
AWSString.h
Aws::APIGateway::Model::DeleteMethodResponseRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: DeleteMethodResponseRequest.h:42
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithHttpMethod
DeleteMethodResponseRequest & WithHttpMethod(Aws::String &&value)
Definition: DeleteMethodResponseRequest.h:162
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithStatusCode
DeleteMethodResponseRequest & WithStatusCode(const char *value)
Definition: DeleteMethodResponseRequest.h:216
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::DeleteMethodResponseRequest::WithRestApiId
DeleteMethodResponseRequest & WithRestApiId(Aws::String &&value)
Definition: DeleteMethodResponseRequest.h:72
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: DeleteMethodResponseRequest.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::DeleteMethodResponseRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: DeleteMethodResponseRequest.h:57
Aws::APIGateway::Model::DeleteMethodResponseRequest::GetStatusCode
const Aws::String & GetStatusCode() const
Definition: DeleteMethodResponseRequest.h:174
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::DeleteMethodResponseRequest::DeleteMethodResponseRequest
DeleteMethodResponseRequest()
Aws::APIGateway::Model::DeleteMethodResponseRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: DeleteMethodResponseRequest.h:84