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>
51 inline void SetFunctionId(
const char* value) { m_functionIdHasBeenSet =
true; m_functionId.assign(value); }
65 inline void SetFunctionArn(
const char* value) { m_functionArnHasBeenSet =
true; m_functionArn.assign(value); }
79 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
93 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
107 inline void SetDataSourceName(
const char* value) { m_dataSourceNameHasBeenSet =
true; m_dataSourceName.assign(value); }
122 inline void SetRequestMappingTemplate(
const char* value) { m_requestMappingTemplateHasBeenSet =
true; m_requestMappingTemplate.assign(value); }
136 inline void SetResponseMappingTemplate(
const char* value) { m_responseMappingTemplateHasBeenSet =
true; m_responseMappingTemplate.assign(value); }
151 inline void SetFunctionVersion(
const char* value) { m_functionVersionHasBeenSet =
true; m_functionVersion.assign(value); }
173 inline void SetMaxBatchSize(
int value) { m_maxBatchSizeHasBeenSet =
true; m_maxBatchSize = value; }
197 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
205 bool m_functionIdHasBeenSet =
false;
208 bool m_functionArnHasBeenSet =
false;
211 bool m_nameHasBeenSet =
false;
214 bool m_descriptionHasBeenSet =
false;
217 bool m_dataSourceNameHasBeenSet =
false;
220 bool m_requestMappingTemplateHasBeenSet =
false;
223 bool m_responseMappingTemplateHasBeenSet =
false;
226 bool m_functionVersionHasBeenSet =
false;
229 bool m_syncConfigHasBeenSet =
false;
232 bool m_maxBatchSizeHasBeenSet =
false;
235 bool m_runtimeHasBeenSet =
false;
238 bool m_codeHasBeenSet =
false;
int GetMaxBatchSize() const
bool FunctionIdHasBeenSet() const
FunctionConfiguration & WithFunctionArn(Aws::String &&value)
FunctionConfiguration & WithName(const Aws::String &value)
AWS_APPSYNC_API FunctionConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
void SetResponseMappingTemplate(const char *value)
void SetResponseMappingTemplate(const Aws::String &value)
FunctionConfiguration & WithResponseMappingTemplate(const Aws::String &value)
bool RequestMappingTemplateHasBeenSet() const
void SetResponseMappingTemplate(Aws::String &&value)
FunctionConfiguration & WithFunctionId(Aws::String &&value)
const SyncConfig & GetSyncConfig() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool DataSourceNameHasBeenSet() const
bool ResponseMappingTemplateHasBeenSet() const
void SetDataSourceName(const Aws::String &value)
bool RuntimeHasBeenSet() const
void SetSyncConfig(const SyncConfig &value)
bool FunctionArnHasBeenSet() const
void SetName(const Aws::String &value)
FunctionConfiguration & WithRequestMappingTemplate(const Aws::String &value)
void SetDescription(const char *value)
FunctionConfiguration & WithResponseMappingTemplate(Aws::String &&value)
FunctionConfiguration & WithFunctionVersion(Aws::String &&value)
FunctionConfiguration & WithMaxBatchSize(int value)
FunctionConfiguration & WithCode(Aws::String &&value)
void SetFunctionVersion(const Aws::String &value)
void SetRuntime(const AppSyncRuntime &value)
const AppSyncRuntime & GetRuntime() const
void SetRequestMappingTemplate(const Aws::String &value)
FunctionConfiguration & WithRuntime(const AppSyncRuntime &value)
void SetDescription(const Aws::String &value)
void SetCode(const Aws::String &value)
void SetFunctionId(const Aws::String &value)
const Aws::String & GetFunctionId() const
FunctionConfiguration & WithFunctionVersion(const char *value)
AWS_APPSYNC_API FunctionConfiguration()
bool FunctionVersionHasBeenSet() const
FunctionConfiguration & WithResponseMappingTemplate(const char *value)
FunctionConfiguration & WithRuntime(AppSyncRuntime &&value)
bool CodeHasBeenSet() const
void SetCode(Aws::String &&value)
FunctionConfiguration & WithFunctionId(const char *value)
void SetMaxBatchSize(int value)
void SetCode(const char *value)
FunctionConfiguration & WithFunctionId(const Aws::String &value)
AWS_APPSYNC_API FunctionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetFunctionArn() const
void SetFunctionId(const char *value)
FunctionConfiguration & WithDataSourceName(const Aws::String &value)
FunctionConfiguration & WithFunctionArn(const Aws::String &value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDataSourceName() const
FunctionConfiguration & WithName(const char *value)
FunctionConfiguration & WithDataSourceName(const char *value)
const Aws::String & GetFunctionVersion() const
FunctionConfiguration & WithDataSourceName(Aws::String &&value)
FunctionConfiguration & WithFunctionArn(const char *value)
FunctionConfiguration & WithCode(const Aws::String &value)
bool MaxBatchSizeHasBeenSet() const
void SetFunctionArn(const char *value)
void SetDataSourceName(Aws::String &&value)
const Aws::String & GetRequestMappingTemplate() const
const Aws::String & GetDescription() const
void SetFunctionVersion(const char *value)
void SetRequestMappingTemplate(const char *value)
void SetSyncConfig(SyncConfig &&value)
void SetName(const char *value)
bool SyncConfigHasBeenSet() const
void SetFunctionId(Aws::String &&value)
bool NameHasBeenSet() const
void SetRequestMappingTemplate(Aws::String &&value)
void SetFunctionArn(Aws::String &&value)
void SetRuntime(AppSyncRuntime &&value)
FunctionConfiguration & WithRequestMappingTemplate(Aws::String &&value)
void SetFunctionVersion(Aws::String &&value)
FunctionConfiguration & WithSyncConfig(const SyncConfig &value)
FunctionConfiguration & WithDescription(const Aws::String &value)
FunctionConfiguration & WithCode(const char *value)
FunctionConfiguration & WithDescription(Aws::String &&value)
FunctionConfiguration & WithFunctionVersion(const Aws::String &value)
FunctionConfiguration & WithDescription(const char *value)
void SetFunctionArn(const Aws::String &value)
const Aws::String & GetResponseMappingTemplate() const
void SetDataSourceName(const char *value)
FunctionConfiguration & WithName(Aws::String &&value)
FunctionConfiguration & WithRequestMappingTemplate(const char *value)
FunctionConfiguration & WithSyncConfig(SyncConfig &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue