AWS SDK for C++  1.9.123
AWS SDK for C++
UpdateIntegrationResponseRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace APIGateway
17 {
18 namespace Model
19 {
20 
28  {
29  public:
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 "UpdateIntegrationResponse"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
45 
49  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
50 
54  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
55 
59  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
60 
64  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
65 
69  inline UpdateIntegrationResponseRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
70 
74  inline UpdateIntegrationResponseRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
75 
79  inline UpdateIntegrationResponseRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
80 
81 
86  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
87 
92  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
93 
98  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
99 
104  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
105 
110  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
111 
116  inline UpdateIntegrationResponseRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
117 
122  inline UpdateIntegrationResponseRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
123 
128  inline UpdateIntegrationResponseRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
129 
130 
135  inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; }
136 
141  inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
142 
147  inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
148 
153  inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
154 
159  inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); }
160 
165  inline UpdateIntegrationResponseRequest& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
166 
171  inline UpdateIntegrationResponseRequest& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}
172 
177  inline UpdateIntegrationResponseRequest& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}
178 
179 
184  inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
185 
190  inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
191 
196  inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
197 
202  inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
203 
208  inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
209 
214  inline UpdateIntegrationResponseRequest& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
215 
220  inline UpdateIntegrationResponseRequest& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
221 
226  inline UpdateIntegrationResponseRequest& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
227 
228 
233  inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
234 
239  inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
240 
245  inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
246 
251  inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::move(value); }
252 
257  inline UpdateIntegrationResponseRequest& WithPatchOperations(const Aws::Vector<PatchOperation>& value) { SetPatchOperations(value); return *this;}
258 
263  inline UpdateIntegrationResponseRequest& WithPatchOperations(Aws::Vector<PatchOperation>&& value) { SetPatchOperations(std::move(value)); return *this;}
264 
269  inline UpdateIntegrationResponseRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
270 
275  inline UpdateIntegrationResponseRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; }
276 
277  private:
278 
279  Aws::String m_restApiId;
280  bool m_restApiIdHasBeenSet;
281 
282  Aws::String m_resourceId;
283  bool m_resourceIdHasBeenSet;
284 
285  Aws::String m_httpMethod;
286  bool m_httpMethodHasBeenSet;
287 
288  Aws::String m_statusCode;
289  bool m_statusCodeHasBeenSet;
290 
291  Aws::Vector<PatchOperation> m_patchOperations;
292  bool m_patchOperationsHasBeenSet;
293  };
294 
295 } // namespace Model
296 } // namespace APIGateway
297 } // namespace Aws
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetHttpMethod
void SetHttpMethod(Aws::String &&value)
Definition: UpdateIntegrationResponseRequest.h:153
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithPatchOperations
UpdateIntegrationResponseRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
Definition: UpdateIntegrationResponseRequest.h:257
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithResourceId
UpdateIntegrationResponseRequest & WithResourceId(Aws::String &&value)
Definition: UpdateIntegrationResponseRequest.h:122
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: UpdateIntegrationResponseRequest.h:44
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::UpdateIntegrationResponseRequest
UpdateIntegrationResponseRequest()
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithStatusCode
UpdateIntegrationResponseRequest & WithStatusCode(const char *value)
Definition: UpdateIntegrationResponseRequest.h:226
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::StatusCodeHasBeenSet
bool StatusCodeHasBeenSet() const
Definition: UpdateIntegrationResponseRequest.h:190
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetPatchOperations
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
Definition: UpdateIntegrationResponseRequest.h:245
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithHttpMethod
UpdateIntegrationResponseRequest & WithHttpMethod(const Aws::String &value)
Definition: UpdateIntegrationResponseRequest.h:165
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithRestApiId
UpdateIntegrationResponseRequest & WithRestApiId(const Aws::String &value)
Definition: UpdateIntegrationResponseRequest.h:69
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: UpdateIntegrationResponseRequest.h:59
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithRestApiId
UpdateIntegrationResponseRequest & WithRestApiId(const char *value)
Definition: UpdateIntegrationResponseRequest.h:79
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: UpdateIntegrationResponseRequest.h:104
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::PatchOperationsHasBeenSet
bool PatchOperationsHasBeenSet() const
Definition: UpdateIntegrationResponseRequest.h:239
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::GetStatusCode
const Aws::String & GetStatusCode() const
Definition: UpdateIntegrationResponseRequest.h:184
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithStatusCode
UpdateIntegrationResponseRequest & WithStatusCode(Aws::String &&value)
Definition: UpdateIntegrationResponseRequest.h:220
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetStatusCode
void SetStatusCode(const char *value)
Definition: UpdateIntegrationResponseRequest.h:208
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::HttpMethodHasBeenSet
bool HttpMethodHasBeenSet() const
Definition: UpdateIntegrationResponseRequest.h:141
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: UpdateIntegrationResponseRequest.h:98
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetStatusCode
void SetStatusCode(const Aws::String &value)
Definition: UpdateIntegrationResponseRequest.h:196
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetHttpMethod
void SetHttpMethod(const Aws::String &value)
Definition: UpdateIntegrationResponseRequest.h:147
AWSVector.h
APIGatewayRequest.h
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateIntegrationResponseRequest.h:36
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithPatchOperations
UpdateIntegrationResponseRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
Definition: UpdateIntegrationResponseRequest.h:263
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithRestApiId
UpdateIntegrationResponseRequest & WithRestApiId(Aws::String &&value)
Definition: UpdateIntegrationResponseRequest.h:74
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: UpdateIntegrationResponseRequest.h:64
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetResourceId
void SetResourceId(const char *value)
Definition: UpdateIntegrationResponseRequest.h:110
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: UpdateIntegrationResponseRequest.h:86
AWSString.h
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithStatusCode
UpdateIntegrationResponseRequest & WithStatusCode(const Aws::String &value)
Definition: UpdateIntegrationResponseRequest.h:214
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::GetHttpMethod
const Aws::String & GetHttpMethod() const
Definition: UpdateIntegrationResponseRequest.h:135
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetPatchOperations
void SetPatchOperations(Aws::Vector< PatchOperation > &&value)
Definition: UpdateIntegrationResponseRequest.h:251
Aws::APIGateway::Model::UpdateIntegrationResponseRequest
Definition: UpdateIntegrationResponseRequest.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: UpdateIntegrationResponseRequest.h:92
PatchOperation.h
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetHttpMethod
void SetHttpMethod(const char *value)
Definition: UpdateIntegrationResponseRequest.h:159
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: UpdateIntegrationResponseRequest.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithHttpMethod
UpdateIntegrationResponseRequest & WithHttpMethod(Aws::String &&value)
Definition: UpdateIntegrationResponseRequest.h:171
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::GetPatchOperations
const Aws::Vector< PatchOperation > & GetPatchOperations() const
Definition: UpdateIntegrationResponseRequest.h:233
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::AddPatchOperations
UpdateIntegrationResponseRequest & AddPatchOperations(const PatchOperation &value)
Definition: UpdateIntegrationResponseRequest.h:269
Aws::APIGateway::Model::PatchOperation
Definition: PatchOperation.h:35
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetStatusCode
void SetStatusCode(Aws::String &&value)
Definition: UpdateIntegrationResponseRequest.h:202
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: UpdateIntegrationResponseRequest.h:54
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithResourceId
UpdateIntegrationResponseRequest & WithResourceId(const Aws::String &value)
Definition: UpdateIntegrationResponseRequest.h:116
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::AddPatchOperations
UpdateIntegrationResponseRequest & AddPatchOperations(PatchOperation &&value)
Definition: UpdateIntegrationResponseRequest.h:275
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithHttpMethod
UpdateIntegrationResponseRequest & WithHttpMethod(const char *value)
Definition: UpdateIntegrationResponseRequest.h:177
Aws::APIGateway::Model::UpdateIntegrationResponseRequest::WithResourceId
UpdateIntegrationResponseRequest & WithResourceId(const char *value)
Definition: UpdateIntegrationResponseRequest.h:128