7#include <aws/appsync/AppSyncRequest.h>
8#include <aws/appsync/AppSync_EXPORTS.h>
9#include <aws/appsync/model/AppSyncRuntime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
39 template <
typename RuntimeT = AppSyncRuntime>
41 m_runtimeHasBeenSet =
true;
42 m_runtime = std::forward<RuntimeT>(value);
44 template <
typename RuntimeT = AppSyncRuntime>
59 template <
typename CodeT = Aws::String>
61 m_codeHasBeenSet =
true;
62 m_code = std::forward<CodeT>(value);
64 template <
typename CodeT = Aws::String>
66 SetCode(std::forward<CodeT>(value));
78 template <
typename ContextT = Aws::String>
80 m_contextHasBeenSet =
true;
81 m_context = std::forward<ContextT>(value);
83 template <
typename ContextT = Aws::String>
97 template <
typename FunctionT = Aws::String>
99 m_functionHasBeenSet =
true;
100 m_function = std::forward<FunctionT>(value);
102 template <
typename FunctionT = Aws::String>
116 bool m_runtimeHasBeenSet =
false;
117 bool m_codeHasBeenSet =
false;
118 bool m_contextHasBeenSet =
false;
119 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