AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateIntegrationResponseRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/apigateway/model/PatchOperation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace APIGateway
17{
18namespace Model
19{
20
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateIntegrationResponse"; }
37
38 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
46 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
47 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
48 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
49 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
50 inline UpdateIntegrationResponseRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
51 inline UpdateIntegrationResponseRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
52 inline UpdateIntegrationResponseRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
54
56
59 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
60 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
61 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
62 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
63 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
64 inline UpdateIntegrationResponseRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
65 inline UpdateIntegrationResponseRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
66 inline UpdateIntegrationResponseRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
68
70
73 inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; }
74 inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
75 inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
76 inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
77 inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); }
78 inline UpdateIntegrationResponseRequest& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
79 inline UpdateIntegrationResponseRequest& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}
80 inline UpdateIntegrationResponseRequest& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}
82
84
87 inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
88 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
89 inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
90 inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
91 inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
92 inline UpdateIntegrationResponseRequest& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
93 inline UpdateIntegrationResponseRequest& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
94 inline UpdateIntegrationResponseRequest& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
96
98
103 inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
104 inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
105 inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
106 inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::move(value); }
109 inline UpdateIntegrationResponseRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
110 inline UpdateIntegrationResponseRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; }
112 private:
113
114 Aws::String m_restApiId;
115 bool m_restApiIdHasBeenSet = false;
116
117 Aws::String m_resourceId;
118 bool m_resourceIdHasBeenSet = false;
119
120 Aws::String m_httpMethod;
121 bool m_httpMethodHasBeenSet = false;
122
123 Aws::String m_statusCode;
124 bool m_statusCodeHasBeenSet = false;
125
126 Aws::Vector<PatchOperation> m_patchOperations;
127 bool m_patchOperationsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace APIGateway
132} // namespace Aws
UpdateIntegrationResponseRequest & WithResourceId(const Aws::String &value)
UpdateIntegrationResponseRequest & WithHttpMethod(Aws::String &&value)
UpdateIntegrationResponseRequest & WithResourceId(Aws::String &&value)
UpdateIntegrationResponseRequest & AddPatchOperations(PatchOperation &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
UpdateIntegrationResponseRequest & WithRestApiId(const Aws::String &value)
UpdateIntegrationResponseRequest & WithStatusCode(Aws::String &&value)
UpdateIntegrationResponseRequest & WithRestApiId(Aws::String &&value)
UpdateIntegrationResponseRequest & WithHttpMethod(const Aws::String &value)
UpdateIntegrationResponseRequest & WithHttpMethod(const char *value)
UpdateIntegrationResponseRequest & WithStatusCode(const char *value)
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
UpdateIntegrationResponseRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
UpdateIntegrationResponseRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
UpdateIntegrationResponseRequest & WithRestApiId(const char *value)
UpdateIntegrationResponseRequest & AddPatchOperations(const PatchOperation &value)
UpdateIntegrationResponseRequest & WithStatusCode(const Aws::String &value)
UpdateIntegrationResponseRequest & WithResourceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector