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); }
59 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
87 inline void SetFunctionId(
const char* value) { m_functionIdHasBeenSet =
true; m_functionId.assign(value); }
101 inline void SetDataSourceName(
const char* value) { m_dataSourceNameHasBeenSet =
true; m_dataSourceName.assign(value); }
116 inline void SetRequestMappingTemplate(
const char* value) { m_requestMappingTemplateHasBeenSet =
true; m_requestMappingTemplate.assign(value); }
130 inline void SetResponseMappingTemplate(
const char* value) { m_responseMappingTemplateHasBeenSet =
true; m_responseMappingTemplate.assign(value); }
146 inline void SetFunctionVersion(
const char* value) { m_functionVersionHasBeenSet =
true; m_functionVersion.assign(value); }
168 inline void SetMaxBatchSize(
int value) { m_maxBatchSizeHasBeenSet =
true; m_maxBatchSize = value; }
192 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
200 bool m_apiIdHasBeenSet =
false;
203 bool m_nameHasBeenSet =
false;
206 bool m_descriptionHasBeenSet =
false;
209 bool m_functionIdHasBeenSet =
false;
212 bool m_dataSourceNameHasBeenSet =
false;
215 bool m_requestMappingTemplateHasBeenSet =
false;
218 bool m_responseMappingTemplateHasBeenSet =
false;
221 bool m_functionVersionHasBeenSet =
false;
224 bool m_syncConfigHasBeenSet =
false;
227 bool m_maxBatchSizeHasBeenSet =
false;
230 bool m_runtimeHasBeenSet =
false;
233 bool m_codeHasBeenSet =
false;
bool MaxBatchSizeHasBeenSet() const
UpdateFunctionRequest & WithDescription(const Aws::String &value)
void SetCode(Aws::String &&value)
const Aws::String & GetCode() const
UpdateFunctionRequest & WithFunctionVersion(const char *value)
UpdateFunctionRequest & WithFunctionVersion(const Aws::String &value)
const Aws::String & GetDescription() const
void SetSyncConfig(const SyncConfig &value)
const Aws::String & GetApiId() const
void SetDataSourceName(const Aws::String &value)
const AppSyncRuntime & GetRuntime() const
void SetSyncConfig(SyncConfig &&value)
void SetFunctionId(const char *value)
void SetFunctionVersion(Aws::String &&value)
UpdateFunctionRequest & WithFunctionId(Aws::String &&value)
void SetFunctionVersion(const Aws::String &value)
void SetName(const char *value)
UpdateFunctionRequest & WithDescription(Aws::String &&value)
UpdateFunctionRequest & WithApiId(const Aws::String &value)
UpdateFunctionRequest & WithName(Aws::String &&value)
UpdateFunctionRequest & WithCode(Aws::String &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
UpdateFunctionRequest & WithDescription(const char *value)
void SetFunctionVersion(const char *value)
void SetApiId(const char *value)
void SetFunctionId(const Aws::String &value)
bool RuntimeHasBeenSet() const
bool SyncConfigHasBeenSet() const
void SetResponseMappingTemplate(const Aws::String &value)
const Aws::String & GetFunctionVersion() const
const Aws::String & GetName() const
void SetRequestMappingTemplate(Aws::String &&value)
void SetRuntime(AppSyncRuntime &&value)
void SetDescription(const Aws::String &value)
void SetApiId(Aws::String &&value)
UpdateFunctionRequest & WithFunctionId(const char *value)
bool NameHasBeenSet() const
UpdateFunctionRequest & WithDataSourceName(Aws::String &&value)
void SetResponseMappingTemplate(Aws::String &&value)
const Aws::String & GetRequestMappingTemplate() const
UpdateFunctionRequest & WithApiId(const char *value)
UpdateFunctionRequest & WithRequestMappingTemplate(const Aws::String &value)
bool ApiIdHasBeenSet() const
UpdateFunctionRequest & WithRequestMappingTemplate(const char *value)
void SetDescription(Aws::String &&value)
UpdateFunctionRequest & WithResponseMappingTemplate(Aws::String &&value)
void SetResponseMappingTemplate(const char *value)
bool DataSourceNameHasBeenSet() const
void SetFunctionId(Aws::String &&value)
void SetDescription(const char *value)
UpdateFunctionRequest & WithResponseMappingTemplate(const char *value)
UpdateFunctionRequest & WithResponseMappingTemplate(const Aws::String &value)
UpdateFunctionRequest & WithName(const Aws::String &value)
UpdateFunctionRequest & WithCode(const Aws::String &value)
UpdateFunctionRequest & WithDataSourceName(const char *value)
UpdateFunctionRequest & WithRequestMappingTemplate(Aws::String &&value)
AWS_APPSYNC_API UpdateFunctionRequest()
bool CodeHasBeenSet() const
const SyncConfig & GetSyncConfig() const
bool DescriptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetRequestMappingTemplate(const char *value)
const Aws::String & GetResponseMappingTemplate() const
void SetRuntime(const AppSyncRuntime &value)
void SetName(Aws::String &&value)
UpdateFunctionRequest & WithMaxBatchSize(int value)
bool FunctionVersionHasBeenSet() const
UpdateFunctionRequest & WithApiId(Aws::String &&value)
bool RequestMappingTemplateHasBeenSet() const
void SetRequestMappingTemplate(const Aws::String &value)
UpdateFunctionRequest & WithSyncConfig(const SyncConfig &value)
UpdateFunctionRequest & WithFunctionVersion(Aws::String &&value)
UpdateFunctionRequest & WithRuntime(AppSyncRuntime &&value)
UpdateFunctionRequest & WithRuntime(const AppSyncRuntime &value)
UpdateFunctionRequest & WithSyncConfig(SyncConfig &&value)
void SetCode(const char *value)
const Aws::String & GetFunctionId() const
UpdateFunctionRequest & WithDataSourceName(const Aws::String &value)
void SetCode(const Aws::String &value)
void SetName(const Aws::String &value)
UpdateFunctionRequest & WithCode(const char *value)
UpdateFunctionRequest & WithName(const char *value)
bool FunctionIdHasBeenSet() const
UpdateFunctionRequest & WithFunctionId(const Aws::String &value)
void SetDataSourceName(Aws::String &&value)
const Aws::String & GetDataSourceName() const
void SetDataSourceName(const char *value)
void SetApiId(const Aws::String &value)
int GetMaxBatchSize() const
void SetMaxBatchSize(int value)
bool ResponseMappingTemplateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String