/*
* 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 guardduty-2017-11-28.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.GuardDuty.Model
{
///
/// Information about the observed process.
///
public partial class ProcessDetails
{
private int? _euid;
private string _executablePath;
private string _executableSha256;
private List _lineage = new List();
private string _name;
private int? _namespacePid;
private string _parentUuid;
private int? _pid;
private string _pwd;
private DateTime? _startTime;
private string _user;
private int? _userId;
private string _uuid;
///
/// Gets and sets the property Euid.
///
/// The effective user ID of the user that executed the process.
///
///
public int Euid
{
get { return this._euid.GetValueOrDefault(); }
set { this._euid = value; }
}
// Check to see if Euid property is set
internal bool IsSetEuid()
{
return this._euid.HasValue;
}
///
/// Gets and sets the property ExecutablePath.
///
/// The absolute path of the process executable file.
///
///
public string ExecutablePath
{
get { return this._executablePath; }
set { this._executablePath = value; }
}
// Check to see if ExecutablePath property is set
internal bool IsSetExecutablePath()
{
return this._executablePath != null;
}
///
/// Gets and sets the property ExecutableSha256.
///
/// The SHA256
hash of the process executable.
///
///
public string ExecutableSha256
{
get { return this._executableSha256; }
set { this._executableSha256 = value; }
}
// Check to see if ExecutableSha256 property is set
internal bool IsSetExecutableSha256()
{
return this._executableSha256 != null;
}
///
/// Gets and sets the property Lineage.
///
/// Information about the process's lineage.
///
///
public List Lineage
{
get { return this._lineage; }
set { this._lineage = value; }
}
// Check to see if Lineage property is set
internal bool IsSetLineage()
{
return this._lineage != null && this._lineage.Count > 0;
}
///
/// Gets and sets the property Name.
///
/// The name of the process.
///
///
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 NamespacePid.
///
/// The ID of the child process.
///
///
public int NamespacePid
{
get { return this._namespacePid.GetValueOrDefault(); }
set { this._namespacePid = value; }
}
// Check to see if NamespacePid property is set
internal bool IsSetNamespacePid()
{
return this._namespacePid.HasValue;
}
///
/// Gets and sets the property ParentUuid.
///
/// The unique ID of the parent process. This ID is assigned to the parent process by
/// GuardDuty.
///
///
public string ParentUuid
{
get { return this._parentUuid; }
set { this._parentUuid = value; }
}
// Check to see if ParentUuid property is set
internal bool IsSetParentUuid()
{
return this._parentUuid != null;
}
///
/// Gets and sets the property Pid.
///
/// The ID of the process.
///
///
public int Pid
{
get { return this._pid.GetValueOrDefault(); }
set { this._pid = value; }
}
// Check to see if Pid property is set
internal bool IsSetPid()
{
return this._pid.HasValue;
}
///
/// Gets and sets the property Pwd.
///
/// The present working directory of the process.
///
///
public string Pwd
{
get { return this._pwd; }
set { this._pwd = value; }
}
// Check to see if Pwd property is set
internal bool IsSetPwd()
{
return this._pwd != null;
}
///
/// Gets and sets the property StartTime.
///
/// The time when the process started. This is in UTC format.
///
///
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
///
/// Gets and sets the property User.
///
/// The user that executed the process.
///
///
public string User
{
get { return this._user; }
set { this._user = value; }
}
// Check to see if User property is set
internal bool IsSetUser()
{
return this._user != null;
}
///
/// Gets and sets the property UserId.
///
/// The unique ID of the user that executed the process.
///
///
public int UserId
{
get { return this._userId.GetValueOrDefault(); }
set { this._userId = value; }
}
// Check to see if UserId property is set
internal bool IsSetUserId()
{
return this._userId.HasValue;
}
///
/// Gets and sets the property Uuid.
///
/// The unique ID assigned to the process by GuardDuty.
///
///
public string Uuid
{
get { return this._uuid; }
set { this._uuid = value; }
}
// Check to see if Uuid property is set
internal bool IsSetUuid()
{
return this._uuid != null;
}
}
}