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/ResolverKind.h>
11#include <aws/appsync/model/PipelineConfig.h>
12#include <aws/appsync/model/SyncConfig.h>
13#include <aws/appsync/model/CachingConfig.h>
14#include <aws/appsync/model/AppSyncRuntime.h>
15#include <aws/appsync/model/ResolverLevelMetricsConfig.h>
49 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
63 inline void SetTypeName(
const char* value) { m_typeNameHasBeenSet =
true; m_typeName.assign(value); }
77 inline void SetFieldName(
const char* value) { m_fieldNameHasBeenSet =
true; m_fieldName.assign(value); }
91 inline void SetDataSourceName(
const char* value) { m_dataSourceNameHasBeenSet =
true; m_dataSourceName.assign(value); }
110 inline void SetRequestMappingTemplate(
const char* value) { m_requestMappingTemplateHasBeenSet =
true; m_requestMappingTemplate.assign(value); }
124 inline void SetResponseMappingTemplate(
const char* value) { m_responseMappingTemplateHasBeenSet =
true; m_responseMappingTemplate.assign(value); }
190 inline void SetMaxBatchSize(
int value) { m_maxBatchSizeHasBeenSet =
true; m_maxBatchSize = value; }
214 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
242 bool m_apiIdHasBeenSet =
false;
245 bool m_typeNameHasBeenSet =
false;
248 bool m_fieldNameHasBeenSet =
false;
251 bool m_dataSourceNameHasBeenSet =
false;
254 bool m_requestMappingTemplateHasBeenSet =
false;
257 bool m_responseMappingTemplateHasBeenSet =
false;
260 bool m_kindHasBeenSet =
false;
263 bool m_pipelineConfigHasBeenSet =
false;
266 bool m_syncConfigHasBeenSet =
false;
269 bool m_cachingConfigHasBeenSet =
false;
272 bool m_maxBatchSizeHasBeenSet =
false;
275 bool m_runtimeHasBeenSet =
false;
278 bool m_codeHasBeenSet =
false;
281 bool m_metricsConfigHasBeenSet =
false;
void SetCode(const Aws::String &value)
UpdateResolverRequest & WithMetricsConfig(ResolverLevelMetricsConfig &&value)
const Aws::String & GetRequestMappingTemplate() const
void SetApiId(const char *value)
const ResolverKind & GetKind() const
const Aws::String & GetApiId() const
void SetTypeName(const Aws::String &value)
void SetRequestMappingTemplate(Aws::String &&value)
void SetSyncConfig(SyncConfig &&value)
UpdateResolverRequest & WithSyncConfig(const SyncConfig &value)
const CachingConfig & GetCachingConfig() const
void SetRuntime(const AppSyncRuntime &value)
bool RequestMappingTemplateHasBeenSet() const
UpdateResolverRequest & WithResponseMappingTemplate(const Aws::String &value)
void SetDataSourceName(const char *value)
const Aws::String & GetCode() const
UpdateResolverRequest & WithMaxBatchSize(int value)
UpdateResolverRequest & WithRequestMappingTemplate(const char *value)
void SetPipelineConfig(PipelineConfig &&value)
bool PipelineConfigHasBeenSet() const
bool FieldNameHasBeenSet() const
void SetResponseMappingTemplate(const Aws::String &value)
UpdateResolverRequest & WithCode(const Aws::String &value)
const AppSyncRuntime & GetRuntime() const
void SetResponseMappingTemplate(const char *value)
void SetMaxBatchSize(int value)
bool CodeHasBeenSet() const
void SetMetricsConfig(const ResolverLevelMetricsConfig &value)
void SetResponseMappingTemplate(Aws::String &&value)
UpdateResolverRequest & WithPipelineConfig(PipelineConfig &&value)
void SetRequestMappingTemplate(const char *value)
UpdateResolverRequest & WithDataSourceName(const Aws::String &value)
void SetFieldName(const char *value)
void SetCode(Aws::String &&value)
UpdateResolverRequest & WithCode(const char *value)
const Aws::String & GetTypeName() const
UpdateResolverRequest & WithPipelineConfig(const PipelineConfig &value)
void SetFieldName(const Aws::String &value)
void SetCachingConfig(const CachingConfig &value)
void SetTypeName(Aws::String &&value)
void SetDataSourceName(const Aws::String &value)
UpdateResolverRequest & WithResponseMappingTemplate(const char *value)
const PipelineConfig & GetPipelineConfig() const
UpdateResolverRequest & WithTypeName(Aws::String &&value)
bool MetricsConfigHasBeenSet() const
const Aws::String & GetDataSourceName() const
const ResolverLevelMetricsConfig & GetMetricsConfig() const
int GetMaxBatchSize() const
bool TypeNameHasBeenSet() const
UpdateResolverRequest & WithMetricsConfig(const ResolverLevelMetricsConfig &value)
AWS_APPSYNC_API UpdateResolverRequest()
void SetRequestMappingTemplate(const Aws::String &value)
const Aws::String & GetFieldName() const
bool CachingConfigHasBeenSet() const
UpdateResolverRequest & WithTypeName(const char *value)
void SetMetricsConfig(ResolverLevelMetricsConfig &&value)
void SetApiId(Aws::String &&value)
UpdateResolverRequest & WithRuntime(AppSyncRuntime &&value)
void SetFieldName(Aws::String &&value)
UpdateResolverRequest & WithApiId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateResolverRequest & WithSyncConfig(SyncConfig &&value)
UpdateResolverRequest & WithRuntime(const AppSyncRuntime &value)
bool MaxBatchSizeHasBeenSet() const
UpdateResolverRequest & WithCachingConfig(CachingConfig &&value)
UpdateResolverRequest & WithKind(ResolverKind &&value)
const SyncConfig & GetSyncConfig() const
UpdateResolverRequest & WithTypeName(const Aws::String &value)
bool ApiIdHasBeenSet() const
UpdateResolverRequest & WithFieldName(Aws::String &&value)
void SetApiId(const Aws::String &value)
UpdateResolverRequest & WithRequestMappingTemplate(const Aws::String &value)
const Aws::String & GetResponseMappingTemplate() const
UpdateResolverRequest & WithApiId(Aws::String &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
void SetTypeName(const char *value)
UpdateResolverRequest & WithKind(const ResolverKind &value)
UpdateResolverRequest & WithResponseMappingTemplate(Aws::String &&value)
void SetCachingConfig(CachingConfig &&value)
void SetDataSourceName(Aws::String &&value)
bool SyncConfigHasBeenSet() const
UpdateResolverRequest & WithFieldName(const Aws::String &value)
void SetKind(ResolverKind &&value)
UpdateResolverRequest & WithApiId(const char *value)
UpdateResolverRequest & WithDataSourceName(Aws::String &&value)
UpdateResolverRequest & WithCachingConfig(const CachingConfig &value)
bool KindHasBeenSet() const
void SetKind(const ResolverKind &value)
UpdateResolverRequest & WithCode(Aws::String &&value)
UpdateResolverRequest & WithDataSourceName(const char *value)
bool RuntimeHasBeenSet() const
bool DataSourceNameHasBeenSet() const
bool ResponseMappingTemplateHasBeenSet() const
void SetPipelineConfig(const PipelineConfig &value)
UpdateResolverRequest & WithRequestMappingTemplate(Aws::String &&value)
UpdateResolverRequest & WithFieldName(const char *value)
void SetRuntime(AppSyncRuntime &&value)
void SetSyncConfig(const SyncConfig &value)
void SetCode(const char *value)
ResolverLevelMetricsConfig
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String