/*
* 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 iotanalytics-2017-11-27.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.IoTAnalytics.Model
{
///
/// An activity that performs a transformation on a message.
///
public partial class PipelineActivity
{
private AddAttributesActivity _addAttributes;
private ChannelActivity _channel;
private DatastoreActivity _datastore;
private DeviceRegistryEnrichActivity _deviceRegistryEnrich;
private DeviceShadowEnrichActivity _deviceShadowEnrich;
private FilterActivity _filter;
private LambdaActivity _lambda;
private MathActivity _math;
private RemoveAttributesActivity _removeAttributes;
private SelectAttributesActivity _selectAttributes;
///
/// Gets and sets the property AddAttributes.
///
/// Adds other attributes based on existing attributes in the message.
///
///
public AddAttributesActivity AddAttributes
{
get { return this._addAttributes; }
set { this._addAttributes = value; }
}
// Check to see if AddAttributes property is set
internal bool IsSetAddAttributes()
{
return this._addAttributes != null;
}
///
/// Gets and sets the property Channel.
///
/// Determines the source of the messages to be processed.
///
///
public ChannelActivity Channel
{
get { return this._channel; }
set { this._channel = value; }
}
// Check to see if Channel property is set
internal bool IsSetChannel()
{
return this._channel != null;
}
///
/// Gets and sets the property Datastore.
///
/// Specifies where to store the processed message data.
///
///
public DatastoreActivity Datastore
{
get { return this._datastore; }
set { this._datastore = value; }
}
// Check to see if Datastore property is set
internal bool IsSetDatastore()
{
return this._datastore != null;
}
///
/// Gets and sets the property DeviceRegistryEnrich.
///
/// Adds data from the IoT device registry to your message.
///
///
public DeviceRegistryEnrichActivity DeviceRegistryEnrich
{
get { return this._deviceRegistryEnrich; }
set { this._deviceRegistryEnrich = value; }
}
// Check to see if DeviceRegistryEnrich property is set
internal bool IsSetDeviceRegistryEnrich()
{
return this._deviceRegistryEnrich != null;
}
///
/// Gets and sets the property DeviceShadowEnrich.
///
/// Adds information from the IoT Device Shadow service to a message.
///
///
public DeviceShadowEnrichActivity DeviceShadowEnrich
{
get { return this._deviceShadowEnrich; }
set { this._deviceShadowEnrich = value; }
}
// Check to see if DeviceShadowEnrich property is set
internal bool IsSetDeviceShadowEnrich()
{
return this._deviceShadowEnrich != null;
}
///
/// Gets and sets the property Filter.
///
/// Filters a message based on its attributes.
///
///
public FilterActivity Filter
{
get { return this._filter; }
set { this._filter = value; }
}
// Check to see if Filter property is set
internal bool IsSetFilter()
{
return this._filter != null;
}
///
/// Gets and sets the property Lambda.
///
/// Runs a Lambda function to modify the message.
///
///
public LambdaActivity Lambda
{
get { return this._lambda; }
set { this._lambda = value; }
}
// Check to see if Lambda property is set
internal bool IsSetLambda()
{
return this._lambda != null;
}
///
/// Gets and sets the property Math.
///
/// Computes an arithmetic expression using the message's attributes and adds it to the
/// message.
///
///
public MathActivity Math
{
get { return this._math; }
set { this._math = value; }
}
// Check to see if Math property is set
internal bool IsSetMath()
{
return this._math != null;
}
///
/// Gets and sets the property RemoveAttributes.
///
/// Removes attributes from a message.
///
///
public RemoveAttributesActivity RemoveAttributes
{
get { return this._removeAttributes; }
set { this._removeAttributes = value; }
}
// Check to see if RemoveAttributes property is set
internal bool IsSetRemoveAttributes()
{
return this._removeAttributes != null;
}
///
/// Gets and sets the property SelectAttributes.
///
/// Used to create a new message using only the specified attributes from the original
/// message.
///
///
public SelectAttributesActivity SelectAttributes
{
get { return this._selectAttributes; }
set { this._selectAttributes = value; }
}
// Check to see if SelectAttributes property is set
internal bool IsSetSelectAttributes()
{
return this._selectAttributes != null;
}
}
}