7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/model/EncodingType.h>
9#include <aws/greengrass/model/FunctionConfigurationEnvironment.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
75 inline void SetExecArgs(
const char* value) { m_execArgsHasBeenSet =
true; m_execArgs.assign(value); }
89 inline void SetExecutable(
const char* value) { m_executableHasBeenSet =
true; m_executable.assign(value); }
103 inline void SetMemorySize(
int value) { m_memorySizeHasBeenSet =
true; m_memorySize = value; }
114 inline void SetPinned(
bool value) { m_pinnedHasBeenSet =
true; m_pinned = value; }
126 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
139 inline void SetFunctionRuntimeOverride(
const char* value) { m_functionRuntimeOverrideHasBeenSet =
true; m_functionRuntimeOverride.assign(value); }
147 bool m_encodingTypeHasBeenSet =
false;
150 bool m_environmentHasBeenSet =
false;
153 bool m_execArgsHasBeenSet =
false;
156 bool m_executableHasBeenSet =
false;
159 bool m_memorySizeHasBeenSet =
false;
162 bool m_pinnedHasBeenSet =
false;
165 bool m_timeoutHasBeenSet =
false;
168 bool m_functionRuntimeOverrideHasBeenSet =
false;
FunctionConfiguration & WithEncodingType(EncodingType &&value)
void SetEnvironment(const FunctionConfigurationEnvironment &value)
FunctionConfiguration & WithFunctionRuntimeOverride(Aws::String &&value)
void SetExecutable(Aws::String &&value)
FunctionConfiguration & WithTimeout(int value)
AWS_GREENGRASS_API FunctionConfiguration()
void SetExecArgs(const Aws::String &value)
bool FunctionRuntimeOverrideHasBeenSet() const
void SetExecutable(const char *value)
const Aws::String & GetExecutable() const
void SetExecutable(const Aws::String &value)
FunctionConfiguration & WithFunctionRuntimeOverride(const Aws::String &value)
FunctionConfiguration & WithPinned(bool value)
const Aws::String & GetExecArgs() const
const EncodingType & GetEncodingType() const
FunctionConfiguration & WithFunctionRuntimeOverride(const char *value)
const FunctionConfigurationEnvironment & GetEnvironment() const
const Aws::String & GetFunctionRuntimeOverride() const
bool ExecutableHasBeenSet() const
void SetTimeout(int value)
bool EncodingTypeHasBeenSet() const
bool TimeoutHasBeenSet() const
FunctionConfiguration & WithMemorySize(int value)
void SetExecArgs(const char *value)
FunctionConfiguration & WithExecArgs(Aws::String &&value)
AWS_GREENGRASS_API FunctionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncodingType(const EncodingType &value)
void SetFunctionRuntimeOverride(Aws::String &&value)
FunctionConfiguration & WithExecArgs(const char *value)
bool MemorySizeHasBeenSet() const
FunctionConfiguration & WithExecutable(const char *value)
void SetEncodingType(EncodingType &&value)
FunctionConfiguration & WithExecutable(Aws::String &&value)
int GetMemorySize() const
void SetExecArgs(Aws::String &&value)
bool EnvironmentHasBeenSet() const
void SetMemorySize(int value)
void SetFunctionRuntimeOverride(const Aws::String &value)
FunctionConfiguration & WithEnvironment(FunctionConfigurationEnvironment &&value)
FunctionConfiguration & WithEncodingType(const EncodingType &value)
void SetPinned(bool value)
void SetEnvironment(FunctionConfigurationEnvironment &&value)
void SetFunctionRuntimeOverride(const char *value)
FunctionConfiguration & WithExecArgs(const Aws::String &value)
bool PinnedHasBeenSet() const
FunctionConfiguration & WithEnvironment(const FunctionConfigurationEnvironment &value)
bool ExecArgsHasBeenSet() const
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
FunctionConfiguration & WithExecutable(const Aws::String &value)
AWS_GREENGRASS_API FunctionConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue