7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/greengrassv2/model/LambdaInputPayloadEncodingType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/greengrassv2/model/LambdaLinuxProcessParams.h>
12#include <aws/greengrassv2/model/LambdaEventSource.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
71 inline void SetMaxQueueSize(
int value) { m_maxQueueSizeHasBeenSet =
true; m_maxQueueSize = value; }
82 inline void SetMaxInstancesCount(
int value) { m_maxInstancesCountHasBeenSet =
true; m_maxInstancesCount = value; }
93 inline void SetMaxIdleTimeInSeconds(
int value) { m_maxIdleTimeInSecondsHasBeenSet =
true; m_maxIdleTimeInSeconds = value; }
104 inline void SetTimeoutInSeconds(
int value) { m_timeoutInSecondsHasBeenSet =
true; m_timeoutInSeconds = value; }
131 inline void SetPinned(
bool value) { m_pinnedHasBeenSet =
true; m_pinned = value; }
197 bool m_eventSourcesHasBeenSet =
false;
200 bool m_maxQueueSizeHasBeenSet =
false;
202 int m_maxInstancesCount;
203 bool m_maxInstancesCountHasBeenSet =
false;
205 int m_maxIdleTimeInSeconds;
206 bool m_maxIdleTimeInSecondsHasBeenSet =
false;
208 int m_timeoutInSeconds;
209 bool m_timeoutInSecondsHasBeenSet =
false;
211 int m_statusTimeoutInSeconds;
212 bool m_statusTimeoutInSecondsHasBeenSet =
false;
215 bool m_pinnedHasBeenSet =
false;
218 bool m_inputPayloadEncodingTypeHasBeenSet =
false;
221 bool m_execArgsHasBeenSet =
false;
224 bool m_environmentVariablesHasBeenSet =
false;
227 bool m_linuxProcessParamsHasBeenSet =
false;
bool InputPayloadEncodingTypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
bool MaxInstancesCountHasBeenSet() const
LambdaExecutionParameters & WithExecArgs(Aws::Vector< Aws::String > &&value)
LambdaExecutionParameters & AddExecArgs(const char *value)
LambdaExecutionParameters & WithMaxInstancesCount(int value)
AWS_GREENGRASSV2_API LambdaExecutionParameters(Aws::Utils::Json::JsonView jsonValue)
bool ExecArgsHasBeenSet() const
LambdaExecutionParameters & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
LambdaExecutionParameters & AddEnvironmentVariables(const char *key, const char *value)
int GetTimeoutInSeconds() const
LambdaExecutionParameters & WithTimeoutInSeconds(int value)
LambdaExecutionParameters & WithInputPayloadEncodingType(LambdaInputPayloadEncodingType &&value)
bool TimeoutInSecondsHasBeenSet() const
LambdaExecutionParameters & AddEventSources(LambdaEventSource &&value)
void SetTimeoutInSeconds(int value)
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
int GetMaxIdleTimeInSeconds() const
void SetInputPayloadEncodingType(const LambdaInputPayloadEncodingType &value)
LambdaExecutionParameters & WithLinuxProcessParams(const LambdaLinuxProcessParams &value)
void SetMaxIdleTimeInSeconds(int value)
int GetMaxInstancesCount() const
void SetEventSources(const Aws::Vector< LambdaEventSource > &value)
LambdaExecutionParameters & AddEventSources(const LambdaEventSource &value)
bool EventSourcesHasBeenSet() const
const Aws::Vector< Aws::String > & GetExecArgs() const
void SetStatusTimeoutInSeconds(int value)
void SetLinuxProcessParams(const LambdaLinuxProcessParams &value)
LambdaExecutionParameters & WithEventSources(const Aws::Vector< LambdaEventSource > &value)
void SetExecArgs(Aws::Vector< Aws::String > &&value)
void SetMaxInstancesCount(int value)
bool LinuxProcessParamsHasBeenSet() const
LambdaExecutionParameters & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
const Aws::Vector< LambdaEventSource > & GetEventSources() const
LambdaExecutionParameters & WithMaxQueueSize(int value)
AWS_GREENGRASSV2_API LambdaExecutionParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaExecutionParameters & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetLinuxProcessParams(LambdaLinuxProcessParams &&value)
LambdaExecutionParameters & WithMaxIdleTimeInSeconds(int value)
void SetExecArgs(const Aws::Vector< Aws::String > &value)
LambdaExecutionParameters & WithEventSources(Aws::Vector< LambdaEventSource > &&value)
int GetStatusTimeoutInSeconds() const
bool PinnedHasBeenSet() const
void SetInputPayloadEncodingType(LambdaInputPayloadEncodingType &&value)
const LambdaInputPayloadEncodingType & GetInputPayloadEncodingType() const
LambdaExecutionParameters & AddExecArgs(const Aws::String &value)
LambdaExecutionParameters & WithExecArgs(const Aws::Vector< Aws::String > &value)
bool StatusTimeoutInSecondsHasBeenSet() const
LambdaExecutionParameters & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
void SetPinned(bool value)
bool EnvironmentVariablesHasBeenSet() const
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
LambdaExecutionParameters & WithLinuxProcessParams(LambdaLinuxProcessParams &&value)
LambdaExecutionParameters & AddExecArgs(Aws::String &&value)
void SetEventSources(Aws::Vector< LambdaEventSource > &&value)
LambdaExecutionParameters & WithPinned(bool value)
LambdaExecutionParameters & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
void SetMaxQueueSize(int value)
bool MaxQueueSizeHasBeenSet() const
LambdaExecutionParameters & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
LambdaExecutionParameters & AddEnvironmentVariables(const char *key, Aws::String &&value)
int GetMaxQueueSize() const
AWS_GREENGRASSV2_API LambdaExecutionParameters()
bool MaxIdleTimeInSecondsHasBeenSet() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const LambdaLinuxProcessParams & GetLinuxProcessParams() const
LambdaExecutionParameters & AddEnvironmentVariables(Aws::String &&key, const char *value)
LambdaExecutionParameters & WithInputPayloadEncodingType(const LambdaInputPayloadEncodingType &value)
LambdaExecutionParameters & WithStatusTimeoutInSeconds(int value)
LambdaInputPayloadEncodingType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue