7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsLambdaFunctionCode.h>
11#include <aws/securityhub/model/AwsLambdaFunctionDeadLetterConfig.h>
12#include <aws/securityhub/model/AwsLambdaFunctionEnvironment.h>
13#include <aws/securityhub/model/AwsLambdaFunctionLayer.h>
14#include <aws/securityhub/model/AwsLambdaFunctionTracingConfig.h>
15#include <aws/securityhub/model/AwsLambdaFunctionVpcConfig.h>
48 template <
typename CodeT = AwsLambdaFunctionCode>
50 m_codeHasBeenSet =
true;
51 m_code = std::forward<CodeT>(value);
53 template <
typename CodeT = AwsLambdaFunctionCode>
55 SetCode(std::forward<CodeT>(value));
66 template <
typename CodeSha256T = Aws::String>
68 m_codeSha256HasBeenSet =
true;
69 m_codeSha256 = std::forward<CodeSha256T>(value);
71 template <
typename CodeSha256T = Aws::String>
84 template <
typename DeadLetterConfigT = AwsLambdaFunctionDeadLetterConfig>
86 m_deadLetterConfigHasBeenSet =
true;
87 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
89 template <
typename DeadLetterConfigT = AwsLambdaFunctionDeadLetterConfig>
102 template <
typename EnvironmentT = AwsLambdaFunctionEnvironment>
104 m_environmentHasBeenSet =
true;
105 m_environment = std::forward<EnvironmentT>(value);
107 template <
typename EnvironmentT = AwsLambdaFunctionEnvironment>
120 template <
typename FunctionNameT = Aws::String>
122 m_functionNameHasBeenSet =
true;
123 m_functionName = std::forward<FunctionNameT>(value);
125 template <
typename FunctionNameT = Aws::String>
138 template <
typename HandlerT = Aws::String>
140 m_handlerHasBeenSet =
true;
141 m_handler = std::forward<HandlerT>(value);
143 template <
typename HandlerT = Aws::String>
158 template <
typename KmsKeyArnT = Aws::String>
160 m_kmsKeyArnHasBeenSet =
true;
161 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
163 template <
typename KmsKeyArnT = Aws::String>
178 template <
typename LastModifiedT = Aws::String>
180 m_lastModifiedHasBeenSet =
true;
181 m_lastModified = std::forward<LastModifiedT>(value);
183 template <
typename LastModifiedT = Aws::String>
196 template <
typename LayersT = Aws::Vector<AwsLambdaFunctionLayer>>
198 m_layersHasBeenSet =
true;
199 m_layers = std::forward<LayersT>(value);
201 template <
typename LayersT = Aws::Vector<AwsLambdaFunctionLayer>>
206 template <
typename LayersT = AwsLambdaFunctionLayer>
208 m_layersHasBeenSet =
true;
209 m_layers.emplace_back(std::forward<LayersT>(value));
220 template <
typename MasterArnT = Aws::String>
222 m_masterArnHasBeenSet =
true;
223 m_masterArn = std::forward<MasterArnT>(value);
225 template <
typename MasterArnT = Aws::String>
239 m_memorySizeHasBeenSet =
true;
240 m_memorySize = value;
254 template <
typename RevisionIdT = Aws::String>
256 m_revisionIdHasBeenSet =
true;
257 m_revisionId = std::forward<RevisionIdT>(value);
259 template <
typename RevisionIdT = Aws::String>
272 template <
typename RoleT = Aws::String>
274 m_roleHasBeenSet =
true;
275 m_role = std::forward<RoleT>(value);
277 template <
typename RoleT = Aws::String>
279 SetRole(std::forward<RoleT>(value));
290 template <
typename RuntimeT = Aws::String>
292 m_runtimeHasBeenSet =
true;
293 m_runtime = std::forward<RuntimeT>(value);
295 template <
typename RuntimeT = Aws::String>
310 m_timeoutHasBeenSet =
true;
325 template <
typename TracingConfigT = AwsLambdaFunctionTracingConfig>
327 m_tracingConfigHasBeenSet =
true;
328 m_tracingConfig = std::forward<TracingConfigT>(value);
330 template <
typename TracingConfigT = AwsLambdaFunctionTracingConfig>
343 template <
typename VpcConfigT = AwsLambdaFunctionVpcConfig>
345 m_vpcConfigHasBeenSet =
true;
346 m_vpcConfig = std::forward<VpcConfigT>(value);
348 template <
typename VpcConfigT = AwsLambdaFunctionVpcConfig>
361 template <
typename VersionT = Aws::String>
363 m_versionHasBeenSet =
true;
364 m_version = std::forward<VersionT>(value);
366 template <
typename VersionT = Aws::String>
380 template <
typename ArchitecturesT = Aws::Vector<Aws::String>>
382 m_architecturesHasBeenSet =
true;
383 m_architectures = std::forward<ArchitecturesT>(value);
385 template <
typename ArchitecturesT = Aws::Vector<Aws::String>>
390 template <
typename ArchitecturesT = Aws::String>
392 m_architecturesHasBeenSet =
true;
393 m_architectures.emplace_back(std::forward<ArchitecturesT>(value));
406 template <
typename PackageTypeT = Aws::String>
408 m_packageTypeHasBeenSet =
true;
409 m_packageType = std::forward<PackageTypeT>(value);
411 template <
typename PackageTypeT = Aws::String>
448 AwsLambdaFunctionTracingConfig m_tracingConfig;
450 AwsLambdaFunctionVpcConfig m_vpcConfig;
457 bool m_codeHasBeenSet =
false;
458 bool m_codeSha256HasBeenSet =
false;
459 bool m_deadLetterConfigHasBeenSet =
false;
460 bool m_environmentHasBeenSet =
false;
461 bool m_functionNameHasBeenSet =
false;
462 bool m_handlerHasBeenSet =
false;
463 bool m_kmsKeyArnHasBeenSet =
false;
464 bool m_lastModifiedHasBeenSet =
false;
465 bool m_layersHasBeenSet =
false;
466 bool m_masterArnHasBeenSet =
false;
467 bool m_memorySizeHasBeenSet =
false;
468 bool m_revisionIdHasBeenSet =
false;
469 bool m_roleHasBeenSet =
false;
470 bool m_runtimeHasBeenSet =
false;
471 bool m_timeoutHasBeenSet =
false;
472 bool m_tracingConfigHasBeenSet =
false;
473 bool m_vpcConfigHasBeenSet =
false;
474 bool m_versionHasBeenSet =
false;
475 bool m_architecturesHasBeenSet =
false;
476 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