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>
68 inline void SetCodeSha256(
const char* value) { m_codeSha256HasBeenSet =
true; m_codeSha256.assign(value); }
106 inline void SetFunctionName(
const char* value) { m_functionNameHasBeenSet =
true; m_functionName.assign(value); }
120 inline void SetHandler(
const char* value) { m_handlerHasBeenSet =
true; m_handler.assign(value); }
136 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
164 inline void SetLastModified(
const char* value) { m_lastModifiedHasBeenSet =
true; m_lastModified.assign(value); }
192 inline void SetMasterArn(
const char* value) { m_masterArnHasBeenSet =
true; m_masterArn.assign(value); }
204 inline void SetMemorySize(
int value) { m_memorySizeHasBeenSet =
true; m_memorySize = value; }
216 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
230 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
244 inline void SetRuntime(
const char* value) { m_runtimeHasBeenSet =
true; m_runtime.assign(value); }
257 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
293 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
325 inline void SetPackageType(
const char* value) { m_packageTypeHasBeenSet =
true; m_packageType.assign(value); }
333 bool m_codeHasBeenSet =
false;
336 bool m_codeSha256HasBeenSet =
false;
339 bool m_deadLetterConfigHasBeenSet =
false;
342 bool m_environmentHasBeenSet =
false;
345 bool m_functionNameHasBeenSet =
false;
348 bool m_handlerHasBeenSet =
false;
351 bool m_kmsKeyArnHasBeenSet =
false;
354 bool m_lastModifiedHasBeenSet =
false;
357 bool m_layersHasBeenSet =
false;
360 bool m_masterArnHasBeenSet =
false;
363 bool m_memorySizeHasBeenSet =
false;
366 bool m_revisionIdHasBeenSet =
false;
369 bool m_roleHasBeenSet =
false;
372 bool m_runtimeHasBeenSet =
false;
375 bool m_timeoutHasBeenSet =
false;
378 bool m_tracingConfigHasBeenSet =
false;
381 bool m_vpcConfigHasBeenSet =
false;
384 bool m_versionHasBeenSet =
false;
387 bool m_architecturesHasBeenSet =
false;
390 bool m_packageTypeHasBeenSet =
false;
void SetDeadLetterConfig(const AwsLambdaFunctionDeadLetterConfig &value)
void SetKmsKeyArn(const char *value)
void SetHandler(const char *value)
void SetLastModified(const char *value)
void SetHandler(Aws::String &&value)
void SetTimeout(int value)
AwsLambdaFunctionDetails & WithDeadLetterConfig(AwsLambdaFunctionDeadLetterConfig &&value)
AWS_SECURITYHUB_API AwsLambdaFunctionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsLambdaFunctionDetails & WithRevisionId(Aws::String &&value)
AwsLambdaFunctionDetails & WithCodeSha256(const Aws::String &value)
void SetLastModified(Aws::String &&value)
bool TimeoutHasBeenSet() const
void SetKmsKeyArn(const Aws::String &value)
void SetPackageType(const char *value)
AwsLambdaFunctionDetails & WithTracingConfig(const AwsLambdaFunctionTracingConfig &value)
bool CodeHasBeenSet() const
AwsLambdaFunctionDetails & WithLastModified(const Aws::String &value)
void SetEnvironment(AwsLambdaFunctionEnvironment &&value)
AwsLambdaFunctionDetails & WithCode(AwsLambdaFunctionCode &&value)
const AwsLambdaFunctionCode & GetCode() const
AwsLambdaFunctionDetails & WithPackageType(Aws::String &&value)
void SetTracingConfig(AwsLambdaFunctionTracingConfig &&value)
const Aws::String & GetPackageType() const
const Aws::String & GetRevisionId() const
AwsLambdaFunctionDetails & WithMemorySize(int value)
bool VpcConfigHasBeenSet() const
AwsLambdaFunctionDetails & WithVpcConfig(const AwsLambdaFunctionVpcConfig &value)
AwsLambdaFunctionDetails & WithRole(const Aws::String &value)
void SetVersion(const Aws::String &value)
AwsLambdaFunctionDetails & WithRuntime(Aws::String &&value)
void SetCodeSha256(const char *value)
AwsLambdaFunctionDetails & WithKmsKeyArn(Aws::String &&value)
bool RuntimeHasBeenSet() const
void SetPackageType(const Aws::String &value)
void SetPackageType(Aws::String &&value)
AwsLambdaFunctionDetails & WithFunctionName(const Aws::String &value)
const Aws::String & GetVersion() const
void SetMasterArn(Aws::String &&value)
bool KmsKeyArnHasBeenSet() const
AwsLambdaFunctionDetails & WithEnvironment(AwsLambdaFunctionEnvironment &&value)
const Aws::String & GetCodeSha256() const
AwsLambdaFunctionDetails & WithLastModified(const char *value)
AwsLambdaFunctionDetails & WithFunctionName(Aws::String &&value)
void SetMasterArn(const char *value)
AwsLambdaFunctionDetails & WithMasterArn(const char *value)
bool RevisionIdHasBeenSet() const
void SetKmsKeyArn(Aws::String &&value)
const AwsLambdaFunctionEnvironment & GetEnvironment() const
AwsLambdaFunctionDetails & WithVersion(const Aws::String &value)
AwsLambdaFunctionDetails & WithRole(const char *value)
bool FunctionNameHasBeenSet() const
AwsLambdaFunctionDetails & AddArchitectures(Aws::String &&value)
void SetRuntime(const Aws::String &value)
AwsLambdaFunctionDetails & WithTracingConfig(AwsLambdaFunctionTracingConfig &&value)
void SetCodeSha256(Aws::String &&value)
const Aws::Vector< Aws::String > & GetArchitectures() const
AwsLambdaFunctionDetails & WithEnvironment(const AwsLambdaFunctionEnvironment &value)
AwsLambdaFunctionDetails & WithPackageType(const Aws::String &value)
AwsLambdaFunctionDetails & AddLayers(AwsLambdaFunctionLayer &&value)
bool CodeSha256HasBeenSet() const
const Aws::String & GetRuntime() const
const Aws::String & GetKmsKeyArn() const
void SetFunctionName(const Aws::String &value)
void SetCode(const AwsLambdaFunctionCode &value)
void SetLastModified(const Aws::String &value)
AwsLambdaFunctionDetails & WithTimeout(int value)
AwsLambdaFunctionDetails & WithCode(const AwsLambdaFunctionCode &value)
const Aws::String & GetHandler() const
void SetRole(const Aws::String &value)
AWS_SECURITYHUB_API AwsLambdaFunctionDetails()
const Aws::String & GetLastModified() const
AwsLambdaFunctionDetails & WithMasterArn(Aws::String &&value)
void SetCodeSha256(const Aws::String &value)
void SetHandler(const Aws::String &value)
AwsLambdaFunctionDetails & AddArchitectures(const char *value)
AWS_SECURITYHUB_API AwsLambdaFunctionDetails(Aws::Utils::Json::JsonView jsonValue)
bool EnvironmentHasBeenSet() const
void SetArchitectures(const Aws::Vector< Aws::String > &value)
const AwsLambdaFunctionVpcConfig & GetVpcConfig() const
void SetArchitectures(Aws::Vector< Aws::String > &&value)
AwsLambdaFunctionDetails & WithVpcConfig(AwsLambdaFunctionVpcConfig &&value)
void SetRole(Aws::String &&value)
AwsLambdaFunctionDetails & WithKmsKeyArn(const Aws::String &value)
void SetRuntime(const char *value)
void SetRole(const char *value)
AwsLambdaFunctionDetails & WithArchitectures(Aws::Vector< Aws::String > &&value)
void SetRevisionId(Aws::String &&value)
void SetVersion(Aws::String &&value)
AwsLambdaFunctionDetails & WithDeadLetterConfig(const AwsLambdaFunctionDeadLetterConfig &value)
AwsLambdaFunctionDetails & WithRuntime(const char *value)
AwsLambdaFunctionDetails & WithPackageType(const char *value)
void SetFunctionName(const char *value)
AwsLambdaFunctionDetails & WithCodeSha256(Aws::String &&value)
bool PackageTypeHasBeenSet() const
AwsLambdaFunctionDetails & WithVersion(Aws::String &&value)
AwsLambdaFunctionDetails & WithRevisionId(const char *value)
AwsLambdaFunctionDetails & WithMasterArn(const Aws::String &value)
bool ArchitecturesHasBeenSet() const
AwsLambdaFunctionDetails & WithLastModified(Aws::String &&value)
void SetLayers(Aws::Vector< AwsLambdaFunctionLayer > &&value)
AwsLambdaFunctionDetails & WithHandler(Aws::String &&value)
const Aws::String & GetRole() const
const Aws::String & GetMasterArn() const
const Aws::Vector< AwsLambdaFunctionLayer > & GetLayers() const
bool MemorySizeHasBeenSet() const
AwsLambdaFunctionDetails & WithFunctionName(const char *value)
void SetLayers(const Aws::Vector< AwsLambdaFunctionLayer > &value)
bool TracingConfigHasBeenSet() const
void SetVpcConfig(const AwsLambdaFunctionVpcConfig &value)
void SetTracingConfig(const AwsLambdaFunctionTracingConfig &value)
void SetMasterArn(const Aws::String &value)
void SetCode(AwsLambdaFunctionCode &&value)
AwsLambdaFunctionDetails & WithArchitectures(const Aws::Vector< Aws::String > &value)
AwsLambdaFunctionDetails & WithRuntime(const Aws::String &value)
AwsLambdaFunctionDetails & WithHandler(const char *value)
AwsLambdaFunctionDetails & WithLayers(Aws::Vector< AwsLambdaFunctionLayer > &&value)
AwsLambdaFunctionDetails & WithVersion(const char *value)
bool LayersHasBeenSet() const
AwsLambdaFunctionDetails & WithLayers(const Aws::Vector< AwsLambdaFunctionLayer > &value)
bool VersionHasBeenSet() const
const AwsLambdaFunctionDeadLetterConfig & GetDeadLetterConfig() const
AwsLambdaFunctionDetails & WithCodeSha256(const char *value)
void SetRuntime(Aws::String &&value)
AwsLambdaFunctionDetails & WithRevisionId(const Aws::String &value)
bool LastModifiedHasBeenSet() const
const Aws::String & GetFunctionName() const
AwsLambdaFunctionDetails & AddArchitectures(const Aws::String &value)
bool HandlerHasBeenSet() const
void SetMemorySize(int value)
void SetVpcConfig(AwsLambdaFunctionVpcConfig &&value)
bool MasterArnHasBeenSet() const
void SetRevisionId(const char *value)
AwsLambdaFunctionDetails & WithRole(Aws::String &&value)
int GetMemorySize() const
AwsLambdaFunctionDetails & WithKmsKeyArn(const char *value)
void SetEnvironment(const AwsLambdaFunctionEnvironment &value)
bool RoleHasBeenSet() const
bool DeadLetterConfigHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFunctionName(Aws::String &&value)
AwsLambdaFunctionDetails & WithHandler(const Aws::String &value)
void SetRevisionId(const Aws::String &value)
void SetDeadLetterConfig(AwsLambdaFunctionDeadLetterConfig &&value)
void SetVersion(const char *value)
const AwsLambdaFunctionTracingConfig & GetTracingConfig() const
AwsLambdaFunctionDetails & AddLayers(const AwsLambdaFunctionLayer &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue