/* * 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 CreateFleet operation. /// Creates a fleet that represents a group of vehicles. /// /// /// /// You must create both a signal catalog and vehicles before you can create a fleet. /// /// /// /// /// For more information, see Fleets /// in the Amazon Web Services IoT FleetWise Developer Guide. /// /// public partial class CreateFleetRequest : AmazonIoTFleetWiseRequest { private string _description; private string _fleetId; private string _signalCatalogArn; private List _tags = new List(); /// /// Gets and sets the property Description. /// /// A brief description of the fleet to create. /// /// [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 FleetId. /// /// The unique ID of the fleet to create. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string FleetId { get { return this._fleetId; } set { this._fleetId = value; } } // Check to see if FleetId property is set internal bool IsSetFleetId() { return this._fleetId != null; } /// /// Gets and sets the property SignalCatalogArn. /// /// The Amazon Resource Name (ARN) of a signal catalog. /// /// [AWSProperty(Required=true)] public string SignalCatalogArn { get { return this._signalCatalogArn; } set { this._signalCatalogArn = value; } } // Check to see if SignalCatalogArn property is set internal bool IsSetSignalCatalogArn() { return this._signalCatalogArn != null; } /// /// Gets and sets the property Tags. /// /// Metadata that can be used to manage the fleet. /// /// [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; } } }