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>
59 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
74 inline void SetContext(
const char* value) { m_contextHasBeenSet =
true; m_context.assign(value); }
89 inline void SetFunction(
const char* value) { m_functionHasBeenSet =
true; m_function.assign(value); }
97 bool m_runtimeHasBeenSet =
false;
100 bool m_codeHasBeenSet =
false;
103 bool m_contextHasBeenSet =
false;
106 bool m_functionHasBeenSet =
false;
EvaluateCodeRequest & WithFunction(const Aws::String &value)
bool FunctionHasBeenSet() const
bool CodeHasBeenSet() const
bool ContextHasBeenSet() const
void SetCode(Aws::String &&value)
EvaluateCodeRequest & WithCode(const Aws::String &value)
EvaluateCodeRequest & WithRuntime(const AppSyncRuntime &value)
const AppSyncRuntime & GetRuntime() const
void SetFunction(Aws::String &&value)
void SetCode(const Aws::String &value)
void SetRuntime(const AppSyncRuntime &value)
void SetContext(const Aws::String &value)
EvaluateCodeRequest & WithCode(const char *value)
const Aws::String & GetFunction() const
EvaluateCodeRequest & WithContext(const Aws::String &value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
EvaluateCodeRequest & WithCode(Aws::String &&value)
EvaluateCodeRequest & WithContext(const char *value)
EvaluateCodeRequest & WithRuntime(AppSyncRuntime &&value)
virtual const char * GetServiceRequestName() const override
void SetFunction(const char *value)
void SetRuntime(AppSyncRuntime &&value)
void SetFunction(const Aws::String &value)
EvaluateCodeRequest & WithFunction(Aws::String &&value)
EvaluateCodeRequest & WithFunction(const char *value)
void SetCode(const char *value)
const Aws::String & GetContext() const
bool RuntimeHasBeenSet() const
void SetContext(const char *value)
AWS_APPSYNC_API EvaluateCodeRequest()
void SetContext(Aws::String &&value)
EvaluateCodeRequest & WithContext(Aws::String &&value)
const Aws::String & GetCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String