7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/AppSyncRuntime.h>
9#include <aws/appsync/model/CachingConfig.h>
10#include <aws/appsync/model/PipelineConfig.h>
11#include <aws/appsync/model/ResolverKind.h>
12#include <aws/appsync/model/ResolverLevelMetricsConfig.h>
13#include <aws/appsync/model/SyncConfig.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
46 template <
typename TypeNameT = Aws::String>
48 m_typeNameHasBeenSet =
true;
49 m_typeName = std::forward<TypeNameT>(value);
51 template <
typename TypeNameT = Aws::String>
64 template <
typename FieldNameT = Aws::String>
66 m_fieldNameHasBeenSet =
true;
67 m_fieldName = std::forward<FieldNameT>(value);
69 template <
typename FieldNameT = Aws::String>
82 template <
typename DataSourceNameT = Aws::String>
84 m_dataSourceNameHasBeenSet =
true;
85 m_dataSourceName = std::forward<DataSourceNameT>(value);
87 template <
typename DataSourceNameT = Aws::String>
100 template <
typename ResolverArnT = Aws::String>
102 m_resolverArnHasBeenSet =
true;
103 m_resolverArn = std::forward<ResolverArnT>(value);
105 template <
typename ResolverArnT = Aws::String>
118 template <
typename RequestMappingTemplateT = Aws::String>
120 m_requestMappingTemplateHasBeenSet =
true;
121 m_requestMappingTemplate = std::forward<RequestMappingTemplateT>(value);
123 template <
typename RequestMappingTemplateT = Aws::String>
136 template <
typename ResponseMappingTemplateT = Aws::String>
138 m_responseMappingTemplateHasBeenSet =
true;
139 m_responseMappingTemplate = std::forward<ResponseMappingTemplateT>(value);
141 template <
typename ResponseMappingTemplateT = Aws::String>
160 m_kindHasBeenSet =
true;
175 template <
typename PipelineConfigT = PipelineConfig>
177 m_pipelineConfigHasBeenSet =
true;
178 m_pipelineConfig = std::forward<PipelineConfigT>(value);
180 template <
typename PipelineConfigT = PipelineConfig>
194 template <
typename SyncConfigT = SyncConfig>
196 m_syncConfigHasBeenSet =
true;
197 m_syncConfig = std::forward<SyncConfigT>(value);
199 template <
typename SyncConfigT = SyncConfig>
212 template <
typename CachingConfigT = CachingConfig>
214 m_cachingConfigHasBeenSet =
true;
215 m_cachingConfig = std::forward<CachingConfigT>(value);
217 template <
typename CachingConfigT = CachingConfig>
231 m_maxBatchSizeHasBeenSet =
true;
232 m_maxBatchSize = value;
244 template <
typename RuntimeT = AppSyncRuntime>
246 m_runtimeHasBeenSet =
true;
247 m_runtime = std::forward<RuntimeT>(value);
249 template <
typename RuntimeT = AppSyncRuntime>
264 template <
typename CodeT = Aws::String>
266 m_codeHasBeenSet =
true;
267 m_code = std::forward<CodeT>(value);
269 template <
typename CodeT = Aws::String>
271 SetCode(std::forward<CodeT>(value));
291 m_metricsConfigHasBeenSet =
true;
292 m_metricsConfig = value;
314 PipelineConfig m_pipelineConfig;
316 SyncConfig m_syncConfig;
318 CachingConfig m_cachingConfig;
320 int m_maxBatchSize{0};
322 AppSyncRuntime m_runtime;
327 bool m_typeNameHasBeenSet =
false;
328 bool m_fieldNameHasBeenSet =
false;
329 bool m_dataSourceNameHasBeenSet =
false;
330 bool m_resolverArnHasBeenSet =
false;
331 bool m_requestMappingTemplateHasBeenSet =
false;
332 bool m_responseMappingTemplateHasBeenSet =
false;
333 bool m_kindHasBeenSet =
false;
334 bool m_pipelineConfigHasBeenSet =
false;
335 bool m_syncConfigHasBeenSet =
false;
336 bool m_cachingConfigHasBeenSet =
false;
337 bool m_maxBatchSizeHasBeenSet =
false;
338 bool m_runtimeHasBeenSet =
false;
339 bool m_codeHasBeenSet =
false;
340 bool m_metricsConfigHasBeenSet =
false;
void SetMetricsConfig(ResolverLevelMetricsConfig value)
Resolver & WithResolverArn(ResolverArnT &&value)
AWS_APPSYNC_API Resolver()=default
bool DataSourceNameHasBeenSet() const
const Aws::String & GetDataSourceName() const
void SetTypeName(TypeNameT &&value)
bool SyncConfigHasBeenSet() const
const SyncConfig & GetSyncConfig() const
void SetCachingConfig(CachingConfigT &&value)
Resolver & WithPipelineConfig(PipelineConfigT &&value)
const CachingConfig & GetCachingConfig() const
bool ResolverArnHasBeenSet() const
bool MetricsConfigHasBeenSet() const
void SetFieldName(FieldNameT &&value)
void SetRequestMappingTemplate(RequestMappingTemplateT &&value)
void SetKind(ResolverKind value)
void SetDataSourceName(DataSourceNameT &&value)
void SetResolverArn(ResolverArnT &&value)
const Aws::String & GetTypeName() const
bool CachingConfigHasBeenSet() const
Resolver & WithCode(CodeT &&value)
Resolver & WithMaxBatchSize(int value)
bool MaxBatchSizeHasBeenSet() const
Resolver & WithRequestMappingTemplate(RequestMappingTemplateT &&value)
Resolver & WithSyncConfig(SyncConfigT &&value)
Resolver & WithRuntime(RuntimeT &&value)
bool RequestMappingTemplateHasBeenSet() const
bool TypeNameHasBeenSet() const
const Aws::String & GetResponseMappingTemplate() const
void SetResponseMappingTemplate(ResponseMappingTemplateT &&value)
const PipelineConfig & GetPipelineConfig() const
void SetPipelineConfig(PipelineConfigT &&value)
const Aws::String & GetRequestMappingTemplate() const
Resolver & WithMetricsConfig(ResolverLevelMetricsConfig value)
AWS_APPSYNC_API Resolver(Aws::Utils::Json::JsonView jsonValue)
ResolverLevelMetricsConfig GetMetricsConfig() const
void SetRuntime(RuntimeT &&value)
Resolver & WithResponseMappingTemplate(ResponseMappingTemplateT &&value)
bool RuntimeHasBeenSet() const
bool FieldNameHasBeenSet() const
int GetMaxBatchSize() const
Resolver & WithCachingConfig(CachingConfigT &&value)
Resolver & WithFieldName(FieldNameT &&value)
void SetMaxBatchSize(int value)
bool PipelineConfigHasBeenSet() const
const Aws::String & GetResolverArn() const
bool ResponseMappingTemplateHasBeenSet() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool CodeHasBeenSet() const
const Aws::String & GetFieldName() const
void SetCode(CodeT &&value)
AWS_APPSYNC_API Resolver & operator=(Aws::Utils::Json::JsonView jsonValue)
Resolver & WithKind(ResolverKind value)
bool KindHasBeenSet() const
Resolver & WithDataSourceName(DataSourceNameT &&value)
const AppSyncRuntime & GetRuntime() const
const Aws::String & GetCode() const
void SetSyncConfig(SyncConfigT &&value)
ResolverKind GetKind() const
Resolver & WithTypeName(TypeNameT &&value)
ResolverLevelMetricsConfig
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue