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));
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
76 template <
typename DescriptionT = Aws::String>
78 m_descriptionHasBeenSet =
true;
79 m_description = std::forward<DescriptionT>(value);
81 template <
typename DescriptionT = Aws::String>
94 template <
typename DataSourceNameT = Aws::String>
96 m_dataSourceNameHasBeenSet =
true;
97 m_dataSourceName = std::forward<DataSourceNameT>(value);
99 template <
typename DataSourceNameT = Aws::String>
113 template <
typename RequestMappingTemplateT = Aws::String>
115 m_requestMappingTemplateHasBeenSet =
true;
116 m_requestMappingTemplate = std::forward<RequestMappingTemplateT>(value);
118 template <
typename RequestMappingTemplateT = Aws::String>
131 template <
typename ResponseMappingTemplateT = Aws::String>
133 m_responseMappingTemplateHasBeenSet =
true;
134 m_responseMappingTemplate = std::forward<ResponseMappingTemplateT>(value);
136 template <
typename ResponseMappingTemplateT = Aws::String>
151 template <
typename FunctionVersionT = Aws::String>
153 m_functionVersionHasBeenSet =
true;
154 m_functionVersion = std::forward<FunctionVersionT>(value);
156 template <
typename FunctionVersionT = Aws::String>
167 template <
typename SyncConfigT = SyncConfig>
169 m_syncConfigHasBeenSet =
true;
170 m_syncConfig = std::forward<SyncConfigT>(value);
172 template <
typename SyncConfigT = SyncConfig>
186 m_maxBatchSizeHasBeenSet =
true;
187 m_maxBatchSize = value;
199 template <
typename RuntimeT = AppSyncRuntime>
201 m_runtimeHasBeenSet =
true;
202 m_runtime = std::forward<RuntimeT>(value);
204 template <
typename RuntimeT = AppSyncRuntime>
219 template <
typename CodeT = Aws::String>
221 m_codeHasBeenSet =
true;
222 m_code = std::forward<CodeT>(value);
224 template <
typename CodeT = Aws::String>
226 SetCode(std::forward<CodeT>(value));
247 int m_maxBatchSize{0};
249 AppSyncRuntime m_runtime;
252 bool m_apiIdHasBeenSet =
false;
253 bool m_nameHasBeenSet =
false;
254 bool m_descriptionHasBeenSet =
false;
255 bool m_dataSourceNameHasBeenSet =
false;
256 bool m_requestMappingTemplateHasBeenSet =
false;
257 bool m_responseMappingTemplateHasBeenSet =
false;
258 bool m_functionVersionHasBeenSet =
false;
259 bool m_syncConfigHasBeenSet =
false;
260 bool m_maxBatchSizeHasBeenSet =
false;
261 bool m_runtimeHasBeenSet =
false;
262 bool m_codeHasBeenSet =
false;
void SetCode(CodeT &&value)
const Aws::String & GetDataSourceName() const
void SetApiId(ApiIdT &&value)
const Aws::String & GetRequestMappingTemplate() const
AWS_APPSYNC_API CreateFunctionRequest()=default
const Aws::String & GetFunctionVersion() const
CreateFunctionRequest & WithCode(CodeT &&value)
CreateFunctionRequest & WithDataSourceName(DataSourceNameT &&value)
void SetDataSourceName(DataSourceNameT &&value)
CreateFunctionRequest & WithResponseMappingTemplate(ResponseMappingTemplateT &&value)
const Aws::String & GetName() const
CreateFunctionRequest & WithRuntime(RuntimeT &&value)
const Aws::String & GetDescription() const
void SetResponseMappingTemplate(ResponseMappingTemplateT &&value)
virtual const char * GetServiceRequestName() const override
bool MaxBatchSizeHasBeenSet() const
const Aws::String & GetCode() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
bool SyncConfigHasBeenSet() const
CreateFunctionRequest & WithFunctionVersion(FunctionVersionT &&value)
bool FunctionVersionHasBeenSet() const
bool RuntimeHasBeenSet() const
int GetMaxBatchSize() const
bool RequestMappingTemplateHasBeenSet() const
const Aws::String & GetApiId() const
bool CodeHasBeenSet() const
bool ResponseMappingTemplateHasBeenSet() const
const SyncConfig & GetSyncConfig() const
bool DescriptionHasBeenSet() const
CreateFunctionRequest & WithRequestMappingTemplate(RequestMappingTemplateT &&value)
void SetMaxBatchSize(int value)
CreateFunctionRequest & WithName(NameT &&value)
void SetRequestMappingTemplate(RequestMappingTemplateT &&value)
void SetRuntime(RuntimeT &&value)
void SetDescription(DescriptionT &&value)
bool ApiIdHasBeenSet() const
void SetSyncConfig(SyncConfigT &&value)
CreateFunctionRequest & WithDescription(DescriptionT &&value)
void SetFunctionVersion(FunctionVersionT &&value)
CreateFunctionRequest & WithSyncConfig(SyncConfigT &&value)
CreateFunctionRequest & WithMaxBatchSize(int value)
CreateFunctionRequest & WithApiId(ApiIdT &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
bool DataSourceNameHasBeenSet() const
const Aws::String & GetResponseMappingTemplate() const
const AppSyncRuntime & GetRuntime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String