AWS SDK for C++  1.9.16
AWS SDK for C++
GetIntegrationResponseRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "GetIntegrationResponse"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
42 
46  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
47 
51  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
52 
56  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
57 
61  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
62 
66  inline GetIntegrationResponseRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
67 
71  inline GetIntegrationResponseRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
72 
76  inline GetIntegrationResponseRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
77 
78 
83  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
84 
89  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
90 
95  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
96 
101  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
102 
107  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
108 
113  inline GetIntegrationResponseRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
114 
119  inline GetIntegrationResponseRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
120 
125  inline GetIntegrationResponseRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
126 
127 
131  inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; }
132 
136  inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
137 
141  inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
142 
146  inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
147 
151  inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); }
152 
156  inline GetIntegrationResponseRequest& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
157 
161  inline GetIntegrationResponseRequest& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}
162 
166  inline GetIntegrationResponseRequest& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}
167 
168 
172  inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
173 
177  inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
178 
182  inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
183 
187  inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
188 
192  inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
193 
197  inline GetIntegrationResponseRequest& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
198 
202  inline GetIntegrationResponseRequest& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
203 
207  inline GetIntegrationResponseRequest& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
208 
209  private:
210 
211  Aws::String m_restApiId;
212  bool m_restApiIdHasBeenSet;
213 
214  Aws::String m_resourceId;
215  bool m_resourceIdHasBeenSet;
216 
217  Aws::String m_httpMethod;
218  bool m_httpMethodHasBeenSet;
219 
220  Aws::String m_statusCode;
221  bool m_statusCodeHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace APIGateway
226 } // namespace Aws
Aws::APIGateway::Model::GetIntegrationResponseRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: GetIntegrationResponseRequest.h:41
Aws::APIGateway::Model::GetIntegrationResponseRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetStatusCode
void SetStatusCode(const Aws::String &value)
Definition: GetIntegrationResponseRequest.h:182
Aws::APIGateway::Model::GetIntegrationResponseRequest::HttpMethodHasBeenSet
bool HttpMethodHasBeenSet() const
Definition: GetIntegrationResponseRequest.h:136
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetIntegrationResponseRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetIntegrationResponseRequest.h:33
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithRestApiId
GetIntegrationResponseRequest & WithRestApiId(Aws::String &&value)
Definition: GetIntegrationResponseRequest.h:71
Aws::APIGateway::Model::GetIntegrationResponseRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: GetIntegrationResponseRequest.h:46
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: GetIntegrationResponseRequest.h:101
Aws::APIGateway::Model::GetIntegrationResponseRequest::StatusCodeHasBeenSet
bool StatusCodeHasBeenSet() const
Definition: GetIntegrationResponseRequest.h:177
Aws::APIGateway::Model::GetIntegrationResponseRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: GetIntegrationResponseRequest.h:89
Aws::APIGateway::Model::GetIntegrationResponseRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: GetIntegrationResponseRequest.h:83
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: GetIntegrationResponseRequest.h:95
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetHttpMethod
void SetHttpMethod(const Aws::String &value)
Definition: GetIntegrationResponseRequest.h:141
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithHttpMethod
GetIntegrationResponseRequest & WithHttpMethod(Aws::String &&value)
Definition: GetIntegrationResponseRequest.h:161
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetStatusCode
void SetStatusCode(const char *value)
Definition: GetIntegrationResponseRequest.h:192
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetStatusCode
void SetStatusCode(Aws::String &&value)
Definition: GetIntegrationResponseRequest.h:187
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetHttpMethod
void SetHttpMethod(const char *value)
Definition: GetIntegrationResponseRequest.h:151
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithResourceId
GetIntegrationResponseRequest & WithResourceId(const char *value)
Definition: GetIntegrationResponseRequest.h:125
APIGatewayRequest.h
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithStatusCode
GetIntegrationResponseRequest & WithStatusCode(Aws::String &&value)
Definition: GetIntegrationResponseRequest.h:202
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetResourceId
void SetResourceId(const char *value)
Definition: GetIntegrationResponseRequest.h:107
Aws::APIGateway::Model::GetIntegrationResponseRequest
Definition: GetIntegrationResponseRequest.h:25
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: GetIntegrationResponseRequest.h:56
Aws::APIGateway::Model::GetIntegrationResponseRequest::GetIntegrationResponseRequest
GetIntegrationResponseRequest()
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithResourceId
GetIntegrationResponseRequest & WithResourceId(Aws::String &&value)
Definition: GetIntegrationResponseRequest.h:119
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithResourceId
GetIntegrationResponseRequest & WithResourceId(const Aws::String &value)
Definition: GetIntegrationResponseRequest.h:113
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: GetIntegrationResponseRequest.h:61
AWSString.h
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetHttpMethod
void SetHttpMethod(Aws::String &&value)
Definition: GetIntegrationResponseRequest.h:146
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithHttpMethod
GetIntegrationResponseRequest & WithHttpMethod(const Aws::String &value)
Definition: GetIntegrationResponseRequest.h:156
Aws::APIGateway::Model::GetIntegrationResponseRequest::GetHttpMethod
const Aws::String & GetHttpMethod() const
Definition: GetIntegrationResponseRequest.h:131
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithStatusCode
GetIntegrationResponseRequest & WithStatusCode(const Aws::String &value)
Definition: GetIntegrationResponseRequest.h:197
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithRestApiId
GetIntegrationResponseRequest & WithRestApiId(const Aws::String &value)
Definition: GetIntegrationResponseRequest.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithStatusCode
GetIntegrationResponseRequest & WithStatusCode(const char *value)
Definition: GetIntegrationResponseRequest.h:207
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithRestApiId
GetIntegrationResponseRequest & WithRestApiId(const char *value)
Definition: GetIntegrationResponseRequest.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetIntegrationResponseRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: GetIntegrationResponseRequest.h:51
Aws::APIGateway::Model::GetIntegrationResponseRequest::GetStatusCode
const Aws::String & GetStatusCode() const
Definition: GetIntegrationResponseRequest.h:172
Aws::APIGateway::Model::GetIntegrationResponseRequest::WithHttpMethod
GetIntegrationResponseRequest & WithHttpMethod(const char *value)
Definition: GetIntegrationResponseRequest.h:166