/*
* 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
{
///
/// The details of process-related information about a finding.
///
public partial class ProcessDetails
{
private string _launchedAt;
private string _name;
private int? _parentPid;
private string _path;
private int? _pid;
private string _terminatedAt;
///
/// Gets and sets the property LaunchedAt.
///
/// Indicates when the process was launched.
///
///
///
/// Uses the date-time
format specified in RFC
/// 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces,
/// and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
///
///
public string LaunchedAt
{
get { return this._launchedAt; }
set { this._launchedAt = value; }
}
// Check to see if LaunchedAt property is set
internal bool IsSetLaunchedAt()
{
return this._launchedAt != null;
}
///
/// 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 ParentPid.
///
/// The parent process ID. This field accepts positive integers between O
/// and 2147483647
.
///
///
public int ParentPid
{
get { return this._parentPid.GetValueOrDefault(); }
set { this._parentPid = value; }
}
// Check to see if ParentPid property is set
internal bool IsSetParentPid()
{
return this._parentPid.HasValue;
}
///
/// Gets and sets the property Path.
///
/// The path to the process executable.
///
///
public string Path
{
get { return this._path; }
set { this._path = value; }
}
// Check to see if Path property is set
internal bool IsSetPath()
{
return this._path != null;
}
///
/// Gets and sets the property Pid.
///
/// The process ID.
///
///
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 TerminatedAt.
///
/// Indicates when the process was terminated.
///
///
///
/// Uses the date-time
format specified in RFC
/// 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces,
/// and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
///
///
public string TerminatedAt
{
get { return this._terminatedAt; }
set { this._terminatedAt = value; }
}
// Check to see if TerminatedAt property is set
internal bool IsSetTerminatedAt()
{
return this._terminatedAt != null;
}
}
}