7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
19namespace imagebuilder {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename VersionT = Aws::String>
61 m_versionHasBeenSet =
true;
62 m_version = std::forward<VersionT>(value);
64 template <
typename VersionT = Aws::String>
77 template <
typename SourceLayerHashT = Aws::String>
79 m_sourceLayerHashHasBeenSet =
true;
80 m_sourceLayerHash = std::forward<SourceLayerHashT>(value);
82 template <
typename SourceLayerHashT = Aws::String>
93 inline int GetEpoch()
const {
return m_epoch; }
96 m_epochHasBeenSet =
true;
111 template <
typename ReleaseT = Aws::String>
113 m_releaseHasBeenSet =
true;
114 m_release = std::forward<ReleaseT>(value);
116 template <
typename ReleaseT = Aws::String>
129 template <
typename ArchT = Aws::String>
131 m_archHasBeenSet =
true;
132 m_arch = std::forward<ArchT>(value);
134 template <
typename ArchT = Aws::String>
136 SetArch(std::forward<ArchT>(value));
147 template <
typename PackageManagerT = Aws::String>
149 m_packageManagerHasBeenSet =
true;
150 m_packageManager = std::forward<PackageManagerT>(value);
152 template <
typename PackageManagerT = Aws::String>
165 template <
typename FilePathT = Aws::String>
167 m_filePathHasBeenSet =
true;
168 m_filePath = std::forward<FilePathT>(value);
170 template <
typename FilePathT = Aws::String>
183 template <
typename FixedInVersionT = Aws::String>
185 m_fixedInVersionHasBeenSet =
true;
186 m_fixedInVersion = std::forward<FixedInVersionT>(value);
188 template <
typename FixedInVersionT = Aws::String>
202 template <
typename RemediationT = Aws::String>
204 m_remediationHasBeenSet =
true;
205 m_remediation = std::forward<RemediationT>(value);
207 template <
typename RemediationT = Aws::String>
233 bool m_nameHasBeenSet =
false;
234 bool m_versionHasBeenSet =
false;
235 bool m_sourceLayerHashHasBeenSet =
false;
236 bool m_epochHasBeenSet =
false;
237 bool m_releaseHasBeenSet =
false;
238 bool m_archHasBeenSet =
false;
239 bool m_packageManagerHasBeenSet =
false;
240 bool m_filePathHasBeenSet =
false;
241 bool m_fixedInVersionHasBeenSet =
false;
242 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