/*
* 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
{
///
/// Information about a vehicle.
///
///
///
/// To return this information about vehicles in your account, you can use the API operation.
///
///
public partial class VehicleSummary
{
private string _arn;
private DateTime? _creationTime;
private string _decoderManifestArn;
private DateTime? _lastModificationTime;
private string _modelManifestArn;
private string _vehicleName;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) of the vehicle.
///
///
[AWSProperty(Required=true)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property CreationTime.
///
/// The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight
/// UTC time).
///
///
[AWSProperty(Required=true)]
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property DecoderManifestArn.
///
/// The ARN of a decoder manifest associated with the vehicle.
///
///
[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 LastModificationTime.
///
/// The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight
/// UTC time).
///
///
[AWSProperty(Required=true)]
public DateTime LastModificationTime
{
get { return this._lastModificationTime.GetValueOrDefault(); }
set { this._lastModificationTime = value; }
}
// Check to see if LastModificationTime property is set
internal bool IsSetLastModificationTime()
{
return this._lastModificationTime.HasValue;
}
///
/// Gets and sets the property ModelManifestArn.
///
/// The ARN of a vehicle model (model manifest) associated with the vehicle.
///
///
[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 VehicleName.
///
/// The unique ID of the vehicle.
///
///
[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;
}
}
}