/* * 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 inspector2-2020-06-08.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.Inspector2.Model { /// /// Contains details about the resource involved in the finding. /// public partial class ResourceDetails { private AwsEc2InstanceDetails _awsEc2Instance; private AwsEcrContainerImageDetails _awsEcrContainerImage; private AwsLambdaFunctionDetails _awsLambdaFunction; /// /// Gets and sets the property AwsEc2Instance. /// /// An object that contains details about the Amazon EC2 instance involved in the finding. /// /// public AwsEc2InstanceDetails AwsEc2Instance { get { return this._awsEc2Instance; } set { this._awsEc2Instance = value; } } // Check to see if AwsEc2Instance property is set internal bool IsSetAwsEc2Instance() { return this._awsEc2Instance != null; } /// /// Gets and sets the property AwsEcrContainerImage. /// /// An object that contains details about the Amazon ECR container image involved in the /// finding. /// /// public AwsEcrContainerImageDetails AwsEcrContainerImage { get { return this._awsEcrContainerImage; } set { this._awsEcrContainerImage = value; } } // Check to see if AwsEcrContainerImage property is set internal bool IsSetAwsEcrContainerImage() { return this._awsEcrContainerImage != null; } /// /// Gets and sets the property AwsLambdaFunction. /// /// A summary of the information about an AWS Lambda function affected by a finding. /// /// public AwsLambdaFunctionDetails AwsLambdaFunction { get { return this._awsLambdaFunction; } set { this._awsLambdaFunction = value; } } // Check to see if AwsLambdaFunction property is set internal bool IsSetAwsLambdaFunction() { return this._awsLambdaFunction != null; } } }