7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/PackageManager.h>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename VersionT = Aws::String>
62 m_versionHasBeenSet =
true;
63 m_version = std::forward<VersionT>(value);
65 template <
typename VersionT = Aws::String>
78 template <
typename SourceLayerHashT = Aws::String>
80 m_sourceLayerHashHasBeenSet =
true;
81 m_sourceLayerHash = std::forward<SourceLayerHashT>(value);
83 template <
typename SourceLayerHashT = Aws::String>
94 inline int GetEpoch()
const {
return m_epoch; }
97 m_epochHasBeenSet =
true;
112 template <
typename ReleaseT = Aws::String>
114 m_releaseHasBeenSet =
true;
115 m_release = std::forward<ReleaseT>(value);
117 template <
typename ReleaseT = Aws::String>
130 template <
typename ArchT = Aws::String>
132 m_archHasBeenSet =
true;
133 m_arch = std::forward<ArchT>(value);
135 template <
typename ArchT = Aws::String>
137 SetArch(std::forward<ArchT>(value));
149 m_packageManagerHasBeenSet =
true;
150 m_packageManager = value;
164 template <
typename FilePathT = Aws::String>
166 m_filePathHasBeenSet =
true;
167 m_filePath = std::forward<FilePathT>(value);
169 template <
typename FilePathT = Aws::String>
182 template <
typename FixedInVersionT = Aws::String>
184 m_fixedInVersionHasBeenSet =
true;
185 m_fixedInVersion = std::forward<FixedInVersionT>(value);
187 template <
typename FixedInVersionT = Aws::String>
201 template <
typename RemediationT = Aws::String>
203 m_remediationHasBeenSet =
true;
204 m_remediation = std::forward<RemediationT>(value);
206 template <
typename RemediationT = Aws::String>
220 template <
typename SourceLambdaLayerArnT = Aws::String>
222 m_sourceLambdaLayerArnHasBeenSet =
true;
223 m_sourceLambdaLayerArn = std::forward<SourceLambdaLayerArnT>(value);
225 template <
typename SourceLambdaLayerArnT = Aws::String>
253 bool m_nameHasBeenSet =
false;
254 bool m_versionHasBeenSet =
false;
255 bool m_sourceLayerHashHasBeenSet =
false;
256 bool m_epochHasBeenSet =
false;
257 bool m_releaseHasBeenSet =
false;
258 bool m_archHasBeenSet =
false;
259 bool m_packageManagerHasBeenSet =
false;
260 bool m_filePathHasBeenSet =
false;
261 bool m_fixedInVersionHasBeenSet =
false;
262 bool m_remediationHasBeenSet =
false;
263 bool m_sourceLambdaLayerArnHasBeenSet =
false;
const Aws::String & GetSourceLayerHash() const
const Aws::String & GetFilePath() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool PackageManagerHasBeenSet() const
void SetArch(ArchT &&value)
PackageManager GetPackageManager() const
VulnerablePackage & WithSourceLambdaLayerArn(SourceLambdaLayerArnT &&value)
void SetRelease(ReleaseT &&value)
VulnerablePackage & WithSourceLayerHash(SourceLayerHashT &&value)
bool NameHasBeenSet() const
AWS_INSPECTOR2_API VulnerablePackage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RemediationHasBeenSet() const
bool FilePathHasBeenSet() const
const Aws::String & GetVersion() const
VulnerablePackage & WithArch(ArchT &&value)
const Aws::String & GetName() const
VulnerablePackage & WithRelease(ReleaseT &&value)
void SetFixedInVersion(FixedInVersionT &&value)
bool EpochHasBeenSet() const
const Aws::String & GetSourceLambdaLayerArn() const
const Aws::String & GetFixedInVersion() const
bool VersionHasBeenSet() const
void SetFilePath(FilePathT &&value)
bool ArchHasBeenSet() const
bool FixedInVersionHasBeenSet() const
AWS_INSPECTOR2_API VulnerablePackage()=default
VulnerablePackage & WithFixedInVersion(FixedInVersionT &&value)
void SetName(NameT &&value)
VulnerablePackage & WithVersion(VersionT &&value)
VulnerablePackage & WithEpoch(int value)
bool SourceLambdaLayerArnHasBeenSet() const
const Aws::String & GetArch() const
AWS_INSPECTOR2_API VulnerablePackage(Aws::Utils::Json::JsonView jsonValue)
void SetRemediation(RemediationT &&value)
bool SourceLayerHashHasBeenSet() const
void SetVersion(VersionT &&value)
const Aws::String & GetRelease() const
const Aws::String & GetRemediation() const
VulnerablePackage & WithPackageManager(PackageManager value)
void SetSourceLayerHash(SourceLayerHashT &&value)
VulnerablePackage & WithRemediation(RemediationT &&value)
VulnerablePackage & WithName(NameT &&value)
void SetPackageManager(PackageManager value)
VulnerablePackage & WithFilePath(FilePathT &&value)
bool ReleaseHasBeenSet() const
void SetSourceLambdaLayerArn(SourceLambdaLayerArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue