/*
* 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 datapipeline-2012-10-29.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.DataPipeline.Model
{
///
/// Contains a logical operation for comparing the value of a field with a specified value.
///
public partial class Operator
{
private OperatorType _type;
private List _values = new List();
///
/// Gets and sets the property Type.
///
/// The logical operation to be performed: equal (EQ
), equal reference (REF_EQ
),
/// less than or equal (LE
), greater than or equal (GE
), or
/// between (BETWEEN
). Equal reference (REF_EQ
) can be used
/// only with reference fields. The other comparison types can be used only with String
/// fields. The comparison types you can use apply only to certain object fields, as detailed
/// below.
///
///
///
/// The comparison operators EQ and REF_EQ act on the following fields:
///
/// - name
- @sphere
- parent
- @componentParent
- @instanceParent
/// - @status
- @scheduledStartTime
- @scheduledEndTime
- @actualStartTime
/// - @actualEndTime
///
/// The comparison operators GE
, LE
, and BETWEEN
/// act on the following fields:
///
/// - @scheduledStartTime
- @scheduledEndTime
- @actualStartTime
/// - @actualEndTime
///
/// Note that fields beginning with the at sign (@) are read-only and set by the web service.
/// When you name fields, you should choose names containing only alpha-numeric values,
/// as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add
/// to a pipeline should prefix their name with the string "my".
///
///
public OperatorType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
///
/// Gets and sets the property Values.
///
/// The value that the actual field value will be compared with.
///
///
public List Values
{
get { return this._values; }
set { this._values = value; }
}
// Check to see if Values property is set
internal bool IsSetValues()
{
return this._values != null && this._values.Count > 0;
}
}
}