/*
* 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 forecast-2018-06-26.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.ForecastService.Model
{
///
/// Provides statistics for each data field imported into to an Amazon Forecast dataset
/// with the CreateDatasetImportJob
/// operation.
///
public partial class Statistics
{
private double? _avg;
private int? _count;
private int? _countDistinct;
private long? _countDistinctLong;
private long? _countLong;
private int? _countNan;
private long? _countNanLong;
private int? _countNull;
private long? _countNullLong;
private string _max;
private string _min;
private double? _stddev;
///
/// Gets and sets the property Avg.
///
/// For a numeric field, the average value in the field.
///
///
public double Avg
{
get { return this._avg.GetValueOrDefault(); }
set { this._avg = value; }
}
// Check to see if Avg property is set
internal bool IsSetAvg()
{
return this._avg.HasValue;
}
///
/// Gets and sets the property Count.
///
/// The number of values in the field. If the response value is -1, refer to CountLong
.
///
///
public int Count
{
get { return this._count.GetValueOrDefault(); }
set { this._count = value; }
}
// Check to see if Count property is set
internal bool IsSetCount()
{
return this._count.HasValue;
}
///
/// Gets and sets the property CountDistinct.
///
/// The number of distinct values in the field. If the response value is -1, refer to
/// CountDistinctLong
.
///
///
public int CountDistinct
{
get { return this._countDistinct.GetValueOrDefault(); }
set { this._countDistinct = value; }
}
// Check to see if CountDistinct property is set
internal bool IsSetCountDistinct()
{
return this._countDistinct.HasValue;
}
///
/// Gets and sets the property CountDistinctLong.
///
/// The number of distinct values in the field. CountDistinctLong
is used
/// instead of CountDistinct
if the value is greater than 2,147,483,647.
///
///
public long CountDistinctLong
{
get { return this._countDistinctLong.GetValueOrDefault(); }
set { this._countDistinctLong = value; }
}
// Check to see if CountDistinctLong property is set
internal bool IsSetCountDistinctLong()
{
return this._countDistinctLong.HasValue;
}
///
/// Gets and sets the property CountLong.
///
/// The number of values in the field. CountLong
is used instead of Count
/// if the value is greater than 2,147,483,647.
///
///
public long CountLong
{
get { return this._countLong.GetValueOrDefault(); }
set { this._countLong = value; }
}
// Check to see if CountLong property is set
internal bool IsSetCountLong()
{
return this._countLong.HasValue;
}
///
/// Gets and sets the property CountNan.
///
/// The number of NAN (not a number) values in the field. If the response value is -1,
/// refer to CountNanLong
.
///
///
public int CountNan
{
get { return this._countNan.GetValueOrDefault(); }
set { this._countNan = value; }
}
// Check to see if CountNan property is set
internal bool IsSetCountNan()
{
return this._countNan.HasValue;
}
///
/// Gets and sets the property CountNanLong.
///
/// The number of NAN (not a number) values in the field. CountNanLong
is
/// used instead of CountNan
if the value is greater than 2,147,483,647.
///
///
public long CountNanLong
{
get { return this._countNanLong.GetValueOrDefault(); }
set { this._countNanLong = value; }
}
// Check to see if CountNanLong property is set
internal bool IsSetCountNanLong()
{
return this._countNanLong.HasValue;
}
///
/// Gets and sets the property CountNull.
///
/// The number of null values in the field. If the response value is -1, refer to CountNullLong
.
///
///
public int CountNull
{
get { return this._countNull.GetValueOrDefault(); }
set { this._countNull = value; }
}
// Check to see if CountNull property is set
internal bool IsSetCountNull()
{
return this._countNull.HasValue;
}
///
/// Gets and sets the property CountNullLong.
///
/// The number of null values in the field. CountNullLong
is used instead
/// of CountNull
if the value is greater than 2,147,483,647.
///
///
public long CountNullLong
{
get { return this._countNullLong.GetValueOrDefault(); }
set { this._countNullLong = value; }
}
// Check to see if CountNullLong property is set
internal bool IsSetCountNullLong()
{
return this._countNullLong.HasValue;
}
///
/// Gets and sets the property Max.
///
/// For a numeric field, the maximum value in the field.
///
///
[AWSProperty(Max=256)]
public string Max
{
get { return this._max; }
set { this._max = value; }
}
// Check to see if Max property is set
internal bool IsSetMax()
{
return this._max != null;
}
///
/// Gets and sets the property Min.
///
/// For a numeric field, the minimum value in the field.
///
///
[AWSProperty(Max=256)]
public string Min
{
get { return this._min; }
set { this._min = value; }
}
// Check to see if Min property is set
internal bool IsSetMin()
{
return this._min != null;
}
///
/// Gets and sets the property Stddev.
///
/// For a numeric field, the standard deviation.
///
///
public double Stddev
{
get { return this._stddev.GetValueOrDefault(); }
set { this._stddev = value; }
}
// Check to see if Stddev property is set
internal bool IsSetStddev()
{
return this._stddev.HasValue;
}
}
}