7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/PackageManager.h>
50 inline void SetArch(
const char* value) { m_archHasBeenSet =
true; m_arch.assign(value); }
62 inline void SetEpoch(
int value) { m_epochHasBeenSet =
true; m_epoch = value; }
74 inline void SetFilePath(
const char* value) { m_filePathHasBeenSet =
true; m_filePath.assign(value); }
88 inline void SetFixedInVersion(
const char* value) { m_fixedInVersionHasBeenSet =
true; m_fixedInVersion.assign(value); }
102 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
128 inline void SetRelease(
const char* value) { m_releaseHasBeenSet =
true; m_release.assign(value); }
143 inline void SetRemediation(
const char* value) { m_remediationHasBeenSet =
true; m_remediation.assign(value); }
158 inline void SetSourceLambdaLayerArn(
const char* value) { m_sourceLambdaLayerArnHasBeenSet =
true; m_sourceLambdaLayerArn.assign(value); }
172 inline void SetSourceLayerHash(
const char* value) { m_sourceLayerHashHasBeenSet =
true; m_sourceLayerHash.assign(value); }
186 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
194 bool m_archHasBeenSet =
false;
197 bool m_epochHasBeenSet =
false;
200 bool m_filePathHasBeenSet =
false;
203 bool m_fixedInVersionHasBeenSet =
false;
206 bool m_nameHasBeenSet =
false;
209 bool m_packageManagerHasBeenSet =
false;
212 bool m_releaseHasBeenSet =
false;
215 bool m_remediationHasBeenSet =
false;
218 bool m_sourceLambdaLayerArnHasBeenSet =
false;
221 bool m_sourceLayerHashHasBeenSet =
false;
224 bool m_versionHasBeenSet =
false;
VulnerablePackage & WithRelease(Aws::String &&value)
void SetSourceLayerHash(Aws::String &&value)
const Aws::String & GetSourceLayerHash() const
void SetSourceLayerHash(const Aws::String &value)
const Aws::String & GetFilePath() const
void SetArch(Aws::String &&value)
VulnerablePackage & WithName(const Aws::String &value)
VulnerablePackage & WithSourceLambdaLayerArn(Aws::String &&value)
void SetName(Aws::String &&value)
void SetSourceLambdaLayerArn(const char *value)
VulnerablePackage & WithName(Aws::String &&value)
void SetArch(const Aws::String &value)
VulnerablePackage & WithFixedInVersion(const char *value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRelease(const Aws::String &value)
bool PackageManagerHasBeenSet() const
void SetVersion(Aws::String &&value)
VulnerablePackage & WithRelease(const char *value)
void SetSourceLambdaLayerArn(const Aws::String &value)
VulnerablePackage & WithRemediation(Aws::String &&value)
VulnerablePackage & WithRemediation(const char *value)
VulnerablePackage & WithFilePath(const Aws::String &value)
bool NameHasBeenSet() const
AWS_INSPECTOR2_API VulnerablePackage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFixedInVersion(Aws::String &&value)
bool RemediationHasBeenSet() const
VulnerablePackage & WithFilePath(const char *value)
bool FilePathHasBeenSet() const
const Aws::String & GetVersion() const
const Aws::String & GetName() const
bool EpochHasBeenSet() const
const Aws::String & GetSourceLambdaLayerArn() const
const Aws::String & GetFixedInVersion() const
bool VersionHasBeenSet() const
bool ArchHasBeenSet() const
bool FixedInVersionHasBeenSet() const
void SetRemediation(const char *value)
VulnerablePackage & WithPackageManager(PackageManager &&value)
void SetRelease(Aws::String &&value)
void SetRelease(const char *value)
VulnerablePackage & WithFilePath(Aws::String &&value)
void SetRemediation(const Aws::String &value)
AWS_INSPECTOR2_API VulnerablePackage()
VulnerablePackage & WithEpoch(int value)
VulnerablePackage & WithRelease(const Aws::String &value)
VulnerablePackage & WithRemediation(const Aws::String &value)
VulnerablePackage & WithVersion(const Aws::String &value)
bool SourceLambdaLayerArnHasBeenSet() const
const Aws::String & GetArch() const
void SetFilePath(const char *value)
void SetSourceLambdaLayerArn(Aws::String &&value)
void SetPackageManager(const PackageManager &value)
void SetFilePath(const Aws::String &value)
AWS_INSPECTOR2_API VulnerablePackage(Aws::Utils::Json::JsonView jsonValue)
VulnerablePackage & WithSourceLayerHash(const char *value)
VulnerablePackage & WithName(const char *value)
bool SourceLayerHashHasBeenSet() const
VulnerablePackage & WithArch(Aws::String &&value)
const Aws::String & GetRelease() const
const Aws::String & GetRemediation() const
void SetRemediation(Aws::String &&value)
void SetSourceLayerHash(const char *value)
void SetFilePath(Aws::String &&value)
VulnerablePackage & WithPackageManager(const PackageManager &value)
VulnerablePackage & WithVersion(Aws::String &&value)
VulnerablePackage & WithSourceLayerHash(const Aws::String &value)
void SetName(const Aws::String &value)
void SetVersion(const Aws::String &value)
VulnerablePackage & WithArch(const Aws::String &value)
void SetPackageManager(PackageManager &&value)
VulnerablePackage & WithFixedInVersion(Aws::String &&value)
void SetName(const char *value)
void SetFixedInVersion(const char *value)
VulnerablePackage & WithSourceLambdaLayerArn(const char *value)
VulnerablePackage & WithFixedInVersion(const Aws::String &value)
VulnerablePackage & WithArch(const char *value)
void SetFixedInVersion(const Aws::String &value)
const PackageManager & GetPackageManager() const
VulnerablePackage & WithSourceLayerHash(Aws::String &&value)
void SetVersion(const char *value)
VulnerablePackage & WithSourceLambdaLayerArn(const Aws::String &value)
bool ReleaseHasBeenSet() const
VulnerablePackage & WithVersion(const char *value)
void SetArch(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue