7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
10#include <aws/lambda-web/model/TelemetryConfig.h>
45 template <
typename ExecutionRoleArnT = Aws::String>
47 m_executionRoleArnHasBeenSet =
true;
48 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
50 template <
typename ExecutionRoleArnT = Aws::String>
67 m_timeoutSecondsHasBeenSet =
true;
68 m_timeoutSeconds = value;
85 m_maxConcurrencyPerEnvironmentHasBeenSet =
true;
86 m_maxConcurrencyPerEnvironment = value;
101 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
103 m_environmentVariablesHasBeenSet =
true;
104 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
106 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
111 template <
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
113 m_environmentVariablesHasBeenSet =
true;
114 m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
126 template <
typename TelemetryConfigT = TelemetryConfig>
128 m_telemetryConfigHasBeenSet =
true;
129 m_telemetryConfig = std::forward<TelemetryConfigT>(value);
131 template <
typename TelemetryConfigT = TelemetryConfig>
140 int m_timeoutSeconds{0};
142 int m_maxConcurrencyPerEnvironment{0};
146 TelemetryConfig m_telemetryConfig;
147 bool m_executionRoleArnHasBeenSet =
false;
148 bool m_timeoutSecondsHasBeenSet =
false;
149 bool m_maxConcurrencyPerEnvironmentHasBeenSet =
false;
150 bool m_environmentVariablesHasBeenSet =
false;
151 bool m_telemetryConfigHasBeenSet =
false;
const TelemetryConfig & GetTelemetryConfig() const
bool TelemetryConfigHasBeenSet() const
bool MaxConcurrencyPerEnvironmentHasBeenSet() const
ServiceConfig & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
void SetTimeoutSeconds(int value)
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
int GetMaxConcurrencyPerEnvironment() const
bool TimeoutSecondsHasBeenSet() const
int GetTimeoutSeconds() const
bool ExecutionRoleArnHasBeenSet() const
bool EnvironmentVariablesHasBeenSet() const
AWS_LAMBDAWEB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
ServiceConfig & WithEnvironmentVariables(EnvironmentVariablesT &&value)
void SetTelemetryConfig(TelemetryConfigT &&value)
void SetMaxConcurrencyPerEnvironment(int value)
ServiceConfig & WithTimeoutSeconds(int value)
AWS_LAMBDAWEB_API ServiceConfig(Aws::Utils::Json::JsonView jsonValue)
ServiceConfig & WithTelemetryConfig(TelemetryConfigT &&value)
ServiceConfig & WithMaxConcurrencyPerEnvironment(int value)
ServiceConfig & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetExecutionRoleArn() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
AWS_LAMBDAWEB_API ServiceConfig()=default
AWS_LAMBDAWEB_API ServiceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
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
Aws::Utils::Json::JsonValue JsonValue