/* * 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 billingconductor-2021-07-30.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.BillingConductor.Model { /// /// Container for the parameters to the BatchDisassociateResourcesFromCustomLineItem operation. /// Disassociates a batch of resources from a percentage custom line item. /// public partial class BatchDisassociateResourcesFromCustomLineItemRequest : AmazonBillingConductorRequest { private CustomLineItemBillingPeriodRange _billingPeriodRange; private List _resourceArns = new List(); private string _targetArn; /// /// Gets and sets the property BillingPeriodRange. /// public CustomLineItemBillingPeriodRange BillingPeriodRange { get { return this._billingPeriodRange; } set { this._billingPeriodRange = value; } } // Check to see if BillingPeriodRange property is set internal bool IsSetBillingPeriodRange() { return this._billingPeriodRange != null; } /// /// Gets and sets the property ResourceArns. /// /// A list containing the ARNs of resources to be disassociated. /// /// [AWSProperty(Required=true, Min=1, Max=30)] public List ResourceArns { get { return this._resourceArns; } set { this._resourceArns = value; } } // Check to see if ResourceArns property is set internal bool IsSetResourceArns() { return this._resourceArns != null && this._resourceArns.Count > 0; } /// /// Gets and sets the property TargetArn. /// /// A percentage custom line item ARN to disassociate the resources from. /// /// [AWSProperty(Required=true)] public string TargetArn { get { return this._targetArn; } set { this._targetArn = value; } } // Check to see if TargetArn property is set internal bool IsSetTargetArn() { return this._targetArn != null; } } }