/*
* 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
{
///
/// Container for the parameters to the Disable operation.
/// Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling
/// all scan types in an account disables the Amazon Inspector service.
///
public partial class DisableRequest : AmazonInspector2Request
{
private List _accountIds = new List();
private List _resourceTypes = new List();
///
/// Gets and sets the property AccountIds.
///
/// An array of account IDs you want to disable Amazon Inspector scans for.
///
///
[AWSProperty(Min=0, Max=100)]
public List AccountIds
{
get { return this._accountIds; }
set { this._accountIds = value; }
}
// Check to see if AccountIds property is set
internal bool IsSetAccountIds()
{
return this._accountIds != null && this._accountIds.Count > 0;
}
///
/// Gets and sets the property ResourceTypes.
///
/// The resource scan types you want to disable.
///
///
[AWSProperty(Min=0, Max=3)]
public List ResourceTypes
{
get { return this._resourceTypes; }
set { this._resourceTypes = value; }
}
// Check to see if ResourceTypes property is set
internal bool IsSetResourceTypes()
{
return this._resourceTypes != null && this._resourceTypes.Count > 0;
}
}
}