/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SecurityHub.Model
{
///
/// Information about a software package.
///
public partial class SoftwarePackage
{
private string _architecture;
private string _epoch;
private string _filePath;
private string _fixedInVersion;
private string _name;
private string _packageManager;
private string _release;
private string _remediation;
private string _sourceLayerArn;
private string _sourceLayerHash;
private string _version;
///
/// Gets and sets the property Architecture.
///
/// The architecture used for the software package.
///
///
public string Architecture
{
get { return this._architecture; }
set { this._architecture = value; }
}
// Check to see if Architecture property is set
internal bool IsSetArchitecture()
{
return this._architecture != null;
}
///
/// Gets and sets the property Epoch.
///
/// The epoch of the software package.
///
///
public string Epoch
{
get { return this._epoch; }
set { this._epoch = value; }
}
// Check to see if Epoch property is set
internal bool IsSetEpoch()
{
return this._epoch != null;
}
///
/// Gets and sets the property FilePath.
///
/// The file system path to the package manager inventory file.
///
///
public string FilePath
{
get { return this._filePath; }
set { this._filePath = value; }
}
// Check to see if FilePath property is set
internal bool IsSetFilePath()
{
return this._filePath != null;
}
///
/// Gets and sets the property FixedInVersion.
///
/// The version of the software package in which the vulnerability has been resolved.
///
///
///
public string FixedInVersion
{
get { return this._fixedInVersion; }
set { this._fixedInVersion = value; }
}
// Check to see if FixedInVersion property is set
internal bool IsSetFixedInVersion()
{
return this._fixedInVersion != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the software package.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property PackageManager.
///
/// The source of the package.
///
///
public string PackageManager
{
get { return this._packageManager; }
set { this._packageManager = value; }
}
// Check to see if PackageManager property is set
internal bool IsSetPackageManager()
{
return this._packageManager != null;
}
///
/// Gets and sets the property Release.
///
/// The release of the software package.
///
///
public string Release
{
get { return this._release; }
set { this._release = value; }
}
// Check to see if Release property is set
internal bool IsSetRelease()
{
return this._release != null;
}
///
/// Gets and sets the property Remediation.
///
/// Describes the actions a customer can take to resolve the vulnerability in the software
/// package.
///
///
public string Remediation
{
get { return this._remediation; }
set { this._remediation = value; }
}
// Check to see if Remediation property is set
internal bool IsSetRemediation()
{
return this._remediation != null;
}
///
/// Gets and sets the property SourceLayerArn.
///
/// The Amazon Resource Name (ARN) of the source layer.
///
///
public string SourceLayerArn
{
get { return this._sourceLayerArn; }
set { this._sourceLayerArn = value; }
}
// Check to see if SourceLayerArn property is set
internal bool IsSetSourceLayerArn()
{
return this._sourceLayerArn != null;
}
///
/// Gets and sets the property SourceLayerHash.
///
/// The source layer hash of the vulnerable package.
///
///
public string SourceLayerHash
{
get { return this._sourceLayerHash; }
set { this._sourceLayerHash = value; }
}
// Check to see if SourceLayerHash property is set
internal bool IsSetSourceLayerHash()
{
return this._sourceLayerHash != null;
}
///
/// Gets and sets the property Version.
///
/// The version of the software package.
///
///
public string Version
{
get { return this._version; }
set { this._version = value; }
}
// Check to see if Version property is set
internal bool IsSetVersion()
{
return this._version != null;
}
}
}