7#include <aws/appsync/AppSyncRequest.h>
8#include <aws/appsync/AppSync_EXPORTS.h>
9#include <aws/appsync/model/AppSyncRuntime.h>
10#include <aws/appsync/model/SyncConfig.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
39 template <
typename ApiIdT = Aws::String>
41 m_apiIdHasBeenSet =
true;
42 m_apiId = std::forward<ApiIdT>(value);
44 template <
typename ApiIdT = Aws::String>
46 SetApiId(std::forward<ApiIdT>(value));
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
93 template <
typename FunctionIdT = Aws::String>
95 m_functionIdHasBeenSet =
true;
96 m_functionId = std::forward<FunctionIdT>(value);
98 template <
typename FunctionIdT = Aws::String>
111 template <
typename DataSourceNameT = Aws::String>
113 m_dataSourceNameHasBeenSet =
true;
114 m_dataSourceName = std::forward<DataSourceNameT>(value);
116 template <
typename DataSourceNameT = Aws::String>
130 template <
typename RequestMappingTemplateT = Aws::String>
132 m_requestMappingTemplateHasBeenSet =
true;
133 m_requestMappingTemplate = std::forward<RequestMappingTemplateT>(value);
135 template <
typename RequestMappingTemplateT = Aws::String>
148 template <
typename ResponseMappingTemplateT = Aws::String>
150 m_responseMappingTemplateHasBeenSet =
true;
151 m_responseMappingTemplate = std::forward<ResponseMappingTemplateT>(value);
153 template <
typename ResponseMappingTemplateT = Aws::String>
168 template <
typename FunctionVersionT = Aws::String>
170 m_functionVersionHasBeenSet =
true;
171 m_functionVersion = std::forward<FunctionVersionT>(value);
173 template <
typename FunctionVersionT = Aws::String>
184 template <
typename SyncConfigT = SyncConfig>
186 m_syncConfigHasBeenSet =
true;
187 m_syncConfig = std::forward<SyncConfigT>(value);
189 template <
typename SyncConfigT = SyncConfig>
203 m_maxBatchSizeHasBeenSet =
true;
204 m_maxBatchSize = value;
216 template <
typename RuntimeT = AppSyncRuntime>
218 m_runtimeHasBeenSet =
true;
219 m_runtime = std::forward<RuntimeT>(value);
221 template <
typename RuntimeT = AppSyncRuntime>
236 template <
typename CodeT = Aws::String>
238 m_codeHasBeenSet =
true;
239 m_code = std::forward<CodeT>(value);
241 template <
typename CodeT = Aws::String>
243 SetCode(std::forward<CodeT>(value));
266 int m_maxBatchSize{0};
268 AppSyncRuntime m_runtime;
271 bool m_apiIdHasBeenSet =
false;
272 bool m_nameHasBeenSet =
false;
273 bool m_descriptionHasBeenSet =
false;
274 bool m_functionIdHasBeenSet =
false;
275 bool m_dataSourceNameHasBeenSet =
false;
276 bool m_requestMappingTemplateHasBeenSet =
false;
277 bool m_responseMappingTemplateHasBeenSet =
false;
278 bool m_functionVersionHasBeenSet =
false;
279 bool m_syncConfigHasBeenSet =
false;
280 bool m_maxBatchSizeHasBeenSet =
false;
281 bool m_runtimeHasBeenSet =
false;
282 bool m_codeHasBeenSet =
false;
bool MaxBatchSizeHasBeenSet() const
const Aws::String & GetCode() const
const Aws::String & GetDescription() const
const Aws::String & GetApiId() const
const AppSyncRuntime & GetRuntime() const
void SetCode(CodeT &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
UpdateFunctionRequest & WithDescription(DescriptionT &&value)
bool RuntimeHasBeenSet() const
bool SyncConfigHasBeenSet() const
UpdateFunctionRequest & WithApiId(ApiIdT &&value)
const Aws::String & GetFunctionVersion() const
const Aws::String & GetName() const
UpdateFunctionRequest & WithFunctionVersion(FunctionVersionT &&value)
UpdateFunctionRequest & WithFunctionId(FunctionIdT &&value)
bool NameHasBeenSet() const
const Aws::String & GetRequestMappingTemplate() const
AWS_APPSYNC_API UpdateFunctionRequest()=default
void SetResponseMappingTemplate(ResponseMappingTemplateT &&value)
void SetApiId(ApiIdT &&value)
void SetDataSourceName(DataSourceNameT &&value)
bool ApiIdHasBeenSet() const
UpdateFunctionRequest & WithName(NameT &&value)
bool DataSourceNameHasBeenSet() const
bool CodeHasBeenSet() const
UpdateFunctionRequest & WithRequestMappingTemplate(RequestMappingTemplateT &&value)
const SyncConfig & GetSyncConfig() const
bool DescriptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetSyncConfig(SyncConfigT &&value)
void SetRequestMappingTemplate(RequestMappingTemplateT &&value)
const Aws::String & GetResponseMappingTemplate() const
void SetRuntime(RuntimeT &&value)
UpdateFunctionRequest & WithMaxBatchSize(int value)
bool FunctionVersionHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool RequestMappingTemplateHasBeenSet() const
void SetFunctionId(FunctionIdT &&value)
void SetName(NameT &&value)
UpdateFunctionRequest & WithCode(CodeT &&value)
UpdateFunctionRequest & WithSyncConfig(SyncConfigT &&value)
const Aws::String & GetFunctionId() const
UpdateFunctionRequest & WithDataSourceName(DataSourceNameT &&value)
void SetFunctionVersion(FunctionVersionT &&value)
bool FunctionIdHasBeenSet() const
UpdateFunctionRequest & WithRuntime(RuntimeT &&value)
const Aws::String & GetDataSourceName() const
int GetMaxBatchSize() const
void SetMaxBatchSize(int value)
bool ResponseMappingTemplateHasBeenSet() const
UpdateFunctionRequest & WithResponseMappingTemplate(ResponseMappingTemplateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String