7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/inspector2/Inspector2_EXPORTS.h>
11#include <aws/inspector2/model/Architecture.h>
12#include <aws/inspector2/model/LambdaVpcConfig.h>
13#include <aws/inspector2/model/PackageType.h>
14#include <aws/inspector2/model/Runtime.h>
47 template <
typename FunctionNameT = Aws::String>
49 m_functionNameHasBeenSet =
true;
50 m_functionName = std::forward<FunctionNameT>(value);
52 template <
typename FunctionNameT = Aws::String>
66 m_runtimeHasBeenSet =
true;
82 template <
typename CodeSha256T = Aws::String>
84 m_codeSha256HasBeenSet =
true;
85 m_codeSha256 = std::forward<CodeSha256T>(value);
87 template <
typename CodeSha256T = Aws::String>
100 template <
typename VersionT = Aws::String>
102 m_versionHasBeenSet =
true;
103 m_version = std::forward<VersionT>(value);
105 template <
typename VersionT = Aws::String>
118 template <
typename ExecutionRoleArnT = Aws::String>
120 m_executionRoleArnHasBeenSet =
true;
121 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
123 template <
typename ExecutionRoleArnT = Aws::String>
138 template <
typename LayersT = Aws::Vector<Aws::String>>
140 m_layersHasBeenSet =
true;
141 m_layers = std::forward<LayersT>(value);
143 template <
typename LayersT = Aws::Vector<Aws::String>>
148 template <
typename LayersT = Aws::String>
150 m_layersHasBeenSet =
true;
151 m_layers.emplace_back(std::forward<LayersT>(value));
162 template <
typename VpcConfigT = LambdaVpcConfig>
164 m_vpcConfigHasBeenSet =
true;
165 m_vpcConfig = std::forward<VpcConfigT>(value);
167 template <
typename VpcConfigT = LambdaVpcConfig>
182 m_packageTypeHasBeenSet =
true;
183 m_packageType = value;
199 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
201 m_architecturesHasBeenSet =
true;
202 m_architectures = std::forward<ArchitecturesT>(value);
204 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
210 m_architecturesHasBeenSet =
true;
211 m_architectures.push_back(value);
224 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
226 m_lastModifiedAtHasBeenSet =
true;
227 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
229 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
248 LambdaVpcConfig m_vpcConfig;
255 bool m_functionNameHasBeenSet =
false;
256 bool m_runtimeHasBeenSet =
false;
257 bool m_codeSha256HasBeenSet =
false;
258 bool m_versionHasBeenSet =
false;
259 bool m_executionRoleArnHasBeenSet =
false;
260 bool m_layersHasBeenSet =
false;
261 bool m_vpcConfigHasBeenSet =
false;
262 bool m_packageTypeHasBeenSet =
false;
263 bool m_architecturesHasBeenSet =
false;
264 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