/* * 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 CreateVehicle operation. /// Creates a vehicle, which is an instance of a vehicle model (model manifest). Vehicles /// created from the same vehicle model consist of the same signals inherited from the /// vehicle model. /// /// /// /// If you have an existing Amazon Web Services IoT thing, you can use Amazon Web Services /// IoT FleetWise to create a vehicle and collect data from your thing. /// /// /// /// For more information, see Create /// a vehicle (AWS CLI) in the Amazon Web Services IoT FleetWise Developer Guide. /// /// public partial class CreateVehicleRequest : AmazonIoTFleetWiseRequest { private VehicleAssociationBehavior _associationBehavior; private Dictionary _attributes = new Dictionary(); private string _decoderManifestArn; private string _modelManifestArn; private List _tags = new List(); private string _vehicleName; /// /// Gets and sets the property AssociationBehavior. /// /// An option to create a new Amazon Web Services IoT thing when creating a vehicle, /// or to validate an existing Amazon Web Services IoT thing as a vehicle. /// /// /// /// Default: /// /// public VehicleAssociationBehavior AssociationBehavior { get { return this._associationBehavior; } set { this._associationBehavior = value; } } // Check to see if AssociationBehavior property is set internal bool IsSetAssociationBehavior() { return this._associationBehavior != null; } /// /// Gets and sets the property Attributes. /// /// Static information about a vehicle in a key-value pair. For example: "engineType" /// : "1.3 L R2" /// /// /// /// A campaign must include the keys (attribute names) in dataExtraDimensions /// for them to display in Amazon Timestream. /// /// public Dictionary Attributes { get { return this._attributes; } set { this._attributes = value; } } // Check to see if Attributes property is set internal bool IsSetAttributes() { return this._attributes != null && this._attributes.Count > 0; } /// /// Gets and sets the property DecoderManifestArn. /// /// The ARN of a decoder manifest. /// /// [AWSProperty(Required=true)] public string DecoderManifestArn { get { return this._decoderManifestArn; } set { this._decoderManifestArn = value; } } // Check to see if DecoderManifestArn property is set internal bool IsSetDecoderManifestArn() { return this._decoderManifestArn != null; } /// /// Gets and sets the property ModelManifestArn. /// /// The Amazon Resource Name ARN of a vehicle model. /// /// [AWSProperty(Required=true)] public string ModelManifestArn { get { return this._modelManifestArn; } set { this._modelManifestArn = value; } } // Check to see if ModelManifestArn property is set internal bool IsSetModelManifestArn() { return this._modelManifestArn != null; } /// /// Gets and sets the property Tags. /// /// Metadata that can be used to manage the vehicle. /// /// [AWSProperty(Min=0, Max=50)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property VehicleName. /// /// The unique ID of the vehicle to create. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string VehicleName { get { return this._vehicleName; } set { this._vehicleName = value; } } // Check to see if VehicleName property is set internal bool IsSetVehicleName() { return this._vehicleName != null; } } }