AWS SDK for C++  1.9.16
AWS SDK for C++
DeleteIntegrationResponseRequest.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 "DeleteIntegrationResponse"; }
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 DeleteIntegrationResponseRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
68 
72  inline DeleteIntegrationResponseRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
73 
77  inline DeleteIntegrationResponseRequest& 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 DeleteIntegrationResponseRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
115 
120  inline DeleteIntegrationResponseRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
121 
126  inline DeleteIntegrationResponseRequest& 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 DeleteIntegrationResponseRequest& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
158 
162  inline DeleteIntegrationResponseRequest& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}
163 
167  inline DeleteIntegrationResponseRequest& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}
168 
169 
173  inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
174 
178  inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
179 
183  inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
184 
188  inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
189 
193  inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
194 
198  inline DeleteIntegrationResponseRequest& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
199 
203  inline DeleteIntegrationResponseRequest& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
204 
208  inline DeleteIntegrationResponseRequest& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
209 
210  private:
211 
212  Aws::String m_restApiId;
213  bool m_restApiIdHasBeenSet;
214 
215  Aws::String m_resourceId;
216  bool m_resourceIdHasBeenSet;
217 
218  Aws::String m_httpMethod;
219  bool m_httpMethodHasBeenSet;
220 
221  Aws::String m_statusCode;
222  bool m_statusCodeHasBeenSet;
223  };
224 
225 } // namespace Model
226 } // namespace APIGateway
227 } // namespace Aws
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: DeleteIntegrationResponseRequest.h:84
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: DeleteIntegrationResponseRequest.h:47
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteIntegrationResponseRequest.h:34
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::StatusCodeHasBeenSet
bool StatusCodeHasBeenSet() const
Definition: DeleteIntegrationResponseRequest.h:178
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: DeleteIntegrationResponseRequest.h:96
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithStatusCode
DeleteIntegrationResponseRequest & WithStatusCode(const Aws::String &value)
Definition: DeleteIntegrationResponseRequest.h:198
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithResourceId
DeleteIntegrationResponseRequest & WithResourceId(const Aws::String &value)
Definition: DeleteIntegrationResponseRequest.h:114
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::HttpMethodHasBeenSet
bool HttpMethodHasBeenSet() const
Definition: DeleteIntegrationResponseRequest.h:137
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::GetStatusCode
const Aws::String & GetStatusCode() const
Definition: DeleteIntegrationResponseRequest.h:173
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: DeleteIntegrationResponseRequest.h:62
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetStatusCode
void SetStatusCode(const Aws::String &value)
Definition: DeleteIntegrationResponseRequest.h:183
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetHttpMethod
void SetHttpMethod(const Aws::String &value)
Definition: DeleteIntegrationResponseRequest.h:142
APIGateway_EXPORTS.h
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithStatusCode
DeleteIntegrationResponseRequest & WithStatusCode(const char *value)
Definition: DeleteIntegrationResponseRequest.h:208
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithRestApiId
DeleteIntegrationResponseRequest & WithRestApiId(const char *value)
Definition: DeleteIntegrationResponseRequest.h:77
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithHttpMethod
DeleteIntegrationResponseRequest & WithHttpMethod(Aws::String &&value)
Definition: DeleteIntegrationResponseRequest.h:162
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetStatusCode
void SetStatusCode(const char *value)
Definition: DeleteIntegrationResponseRequest.h:193
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithStatusCode
DeleteIntegrationResponseRequest & WithStatusCode(Aws::String &&value)
Definition: DeleteIntegrationResponseRequest.h:203
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: DeleteIntegrationResponseRequest.h:90
Aws::APIGateway::Model::DeleteIntegrationResponseRequest
Definition: DeleteIntegrationResponseRequest.h:26
APIGatewayRequest.h
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithResourceId
DeleteIntegrationResponseRequest & WithResourceId(const char *value)
Definition: DeleteIntegrationResponseRequest.h:126
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithHttpMethod
DeleteIntegrationResponseRequest & WithHttpMethod(const Aws::String &value)
Definition: DeleteIntegrationResponseRequest.h:157
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: DeleteIntegrationResponseRequest.h:52
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: DeleteIntegrationResponseRequest.h:57
AWSString.h
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithRestApiId
DeleteIntegrationResponseRequest & WithRestApiId(Aws::String &&value)
Definition: DeleteIntegrationResponseRequest.h:72
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::DeleteIntegrationResponseRequest
DeleteIntegrationResponseRequest()
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetStatusCode
void SetStatusCode(Aws::String &&value)
Definition: DeleteIntegrationResponseRequest.h:188
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithRestApiId
DeleteIntegrationResponseRequest & WithRestApiId(const Aws::String &value)
Definition: DeleteIntegrationResponseRequest.h:67
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: DeleteIntegrationResponseRequest.h:42
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetResourceId
void SetResourceId(const char *value)
Definition: DeleteIntegrationResponseRequest.h:108
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithHttpMethod
DeleteIntegrationResponseRequest & WithHttpMethod(const char *value)
Definition: DeleteIntegrationResponseRequest.h:167
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::WithResourceId
DeleteIntegrationResponseRequest & WithResourceId(Aws::String &&value)
Definition: DeleteIntegrationResponseRequest.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::GetHttpMethod
const Aws::String & GetHttpMethod() const
Definition: DeleteIntegrationResponseRequest.h:132
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: DeleteIntegrationResponseRequest.h:102
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetHttpMethod
void SetHttpMethod(const char *value)
Definition: DeleteIntegrationResponseRequest.h:152
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::DeleteIntegrationResponseRequest::SetHttpMethod
void SetHttpMethod(Aws::String &&value)
Definition: DeleteIntegrationResponseRequest.h:147