AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
UpdateIntegrationResponseRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/PatchOperation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace APIGateway {
17namespace Model {
18
26 public:
27 AWS_APIGATEWAY_API UpdateIntegrationResponseRequest() = default;
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 "UpdateIntegrationResponse"; }
34
35 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
42 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
43 template <typename RestApiIdT = Aws::String>
44 void SetRestApiId(RestApiIdT&& value) {
45 m_restApiIdHasBeenSet = true;
46 m_restApiId = std::forward<RestApiIdT>(value);
47 }
48 template <typename RestApiIdT = Aws::String>
50 SetRestApiId(std::forward<RestApiIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetResourceId() const { return m_resourceId; }
60 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
61 template <typename ResourceIdT = Aws::String>
62 void SetResourceId(ResourceIdT&& value) {
63 m_resourceIdHasBeenSet = true;
64 m_resourceId = std::forward<ResourceIdT>(value);
65 }
66 template <typename ResourceIdT = Aws::String>
68 SetResourceId(std::forward<ResourceIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetHttpMethod() const { return m_httpMethod; }
78 inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
79 template <typename HttpMethodT = Aws::String>
80 void SetHttpMethod(HttpMethodT&& value) {
81 m_httpMethodHasBeenSet = true;
82 m_httpMethod = std::forward<HttpMethodT>(value);
83 }
84 template <typename HttpMethodT = Aws::String>
86 SetHttpMethod(std::forward<HttpMethodT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetStatusCode() const { return m_statusCode; }
96 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
97 template <typename StatusCodeT = Aws::String>
98 void SetStatusCode(StatusCodeT&& value) {
99 m_statusCodeHasBeenSet = true;
100 m_statusCode = std::forward<StatusCodeT>(value);
101 }
102 template <typename StatusCodeT = Aws::String>
104 SetStatusCode(std::forward<StatusCodeT>(value));
105 return *this;
106 }
108
110
115 inline const Aws::Vector<PatchOperation>& GetPatchOperations() const { return m_patchOperations; }
116 inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
117 template <typename PatchOperationsT = Aws::Vector<PatchOperation>>
118 void SetPatchOperations(PatchOperationsT&& value) {
119 m_patchOperationsHasBeenSet = true;
120 m_patchOperations = std::forward<PatchOperationsT>(value);
121 }
122 template <typename PatchOperationsT = Aws::Vector<PatchOperation>>
124 SetPatchOperations(std::forward<PatchOperationsT>(value));
125 return *this;
126 }
127 template <typename PatchOperationsT = PatchOperation>
129 m_patchOperationsHasBeenSet = true;
130 m_patchOperations.emplace_back(std::forward<PatchOperationsT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_restApiId;
136
137 Aws::String m_resourceId;
138
139 Aws::String m_httpMethod;
140
141 Aws::String m_statusCode;
142
143 Aws::Vector<PatchOperation> m_patchOperations;
144 bool m_restApiIdHasBeenSet = false;
145 bool m_resourceIdHasBeenSet = false;
146 bool m_httpMethodHasBeenSet = false;
147 bool m_statusCodeHasBeenSet = false;
148 bool m_patchOperationsHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace APIGateway
153} // namespace Aws
UpdateIntegrationResponseRequest & WithHttpMethod(HttpMethodT &&value)
UpdateIntegrationResponseRequest & AddPatchOperations(PatchOperationsT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
UpdateIntegrationResponseRequest & WithResourceId(ResourceIdT &&value)
UpdateIntegrationResponseRequest & WithStatusCode(StatusCodeT &&value)
UpdateIntegrationResponseRequest & WithRestApiId(RestApiIdT &&value)
UpdateIntegrationResponseRequest & WithPatchOperations(PatchOperationsT &&value)
AWS_APIGATEWAY_API UpdateIntegrationResponseRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector