AWS SDK for C++  0.14.3
AWS SDK for C++
DeleteMethodResponseRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace APIGateway
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
39  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
40 
44  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
45 
49  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
50 
54  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
55 
59  inline DeleteMethodResponseRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
60 
64  inline DeleteMethodResponseRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(value); return *this;}
65 
69  inline DeleteMethodResponseRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
70 
74  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
75 
79  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
80 
84  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
85 
89  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
90 
94  inline DeleteMethodResponseRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
95 
99  inline DeleteMethodResponseRequest& WithResourceId(Aws::String&& value) { SetResourceId(value); return *this;}
100 
104  inline DeleteMethodResponseRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
105 
109  inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; }
110 
114  inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
115 
119  inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
120 
124  inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); }
125 
129  inline DeleteMethodResponseRequest& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
130 
134  inline DeleteMethodResponseRequest& WithHttpMethod(Aws::String&& value) { SetHttpMethod(value); return *this;}
135 
139  inline DeleteMethodResponseRequest& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}
140 
144  inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
145 
149  inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
150 
154  inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
155 
159  inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
160 
164  inline DeleteMethodResponseRequest& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
165 
169  inline DeleteMethodResponseRequest& WithStatusCode(Aws::String&& value) { SetStatusCode(value); return *this;}
170 
174  inline DeleteMethodResponseRequest& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
175 
176  private:
177  Aws::String m_restApiId;
178  bool m_restApiIdHasBeenSet;
179  Aws::String m_resourceId;
180  bool m_resourceIdHasBeenSet;
181  Aws::String m_httpMethod;
182  bool m_httpMethodHasBeenSet;
183  Aws::String m_statusCode;
184  bool m_statusCodeHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace APIGateway
189 } // namespace Aws
DeleteMethodResponseRequest & WithRestApiId(const Aws::String &value)
DeleteMethodResponseRequest & WithRestApiId(const char *value)
DeleteMethodResponseRequest & WithStatusCode(const Aws::String &value)
DeleteMethodResponseRequest & WithResourceId(const Aws::String &value)
DeleteMethodResponseRequest & WithResourceId(Aws::String &&value)
DeleteMethodResponseRequest & WithHttpMethod(Aws::String &&value)
DeleteMethodResponseRequest & WithHttpMethod(const Aws::String &value)
DeleteMethodResponseRequest & WithStatusCode(const char *value)
DeleteMethodResponseRequest & WithResourceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_APIGATEWAY_API
DeleteMethodResponseRequest & WithRestApiId(Aws::String &&value)
DeleteMethodResponseRequest & WithStatusCode(Aws::String &&value)
DeleteMethodResponseRequest & WithHttpMethod(const char *value)
JSON (JavaScript Object Notation).