7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/SyncConfig.h>
10#include <aws/appsync/model/AppSyncRuntime.h>
49 template<
typename FunctionIdT = Aws::String>
50 void SetFunctionId(FunctionIdT&& value) { m_functionIdHasBeenSet =
true; m_functionId = std::forward<FunctionIdT>(value); }
51 template<
typename FunctionIdT = Aws::String>
61 template<
typename FunctionArnT = Aws::String>
62 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet =
true; m_functionArn = std::forward<FunctionArnT>(value); }
63 template<
typename FunctionArnT = Aws::String>
73 template<
typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
75 template<
typename NameT = Aws::String>
85 template<
typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
87 template<
typename DescriptionT = Aws::String>
97 template<
typename DataSourceNameT = Aws::String>
98 void SetDataSourceName(DataSourceNameT&& value) { m_dataSourceNameHasBeenSet =
true; m_dataSourceName = std::forward<DataSourceNameT>(value); }
99 template<
typename DataSourceNameT = Aws::String>
110 template<
typename RequestMappingTemplateT = Aws::String>
111 void SetRequestMappingTemplate(RequestMappingTemplateT&& value) { m_requestMappingTemplateHasBeenSet =
true; m_requestMappingTemplate = std::forward<RequestMappingTemplateT>(value); }
112 template<
typename RequestMappingTemplateT = Aws::String>
122 template<
typename ResponseMappingTemplateT = Aws::String>
123 void SetResponseMappingTemplate(ResponseMappingTemplateT&& value) { m_responseMappingTemplateHasBeenSet =
true; m_responseMappingTemplate = std::forward<ResponseMappingTemplateT>(value); }
124 template<
typename ResponseMappingTemplateT = Aws::String>
135 template<
typename FunctionVersionT = Aws::String>
136 void SetFunctionVersion(FunctionVersionT&& value) { m_functionVersionHasBeenSet =
true; m_functionVersion = std::forward<FunctionVersionT>(value); }
137 template<
typename FunctionVersionT = Aws::String>
145 template<
typename SyncConfigT = SyncConfig>
146 void SetSyncConfig(SyncConfigT&& value) { m_syncConfigHasBeenSet =
true; m_syncConfig = std::forward<SyncConfigT>(value); }
147 template<
typename SyncConfigT = SyncConfig>
157 inline void SetMaxBatchSize(
int value) { m_maxBatchSizeHasBeenSet =
true; m_maxBatchSize = value; }
165 template<
typename RuntimeT = AppSyncRuntime>
166 void SetRuntime(RuntimeT&& value) { m_runtimeHasBeenSet =
true; m_runtime = std::forward<RuntimeT>(value); }
167 template<
typename RuntimeT = AppSyncRuntime>
179 template<
typename CodeT = Aws::String>
180 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
181 template<
typename CodeT = Aws::String>
187 bool m_functionIdHasBeenSet =
false;
190 bool m_functionArnHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
196 bool m_descriptionHasBeenSet =
false;
199 bool m_dataSourceNameHasBeenSet =
false;
202 bool m_requestMappingTemplateHasBeenSet =
false;
205 bool m_responseMappingTemplateHasBeenSet =
false;
208 bool m_functionVersionHasBeenSet =
false;
211 bool m_syncConfigHasBeenSet =
false;
213 int m_maxBatchSize{0};
214 bool m_maxBatchSizeHasBeenSet =
false;
216 AppSyncRuntime m_runtime;
217 bool m_runtimeHasBeenSet =
false;
220 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