7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/ResolverKind.h>
10#include <aws/appsync/model/PipelineConfig.h>
11#include <aws/appsync/model/SyncConfig.h>
12#include <aws/appsync/model/CachingConfig.h>
13#include <aws/appsync/model/AppSyncRuntime.h>
14#include <aws/appsync/model/ResolverLevelMetricsConfig.h>
54 inline void SetTypeName(
const char* value) { m_typeNameHasBeenSet =
true; m_typeName.assign(value); }
68 inline void SetFieldName(
const char* value) { m_fieldNameHasBeenSet =
true; m_fieldName.assign(value); }
82 inline void SetDataSourceName(
const char* value) { m_dataSourceNameHasBeenSet =
true; m_dataSourceName.assign(value); }
96 inline void SetResolverArn(
const char* value) { m_resolverArnHasBeenSet =
true; m_resolverArn.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_typeNameHasBeenSet =
false;
245 bool m_fieldNameHasBeenSet =
false;
248 bool m_dataSourceNameHasBeenSet =
false;
251 bool m_resolverArnHasBeenSet =
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;
Resolver & WithTypeName(const char *value)
Resolver & WithCode(const char *value)
void SetTypeName(Aws::String &&value)
Resolver & WithMetricsConfig(ResolverLevelMetricsConfig &&value)
void SetResponseMappingTemplate(Aws::String &&value)
Resolver & WithPipelineConfig(PipelineConfig &&value)
Resolver & WithCode(const Aws::String &value)
void SetKind(ResolverKind &&value)
bool DataSourceNameHasBeenSet() const
void SetResolverArn(const Aws::String &value)
void SetPipelineConfig(PipelineConfig &&value)
Resolver & WithTypeName(const Aws::String &value)
const Aws::String & GetDataSourceName() const
void SetSyncConfig(SyncConfig &&value)
Resolver & WithCode(Aws::String &&value)
Resolver & WithCachingConfig(const CachingConfig &value)
bool SyncConfigHasBeenSet() const
void SetResolverArn(Aws::String &&value)
const SyncConfig & GetSyncConfig() const
AWS_APPSYNC_API Resolver()
const CachingConfig & GetCachingConfig() const
const ResolverLevelMetricsConfig & GetMetricsConfig() const
Resolver & WithPipelineConfig(const PipelineConfig &value)
bool ResolverArnHasBeenSet() const
Resolver & WithRuntime(const AppSyncRuntime &value)
bool MetricsConfigHasBeenSet() const
void SetCode(const char *value)
void SetCachingConfig(CachingConfig &&value)
Resolver & WithDataSourceName(const char *value)
void SetCachingConfig(const CachingConfig &value)
void SetRequestMappingTemplate(Aws::String &&value)
void SetRequestMappingTemplate(const char *value)
const Aws::String & GetTypeName() const
void SetFieldName(const char *value)
Resolver & WithRequestMappingTemplate(const Aws::String &value)
Resolver & WithSyncConfig(const SyncConfig &value)
bool CachingConfigHasBeenSet() const
void SetRuntime(AppSyncRuntime &&value)
void SetDataSourceName(const Aws::String &value)
Resolver & WithResponseMappingTemplate(const Aws::String &value)
Resolver & WithRuntime(AppSyncRuntime &&value)
Resolver & WithKind(const ResolverKind &value)
const ResolverKind & GetKind() const
Resolver & WithMaxBatchSize(int value)
bool MaxBatchSizeHasBeenSet() const
Resolver & WithRequestMappingTemplate(Aws::String &&value)
void SetMetricsConfig(ResolverLevelMetricsConfig &&value)
void SetKind(const ResolverKind &value)
void SetDataSourceName(const char *value)
void SetResponseMappingTemplate(const Aws::String &value)
bool RequestMappingTemplateHasBeenSet() const
bool TypeNameHasBeenSet() const
const Aws::String & GetResponseMappingTemplate() const
void SetResponseMappingTemplate(const char *value)
Resolver & WithResponseMappingTemplate(Aws::String &&value)
const PipelineConfig & GetPipelineConfig() const
const Aws::String & GetRequestMappingTemplate() const
Resolver & WithKind(ResolverKind &&value)
Resolver & WithRequestMappingTemplate(const char *value)
void SetCode(Aws::String &&value)
Resolver & WithResolverArn(const Aws::String &value)
Resolver & WithResponseMappingTemplate(const char *value)
Resolver & WithFieldName(Aws::String &&value)
Resolver & WithDataSourceName(Aws::String &&value)
AWS_APPSYNC_API Resolver(Aws::Utils::Json::JsonView jsonValue)
Resolver & WithDataSourceName(const Aws::String &value)
bool RuntimeHasBeenSet() const
void SetResolverArn(const char *value)
bool FieldNameHasBeenSet() const
Resolver & WithTypeName(Aws::String &&value)
Resolver & WithFieldName(const Aws::String &value)
int GetMaxBatchSize() const
void SetFieldName(const Aws::String &value)
void SetCode(const Aws::String &value)
void SetPipelineConfig(const PipelineConfig &value)
void SetRuntime(const AppSyncRuntime &value)
Resolver & WithFieldName(const char *value)
Resolver & WithMetricsConfig(const ResolverLevelMetricsConfig &value)
void SetMaxBatchSize(int value)
void SetSyncConfig(const SyncConfig &value)
void SetRequestMappingTemplate(const Aws::String &value)
void SetMetricsConfig(const ResolverLevelMetricsConfig &value)
Resolver & WithResolverArn(const char *value)
bool PipelineConfigHasBeenSet() const
const Aws::String & GetResolverArn() const
void SetDataSourceName(Aws::String &&value)
bool ResponseMappingTemplateHasBeenSet() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFieldName(Aws::String &&value)
bool CodeHasBeenSet() const
const Aws::String & GetFieldName() const
AWS_APPSYNC_API Resolver & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KindHasBeenSet() const
Resolver & WithResolverArn(Aws::String &&value)
Resolver & WithCachingConfig(CachingConfig &&value)
void SetTypeName(const Aws::String &value)
const AppSyncRuntime & GetRuntime() const
Resolver & WithSyncConfig(SyncConfig &&value)
void SetTypeName(const char *value)
const Aws::String & GetCode() const
ResolverLevelMetricsConfig
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue