/* * 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 iotfleetwise-2021-06-17.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.IoTFleetWise.Model { /// /// Container for the parameters to the UpdateModelManifest operation. /// Updates a vehicle model (model manifest). If created vehicles are associated with /// a vehicle model, it can't be updated. /// public partial class UpdateModelManifestRequest : AmazonIoTFleetWiseRequest { private string _description; private string _name; private List _nodesToAdd = new List(); private List _nodesToRemove = new List(); private ManifestStatus _status; /// /// Gets and sets the property Description. /// /// A brief description of the vehicle model. /// /// [AWSProperty(Min=1, Max=2048)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Name. /// /// The name of the vehicle model to update. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property NodesToAdd. /// /// A list of fullyQualifiedName of nodes, which are a general abstraction /// of signals, to add to the vehicle model. /// /// [AWSProperty(Min=1, Max=500)] public List NodesToAdd { get { return this._nodesToAdd; } set { this._nodesToAdd = value; } } // Check to see if NodesToAdd property is set internal bool IsSetNodesToAdd() { return this._nodesToAdd != null && this._nodesToAdd.Count > 0; } /// /// Gets and sets the property NodesToRemove. /// /// A list of fullyQualifiedName of nodes, which are a general abstraction /// of signals, to remove from the vehicle model. /// /// [AWSProperty(Min=1, Max=500)] public List NodesToRemove { get { return this._nodesToRemove; } set { this._nodesToRemove = value; } } // Check to see if NodesToRemove property is set internal bool IsSetNodesToRemove() { return this._nodesToRemove != null && this._nodesToRemove.Count > 0; } /// /// Gets and sets the property Status. /// /// The state of the vehicle model. If the status is ACTIVE, the vehicle /// model can't be edited. If the status is DRAFT, you can edit the vehicle /// model. /// /// public ManifestStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }