/*
* 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 guardduty-2017-11-28.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.GuardDuty.Model
{
///
/// Contains information about the condition.
///
public partial class Condition
{
private List _eq = new List();
private List _equals = new List();
private long? _greaterThan;
private long? _greaterThanOrEqual;
private int? _gt;
private int? _gte;
private long? _lessThan;
private long? _lessThanOrEqual;
private int? _lt;
private int? _lte;
private List _neq = new List();
private List _notEquals = new List();
///
/// Gets and sets the property Eq.
///
/// Represents the equal condition to be applied to a single field when querying
/// for findings.
///
///
[Obsolete("This property is deprecated and the Equals property should be used instead.")]
public List Eq
{
get { return this._eq; }
set { this._eq = value; }
}
// Check to see if Eq property is set
internal bool IsSetEq()
{
return this._eq != null && this._eq.Count > 0;
}
///
/// Gets and sets the property Equals.
///
/// Represents an equal condition to be applied to a single field when querying
/// for findings.
///
///
public List Equals
{
get { return this._equals; }
set { this._equals = value; }
}
// Check to see if Equals property is set
internal bool IsSetEquals()
{
return this._equals != null && this._equals.Count > 0;
}
///
/// Gets and sets the property GreaterThan.
///
/// Represents a greater than condition to be applied to a single field when querying
/// for findings.
///
///
public long GreaterThan
{
get { return this._greaterThan.GetValueOrDefault(); }
set { this._greaterThan = value; }
}
// Check to see if GreaterThan property is set
internal bool IsSetGreaterThan()
{
return this._greaterThan.HasValue;
}
///
/// Gets and sets the property GreaterThanOrEqual.
///
/// Represents a greater than or equal condition to be applied to a single field
/// when querying for findings.
///
///
public long GreaterThanOrEqual
{
get { return this._greaterThanOrEqual.GetValueOrDefault(); }
set { this._greaterThanOrEqual = value; }
}
// Check to see if GreaterThanOrEqual property is set
internal bool IsSetGreaterThanOrEqual()
{
return this._greaterThanOrEqual.HasValue;
}
///
/// Gets and sets the property Gt.
///
/// Represents a greater than condition to be applied to a single field when querying
/// for findings.
///
///
[Obsolete("This property is deprecated and the GreaterThan property should be used instead.")]
public int Gt
{
get { return this._gt.GetValueOrDefault(); }
set { this._gt = value; }
}
// Check to see if Gt property is set
internal bool IsSetGt()
{
return this._gt.HasValue;
}
///
/// Gets and sets the property Gte.
///
/// Represents a greater than or equal condition to be applied to a single field
/// when querying for findings.
///
///
[Obsolete("This property is deprecated and the GreaterThanOrEqual property should be used instead.")]
public int Gte
{
get { return this._gte.GetValueOrDefault(); }
set { this._gte = value; }
}
// Check to see if Gte property is set
internal bool IsSetGte()
{
return this._gte.HasValue;
}
///
/// Gets and sets the property LessThan.
///
/// Represents a less than condition to be applied to a single field when querying
/// for findings.
///
///
public long LessThan
{
get { return this._lessThan.GetValueOrDefault(); }
set { this._lessThan = value; }
}
// Check to see if LessThan property is set
internal bool IsSetLessThan()
{
return this._lessThan.HasValue;
}
///
/// Gets and sets the property LessThanOrEqual.
///
/// Represents a less than or equal condition to be applied to a single field when
/// querying for findings.
///
///
public long LessThanOrEqual
{
get { return this._lessThanOrEqual.GetValueOrDefault(); }
set { this._lessThanOrEqual = value; }
}
// Check to see if LessThanOrEqual property is set
internal bool IsSetLessThanOrEqual()
{
return this._lessThanOrEqual.HasValue;
}
///
/// Gets and sets the property Lt.
///
/// Represents a less than condition to be applied to a single field when querying
/// for findings.
///
///
[Obsolete("This property is deprecated and the LessThan property should be used instead.")]
public int Lt
{
get { return this._lt.GetValueOrDefault(); }
set { this._lt = value; }
}
// Check to see if Lt property is set
internal bool IsSetLt()
{
return this._lt.HasValue;
}
///
/// Gets and sets the property Lte.
///
/// Represents a less than or equal condition to be applied to a single field when
/// querying for findings.
///
///
[Obsolete("This property is deprecated and the LessThanOrEqual property should be used instead.")]
public int Lte
{
get { return this._lte.GetValueOrDefault(); }
set { this._lte = value; }
}
// Check to see if Lte property is set
internal bool IsSetLte()
{
return this._lte.HasValue;
}
///
/// Gets and sets the property Neq.
///
/// Represents the not equal condition to be applied to a single field when querying
/// for findings.
///
///
[Obsolete("This property is deprecated and the NotEquals property should be used instead.")]
public List Neq
{
get { return this._neq; }
set { this._neq = value; }
}
// Check to see if Neq property is set
internal bool IsSetNeq()
{
return this._neq != null && this._neq.Count > 0;
}
///
/// Gets and sets the property NotEquals.
///
/// Represents a not equal condition to be applied to a single field when
/// querying for findings.
///
///
public List NotEquals
{
get { return this._notEquals; }
set { this._notEquals = value; }
}
// Check to see if NotEquals property is set
internal bool IsSetNotEquals()
{
return this._notEquals != null && this._notEquals.Count > 0;
}
}
}