AWS SDK for C++  1.9.125
AWS SDK for C++
UpdateIntegrationRequest.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 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdateIntegration"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
43  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
44 
48  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
49 
53  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
54 
58  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
59 
63  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
64 
68  inline UpdateIntegrationRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
69 
73  inline UpdateIntegrationRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
74 
78  inline UpdateIntegrationRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
79 
80 
85  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
86 
91  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
92 
97  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
98 
103  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
104 
109  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
110 
115  inline UpdateIntegrationRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
116 
121  inline UpdateIntegrationRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
122 
127  inline UpdateIntegrationRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
128 
129 
133  inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; }
134 
138  inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
139 
143  inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
144 
148  inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
149 
153  inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); }
154 
158  inline UpdateIntegrationRequest& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
159 
163  inline UpdateIntegrationRequest& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}
164 
168  inline UpdateIntegrationRequest& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}
169 
170 
175  inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
176 
181  inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
182 
187  inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
188 
193  inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::move(value); }
194 
199  inline UpdateIntegrationRequest& WithPatchOperations(const Aws::Vector<PatchOperation>& value) { SetPatchOperations(value); return *this;}
200 
205  inline UpdateIntegrationRequest& WithPatchOperations(Aws::Vector<PatchOperation>&& value) { SetPatchOperations(std::move(value)); return *this;}
206 
211  inline UpdateIntegrationRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
212 
217  inline UpdateIntegrationRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; }
218 
219  private:
220 
221  Aws::String m_restApiId;
222  bool m_restApiIdHasBeenSet;
223 
224  Aws::String m_resourceId;
225  bool m_resourceIdHasBeenSet;
226 
227  Aws::String m_httpMethod;
228  bool m_httpMethodHasBeenSet;
229 
230  Aws::Vector<PatchOperation> m_patchOperations;
231  bool m_patchOperationsHasBeenSet;
232  };
233 
234 } // namespace Model
235 } // namespace APIGateway
236 } // namespace Aws
Aws::APIGateway::Model::UpdateIntegrationRequest::WithHttpMethod
UpdateIntegrationRequest & WithHttpMethod(const char *value)
Definition: UpdateIntegrationRequest.h:168
Aws::APIGateway::Model::UpdateIntegrationRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: UpdateIntegrationRequest.h:43
Aws::APIGateway::Model::UpdateIntegrationRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: UpdateIntegrationRequest.h:58
Aws::APIGateway::Model::UpdateIntegrationRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: UpdateIntegrationRequest.h:103
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateIntegrationRequest::SetPatchOperations
void SetPatchOperations(Aws::Vector< PatchOperation > &&value)
Definition: UpdateIntegrationRequest.h:193
Aws::APIGateway::Model::UpdateIntegrationRequest::SetHttpMethod
void SetHttpMethod(const Aws::String &value)
Definition: UpdateIntegrationRequest.h:143
Aws::APIGateway::Model::UpdateIntegrationRequest::SetHttpMethod
void SetHttpMethod(Aws::String &&value)
Definition: UpdateIntegrationRequest.h:148
Aws::APIGateway::Model::UpdateIntegrationRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: UpdateIntegrationRequest.h:97
Aws::APIGateway::Model::UpdateIntegrationRequest
Definition: UpdateIntegrationRequest.h:27
Aws::APIGateway::Model::UpdateIntegrationRequest::SetResourceId
void SetResourceId(const char *value)
Definition: UpdateIntegrationRequest.h:109
Aws::APIGateway::Model::UpdateIntegrationRequest::WithRestApiId
UpdateIntegrationRequest & WithRestApiId(const Aws::String &value)
Definition: UpdateIntegrationRequest.h:68
Aws::APIGateway::Model::UpdateIntegrationRequest::GetPatchOperations
const Aws::Vector< PatchOperation > & GetPatchOperations() const
Definition: UpdateIntegrationRequest.h:175
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::UpdateIntegrationRequest::PatchOperationsHasBeenSet
bool PatchOperationsHasBeenSet() const
Definition: UpdateIntegrationRequest.h:181
Aws::APIGateway::Model::UpdateIntegrationRequest::SerializePayload
Aws::String SerializePayload() const override
AWSVector.h
Aws::APIGateway::Model::UpdateIntegrationRequest::WithPatchOperations
UpdateIntegrationRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
Definition: UpdateIntegrationRequest.h:199
APIGatewayRequest.h
Aws::APIGateway::Model::UpdateIntegrationRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: UpdateIntegrationRequest.h:48
Aws::APIGateway::Model::UpdateIntegrationRequest::WithResourceId
UpdateIntegrationRequest & WithResourceId(Aws::String &&value)
Definition: UpdateIntegrationRequest.h:121
Aws::APIGateway::Model::UpdateIntegrationRequest::UpdateIntegrationRequest
UpdateIntegrationRequest()
Aws::APIGateway::Model::UpdateIntegrationRequest::WithResourceId
UpdateIntegrationRequest & WithResourceId(const char *value)
Definition: UpdateIntegrationRequest.h:127
Aws::APIGateway::Model::UpdateIntegrationRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: UpdateIntegrationRequest.h:91
Aws::APIGateway::Model::UpdateIntegrationRequest::WithResourceId
UpdateIntegrationRequest & WithResourceId(const Aws::String &value)
Definition: UpdateIntegrationRequest.h:115
Aws::APIGateway::Model::UpdateIntegrationRequest::HttpMethodHasBeenSet
bool HttpMethodHasBeenSet() const
Definition: UpdateIntegrationRequest.h:138
AWSString.h
Aws::APIGateway::Model::UpdateIntegrationRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: UpdateIntegrationRequest.h:53
Aws::APIGateway::Model::UpdateIntegrationRequest::WithRestApiId
UpdateIntegrationRequest & WithRestApiId(Aws::String &&value)
Definition: UpdateIntegrationRequest.h:73
Aws::APIGateway::Model::UpdateIntegrationRequest::WithRestApiId
UpdateIntegrationRequest & WithRestApiId(const char *value)
Definition: UpdateIntegrationRequest.h:78
Aws::APIGateway::Model::UpdateIntegrationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateIntegrationRequest.h:35
Aws::APIGateway::Model::UpdateIntegrationRequest::SetHttpMethod
void SetHttpMethod(const char *value)
Definition: UpdateIntegrationRequest.h:153
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::UpdateIntegrationRequest::WithHttpMethod
UpdateIntegrationRequest & WithHttpMethod(Aws::String &&value)
Definition: UpdateIntegrationRequest.h:163
PatchOperation.h
Aws::APIGateway::Model::UpdateIntegrationRequest::AddPatchOperations
UpdateIntegrationRequest & AddPatchOperations(const PatchOperation &value)
Definition: UpdateIntegrationRequest.h:211
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateIntegrationRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: UpdateIntegrationRequest.h:85
Aws::APIGateway::Model::UpdateIntegrationRequest::SetPatchOperations
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
Definition: UpdateIntegrationRequest.h:187
Aws::APIGateway::Model::PatchOperation
Definition: PatchOperation.h:35
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::UpdateIntegrationRequest::WithPatchOperations
UpdateIntegrationRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
Definition: UpdateIntegrationRequest.h:205
Aws::APIGateway::Model::UpdateIntegrationRequest::AddPatchOperations
UpdateIntegrationRequest & AddPatchOperations(PatchOperation &&value)
Definition: UpdateIntegrationRequest.h:217
Aws::APIGateway::Model::UpdateIntegrationRequest::WithHttpMethod
UpdateIntegrationRequest & WithHttpMethod(const Aws::String &value)
Definition: UpdateIntegrationRequest.h:158
Aws::APIGateway::Model::UpdateIntegrationRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: UpdateIntegrationRequest.h:63
Aws::APIGateway::Model::UpdateIntegrationRequest::GetHttpMethod
const Aws::String & GetHttpMethod() const
Definition: UpdateIntegrationRequest.h:133