7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/AppSyncRuntime.h>
9#include <aws/appsync/model/SyncConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename FunctionIdT = Aws::String>
45 m_functionIdHasBeenSet =
true;
46 m_functionId = std::forward<FunctionIdT>(value);
48 template <
typename FunctionIdT = Aws::String>
61 template <
typename FunctionArnT = Aws::String>
63 m_functionArnHasBeenSet =
true;
64 m_functionArn = std::forward<FunctionArnT>(value);
66 template <
typename FunctionArnT = Aws::String>
79 template <
typename NameT = Aws::String>
81 m_nameHasBeenSet =
true;
82 m_name = std::forward<NameT>(value);
84 template <
typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
97 template <
typename DescriptionT = Aws::String>
99 m_descriptionHasBeenSet =
true;
100 m_description = std::forward<DescriptionT>(value);
102 template <
typename DescriptionT = Aws::String>
115 template <
typename DataSourceNameT = Aws::String>
117 m_dataSourceNameHasBeenSet =
true;
118 m_dataSourceName = std::forward<DataSourceNameT>(value);
120 template <
typename DataSourceNameT = Aws::String>
134 template <
typename RequestMappingTemplateT = Aws::String>
136 m_requestMappingTemplateHasBeenSet =
true;
137 m_requestMappingTemplate = std::forward<RequestMappingTemplateT>(value);
139 template <
typename RequestMappingTemplateT = Aws::String>
152 template <
typename ResponseMappingTemplateT = Aws::String>
154 m_responseMappingTemplateHasBeenSet =
true;
155 m_responseMappingTemplate = std::forward<ResponseMappingTemplateT>(value);
157 template <
typename ResponseMappingTemplateT = Aws::String>
171 template <
typename FunctionVersionT = Aws::String>
173 m_functionVersionHasBeenSet =
true;
174 m_functionVersion = std::forward<FunctionVersionT>(value);
176 template <
typename FunctionVersionT = Aws::String>
187 template <
typename SyncConfigT = SyncConfig>
189 m_syncConfigHasBeenSet =
true;
190 m_syncConfig = std::forward<SyncConfigT>(value);
192 template <
typename SyncConfigT = SyncConfig>
206 m_maxBatchSizeHasBeenSet =
true;
207 m_maxBatchSize = value;
219 template <
typename RuntimeT = AppSyncRuntime>
221 m_runtimeHasBeenSet =
true;
222 m_runtime = std::forward<RuntimeT>(value);
224 template <
typename RuntimeT = AppSyncRuntime>
239 template <
typename CodeT = Aws::String>
241 m_codeHasBeenSet =
true;
242 m_code = std::forward<CodeT>(value);
244 template <
typename CodeT = Aws::String>
246 SetCode(std::forward<CodeT>(value));
269 int m_maxBatchSize{0};
271 AppSyncRuntime m_runtime;
274 bool m_functionIdHasBeenSet =
false;
275 bool m_functionArnHasBeenSet =
false;
276 bool m_nameHasBeenSet =
false;
277 bool m_descriptionHasBeenSet =
false;
278 bool m_dataSourceNameHasBeenSet =
false;
279 bool m_requestMappingTemplateHasBeenSet =
false;
280 bool m_responseMappingTemplateHasBeenSet =
false;
281 bool m_functionVersionHasBeenSet =
false;
282 bool m_syncConfigHasBeenSet =
false;
283 bool m_maxBatchSizeHasBeenSet =
false;
284 bool m_runtimeHasBeenSet =
false;
285 bool m_codeHasBeenSet =
false;
FunctionConfiguration & WithResponseMappingTemplate(ResponseMappingTemplateT &&value)
int GetMaxBatchSize() const
AWS_APPSYNC_API FunctionConfiguration()=default
bool FunctionIdHasBeenSet() const
AWS_APPSYNC_API FunctionConfiguration(Aws::Utils::Json::JsonView jsonValue)
FunctionConfiguration & WithDescription(DescriptionT &&value)
bool RequestMappingTemplateHasBeenSet() const
FunctionConfiguration & WithFunctionId(FunctionIdT &&value)
void SetSyncConfig(SyncConfigT &&value)
void SetDataSourceName(DataSourceNameT &&value)
const SyncConfig & GetSyncConfig() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool DataSourceNameHasBeenSet() const
bool ResponseMappingTemplateHasBeenSet() const
bool RuntimeHasBeenSet() const
bool FunctionArnHasBeenSet() const
void SetFunctionId(FunctionIdT &&value)
FunctionConfiguration & WithRequestMappingTemplate(RequestMappingTemplateT &&value)
FunctionConfiguration & WithMaxBatchSize(int value)
void SetRuntime(RuntimeT &&value)
void SetCode(CodeT &&value)
const AppSyncRuntime & GetRuntime() const
FunctionConfiguration & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
FunctionConfiguration & WithCode(CodeT &&value)
void SetName(NameT &&value)
const Aws::String & GetFunctionId() const
bool FunctionVersionHasBeenSet() const
FunctionConfiguration & WithSyncConfig(SyncConfigT &&value)
bool CodeHasBeenSet() const
void SetMaxBatchSize(int value)
FunctionConfiguration & WithRuntime(RuntimeT &&value)
AWS_APPSYNC_API FunctionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetFunctionArn() const
bool DescriptionHasBeenSet() const
FunctionConfiguration & WithFunctionVersion(FunctionVersionT &&value)
const Aws::String & GetDataSourceName() const
const Aws::String & GetFunctionVersion() const
bool MaxBatchSizeHasBeenSet() const
void SetFunctionArn(FunctionArnT &&value)
const Aws::String & GetRequestMappingTemplate() const
const Aws::String & GetDescription() const
void SetRequestMappingTemplate(RequestMappingTemplateT &&value)
FunctionConfiguration & WithFunctionArn(FunctionArnT &&value)
void SetFunctionVersion(FunctionVersionT &&value)
bool SyncConfigHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetResponseMappingTemplate() const
FunctionConfiguration & WithDataSourceName(DataSourceNameT &&value)
const Aws::String & GetCode() const
void SetResponseMappingTemplate(ResponseMappingTemplateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue