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;
88 template <
typename EgressNetworkConnectorArnT = Aws::String>
90 m_egressNetworkConnectorArnHasBeenSet =
true;
91 m_egressNetworkConnectorArn = std::forward<EgressNetworkConnectorArnT>(value);
93 template <
typename EgressNetworkConnectorArnT = Aws::String>
109 m_maxConcurrencyPerEnvironmentHasBeenSet =
true;
110 m_maxConcurrencyPerEnvironment = value;
125 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
127 m_environmentVariablesHasBeenSet =
true;
128 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
130 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
135 template <
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
137 m_environmentVariablesHasBeenSet =
true;
138 m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
150 template <
typename TelemetryConfigT = TelemetryConfig>
152 m_telemetryConfigHasBeenSet =
true;
153 m_telemetryConfig = std::forward<TelemetryConfigT>(value);
155 template <
typename TelemetryConfigT = TelemetryConfig>
164 int m_timeoutSeconds{0};
168 int m_maxConcurrencyPerEnvironment{0};
172 TelemetryConfig m_telemetryConfig;
173 bool m_executionRoleArnHasBeenSet =
false;
174 bool m_timeoutSecondsHasBeenSet =
false;
175 bool m_egressNetworkConnectorArnHasBeenSet =
false;
176 bool m_maxConcurrencyPerEnvironmentHasBeenSet =
false;
177 bool m_environmentVariablesHasBeenSet =
false;
178 bool m_telemetryConfigHasBeenSet =
false;
void SetEgressNetworkConnectorArn(EgressNetworkConnectorArnT &&value)
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 & WithEgressNetworkConnectorArn(EgressNetworkConnectorArnT &&value)
ServiceConfig & WithTimeoutSeconds(int value)
AWS_LAMBDAWEB_API ServiceConfig(Aws::Utils::Json::JsonView jsonValue)
ServiceConfig & WithTelemetryConfig(TelemetryConfigT &&value)
ServiceConfig & WithMaxConcurrencyPerEnvironment(int value)
const Aws::String & GetEgressNetworkConnectorArn() const
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)
bool EgressNetworkConnectorArnHasBeenSet() const
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