/*
* 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 UpdateDecoderManifest operation.
/// Updates a decoder manifest.
///
///
///
/// A decoder manifest can only be updated when the status is DRAFT
. Only
/// ACTIVE
decoder manifests can be associated with vehicles.
///
///
public partial class UpdateDecoderManifestRequest : AmazonIoTFleetWiseRequest
{
private string _description;
private string _name;
private List _networkInterfacesToAdd = new List();
private List _networkInterfacesToRemove = new List();
private List _networkInterfacesToUpdate = new List();
private List _signalDecodersToAdd = new List();
private List _signalDecodersToRemove = new List();
private List _signalDecodersToUpdate = new List();
private ManifestStatus _status;
///
/// Gets and sets the property Description.
///
/// A brief description of the decoder manifest to update.
///
///
[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 decoder manifest 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 NetworkInterfacesToAdd.
///
/// A list of information about the network interfaces to add to the decoder manifest.
///
///
///
[AWSProperty(Min=1, Max=500)]
public List NetworkInterfacesToAdd
{
get { return this._networkInterfacesToAdd; }
set { this._networkInterfacesToAdd = value; }
}
// Check to see if NetworkInterfacesToAdd property is set
internal bool IsSetNetworkInterfacesToAdd()
{
return this._networkInterfacesToAdd != null && this._networkInterfacesToAdd.Count > 0;
}
///
/// Gets and sets the property NetworkInterfacesToRemove.
///
/// A list of network interfaces to remove from the decoder manifest.
///
///
[AWSProperty(Min=1, Max=500)]
public List NetworkInterfacesToRemove
{
get { return this._networkInterfacesToRemove; }
set { this._networkInterfacesToRemove = value; }
}
// Check to see if NetworkInterfacesToRemove property is set
internal bool IsSetNetworkInterfacesToRemove()
{
return this._networkInterfacesToRemove != null && this._networkInterfacesToRemove.Count > 0;
}
///
/// Gets and sets the property NetworkInterfacesToUpdate.
///
/// A list of information about the network interfaces to update in the decoder manifest.
///
///
///
[AWSProperty(Min=1, Max=500)]
public List NetworkInterfacesToUpdate
{
get { return this._networkInterfacesToUpdate; }
set { this._networkInterfacesToUpdate = value; }
}
// Check to see if NetworkInterfacesToUpdate property is set
internal bool IsSetNetworkInterfacesToUpdate()
{
return this._networkInterfacesToUpdate != null && this._networkInterfacesToUpdate.Count > 0;
}
///
/// Gets and sets the property SignalDecodersToAdd.
///
/// A list of information about decoding additional signals to add to the decoder manifest.
///
///
///
[AWSProperty(Min=1, Max=500)]
public List SignalDecodersToAdd
{
get { return this._signalDecodersToAdd; }
set { this._signalDecodersToAdd = value; }
}
// Check to see if SignalDecodersToAdd property is set
internal bool IsSetSignalDecodersToAdd()
{
return this._signalDecodersToAdd != null && this._signalDecodersToAdd.Count > 0;
}
///
/// Gets and sets the property SignalDecodersToRemove.
///
/// A list of signal decoders to remove from the decoder manifest.
///
///
[AWSProperty(Min=1, Max=500)]
public List SignalDecodersToRemove
{
get { return this._signalDecodersToRemove; }
set { this._signalDecodersToRemove = value; }
}
// Check to see if SignalDecodersToRemove property is set
internal bool IsSetSignalDecodersToRemove()
{
return this._signalDecodersToRemove != null && this._signalDecodersToRemove.Count > 0;
}
///
/// Gets and sets the property SignalDecodersToUpdate.
///
/// A list of updated information about decoding signals to update in the decoder manifest.
///
///
///
[AWSProperty(Min=1, Max=500)]
public List SignalDecodersToUpdate
{
get { return this._signalDecodersToUpdate; }
set { this._signalDecodersToUpdate = value; }
}
// Check to see if SignalDecodersToUpdate property is set
internal bool IsSetSignalDecodersToUpdate()
{
return this._signalDecodersToUpdate != null && this._signalDecodersToUpdate.Count > 0;
}
///
/// Gets and sets the property Status.
///
/// The state of the decoder manifest. If the status is ACTIVE
, the decoder
/// manifest can't be edited. If the status is DRAFT
, you can edit the decoder
/// manifest.
///
///
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;
}
}
}