/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a resolver.See Also:
AWS
* API Reference
The resolver type name.
*/ inline const Aws::String& GetTypeName() const{ return m_typeName; } /** *The resolver type name.
*/ inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; } /** *The resolver type name.
*/ inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; } /** *The resolver type name.
*/ inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); } /** *The resolver type name.
*/ inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); } /** *The resolver type name.
*/ inline Resolver& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;} /** *The resolver type name.
*/ inline Resolver& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;} /** *The resolver type name.
*/ inline Resolver& WithTypeName(const char* value) { SetTypeName(value); return *this;} /** *The resolver field name.
*/ inline const Aws::String& GetFieldName() const{ return m_fieldName; } /** *The resolver field name.
*/ inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; } /** *The resolver field name.
*/ inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; } /** *The resolver field name.
*/ inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); } /** *The resolver field name.
*/ inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); } /** *The resolver field name.
*/ inline Resolver& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;} /** *The resolver field name.
*/ inline Resolver& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;} /** *The resolver field name.
*/ inline Resolver& WithFieldName(const char* value) { SetFieldName(value); return *this;} /** *The resolver data source name.
*/ inline const Aws::String& GetDataSourceName() const{ return m_dataSourceName; } /** *The resolver data source name.
*/ inline bool DataSourceNameHasBeenSet() const { return m_dataSourceNameHasBeenSet; } /** *The resolver data source name.
*/ inline void SetDataSourceName(const Aws::String& value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName = value; } /** *The resolver data source name.
*/ inline void SetDataSourceName(Aws::String&& value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName = std::move(value); } /** *The resolver data source name.
*/ inline void SetDataSourceName(const char* value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName.assign(value); } /** *The resolver data source name.
*/ inline Resolver& WithDataSourceName(const Aws::String& value) { SetDataSourceName(value); return *this;} /** *The resolver data source name.
*/ inline Resolver& WithDataSourceName(Aws::String&& value) { SetDataSourceName(std::move(value)); return *this;} /** *The resolver data source name.
*/ inline Resolver& WithDataSourceName(const char* value) { SetDataSourceName(value); return *this;} /** *The resolver Amazon Resource Name (ARN).
*/ inline const Aws::String& GetResolverArn() const{ return m_resolverArn; } /** *The resolver Amazon Resource Name (ARN).
*/ inline bool ResolverArnHasBeenSet() const { return m_resolverArnHasBeenSet; } /** *The resolver Amazon Resource Name (ARN).
*/ inline void SetResolverArn(const Aws::String& value) { m_resolverArnHasBeenSet = true; m_resolverArn = value; } /** *The resolver Amazon Resource Name (ARN).
*/ inline void SetResolverArn(Aws::String&& value) { m_resolverArnHasBeenSet = true; m_resolverArn = std::move(value); } /** *The resolver Amazon Resource Name (ARN).
*/ inline void SetResolverArn(const char* value) { m_resolverArnHasBeenSet = true; m_resolverArn.assign(value); } /** *The resolver Amazon Resource Name (ARN).
*/ inline Resolver& WithResolverArn(const Aws::String& value) { SetResolverArn(value); return *this;} /** *The resolver Amazon Resource Name (ARN).
*/ inline Resolver& WithResolverArn(Aws::String&& value) { SetResolverArn(std::move(value)); return *this;} /** *The resolver Amazon Resource Name (ARN).
*/ inline Resolver& WithResolverArn(const char* value) { SetResolverArn(value); return *this;} /** *The request mapping template.
*/ inline const Aws::String& GetRequestMappingTemplate() const{ return m_requestMappingTemplate; } /** *The request mapping template.
*/ inline bool RequestMappingTemplateHasBeenSet() const { return m_requestMappingTemplateHasBeenSet; } /** *The request mapping template.
*/ inline void SetRequestMappingTemplate(const Aws::String& value) { m_requestMappingTemplateHasBeenSet = true; m_requestMappingTemplate = value; } /** *The request mapping template.
*/ inline void SetRequestMappingTemplate(Aws::String&& value) { m_requestMappingTemplateHasBeenSet = true; m_requestMappingTemplate = std::move(value); } /** *The request mapping template.
*/ inline void SetRequestMappingTemplate(const char* value) { m_requestMappingTemplateHasBeenSet = true; m_requestMappingTemplate.assign(value); } /** *The request mapping template.
*/ inline Resolver& WithRequestMappingTemplate(const Aws::String& value) { SetRequestMappingTemplate(value); return *this;} /** *The request mapping template.
*/ inline Resolver& WithRequestMappingTemplate(Aws::String&& value) { SetRequestMappingTemplate(std::move(value)); return *this;} /** *The request mapping template.
*/ inline Resolver& WithRequestMappingTemplate(const char* value) { SetRequestMappingTemplate(value); return *this;} /** *The response mapping template.
*/ inline const Aws::String& GetResponseMappingTemplate() const{ return m_responseMappingTemplate; } /** *The response mapping template.
*/ inline bool ResponseMappingTemplateHasBeenSet() const { return m_responseMappingTemplateHasBeenSet; } /** *The response mapping template.
*/ inline void SetResponseMappingTemplate(const Aws::String& value) { m_responseMappingTemplateHasBeenSet = true; m_responseMappingTemplate = value; } /** *The response mapping template.
*/ inline void SetResponseMappingTemplate(Aws::String&& value) { m_responseMappingTemplateHasBeenSet = true; m_responseMappingTemplate = std::move(value); } /** *The response mapping template.
*/ inline void SetResponseMappingTemplate(const char* value) { m_responseMappingTemplateHasBeenSet = true; m_responseMappingTemplate.assign(value); } /** *The response mapping template.
*/ inline Resolver& WithResponseMappingTemplate(const Aws::String& value) { SetResponseMappingTemplate(value); return *this;} /** *The response mapping template.
*/ inline Resolver& WithResponseMappingTemplate(Aws::String&& value) { SetResponseMappingTemplate(std::move(value)); return *this;} /** *The response mapping template.
*/ inline Resolver& WithResponseMappingTemplate(const char* value) { SetResponseMappingTemplate(value); return *this;} /** *The resolver type.
UNIT: A UNIT resolver type. A * UNIT resolver is the default resolver type. You can use a UNIT resolver to run a * GraphQL query against a single data source.
PIPELINE:
* A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
* Function
objects in a serial manner. You can use a pipeline
* resolver to run a GraphQL query against multiple data sources.
The resolver type.
UNIT: A UNIT resolver type. A * UNIT resolver is the default resolver type. You can use a UNIT resolver to run a * GraphQL query against a single data source.
PIPELINE:
* A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
* Function
objects in a serial manner. You can use a pipeline
* resolver to run a GraphQL query against multiple data sources.
The resolver type.
UNIT: A UNIT resolver type. A * UNIT resolver is the default resolver type. You can use a UNIT resolver to run a * GraphQL query against a single data source.
PIPELINE:
* A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
* Function
objects in a serial manner. You can use a pipeline
* resolver to run a GraphQL query against multiple data sources.
The resolver type.
UNIT: A UNIT resolver type. A * UNIT resolver is the default resolver type. You can use a UNIT resolver to run a * GraphQL query against a single data source.
PIPELINE:
* A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
* Function
objects in a serial manner. You can use a pipeline
* resolver to run a GraphQL query against multiple data sources.
The resolver type.
UNIT: A UNIT resolver type. A * UNIT resolver is the default resolver type. You can use a UNIT resolver to run a * GraphQL query against a single data source.
PIPELINE:
* A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
* Function
objects in a serial manner. You can use a pipeline
* resolver to run a GraphQL query against multiple data sources.
The resolver type.
UNIT: A UNIT resolver type. A * UNIT resolver is the default resolver type. You can use a UNIT resolver to run a * GraphQL query against a single data source.
PIPELINE:
* A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
* Function
objects in a serial manner. You can use a pipeline
* resolver to run a GraphQL query against multiple data sources.
The PipelineConfig
.
The PipelineConfig
.
The PipelineConfig
.
The PipelineConfig
.
The PipelineConfig
.
The PipelineConfig
.
The SyncConfig
for a resolver attached to a versioned data
* source.
The SyncConfig
for a resolver attached to a versioned data
* source.
The SyncConfig
for a resolver attached to a versioned data
* source.
The SyncConfig
for a resolver attached to a versioned data
* source.
The SyncConfig
for a resolver attached to a versioned data
* source.
The SyncConfig
for a resolver attached to a versioned data
* source.
The caching configuration for the resolver.
*/ inline const CachingConfig& GetCachingConfig() const{ return m_cachingConfig; } /** *The caching configuration for the resolver.
*/ inline bool CachingConfigHasBeenSet() const { return m_cachingConfigHasBeenSet; } /** *The caching configuration for the resolver.
*/ inline void SetCachingConfig(const CachingConfig& value) { m_cachingConfigHasBeenSet = true; m_cachingConfig = value; } /** *The caching configuration for the resolver.
*/ inline void SetCachingConfig(CachingConfig&& value) { m_cachingConfigHasBeenSet = true; m_cachingConfig = std::move(value); } /** *The caching configuration for the resolver.
*/ inline Resolver& WithCachingConfig(const CachingConfig& value) { SetCachingConfig(value); return *this;} /** *The caching configuration for the resolver.
*/ inline Resolver& WithCachingConfig(CachingConfig&& value) { SetCachingConfig(std::move(value)); return *this;} /** *The maximum batching size for a resolver.
*/ inline int GetMaxBatchSize() const{ return m_maxBatchSize; } /** *The maximum batching size for a resolver.
*/ inline bool MaxBatchSizeHasBeenSet() const { return m_maxBatchSizeHasBeenSet; } /** *The maximum batching size for a resolver.
*/ inline void SetMaxBatchSize(int value) { m_maxBatchSizeHasBeenSet = true; m_maxBatchSize = value; } /** *The maximum batching size for a resolver.
*/ inline Resolver& WithMaxBatchSize(int value) { SetMaxBatchSize(value); return *this;} inline const AppSyncRuntime& GetRuntime() const{ return m_runtime; } inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } inline void SetRuntime(const AppSyncRuntime& value) { m_runtimeHasBeenSet = true; m_runtime = value; } inline void SetRuntime(AppSyncRuntime&& value) { m_runtimeHasBeenSet = true; m_runtime = std::move(value); } inline Resolver& WithRuntime(const AppSyncRuntime& value) { SetRuntime(value); return *this;} inline Resolver& WithRuntime(AppSyncRuntime&& value) { SetRuntime(std::move(value)); return *this;} /** *The resolver
code that contains the request and response
* functions. When code is used, the runtime
is required. The
* runtime
value must be APPSYNC_JS
.
The resolver
code that contains the request and response
* functions. When code is used, the runtime
is required. The
* runtime
value must be APPSYNC_JS
.
The resolver
code that contains the request and response
* functions. When code is used, the runtime
is required. The
* runtime
value must be APPSYNC_JS
.
The resolver
code that contains the request and response
* functions. When code is used, the runtime
is required. The
* runtime
value must be APPSYNC_JS
.
The resolver
code that contains the request and response
* functions. When code is used, the runtime
is required. The
* runtime
value must be APPSYNC_JS
.
The resolver
code that contains the request and response
* functions. When code is used, the runtime
is required. The
* runtime
value must be APPSYNC_JS
.
The resolver
code that contains the request and response
* functions. When code is used, the runtime
is required. The
* runtime
value must be APPSYNC_JS
.
The resolver
code that contains the request and response
* functions. When code is used, the runtime
is required. The
* runtime
value must be APPSYNC_JS
.