7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrass/Greengrass_EXPORTS.h>
9#include <aws/greengrass/model/EncodingType.h>
10#include <aws/greengrass/model/FunctionConfigurationEnvironment.h>
44 m_encodingTypeHasBeenSet =
true;
45 m_encodingType = value;
59 template <
typename EnvironmentT = FunctionConfigurationEnvironment>
61 m_environmentHasBeenSet =
true;
62 m_environment = std::forward<EnvironmentT>(value);
64 template <
typename EnvironmentT = FunctionConfigurationEnvironment>
77 template <
typename ExecArgsT = Aws::String>
79 m_execArgsHasBeenSet =
true;
80 m_execArgs = std::forward<ExecArgsT>(value);
82 template <
typename ExecArgsT = Aws::String>
95 template <
typename ExecutableT = Aws::String>
97 m_executableHasBeenSet =
true;
98 m_executable = std::forward<ExecutableT>(value);
100 template <
typename ExecutableT = Aws::String>
116 m_memorySizeHasBeenSet =
true;
117 m_memorySize = value;
133 m_pinnedHasBeenSet =
true;
151 m_timeoutHasBeenSet =
true;
167 template <
typename FunctionRuntimeOverr
ideT = Aws::String>
169 m_functionRuntimeOverrideHasBeenSet =
true;
170 m_functionRuntimeOverride = std::forward<FunctionRuntimeOverrideT>(value);
172 template <
typename FunctionRuntimeOverr
ideT = Aws::String>
181 FunctionConfigurationEnvironment m_environment;
189 bool m_pinned{
false};
194 bool m_encodingTypeHasBeenSet =
false;
195 bool m_environmentHasBeenSet =
false;
196 bool m_execArgsHasBeenSet =
false;
197 bool m_executableHasBeenSet =
false;
198 bool m_memorySizeHasBeenSet =
false;
199 bool m_pinnedHasBeenSet =
false;
200 bool m_timeoutHasBeenSet =
false;
201 bool m_functionRuntimeOverrideHasBeenSet =
false;
FunctionConfiguration & WithFunctionRuntimeOverride(FunctionRuntimeOverrideT &&value)
void SetEnvironment(EnvironmentT &&value)
FunctionConfiguration & WithTimeout(int value)
FunctionConfiguration & WithExecutable(ExecutableT &&value)
bool FunctionRuntimeOverrideHasBeenSet() const
void SetEncodingType(EncodingType value)
const Aws::String & GetExecutable() const
FunctionConfiguration & WithPinned(bool value)
const Aws::String & GetExecArgs() const
const FunctionConfigurationEnvironment & GetEnvironment() const
const Aws::String & GetFunctionRuntimeOverride() const
bool ExecutableHasBeenSet() const
void SetTimeout(int value)
EncodingType GetEncodingType() const
bool EncodingTypeHasBeenSet() const
bool TimeoutHasBeenSet() const
FunctionConfiguration & WithMemorySize(int value)
FunctionConfiguration & WithEncodingType(EncodingType value)
FunctionConfiguration & WithExecArgs(ExecArgsT &&value)
AWS_GREENGRASS_API FunctionConfiguration()=default
AWS_GREENGRASS_API FunctionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExecArgs(ExecArgsT &&value)
bool MemorySizeHasBeenSet() const
int GetMemorySize() const
bool EnvironmentHasBeenSet() const
void SetMemorySize(int value)
FunctionConfiguration & WithEnvironment(EnvironmentT &&value)
void SetFunctionRuntimeOverride(FunctionRuntimeOverrideT &&value)
void SetPinned(bool value)
void SetExecutable(ExecutableT &&value)
bool PinnedHasBeenSet() const
bool ExecArgsHasBeenSet() const
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
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