7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appsync/model/SyncConfig.h>
11#include <aws/appsync/model/AppSyncRuntime.h>
45 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
60 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
88 inline void SetDataSourceName(
const char* value) { m_dataSourceNameHasBeenSet =
true; m_dataSourceName.assign(value); }
103 inline void SetRequestMappingTemplate(
const char* value) { m_requestMappingTemplateHasBeenSet =
true; m_requestMappingTemplate.assign(value); }
117 inline void SetResponseMappingTemplate(
const char* value) { m_responseMappingTemplateHasBeenSet =
true; m_responseMappingTemplate.assign(value); }
133 inline void SetFunctionVersion(
const char* value) { m_functionVersionHasBeenSet =
true; m_functionVersion.assign(value); }
155 inline void SetMaxBatchSize(
int value) { m_maxBatchSizeHasBeenSet =
true; m_maxBatchSize = value; }
179 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
187 bool m_apiIdHasBeenSet =
false;
190 bool m_nameHasBeenSet =
false;
193 bool m_descriptionHasBeenSet =
false;
196 bool m_dataSourceNameHasBeenSet =
false;
199 bool m_requestMappingTemplateHasBeenSet =
false;
202 bool m_responseMappingTemplateHasBeenSet =
false;
205 bool m_functionVersionHasBeenSet =
false;
208 bool m_syncConfigHasBeenSet =
false;
211 bool m_maxBatchSizeHasBeenSet =
false;
214 bool m_runtimeHasBeenSet =
false;
217 bool m_codeHasBeenSet =
false;
const Aws::String & GetDataSourceName() const
const Aws::String & GetRequestMappingTemplate() const
CreateFunctionRequest & WithRequestMappingTemplate(const char *value)
CreateFunctionRequest & WithRequestMappingTemplate(const Aws::String &value)
CreateFunctionRequest & WithName(const Aws::String &value)
CreateFunctionRequest & WithCode(Aws::String &&value)
void SetApiId(Aws::String &&value)
const Aws::String & GetFunctionVersion() const
void SetApiId(const Aws::String &value)
CreateFunctionRequest & WithName(const char *value)
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
void SetFunctionVersion(const char *value)
void SetDescription(const Aws::String &value)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
void SetCode(const char *value)
virtual const char * GetServiceRequestName() const override
CreateFunctionRequest & WithDataSourceName(const Aws::String &value)
CreateFunctionRequest & WithDataSourceName(Aws::String &&value)
bool MaxBatchSizeHasBeenSet() const
void SetDataSourceName(Aws::String &&value)
void SetRuntime(AppSyncRuntime &&value)
const Aws::String & GetCode() const
CreateFunctionRequest & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
CreateFunctionRequest & WithFunctionVersion(const Aws::String &value)
bool NameHasBeenSet() const
void SetRuntime(const AppSyncRuntime &value)
bool SyncConfigHasBeenSet() const
bool FunctionVersionHasBeenSet() const
bool RuntimeHasBeenSet() const
void SetDataSourceName(const Aws::String &value)
int GetMaxBatchSize() const
void SetSyncConfig(SyncConfig &&value)
CreateFunctionRequest & WithSyncConfig(SyncConfig &&value)
CreateFunctionRequest & WithFunctionVersion(const char *value)
void SetDescription(const char *value)
void SetResponseMappingTemplate(const char *value)
bool RequestMappingTemplateHasBeenSet() const
CreateFunctionRequest & WithRequestMappingTemplate(Aws::String &&value)
void SetName(const char *value)
void SetRequestMappingTemplate(const Aws::String &value)
void SetFunctionVersion(Aws::String &&value)
CreateFunctionRequest & WithApiId(Aws::String &&value)
const Aws::String & GetApiId() const
CreateFunctionRequest & WithRuntime(const AppSyncRuntime &value)
CreateFunctionRequest & WithDescription(const Aws::String &value)
bool CodeHasBeenSet() const
bool ResponseMappingTemplateHasBeenSet() const
CreateFunctionRequest & WithFunctionVersion(Aws::String &&value)
void SetCode(const Aws::String &value)
const SyncConfig & GetSyncConfig() const
CreateFunctionRequest & WithResponseMappingTemplate(Aws::String &&value)
CreateFunctionRequest & WithSyncConfig(const SyncConfig &value)
CreateFunctionRequest & WithName(Aws::String &&value)
void SetSyncConfig(const SyncConfig &value)
void SetResponseMappingTemplate(const Aws::String &value)
CreateFunctionRequest & WithCode(const char *value)
void SetApiId(const char *value)
bool DescriptionHasBeenSet() const
CreateFunctionRequest & WithDescription(const char *value)
void SetRequestMappingTemplate(const char *value)
void SetMaxBatchSize(int value)
void SetCode(Aws::String &&value)
void SetRequestMappingTemplate(Aws::String &&value)
CreateFunctionRequest & WithResponseMappingTemplate(const Aws::String &value)
CreateFunctionRequest & WithApiId(const char *value)
CreateFunctionRequest & WithDataSourceName(const char *value)
CreateFunctionRequest & WithApiId(const Aws::String &value)
bool ApiIdHasBeenSet() const
AWS_APPSYNC_API CreateFunctionRequest()
void SetFunctionVersion(const Aws::String &value)
void SetResponseMappingTemplate(Aws::String &&value)
CreateFunctionRequest & WithMaxBatchSize(int value)
CreateFunctionRequest & WithResponseMappingTemplate(const char *value)
CreateFunctionRequest & WithCode(const Aws::String &value)
void SetDataSourceName(const char *value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
bool DataSourceNameHasBeenSet() const
const Aws::String & GetResponseMappingTemplate() const
const AppSyncRuntime & GetRuntime() const
CreateFunctionRequest & WithRuntime(AppSyncRuntime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String