AWS SDK for C++  1.9.20
AWS SDK for C++
DeleteIntegrationRequest.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 "DeleteIntegration"; }
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 DeleteIntegrationRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
67 
71  inline DeleteIntegrationRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
72 
76  inline DeleteIntegrationRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
77 
78 
82  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
83 
87  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
88 
92  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
93 
97  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
98 
102  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
103 
107  inline DeleteIntegrationRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
108 
112  inline DeleteIntegrationRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
113 
117  inline DeleteIntegrationRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
118 
119 
123  inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; }
124 
128  inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
129 
133  inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
134 
138  inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
139 
143  inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); }
144 
148  inline DeleteIntegrationRequest& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
149 
153  inline DeleteIntegrationRequest& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}
154 
158  inline DeleteIntegrationRequest& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}
159 
160  private:
161 
162  Aws::String m_restApiId;
163  bool m_restApiIdHasBeenSet;
164 
165  Aws::String m_resourceId;
166  bool m_resourceIdHasBeenSet;
167 
168  Aws::String m_httpMethod;
169  bool m_httpMethodHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace APIGateway
174 } // namespace Aws
Aws::APIGateway::Model::DeleteIntegrationRequest::HttpMethodHasBeenSet
bool HttpMethodHasBeenSet() const
Definition: DeleteIntegrationRequest.h:128
Aws::APIGateway::Model::DeleteIntegrationRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: DeleteIntegrationRequest.h:51
Aws::APIGateway::Model::DeleteIntegrationRequest::WithHttpMethod
DeleteIntegrationRequest & WithHttpMethod(const Aws::String &value)
Definition: DeleteIntegrationRequest.h:148
Aws::APIGateway::Model::DeleteIntegrationRequest
Definition: DeleteIntegrationRequest.h:25
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::DeleteIntegrationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::DeleteIntegrationRequest::WithRestApiId
DeleteIntegrationRequest & WithRestApiId(Aws::String &&value)
Definition: DeleteIntegrationRequest.h:71
Aws::APIGateway::Model::DeleteIntegrationRequest::SetHttpMethod
void SetHttpMethod(Aws::String &&value)
Definition: DeleteIntegrationRequest.h:138
Aws::APIGateway::Model::DeleteIntegrationRequest::WithResourceId
DeleteIntegrationRequest & WithResourceId(const char *value)
Definition: DeleteIntegrationRequest.h:117
APIGateway_EXPORTS.h
Aws::APIGateway::Model::DeleteIntegrationRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: DeleteIntegrationRequest.h:82
Aws::APIGateway::Model::DeleteIntegrationRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: DeleteIntegrationRequest.h:56
Aws::APIGateway::Model::DeleteIntegrationRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: DeleteIntegrationRequest.h:97
APIGatewayRequest.h
Aws::APIGateway::Model::DeleteIntegrationRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: DeleteIntegrationRequest.h:61
Aws::APIGateway::Model::DeleteIntegrationRequest::WithResourceId
DeleteIntegrationRequest & WithResourceId(Aws::String &&value)
Definition: DeleteIntegrationRequest.h:112
Aws::APIGateway::Model::DeleteIntegrationRequest::GetHttpMethod
const Aws::String & GetHttpMethod() const
Definition: DeleteIntegrationRequest.h:123
Aws::APIGateway::Model::DeleteIntegrationRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: DeleteIntegrationRequest.h:87
Aws::APIGateway::Model::DeleteIntegrationRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: DeleteIntegrationRequest.h:92
Aws::APIGateway::Model::DeleteIntegrationRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: DeleteIntegrationRequest.h:46
Aws::APIGateway::Model::DeleteIntegrationRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: DeleteIntegrationRequest.h:41
Aws::APIGateway::Model::DeleteIntegrationRequest::SetHttpMethod
void SetHttpMethod(const char *value)
Definition: DeleteIntegrationRequest.h:143
AWSString.h
Aws::APIGateway::Model::DeleteIntegrationRequest::WithResourceId
DeleteIntegrationRequest & WithResourceId(const Aws::String &value)
Definition: DeleteIntegrationRequest.h:107
Aws::APIGateway::Model::DeleteIntegrationRequest::WithHttpMethod
DeleteIntegrationRequest & WithHttpMethod(Aws::String &&value)
Definition: DeleteIntegrationRequest.h:153
Aws::APIGateway::Model::DeleteIntegrationRequest::WithHttpMethod
DeleteIntegrationRequest & WithHttpMethod(const char *value)
Definition: DeleteIntegrationRequest.h:158
Aws::APIGateway::Model::DeleteIntegrationRequest::SetResourceId
void SetResourceId(const char *value)
Definition: DeleteIntegrationRequest.h:102
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::DeleteIntegrationRequest::DeleteIntegrationRequest
DeleteIntegrationRequest()
Aws::APIGateway::Model::DeleteIntegrationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteIntegrationRequest.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::DeleteIntegrationRequest::WithRestApiId
DeleteIntegrationRequest & WithRestApiId(const Aws::String &value)
Definition: DeleteIntegrationRequest.h:66
Aws::APIGateway::Model::DeleteIntegrationRequest::WithRestApiId
DeleteIntegrationRequest & WithRestApiId(const char *value)
Definition: DeleteIntegrationRequest.h:76
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::DeleteIntegrationRequest::SetHttpMethod
void SetHttpMethod(const Aws::String &value)
Definition: DeleteIntegrationRequest.h:133