7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecr/ECR_EXPORTS.h>
41 template <
typename ArchT = Aws::String>
43 m_archHasBeenSet =
true;
44 m_arch = std::forward<ArchT>(value);
46 template <
typename ArchT = Aws::String>
48 SetArch(std::forward<ArchT>(value));
57 inline int GetEpoch()
const {
return m_epoch; }
60 m_epochHasBeenSet =
true;
75 template <
typename FilePathT = Aws::String>
77 m_filePathHasBeenSet =
true;
78 m_filePath = std::forward<FilePathT>(value);
80 template <
typename FilePathT = Aws::String>
93 template <
typename NameT = Aws::String>
95 m_nameHasBeenSet =
true;
96 m_name = std::forward<NameT>(value);
98 template <
typename NameT = Aws::String>
100 SetName(std::forward<NameT>(value));
111 template <
typename PackageManagerT = Aws::String>
113 m_packageManagerHasBeenSet =
true;
114 m_packageManager = std::forward<PackageManagerT>(value);
116 template <
typename PackageManagerT = Aws::String>
129 template <
typename ReleaseT = Aws::String>
131 m_releaseHasBeenSet =
true;
132 m_release = std::forward<ReleaseT>(value);
134 template <
typename ReleaseT = Aws::String>
147 template <
typename SourceLayerHashT = Aws::String>
149 m_sourceLayerHashHasBeenSet =
true;
150 m_sourceLayerHash = std::forward<SourceLayerHashT>(value);
152 template <
typename SourceLayerHashT = Aws::String>
165 template <
typename VersionT = Aws::String>
167 m_versionHasBeenSet =
true;
168 m_version = std::forward<VersionT>(value);
170 template <
typename VersionT = 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>
212 bool m_archHasBeenSet =
false;
213 bool m_epochHasBeenSet =
false;
214 bool m_filePathHasBeenSet =
false;
215 bool m_nameHasBeenSet =
false;
216 bool m_packageManagerHasBeenSet =
false;
217 bool m_releaseHasBeenSet =
false;
218 bool m_sourceLayerHashHasBeenSet =
false;
219 bool m_versionHasBeenSet =
false;
220 bool m_fixedInVersionHasBeenSet =
false;
void SetName(NameT &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
VulnerablePackage & WithArch(ArchT &&value)
void SetFilePath(FilePathT &&value)
VulnerablePackage & WithFixedInVersion(FixedInVersionT &&value)
bool FilePathHasBeenSet() const
void SetSourceLayerHash(SourceLayerHashT &&value)
AWS_ECR_API VulnerablePackage()=default
const Aws::String & GetName() const
VulnerablePackage & WithRelease(ReleaseT &&value)
void SetArch(ArchT &&value)
VulnerablePackage & WithPackageManager(PackageManagerT &&value)
const Aws::String & GetVersion() const
VulnerablePackage & WithName(NameT &&value)
bool VersionHasBeenSet() const
bool PackageManagerHasBeenSet() const
const Aws::String & GetSourceLayerHash() const
void SetRelease(ReleaseT &&value)
VulnerablePackage & WithEpoch(int value)
bool ReleaseHasBeenSet() const
const Aws::String & GetPackageManager() const
bool FixedInVersionHasBeenSet() const
void SetPackageManager(PackageManagerT &&value)
AWS_ECR_API VulnerablePackage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(VersionT &&value)
const Aws::String & GetFilePath() const
bool ArchHasBeenSet() const
const Aws::String & GetRelease() const
VulnerablePackage & WithFilePath(FilePathT &&value)
VulnerablePackage & WithSourceLayerHash(SourceLayerHashT &&value)
bool SourceLayerHashHasBeenSet() const
const Aws::String & GetArch() const
const Aws::String & GetFixedInVersion() const
VulnerablePackage & WithVersion(VersionT &&value)
void SetFixedInVersion(FixedInVersionT &&value)
bool EpochHasBeenSet() const
bool NameHasBeenSet() const
AWS_ECR_API VulnerablePackage(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue