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>
55 template<
typename ArchitecturesT = Aws::Vector<Architecture>>
56 void SetArchitectures(ArchitecturesT&& value) { m_architecturesHasBeenSet =
true; m_architectures = std::forward<ArchitecturesT>(value); }
57 template<
typename ArchitecturesT = Aws::Vector<Architecture>>
69 template<
typename CodeSha256T = Aws::String>
70 void SetCodeSha256(CodeSha256T&& value) { m_codeSha256HasBeenSet =
true; m_codeSha256 = std::forward<CodeSha256T>(value); }
71 template<
typename CodeSha256T = Aws::String>
81 template<
typename ExecutionRoleArnT = Aws::String>
82 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
83 template<
typename ExecutionRoleArnT = Aws::String>
93 template<
typename FunctionNameT = Aws::String>
94 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
95 template<
typename FunctionNameT = Aws::String>
107 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
108 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet =
true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
109 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
121 template<
typename LayersT = Aws::Vector<Aws::String>>
122 void SetLayers(LayersT&& value) { m_layersHasBeenSet =
true; m_layers = std::forward<LayersT>(value); }
123 template<
typename LayersT = Aws::Vector<Aws::String>>
125 template<
typename LayersT = Aws::String>
156 template<
typename VersionT = Aws::String>
157 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
158 template<
typename VersionT = Aws::String>
168 template<
typename VpcConfigT = LambdaVpcConfig>
169 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
170 template<
typename VpcConfigT = LambdaVpcConfig>
176 bool m_architecturesHasBeenSet =
false;
179 bool m_codeSha256HasBeenSet =
false;
182 bool m_executionRoleArnHasBeenSet =
false;
185 bool m_functionNameHasBeenSet =
false;
188 bool m_lastModifiedAtHasBeenSet =
false;
191 bool m_layersHasBeenSet =
false;
194 bool m_packageTypeHasBeenSet =
false;
197 bool m_runtimeHasBeenSet =
false;
200 bool m_versionHasBeenSet =
false;
202 LambdaVpcConfig m_vpcConfig;
203 bool m_vpcConfigHasBeenSet =
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