7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsLambdaFunctionCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsLambdaFunctionDeadLetterConfig.h>
11#include <aws/securityhub/model/AwsLambdaFunctionEnvironment.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/securityhub/model/AwsLambdaFunctionTracingConfig.h>
14#include <aws/securityhub/model/AwsLambdaFunctionVpcConfig.h>
15#include <aws/securityhub/model/AwsLambdaFunctionLayer.h>
54 template<
typename CodeT = AwsLambdaFunctionCode>
55 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
56 template<
typename CodeT = AwsLambdaFunctionCode>
66 template<
typename CodeSha256T = Aws::String>
67 void SetCodeSha256(CodeSha256T&& value) { m_codeSha256HasBeenSet =
true; m_codeSha256 = std::forward<CodeSha256T>(value); }
68 template<
typename CodeSha256T = Aws::String>
78 template<
typename DeadLetterConfigT = AwsLambdaFunctionDeadLetterConfig>
79 void SetDeadLetterConfig(DeadLetterConfigT&& value) { m_deadLetterConfigHasBeenSet =
true; m_deadLetterConfig = std::forward<DeadLetterConfigT>(value); }
80 template<
typename DeadLetterConfigT = AwsLambdaFunctionDeadLetterConfig>
90 template<
typename EnvironmentT = AwsLambdaFunctionEnvironment>
91 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
92 template<
typename EnvironmentT = AwsLambdaFunctionEnvironment>
102 template<
typename FunctionNameT = Aws::String>
103 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
104 template<
typename FunctionNameT = Aws::String>
114 template<
typename HandlerT = Aws::String>
115 void SetHandler(HandlerT&& value) { m_handlerHasBeenSet =
true; m_handler = std::forward<HandlerT>(value); }
116 template<
typename HandlerT = Aws::String>
128 template<
typename KmsKeyArnT = Aws::String>
129 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
130 template<
typename KmsKeyArnT = Aws::String>
142 template<
typename LastModifiedT = Aws::String>
143 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet =
true; m_lastModified = std::forward<LastModifiedT>(value); }
144 template<
typename LastModifiedT = Aws::String>
154 template<
typename LayersT = Aws::Vector<AwsLambdaFunctionLayer>>
155 void SetLayers(LayersT&& value) { m_layersHasBeenSet =
true; m_layers = std::forward<LayersT>(value); }
156 template<
typename LayersT = Aws::Vector<AwsLambdaFunctionLayer>>
158 template<
typename LayersT = AwsLambdaFunctionLayer>
168 template<
typename MasterArnT = Aws::String>
169 void SetMasterArn(MasterArnT&& value) { m_masterArnHasBeenSet =
true; m_masterArn = std::forward<MasterArnT>(value); }
170 template<
typename MasterArnT = Aws::String>
180 inline void SetMemorySize(
int value) { m_memorySizeHasBeenSet =
true; m_memorySize = value; }
190 template<
typename RevisionIdT = Aws::String>
191 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet =
true; m_revisionId = std::forward<RevisionIdT>(value); }
192 template<
typename RevisionIdT = Aws::String>
202 template<
typename RoleT = Aws::String>
203 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
204 template<
typename RoleT = Aws::String>
214 template<
typename RuntimeT = Aws::String>
215 void SetRuntime(RuntimeT&& value) { m_runtimeHasBeenSet =
true; m_runtime = std::forward<RuntimeT>(value); }
216 template<
typename RuntimeT = Aws::String>
227 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
237 template<
typename TracingConfigT = AwsLambdaFunctionTracingConfig>
238 void SetTracingConfig(TracingConfigT&& value) { m_tracingConfigHasBeenSet =
true; m_tracingConfig = std::forward<TracingConfigT>(value); }
239 template<
typename TracingConfigT = AwsLambdaFunctionTracingConfig>
249 template<
typename VpcConfigT = AwsLambdaFunctionVpcConfig>
250 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
251 template<
typename VpcConfigT = AwsLambdaFunctionVpcConfig>
261 template<
typename VersionT = Aws::String>
262 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
263 template<
typename VersionT = Aws::String>
274 template<
typename ArchitecturesT = Aws::Vector<Aws::String>>
275 void SetArchitectures(ArchitecturesT&& value) { m_architecturesHasBeenSet =
true; m_architectures = std::forward<ArchitecturesT>(value); }
276 template<
typename ArchitecturesT = Aws::Vector<Aws::String>>
278 template<
typename ArchitecturesT = Aws::String>
290 template<
typename PackageTypeT = Aws::String>
291 void SetPackageType(PackageTypeT&& value) { m_packageTypeHasBeenSet =
true; m_packageType = std::forward<PackageTypeT>(value); }
292 template<
typename PackageTypeT = Aws::String>
298 bool m_codeHasBeenSet =
false;
301 bool m_codeSha256HasBeenSet =
false;
304 bool m_deadLetterConfigHasBeenSet =
false;
307 bool m_environmentHasBeenSet =
false;
310 bool m_functionNameHasBeenSet =
false;
313 bool m_handlerHasBeenSet =
false;
316 bool m_kmsKeyArnHasBeenSet =
false;
319 bool m_lastModifiedHasBeenSet =
false;
322 bool m_layersHasBeenSet =
false;
325 bool m_masterArnHasBeenSet =
false;
328 bool m_memorySizeHasBeenSet =
false;
331 bool m_revisionIdHasBeenSet =
false;
334 bool m_roleHasBeenSet =
false;
337 bool m_runtimeHasBeenSet =
false;
340 bool m_timeoutHasBeenSet =
false;
342 AwsLambdaFunctionTracingConfig m_tracingConfig;
343 bool m_tracingConfigHasBeenSet =
false;
345 AwsLambdaFunctionVpcConfig m_vpcConfig;
346 bool m_vpcConfigHasBeenSet =
false;
349 bool m_versionHasBeenSet =
false;
352 bool m_architecturesHasBeenSet =
false;
355 bool m_packageTypeHasBeenSet =
false;
void SetCodeSha256(CodeSha256T &&value)
void SetVersion(VersionT &&value)
void SetLastModified(LastModifiedT &&value)
void SetTimeout(int value)
AWS_SECURITYHUB_API AwsLambdaFunctionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TimeoutHasBeenSet() const
void SetKmsKeyArn(KmsKeyArnT &&value)
AwsLambdaFunctionDetails & WithArchitectures(ArchitecturesT &&value)
bool CodeHasBeenSet() const
const AwsLambdaFunctionCode & GetCode() const
const Aws::String & GetPackageType() const
const Aws::String & GetRevisionId() const
AwsLambdaFunctionDetails & WithMemorySize(int value)
bool VpcConfigHasBeenSet() const
void SetRole(RoleT &&value)
void SetHandler(HandlerT &&value)
void SetRuntime(RuntimeT &&value)
AwsLambdaFunctionDetails & WithCodeSha256(CodeSha256T &&value)
void SetMasterArn(MasterArnT &&value)
bool RuntimeHasBeenSet() const
const Aws::String & GetVersion() const
AwsLambdaFunctionDetails & WithVpcConfig(VpcConfigT &&value)
bool KmsKeyArnHasBeenSet() const
const Aws::String & GetCodeSha256() const
AwsLambdaFunctionDetails & WithRuntime(RuntimeT &&value)
AwsLambdaFunctionDetails & AddLayers(LayersT &&value)
bool RevisionIdHasBeenSet() const
AwsLambdaFunctionDetails & WithPackageType(PackageTypeT &&value)
const AwsLambdaFunctionEnvironment & GetEnvironment() const
bool FunctionNameHasBeenSet() const
AwsLambdaFunctionDetails & WithRevisionId(RevisionIdT &&value)
AwsLambdaFunctionDetails & WithEnvironment(EnvironmentT &&value)
const Aws::Vector< Aws::String > & GetArchitectures() const
AwsLambdaFunctionDetails & WithVersion(VersionT &&value)
void SetVpcConfig(VpcConfigT &&value)
AwsLambdaFunctionDetails & WithLayers(LayersT &&value)
bool CodeSha256HasBeenSet() const
const Aws::String & GetRuntime() const
const Aws::String & GetKmsKeyArn() const
void SetRevisionId(RevisionIdT &&value)
AwsLambdaFunctionDetails & WithTimeout(int value)
void SetLayers(LayersT &&value)
const Aws::String & GetHandler() const
void SetPackageType(PackageTypeT &&value)
const Aws::String & GetLastModified() const
AWS_SECURITYHUB_API AwsLambdaFunctionDetails(Aws::Utils::Json::JsonView jsonValue)
AwsLambdaFunctionDetails & WithCode(CodeT &&value)
bool EnvironmentHasBeenSet() const
const AwsLambdaFunctionVpcConfig & GetVpcConfig() const
void SetDeadLetterConfig(DeadLetterConfigT &&value)
AwsLambdaFunctionDetails & AddArchitectures(ArchitecturesT &&value)
AWS_SECURITYHUB_API AwsLambdaFunctionDetails()=default
AwsLambdaFunctionDetails & WithFunctionName(FunctionNameT &&value)
void SetCode(CodeT &&value)
AwsLambdaFunctionDetails & WithDeadLetterConfig(DeadLetterConfigT &&value)
bool PackageTypeHasBeenSet() const
AwsLambdaFunctionDetails & WithKmsKeyArn(KmsKeyArnT &&value)
AwsLambdaFunctionDetails & WithLastModified(LastModifiedT &&value)
bool ArchitecturesHasBeenSet() const
void SetArchitectures(ArchitecturesT &&value)
const Aws::String & GetRole() const
AwsLambdaFunctionDetails & WithRole(RoleT &&value)
const Aws::String & GetMasterArn() const
const Aws::Vector< AwsLambdaFunctionLayer > & GetLayers() const
bool MemorySizeHasBeenSet() const
void SetEnvironment(EnvironmentT &&value)
bool TracingConfigHasBeenSet() const
AwsLambdaFunctionDetails & WithTracingConfig(TracingConfigT &&value)
bool LayersHasBeenSet() const
bool VersionHasBeenSet() const
const AwsLambdaFunctionDeadLetterConfig & GetDeadLetterConfig() const
bool LastModifiedHasBeenSet() const
const Aws::String & GetFunctionName() const
AwsLambdaFunctionDetails & WithHandler(HandlerT &&value)
bool HandlerHasBeenSet() const
void SetMemorySize(int value)
bool MasterArnHasBeenSet() const
int GetMemorySize() const
AwsLambdaFunctionDetails & WithMasterArn(MasterArnT &&value)
bool RoleHasBeenSet() const
void SetFunctionName(FunctionNameT &&value)
bool DeadLetterConfigHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTracingConfig(TracingConfigT &&value)
const AwsLambdaFunctionTracingConfig & GetTracingConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue