7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/appsync/model/AppSyncRuntime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
43 template<
typename RuntimeT = AppSyncRuntime>
44 void SetRuntime(RuntimeT&& value) { m_runtimeHasBeenSet =
true; m_runtime = std::forward<RuntimeT>(value); }
45 template<
typename RuntimeT = AppSyncRuntime>
57 template<
typename CodeT = Aws::String>
58 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
59 template<
typename CodeT = Aws::String>
70 template<
typename ContextT = Aws::String>
71 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
72 template<
typename ContextT = Aws::String>
83 template<
typename FunctionT = Aws::String>
84 void SetFunction(FunctionT&& value) { m_functionHasBeenSet =
true; m_function = std::forward<FunctionT>(value); }
85 template<
typename FunctionT = Aws::String>
91 bool m_runtimeHasBeenSet =
false;
94 bool m_codeHasBeenSet =
false;
97 bool m_contextHasBeenSet =
false;
100 bool m_functionHasBeenSet =
false;
EvaluateCodeRequest & WithContext(ContextT &&value)
bool FunctionHasBeenSet() const
bool CodeHasBeenSet() const
bool ContextHasBeenSet() const
void SetRuntime(RuntimeT &&value)
const AppSyncRuntime & GetRuntime() const
void SetContext(ContextT &&value)
void SetFunction(FunctionT &&value)
const Aws::String & GetFunction() const
EvaluateCodeRequest & WithRuntime(RuntimeT &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
EvaluateCodeRequest & WithFunction(FunctionT &&value)
AWS_APPSYNC_API EvaluateCodeRequest()=default
const Aws::String & GetContext() const
bool RuntimeHasBeenSet() const
EvaluateCodeRequest & WithCode(CodeT &&value)
const Aws::String & GetCode() const
void SetCode(CodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String