/* * 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 Lambda function involved in the finding. /// public partial class LambdaDetails { private string _description; private string _functionArn; private string _functionName; private string _functionVersion; private DateTime? _lastModifiedAt; private string _revisionId; private string _role; private List _tags = new List(); private VpcConfig _vpcConfig; /// /// Gets and sets the property Description. /// /// Description of the Lambda function. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property FunctionArn. /// /// Amazon Resource Name (ARN) of the Lambda function. /// /// public string FunctionArn { get { return this._functionArn; } set { this._functionArn = value; } } // Check to see if FunctionArn property is set internal bool IsSetFunctionArn() { return this._functionArn != null; } /// /// Gets and sets the property FunctionName. /// /// Name of the Lambda function. /// /// public string FunctionName { get { return this._functionName; } set { this._functionName = value; } } // Check to see if FunctionName property is set internal bool IsSetFunctionName() { return this._functionName != null; } /// /// Gets and sets the property FunctionVersion. /// /// The version of the Lambda function. /// /// public string FunctionVersion { get { return this._functionVersion; } set { this._functionVersion = value; } } // Check to see if FunctionVersion property is set internal bool IsSetFunctionVersion() { return this._functionVersion != null; } /// /// Gets and sets the property LastModifiedAt. /// /// The timestamp when the Lambda function was last modified. This field is in the UTC /// date string format (2023-03-22T19:37:20.168Z). /// /// public DateTime LastModifiedAt { get { return this._lastModifiedAt.GetValueOrDefault(); } set { this._lastModifiedAt = value; } } // Check to see if LastModifiedAt property is set internal bool IsSetLastModifiedAt() { return this._lastModifiedAt.HasValue; } /// /// Gets and sets the property RevisionId. /// /// The revision ID of the Lambda function version. /// /// public string RevisionId { get { return this._revisionId; } set { this._revisionId = value; } } // Check to see if RevisionId property is set internal bool IsSetRevisionId() { return this._revisionId != null; } /// /// Gets and sets the property Role. /// /// The execution role of the Lambda function. /// /// public string Role { get { return this._role; } set { this._role = value; } } // Check to see if Role property is set internal bool IsSetRole() { return this._role != null; } /// /// Gets and sets the property Tags. /// /// A list of tags attached to this resource, listed in the format of key:value /// pair. /// /// public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property VpcConfig. /// /// Amazon Virtual Private Cloud configuration details associated with your Lambda function. /// /// public VpcConfig VpcConfig { get { return this._vpcConfig; } set { this._vpcConfig = value; } } // Check to see if VpcConfig property is set internal bool IsSetVpcConfig() { return this._vpcConfig != null; } } }