7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/Runtime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/inspector2/model/LambdaVpcConfig.h>
12#include <aws/inspector2/model/PackageType.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/inspector2/model/Architecture.h>
53 template<
typename FunctionNameT = Aws::String>
54 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
55 template<
typename FunctionNameT = Aws::String>
76 template<
typename CodeSha256T = Aws::String>
77 void SetCodeSha256(CodeSha256T&& value) { m_codeSha256HasBeenSet =
true; m_codeSha256 = std::forward<CodeSha256T>(value); }
78 template<
typename CodeSha256T = Aws::String>
88 template<
typename VersionT = Aws::String>
89 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
90 template<
typename VersionT = Aws::String>
100 template<
typename ExecutionRoleArnT = Aws::String>
101 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
102 template<
typename ExecutionRoleArnT = Aws::String>
114 template<
typename LayersT = Aws::Vector<Aws::String>>
115 void SetLayers(LayersT&& value) { m_layersHasBeenSet =
true; m_layers = std::forward<LayersT>(value); }
116 template<
typename LayersT = Aws::Vector<Aws::String>>
118 template<
typename LayersT = Aws::String>
128 template<
typename VpcConfigT = LambdaVpcConfig>
129 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
130 template<
typename VpcConfigT = LambdaVpcConfig>
153 template<
typename ArchitecturesT = Aws::Vector<Architecture>>
154 void SetArchitectures(ArchitecturesT&& value) { m_architecturesHasBeenSet =
true; m_architectures = std::forward<ArchitecturesT>(value); }
155 template<
typename ArchitecturesT = Aws::Vector<Architecture>>
168 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
169 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet =
true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
170 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
176 bool m_functionNameHasBeenSet =
false;
179 bool m_runtimeHasBeenSet =
false;
182 bool m_codeSha256HasBeenSet =
false;
185 bool m_versionHasBeenSet =
false;
188 bool m_executionRoleArnHasBeenSet =
false;
191 bool m_layersHasBeenSet =
false;
193 LambdaVpcConfig m_vpcConfig;
194 bool m_vpcConfigHasBeenSet =
false;
197 bool m_packageTypeHasBeenSet =
false;
200 bool m_architecturesHasBeenSet =
false;
203 bool m_lastModifiedAtHasBeenSet =
false;
const Aws::String & GetCodeSha256() const
bool PackageTypeHasBeenSet() const
AWS_INSPECTOR2_API AwsLambdaFunctionDetails()=default
void SetLayers(LayersT &&value)
AwsLambdaFunctionDetails & WithCodeSha256(CodeSha256T &&value)
const LambdaVpcConfig & GetVpcConfig() const
bool LastModifiedAtHasBeenSet() const
void SetLastModifiedAt(LastModifiedAtT &&value)
Runtime GetRuntime() const
PackageType GetPackageType() const
const Aws::String & GetVersion() const
bool RuntimeHasBeenSet() const
AwsLambdaFunctionDetails & WithPackageType(PackageType value)
bool VpcConfigHasBeenSet() const
void SetPackageType(PackageType value)
AwsLambdaFunctionDetails & WithLayers(LayersT &&value)
void SetRuntime(Runtime value)
AwsLambdaFunctionDetails & WithFunctionName(FunctionNameT &&value)
AWS_INSPECTOR2_API AwsLambdaFunctionDetails(Aws::Utils::Json::JsonView jsonValue)
AwsLambdaFunctionDetails & AddLayers(LayersT &&value)
void SetCodeSha256(CodeSha256T &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::Vector< Aws::String > & GetLayers() const
bool LayersHasBeenSet() const
AwsLambdaFunctionDetails & WithExecutionRoleArn(ExecutionRoleArnT &&value)
bool CodeSha256HasBeenSet() const
void SetArchitectures(ArchitecturesT &&value)
AwsLambdaFunctionDetails & WithLastModifiedAt(LastModifiedAtT &&value)
bool ExecutionRoleArnHasBeenSet() const
void SetFunctionName(FunctionNameT &&value)
bool VersionHasBeenSet() const
void SetVpcConfig(VpcConfigT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFunctionName() const
AwsLambdaFunctionDetails & WithVersion(VersionT &&value)
AwsLambdaFunctionDetails & WithVpcConfig(VpcConfigT &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
AwsLambdaFunctionDetails & WithArchitectures(ArchitecturesT &&value)
void SetVersion(VersionT &&value)
AwsLambdaFunctionDetails & WithRuntime(Runtime value)
bool FunctionNameHasBeenSet() const
bool ArchitecturesHasBeenSet() const
const Aws::Vector< Architecture > & GetArchitectures() const
AwsLambdaFunctionDetails & AddArchitectures(Architecture 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