7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
77 inline void SetSourceLayerHash(
const char* value) { m_sourceLayerHashHasBeenSet =
true; m_sourceLayerHash.assign(value); }
89 inline void SetEpoch(
int value) { m_epochHasBeenSet =
true; m_epoch = value; }
101 inline void SetRelease(
const char* value) { m_releaseHasBeenSet =
true; m_release.assign(value); }
115 inline void SetArch(
const char* value) { m_archHasBeenSet =
true; m_arch.assign(value); }
129 inline void SetPackageManager(
const char* value) { m_packageManagerHasBeenSet =
true; m_packageManager.assign(value); }
143 inline void SetFilePath(
const char* value) { m_filePathHasBeenSet =
true; m_filePath.assign(value); }
157 inline void SetFixedInVersion(
const char* value) { m_fixedInVersionHasBeenSet =
true; m_fixedInVersion.assign(value); }
172 inline void SetRemediation(
const char* value) { m_remediationHasBeenSet =
true; m_remediation.assign(value); }
180 bool m_nameHasBeenSet =
false;
183 bool m_versionHasBeenSet =
false;
186 bool m_sourceLayerHashHasBeenSet =
false;
189 bool m_epochHasBeenSet =
false;
192 bool m_releaseHasBeenSet =
false;
195 bool m_archHasBeenSet =
false;
198 bool m_packageManagerHasBeenSet =
false;
201 bool m_filePathHasBeenSet =
false;
204 bool m_fixedInVersionHasBeenSet =
false;
207 bool m_remediationHasBeenSet =
false;
const Aws::String & GetRemediation() const
void SetFilePath(const Aws::String &value)
void SetRelease(const Aws::String &value)
bool FixedInVersionHasBeenSet() const
void SetVersion(const char *value)
void SetRemediation(const Aws::String &value)
void SetPackageManager(const Aws::String &value)
VulnerablePackage & WithVersion(Aws::String &&value)
VulnerablePackage & WithEpoch(int value)
VulnerablePackage & WithArch(const char *value)
VulnerablePackage & WithArch(Aws::String &&value)
bool NameHasBeenSet() const
const Aws::String & GetVersion() const
void SetFilePath(Aws::String &&value)
VulnerablePackage & WithFixedInVersion(const Aws::String &value)
AWS_IMAGEBUILDER_API VulnerablePackage & operator=(Aws::Utils::Json::JsonView jsonValue)
VulnerablePackage & WithRelease(const Aws::String &value)
VulnerablePackage & WithFilePath(const Aws::String &value)
VulnerablePackage & WithFixedInVersion(const char *value)
const Aws::String & GetFixedInVersion() const
VulnerablePackage & WithRemediation(const Aws::String &value)
VulnerablePackage & WithRelease(const char *value)
VulnerablePackage & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
VulnerablePackage & WithName(Aws::String &&value)
void SetRemediation(const char *value)
bool EpochHasBeenSet() const
void SetFixedInVersion(Aws::String &&value)
VulnerablePackage & WithPackageManager(const char *value)
VulnerablePackage & WithVersion(const Aws::String &value)
void SetRelease(const char *value)
bool PackageManagerHasBeenSet() const
bool FilePathHasBeenSet() const
VulnerablePackage & WithName(const char *value)
void SetArch(const char *value)
VulnerablePackage & WithRelease(Aws::String &&value)
const Aws::String & GetPackageManager() const
VulnerablePackage & WithRemediation(Aws::String &&value)
const Aws::String & GetFilePath() const
VulnerablePackage & WithFixedInVersion(Aws::String &&value)
bool RemediationHasBeenSet() const
bool ReleaseHasBeenSet() const
void SetRemediation(Aws::String &&value)
void SetFixedInVersion(const Aws::String &value)
VulnerablePackage & WithFilePath(Aws::String &&value)
void SetSourceLayerHash(const char *value)
const Aws::String & GetName() const
void SetVersion(Aws::String &&value)
void SetSourceLayerHash(Aws::String &&value)
void SetRelease(Aws::String &&value)
void SetArch(const Aws::String &value)
const Aws::String & GetArch() const
void SetFilePath(const char *value)
VulnerablePackage & WithFilePath(const char *value)
VulnerablePackage & WithVersion(const char *value)
void SetArch(Aws::String &&value)
VulnerablePackage & WithPackageManager(const Aws::String &value)
VulnerablePackage & WithSourceLayerHash(const char *value)
const Aws::String & GetRelease() const
bool ArchHasBeenSet() const
void SetName(const char *value)
VulnerablePackage & WithArch(const Aws::String &value)
bool SourceLayerHashHasBeenSet() const
VulnerablePackage & WithRemediation(const char *value)
void SetPackageManager(Aws::String &&value)
bool VersionHasBeenSet() const
void SetPackageManager(const char *value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
void SetFixedInVersion(const char *value)
void SetVersion(const Aws::String &value)
VulnerablePackage & WithSourceLayerHash(Aws::String &&value)
VulnerablePackage & WithPackageManager(Aws::String &&value)
AWS_IMAGEBUILDER_API VulnerablePackage(Aws::Utils::Json::JsonView jsonValue)
VulnerablePackage & WithSourceLayerHash(const Aws::String &value)
const Aws::String & GetSourceLayerHash() const
void SetSourceLayerHash(const Aws::String &value)
AWS_IMAGEBUILDER_API VulnerablePackage()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue