/* * 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 wellarchitected-2020-03-31.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.WellArchitected.Model { /// /// Container for the parameters to the DisassociateLenses operation. /// Disassociate a lens from a workload. /// /// /// /// Up to 10 lenses can be disassociated from a workload in a single API operation. /// /// /// /// The Amazon Web Services Well-Architected Framework lens (wellarchitected) /// cannot be removed from a workload. /// /// /// public partial class DisassociateLensesRequest : AmazonWellArchitectedRequest { private List _lensAliases = new List(); private string _workloadId; /// /// Gets and sets the property LensAliases. /// [AWSProperty(Required=true, Min=1)] public List LensAliases { get { return this._lensAliases; } set { this._lensAliases = value; } } // Check to see if LensAliases property is set internal bool IsSetLensAliases() { return this._lensAliases != null && this._lensAliases.Count > 0; } /// /// Gets and sets the property WorkloadId. /// [AWSProperty(Required=true, Min=32, Max=32)] public string WorkloadId { get { return this._workloadId; } set { this._workloadId = value; } } // Check to see if WorkloadId property is set internal bool IsSetWorkloadId() { return this._workloadId != null; } } }