/* * 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 an aggregation request. /// public partial class AggregationRequest { private AccountAggregation _accountAggregation; private AmiAggregation _amiAggregation; private AwsEcrContainerAggregation _awsEcrContainerAggregation; private Ec2InstanceAggregation _ec2InstanceAggregation; private FindingTypeAggregation _findingTypeAggregation; private ImageLayerAggregation _imageLayerAggregation; private LambdaFunctionAggregation _lambdaFunctionAggregation; private LambdaLayerAggregation _lambdaLayerAggregation; private PackageAggregation _packageAggregation; private RepositoryAggregation _repositoryAggregation; private TitleAggregation _titleAggregation; /// /// Gets and sets the property AccountAggregation. /// /// An object that contains details about an aggregation request based on Amazon Web Services /// account IDs. /// /// public AccountAggregation AccountAggregation { get { return this._accountAggregation; } set { this._accountAggregation = value; } } // Check to see if AccountAggregation property is set internal bool IsSetAccountAggregation() { return this._accountAggregation != null; } /// /// Gets and sets the property AmiAggregation. /// /// An object that contains details about an aggregation request based on Amazon Machine /// Images (AMIs). /// /// public AmiAggregation AmiAggregation { get { return this._amiAggregation; } set { this._amiAggregation = value; } } // Check to see if AmiAggregation property is set internal bool IsSetAmiAggregation() { return this._amiAggregation != null; } /// /// Gets and sets the property AwsEcrContainerAggregation. /// /// An object that contains details about an aggregation request based on Amazon ECR container /// images. /// /// public AwsEcrContainerAggregation AwsEcrContainerAggregation { get { return this._awsEcrContainerAggregation; } set { this._awsEcrContainerAggregation = value; } } // Check to see if AwsEcrContainerAggregation property is set internal bool IsSetAwsEcrContainerAggregation() { return this._awsEcrContainerAggregation != null; } /// /// Gets and sets the property Ec2InstanceAggregation. /// /// An object that contains details about an aggregation request based on Amazon EC2 instances. /// /// public Ec2InstanceAggregation Ec2InstanceAggregation { get { return this._ec2InstanceAggregation; } set { this._ec2InstanceAggregation = value; } } // Check to see if Ec2InstanceAggregation property is set internal bool IsSetEc2InstanceAggregation() { return this._ec2InstanceAggregation != null; } /// /// Gets and sets the property FindingTypeAggregation. /// /// An object that contains details about an aggregation request based on finding types. /// /// public FindingTypeAggregation FindingTypeAggregation { get { return this._findingTypeAggregation; } set { this._findingTypeAggregation = value; } } // Check to see if FindingTypeAggregation property is set internal bool IsSetFindingTypeAggregation() { return this._findingTypeAggregation != null; } /// /// Gets and sets the property ImageLayerAggregation. /// /// An object that contains details about an aggregation request based on container image /// layers. /// /// public ImageLayerAggregation ImageLayerAggregation { get { return this._imageLayerAggregation; } set { this._imageLayerAggregation = value; } } // Check to see if ImageLayerAggregation property is set internal bool IsSetImageLayerAggregation() { return this._imageLayerAggregation != null; } /// /// Gets and sets the property LambdaFunctionAggregation. /// /// Returns an object with findings aggregated by AWS Lambda function. /// /// public LambdaFunctionAggregation LambdaFunctionAggregation { get { return this._lambdaFunctionAggregation; } set { this._lambdaFunctionAggregation = value; } } // Check to see if LambdaFunctionAggregation property is set internal bool IsSetLambdaFunctionAggregation() { return this._lambdaFunctionAggregation != null; } /// /// Gets and sets the property LambdaLayerAggregation. /// /// Returns an object with findings aggregated by AWS Lambda layer. /// /// public LambdaLayerAggregation LambdaLayerAggregation { get { return this._lambdaLayerAggregation; } set { this._lambdaLayerAggregation = value; } } // Check to see if LambdaLayerAggregation property is set internal bool IsSetLambdaLayerAggregation() { return this._lambdaLayerAggregation != null; } /// /// Gets and sets the property PackageAggregation. /// /// An object that contains details about an aggregation request based on operating system /// package type. /// /// public PackageAggregation PackageAggregation { get { return this._packageAggregation; } set { this._packageAggregation = value; } } // Check to see if PackageAggregation property is set internal bool IsSetPackageAggregation() { return this._packageAggregation != null; } /// /// Gets and sets the property RepositoryAggregation. /// /// An object that contains details about an aggregation request based on Amazon ECR repositories. /// /// public RepositoryAggregation RepositoryAggregation { get { return this._repositoryAggregation; } set { this._repositoryAggregation = value; } } // Check to see if RepositoryAggregation property is set internal bool IsSetRepositoryAggregation() { return this._repositoryAggregation != null; } /// /// Gets and sets the property TitleAggregation. /// /// An object that contains details about an aggregation request based on finding title. /// /// public TitleAggregation TitleAggregation { get { return this._titleAggregation; } set { this._titleAggregation = value; } } // Check to see if TitleAggregation property is set internal bool IsSetTitleAggregation() { return this._titleAggregation != null; } } }