AWS SDK for C++  1.8.71
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
DeleteIntegrationRequest & WithResourceId(Aws::String &&value)
DeleteIntegrationRequest & WithRestApiId(Aws::String &&value)
DeleteIntegrationRequest & WithRestApiId(const char *value)
DeleteIntegrationRequest & WithHttpMethod(const Aws::String &value)
DeleteIntegrationRequest & WithRestApiId(const Aws::String &value)
DeleteIntegrationRequest & WithResourceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_APIGATEWAY_API
DeleteIntegrationRequest & WithHttpMethod(Aws::String &&value)
DeleteIntegrationRequest & WithResourceId(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteIntegrationRequest & WithHttpMethod(const char *value)