/*
* 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 signal decoder.
///
public partial class SignalDecoder
{
private CanSignal _canSignal;
private string _fullyQualifiedName;
private string _interfaceId;
private ObdSignal _obdSignal;
private SignalDecoderType _type;
///
/// Gets and sets the property CanSignal.
///
/// Information about signal decoder using the Controller Area Network (CAN) protocol.
///
///
public CanSignal CanSignal
{
get { return this._canSignal; }
set { this._canSignal = value; }
}
// Check to see if CanSignal property is set
internal bool IsSetCanSignal()
{
return this._canSignal != null;
}
///
/// Gets and sets the property FullyQualifiedName.
///
/// The fully qualified name of a signal decoder as defined in a vehicle model.
///
///
[AWSProperty(Required=true, Min=1, Max=150)]
public string FullyQualifiedName
{
get { return this._fullyQualifiedName; }
set { this._fullyQualifiedName = value; }
}
// Check to see if FullyQualifiedName property is set
internal bool IsSetFullyQualifiedName()
{
return this._fullyQualifiedName != null;
}
///
/// Gets and sets the property InterfaceId.
///
/// The ID of a network interface that specifies what network protocol a vehicle follows.
///
///
[AWSProperty(Required=true, Min=1, Max=50)]
public string InterfaceId
{
get { return this._interfaceId; }
set { this._interfaceId = value; }
}
// Check to see if InterfaceId property is set
internal bool IsSetInterfaceId()
{
return this._interfaceId != null;
}
///
/// Gets and sets the property ObdSignal.
///
/// Information about signal decoder using the On-board diagnostic (OBD) II protocol.
///
///
public ObdSignal ObdSignal
{
get { return this._obdSignal; }
set { this._obdSignal = value; }
}
// Check to see if ObdSignal property is set
internal bool IsSetObdSignal()
{
return this._obdSignal != null;
}
///
/// Gets and sets the property Type.
///
/// The network protocol for the vehicle. For example, CAN_SIGNAL
specifies
/// a protocol that defines how data is communicated between electronic control units
/// (ECUs). OBD_SIGNAL
specifies a protocol that defines how self-diagnostic
/// data is communicated between ECUs.
///
///
[AWSProperty(Required=true)]
public SignalDecoderType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}