/*
* 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 CreateDecoderManifest operation.
/// Creates the decoder manifest associated with a model manifest. To create a decoder
/// manifest, the following must be true:
///
/// -
///
/// Every signal decoder has a unique name.
///
///
-
///
/// Each signal decoder is associated with a network interface.
///
///
-
///
/// Each network interface has a unique ID.
///
///
-
///
/// The signal decoders are specified in the model manifest.
///
///
///
public partial class CreateDecoderManifestRequest : AmazonIoTFleetWiseRequest
{
private string _description;
private string _modelManifestArn;
private string _name;
private List _networkInterfaces = new List();
private List _signalDecoders = new List();
private List _tags = new List();
///
/// Gets and sets the property Description.
///
/// A brief description of the decoder manifest.
///
///
[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 ModelManifestArn.
///
/// The Amazon Resource Name (ARN) of the vehicle model (model manifest).
///
///
[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 Name.
///
/// The unique name of the decoder manifest to create.
///
///
[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 NetworkInterfaces.
///
/// A list of information about available network interfaces.
///
///
[AWSProperty(Min=1, Max=500)]
public List NetworkInterfaces
{
get { return this._networkInterfaces; }
set { this._networkInterfaces = value; }
}
// Check to see if NetworkInterfaces property is set
internal bool IsSetNetworkInterfaces()
{
return this._networkInterfaces != null && this._networkInterfaces.Count > 0;
}
///
/// Gets and sets the property SignalDecoders.
///
/// A list of information about signal decoders.
///
///
[AWSProperty(Min=1, Max=500)]
public List SignalDecoders
{
get { return this._signalDecoders; }
set { this._signalDecoders = value; }
}
// Check to see if SignalDecoders property is set
internal bool IsSetSignalDecoders()
{
return this._signalDecoders != null && this._signalDecoders.Count > 0;
}
///
/// Gets and sets the property Tags.
///
/// Metadata that can be used to manage the decoder manifest.
///
///
[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;
}
}
}