7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename ArchT = Aws::String>
48 void SetArch(ArchT&& value) { m_archHasBeenSet =
true; m_arch = std::forward<ArchT>(value); }
49 template<
typename ArchT = Aws::String>
57 inline int GetEpoch()
const {
return m_epoch; }
59 inline void SetEpoch(
int value) { m_epochHasBeenSet =
true; m_epoch = value; }
69 template<
typename FilePathT = Aws::String>
70 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet =
true; m_filePath = std::forward<FilePathT>(value); }
71 template<
typename FilePathT = Aws::String>
81 template<
typename NameT = Aws::String>
82 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
83 template<
typename NameT = Aws::String>
93 template<
typename PackageManagerT = Aws::String>
94 void SetPackageManager(PackageManagerT&& value) { m_packageManagerHasBeenSet =
true; m_packageManager = std::forward<PackageManagerT>(value); }
95 template<
typename PackageManagerT = Aws::String>
105 template<
typename ReleaseT = Aws::String>
106 void SetRelease(ReleaseT&& value) { m_releaseHasBeenSet =
true; m_release = std::forward<ReleaseT>(value); }
107 template<
typename ReleaseT = Aws::String>
117 template<
typename SourceLayerHashT = Aws::String>
118 void SetSourceLayerHash(SourceLayerHashT&& value) { m_sourceLayerHashHasBeenSet =
true; m_sourceLayerHash = std::forward<SourceLayerHashT>(value); }
119 template<
typename SourceLayerHashT = Aws::String>
129 template<
typename VersionT = Aws::String>
130 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
131 template<
typename VersionT = 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>
149 bool m_archHasBeenSet =
false;
152 bool m_epochHasBeenSet =
false;
155 bool m_filePathHasBeenSet =
false;
158 bool m_nameHasBeenSet =
false;
161 bool m_packageManagerHasBeenSet =
false;
164 bool m_releaseHasBeenSet =
false;
167 bool m_sourceLayerHashHasBeenSet =
false;
170 bool m_versionHasBeenSet =
false;
173 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