7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/PackageManager.h>
48 template<
typename ArchT = Aws::String>
49 void SetArch(ArchT&& value) { m_archHasBeenSet =
true; m_arch = std::forward<ArchT>(value); }
50 template<
typename ArchT = Aws::String>
58 inline int GetEpoch()
const {
return m_epoch; }
60 inline void SetEpoch(
int value) { m_epochHasBeenSet =
true; m_epoch = value; }
70 template<
typename FilePathT = Aws::String>
71 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet =
true; m_filePath = std::forward<FilePathT>(value); }
72 template<
typename FilePathT = Aws::String>
82 template<
typename FixedInVersionT = Aws::String>
83 void SetFixedInVersion(FixedInVersionT&& value) { m_fixedInVersionHasBeenSet =
true; m_fixedInVersion = std::forward<FixedInVersionT>(value); }
84 template<
typename FixedInVersionT = Aws::String>
94 template<
typename NameT = Aws::String>
95 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
96 template<
typename NameT = Aws::String>
116 template<
typename ReleaseT = Aws::String>
117 void SetRelease(ReleaseT&& value) { m_releaseHasBeenSet =
true; m_release = std::forward<ReleaseT>(value); }
118 template<
typename ReleaseT = Aws::String>
129 template<
typename RemediationT = Aws::String>
130 void SetRemediation(RemediationT&& value) { m_remediationHasBeenSet =
true; m_remediation = std::forward<RemediationT>(value); }
131 template<
typename RemediationT = Aws::String>
142 template<
typename SourceLambdaLayerArnT = Aws::String>
143 void SetSourceLambdaLayerArn(SourceLambdaLayerArnT&& value) { m_sourceLambdaLayerArnHasBeenSet =
true; m_sourceLambdaLayerArn = std::forward<SourceLambdaLayerArnT>(value); }
144 template<
typename SourceLambdaLayerArnT = Aws::String>
154 template<
typename SourceLayerHashT = Aws::String>
155 void SetSourceLayerHash(SourceLayerHashT&& value) { m_sourceLayerHashHasBeenSet =
true; m_sourceLayerHash = std::forward<SourceLayerHashT>(value); }
156 template<
typename SourceLayerHashT = Aws::String>
166 template<
typename VersionT = Aws::String>
167 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
168 template<
typename VersionT = Aws::String>
174 bool m_archHasBeenSet =
false;
177 bool m_epochHasBeenSet =
false;
180 bool m_filePathHasBeenSet =
false;
183 bool m_fixedInVersionHasBeenSet =
false;
186 bool m_nameHasBeenSet =
false;
189 bool m_packageManagerHasBeenSet =
false;
192 bool m_releaseHasBeenSet =
false;
195 bool m_remediationHasBeenSet =
false;
198 bool m_sourceLambdaLayerArnHasBeenSet =
false;
201 bool m_sourceLayerHashHasBeenSet =
false;
204 bool m_versionHasBeenSet =
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