/*
* 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 customer-profiles-2020-08-15.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.CustomerProfiles.Model
{
///
/// The conditions including range, object count, and threshold for the calculated attribute.
///
public partial class Conditions
{
private int? _objectCount;
private Range _range;
private Threshold _threshold;
///
/// Gets and sets the property ObjectCount.
///
/// The number of profile objects used for the calculated attribute.
///
///
[AWSProperty(Min=1, Max=100)]
public int ObjectCount
{
get { return this._objectCount.GetValueOrDefault(); }
set { this._objectCount = value; }
}
// Check to see if ObjectCount property is set
internal bool IsSetObjectCount()
{
return this._objectCount.HasValue;
}
///
/// Gets and sets the property Range.
///
/// The relative time period over which data is included in the aggregation.
///
///
public Range Range
{
get { return this._range; }
set { this._range = value; }
}
// Check to see if Range property is set
internal bool IsSetRange()
{
return this._range != null;
}
///
/// Gets and sets the property Threshold.
///
/// The threshold for the calculated attribute.
///
///
public Threshold Threshold
{
get { return this._threshold; }
set { this._threshold = value; }
}
// Check to see if Threshold property is set
internal bool IsSetThreshold()
{
return this._threshold != null;
}
}
}