7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename VersionT = Aws::String>
60 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
61 template<
typename VersionT = Aws::String>
71 template<
typename SourceLayerHashT = Aws::String>
72 void SetSourceLayerHash(SourceLayerHashT&& value) { m_sourceLayerHashHasBeenSet =
true; m_sourceLayerHash = std::forward<SourceLayerHashT>(value); }
73 template<
typename SourceLayerHashT = Aws::String>
81 inline int GetEpoch()
const {
return m_epoch; }
83 inline void SetEpoch(
int value) { m_epochHasBeenSet =
true; m_epoch = value; }
93 template<
typename ReleaseT = Aws::String>
94 void SetRelease(ReleaseT&& value) { m_releaseHasBeenSet =
true; m_release = std::forward<ReleaseT>(value); }
95 template<
typename ReleaseT = Aws::String>
105 template<
typename ArchT = Aws::String>
106 void SetArch(ArchT&& value) { m_archHasBeenSet =
true; m_arch = std::forward<ArchT>(value); }
107 template<
typename ArchT = Aws::String>
117 template<
typename PackageManagerT = Aws::String>
118 void SetPackageManager(PackageManagerT&& value) { m_packageManagerHasBeenSet =
true; m_packageManager = std::forward<PackageManagerT>(value); }
119 template<
typename PackageManagerT = Aws::String>
129 template<
typename FilePathT = Aws::String>
130 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet =
true; m_filePath = std::forward<FilePathT>(value); }
131 template<
typename FilePathT = Aws::String>
141 template<
typename FixedInVersionT = Aws::String>
142 void SetFixedInVersion(FixedInVersionT&& value) { m_fixedInVersionHasBeenSet =
true; m_fixedInVersion = std::forward<FixedInVersionT>(value); }
143 template<
typename FixedInVersionT = Aws::String>
154 template<
typename RemediationT = Aws::String>
155 void SetRemediation(RemediationT&& value) { m_remediationHasBeenSet =
true; m_remediation = std::forward<RemediationT>(value); }
156 template<
typename RemediationT = Aws::String>
162 bool m_nameHasBeenSet =
false;
165 bool m_versionHasBeenSet =
false;
168 bool m_sourceLayerHashHasBeenSet =
false;
171 bool m_epochHasBeenSet =
false;
174 bool m_releaseHasBeenSet =
false;
177 bool m_archHasBeenSet =
false;
180 bool m_packageManagerHasBeenSet =
false;
183 bool m_filePathHasBeenSet =
false;
186 bool m_fixedInVersionHasBeenSet =
false;
189 bool m_remediationHasBeenSet =
false;
const Aws::String & GetRemediation() const
bool FixedInVersionHasBeenSet() const
VulnerablePackage & WithFixedInVersion(FixedInVersionT &&value)
void SetRelease(ReleaseT &&value)
VulnerablePackage & WithEpoch(int value)
void SetPackageManager(PackageManagerT &&value)
void SetVersion(VersionT &&value)
bool NameHasBeenSet() const
const Aws::String & GetVersion() const
AWS_IMAGEBUILDER_API VulnerablePackage & operator=(Aws::Utils::Json::JsonView jsonValue)
VulnerablePackage & WithVersion(VersionT &&value)
void SetRemediation(RemediationT &&value)
const Aws::String & GetFixedInVersion() const
bool EpochHasBeenSet() const
VulnerablePackage & WithArch(ArchT &&value)
void SetSourceLayerHash(SourceLayerHashT &&value)
bool PackageManagerHasBeenSet() const
bool FilePathHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetPackageManager() const
const Aws::String & GetFilePath() const
bool RemediationHasBeenSet() const
bool ReleaseHasBeenSet() const
VulnerablePackage & WithSourceLayerHash(SourceLayerHashT &&value)
VulnerablePackage & WithRemediation(RemediationT &&value)
VulnerablePackage & WithName(NameT &&value)
const Aws::String & GetName() const
VulnerablePackage & WithPackageManager(PackageManagerT &&value)
void SetArch(ArchT &&value)
VulnerablePackage & WithRelease(ReleaseT &&value)
const Aws::String & GetArch() const
const Aws::String & GetRelease() const
bool ArchHasBeenSet() const
bool SourceLayerHashHasBeenSet() const
AWS_IMAGEBUILDER_API VulnerablePackage()=default
bool VersionHasBeenSet() const
void SetFilePath(FilePathT &&value)
VulnerablePackage & WithFilePath(FilePathT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFixedInVersion(FixedInVersionT &&value)
AWS_IMAGEBUILDER_API VulnerablePackage(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceLayerHash() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue