7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/inspector2/model/PackageType.h>
12#include <aws/inspector2/model/Runtime.h>
13#include <aws/inspector2/model/LambdaVpcConfig.h>
14#include <aws/inspector2/model/Architecture.h>
72 inline void SetCodeSha256(
const char* value) { m_codeSha256HasBeenSet =
true; m_codeSha256.assign(value); }
86 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
100 inline void SetFunctionName(
const char* value) { m_functionNameHasBeenSet =
true; m_functionName.assign(value); }
157 inline void SetRuntime(
Runtime&& value) { m_runtimeHasBeenSet =
true; m_runtime = std::move(value); }
170 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
190 bool m_architecturesHasBeenSet =
false;
193 bool m_codeSha256HasBeenSet =
false;
196 bool m_executionRoleArnHasBeenSet =
false;
199 bool m_functionNameHasBeenSet =
false;
202 bool m_lastModifiedAtHasBeenSet =
false;
205 bool m_layersHasBeenSet =
false;
208 bool m_packageTypeHasBeenSet =
false;
211 bool m_runtimeHasBeenSet =
false;
214 bool m_versionHasBeenSet =
false;
217 bool m_vpcConfigHasBeenSet =
false;
AwsLambdaFunctionDetails & WithVpcConfig(const LambdaVpcConfig &value)
const Aws::String & GetCodeSha256() const
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
void SetPackageType(PackageType &&value)
bool PackageTypeHasBeenSet() const
AwsLambdaFunctionDetails & WithFunctionName(Aws::String &&value)
AwsLambdaFunctionDetails & WithCodeSha256(Aws::String &&value)
void SetExecutionRoleArn(const char *value)
const LambdaVpcConfig & GetVpcConfig() const
void SetVersion(const char *value)
AwsLambdaFunctionDetails & WithExecutionRoleArn(const char *value)
bool LastModifiedAtHasBeenSet() const
AwsLambdaFunctionDetails & WithPackageType(const PackageType &value)
AwsLambdaFunctionDetails & WithExecutionRoleArn(const Aws::String &value)
AwsLambdaFunctionDetails & WithFunctionName(const Aws::String &value)
const PackageType & GetPackageType() const
AwsLambdaFunctionDetails & WithLayers(Aws::Vector< Aws::String > &&value)
AwsLambdaFunctionDetails & AddArchitectures(Architecture &&value)
AwsLambdaFunctionDetails & WithLayers(const Aws::Vector< Aws::String > &value)
void SetArchitectures(const Aws::Vector< Architecture > &value)
void SetExecutionRoleArn(Aws::String &&value)
const Aws::String & GetVersion() const
AwsLambdaFunctionDetails & WithArchitectures(const Aws::Vector< Architecture > &value)
bool RuntimeHasBeenSet() const
void SetVersion(const Aws::String &value)
AwsLambdaFunctionDetails & AddArchitectures(const Architecture &value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
void SetVpcConfig(const LambdaVpcConfig &value)
void SetLayers(const Aws::Vector< Aws::String > &value)
AwsLambdaFunctionDetails & WithLastModifiedAt(const Aws::Utils::DateTime &value)
bool VpcConfigHasBeenSet() const
void SetCodeSha256(const char *value)
AwsLambdaFunctionDetails & WithVersion(const Aws::String &value)
AwsLambdaFunctionDetails & WithVersion(Aws::String &&value)
void SetPackageType(const PackageType &value)
AWS_INSPECTOR2_API AwsLambdaFunctionDetails(Aws::Utils::Json::JsonView jsonValue)
void SetFunctionName(Aws::String &&value)
const Runtime & GetRuntime() const
void SetRuntime(Runtime &&value)
void SetVersion(Aws::String &&value)
void SetCodeSha256(const Aws::String &value)
AwsLambdaFunctionDetails & WithLastModifiedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetLayers() const
void SetRuntime(const Runtime &value)
AwsLambdaFunctionDetails & AddLayers(Aws::String &&value)
void SetFunctionName(const char *value)
AwsLambdaFunctionDetails & AddLayers(const char *value)
void SetLayers(Aws::Vector< Aws::String > &&value)
bool LayersHasBeenSet() const
bool CodeSha256HasBeenSet() const
void SetArchitectures(Aws::Vector< Architecture > &&value)
AwsLambdaFunctionDetails & WithFunctionName(const char *value)
AWS_INSPECTOR2_API AwsLambdaFunctionDetails()
AwsLambdaFunctionDetails & WithPackageType(PackageType &&value)
AwsLambdaFunctionDetails & WithArchitectures(Aws::Vector< Architecture > &&value)
bool ExecutionRoleArnHasBeenSet() const
bool VersionHasBeenSet() const
void SetVpcConfig(LambdaVpcConfig &&value)
AwsLambdaFunctionDetails & WithVersion(const char *value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AwsLambdaFunctionDetails & WithExecutionRoleArn(Aws::String &&value)
const Aws::String & GetFunctionName() const
AwsLambdaFunctionDetails & WithVpcConfig(LambdaVpcConfig &&value)
void SetCodeSha256(Aws::String &&value)
void SetFunctionName(const Aws::String &value)
void SetExecutionRoleArn(const Aws::String &value)
AwsLambdaFunctionDetails & WithRuntime(Runtime &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
bool FunctionNameHasBeenSet() const
AwsLambdaFunctionDetails & WithRuntime(const Runtime &value)
bool ArchitecturesHasBeenSet() const
AwsLambdaFunctionDetails & AddLayers(const Aws::String &value)
AwsLambdaFunctionDetails & WithCodeSha256(const char *value)
const Aws::Vector< Architecture > & GetArchitectures() const
AwsLambdaFunctionDetails & WithCodeSha256(const Aws::String &value)
const Aws::String & GetExecutionRoleArn() const
AWS_INSPECTOR2_API AwsLambdaFunctionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue