7#include <aws/appsync/AppSyncRequest.h>
8#include <aws/appsync/AppSync_EXPORTS.h>
9#include <aws/appsync/model/AppSyncRuntime.h>
10#include <aws/appsync/model/CachingConfig.h>
11#include <aws/appsync/model/PipelineConfig.h>
12#include <aws/appsync/model/ResolverKind.h>
13#include <aws/appsync/model/ResolverLevelMetricsConfig.h>
14#include <aws/appsync/model/SyncConfig.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename ApiIdT = Aws::String>
45 m_apiIdHasBeenSet =
true;
46 m_apiId = std::forward<ApiIdT>(value);
48 template <
typename ApiIdT = Aws::String>
50 SetApiId(std::forward<ApiIdT>(value));
61 template <
typename TypeNameT = Aws::String>
63 m_typeNameHasBeenSet =
true;
64 m_typeName = std::forward<TypeNameT>(value);
66 template <
typename TypeNameT = Aws::String>
79 template <
typename FieldNameT = Aws::String>
81 m_fieldNameHasBeenSet =
true;
82 m_fieldName = std::forward<FieldNameT>(value);
84 template <
typename FieldNameT = Aws::String>
97 template <
typename DataSourceNameT = Aws::String>
99 m_dataSourceNameHasBeenSet =
true;
100 m_dataSourceName = std::forward<DataSourceNameT>(value);
102 template <
typename DataSourceNameT = Aws::String>
120 template <
typename RequestMappingTemplateT = Aws::String>
122 m_requestMappingTemplateHasBeenSet =
true;
123 m_requestMappingTemplate = std::forward<RequestMappingTemplateT>(value);
125 template <
typename RequestMappingTemplateT = Aws::String>
138 template <
typename ResponseMappingTemplateT = Aws::String>
140 m_responseMappingTemplateHasBeenSet =
true;
141 m_responseMappingTemplate = std::forward<ResponseMappingTemplateT>(value);
143 template <
typename ResponseMappingTemplateT = Aws::String>
162 m_kindHasBeenSet =
true;
177 template <
typename PipelineConfigT = PipelineConfig>
179 m_pipelineConfigHasBeenSet =
true;
180 m_pipelineConfig = std::forward<PipelineConfigT>(value);
182 template <
typename PipelineConfigT = PipelineConfig>
196 template <
typename SyncConfigT = SyncConfig>
198 m_syncConfigHasBeenSet =
true;
199 m_syncConfig = std::forward<SyncConfigT>(value);
201 template <
typename SyncConfigT = SyncConfig>
214 template <
typename CachingConfigT = CachingConfig>
216 m_cachingConfigHasBeenSet =
true;
217 m_cachingConfig = std::forward<CachingConfigT>(value);
219 template <
typename CachingConfigT = CachingConfig>
233 m_maxBatchSizeHasBeenSet =
true;
234 m_maxBatchSize = value;
246 template <
typename RuntimeT = AppSyncRuntime>
248 m_runtimeHasBeenSet =
true;
249 m_runtime = std::forward<RuntimeT>(value);
251 template <
typename RuntimeT = AppSyncRuntime>
266 template <
typename CodeT = Aws::String>
268 m_codeHasBeenSet =
true;
269 m_code = std::forward<CodeT>(value);
271 template <
typename CodeT = Aws::String>
273 SetCode(std::forward<CodeT>(value));
293 m_metricsConfigHasBeenSet =
true;
294 m_metricsConfig = value;
316 PipelineConfig m_pipelineConfig;
318 SyncConfig m_syncConfig;
320 CachingConfig m_cachingConfig;
322 int m_maxBatchSize{0};
324 AppSyncRuntime m_runtime;
329 bool m_apiIdHasBeenSet =
false;
330 bool m_typeNameHasBeenSet =
false;
331 bool m_fieldNameHasBeenSet =
false;
332 bool m_dataSourceNameHasBeenSet =
false;
333 bool m_requestMappingTemplateHasBeenSet =
false;
334 bool m_responseMappingTemplateHasBeenSet =
false;
335 bool m_kindHasBeenSet =
false;
336 bool m_pipelineConfigHasBeenSet =
false;
337 bool m_syncConfigHasBeenSet =
false;
338 bool m_cachingConfigHasBeenSet =
false;
339 bool m_maxBatchSizeHasBeenSet =
false;
340 bool m_runtimeHasBeenSet =
false;
341 bool m_codeHasBeenSet =
false;
342 bool m_metricsConfigHasBeenSet =
false;
bool CachingConfigHasBeenSet() const
bool RequestMappingTemplateHasBeenSet() const
CreateResolverRequest & WithResponseMappingTemplate(ResponseMappingTemplateT &&value)
bool MaxBatchSizeHasBeenSet() const
CreateResolverRequest & WithTypeName(TypeNameT &&value)
CreateResolverRequest & WithRuntime(RuntimeT &&value)
bool MetricsConfigHasBeenSet() const
int GetMaxBatchSize() const
void SetKind(ResolverKind value)
void SetRuntime(RuntimeT &&value)
const PipelineConfig & GetPipelineConfig() const
bool CodeHasBeenSet() const
CreateResolverRequest & WithKind(ResolverKind value)
const Aws::String & GetApiId() const
bool SyncConfigHasBeenSet() const
bool KindHasBeenSet() const
CreateResolverRequest & WithCode(CodeT &&value)
const Aws::String & GetRequestMappingTemplate() const
const Aws::String & GetDataSourceName() const
void SetPipelineConfig(PipelineConfigT &&value)
CreateResolverRequest & WithDataSourceName(DataSourceNameT &&value)
void SetResponseMappingTemplate(ResponseMappingTemplateT &&value)
const Aws::String & GetFieldName() const
CreateResolverRequest & WithRequestMappingTemplate(RequestMappingTemplateT &&value)
ResolverLevelMetricsConfig GetMetricsConfig() const
void SetTypeName(TypeNameT &&value)
bool PipelineConfigHasBeenSet() const
CreateResolverRequest & WithApiId(ApiIdT &&value)
bool FieldNameHasBeenSet() const
const Aws::String & GetResponseMappingTemplate() const
CreateResolverRequest & WithCachingConfig(CachingConfigT &&value)
void SetMetricsConfig(ResolverLevelMetricsConfig value)
AWS_APPSYNC_API CreateResolverRequest()=default
bool RuntimeHasBeenSet() const
bool DataSourceNameHasBeenSet() const
bool ApiIdHasBeenSet() const
void SetCachingConfig(CachingConfigT &&value)
const CachingConfig & GetCachingConfig() const
const AppSyncRuntime & GetRuntime() const
AWS_APPSYNC_API Aws::String SerializePayload() const override
bool TypeNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateResolverRequest & WithMetricsConfig(ResolverLevelMetricsConfig value)
const SyncConfig & GetSyncConfig() const
CreateResolverRequest & WithMaxBatchSize(int value)
const Aws::String & GetCode() const
void SetMaxBatchSize(int value)
const Aws::String & GetTypeName() const
void SetSyncConfig(SyncConfigT &&value)
bool ResponseMappingTemplateHasBeenSet() const
void SetApiId(ApiIdT &&value)
void SetDataSourceName(DataSourceNameT &&value)
ResolverKind GetKind() const
CreateResolverRequest & WithPipelineConfig(PipelineConfigT &&value)
CreateResolverRequest & WithFieldName(FieldNameT &&value)
CreateResolverRequest & WithSyncConfig(SyncConfigT &&value)
void SetFieldName(FieldNameT &&value)
void SetCode(CodeT &&value)
void SetRequestMappingTemplate(RequestMappingTemplateT &&value)
ResolverLevelMetricsConfig
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String