/*
* 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 sagemaker-2017-07-24.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.SageMaker.Model
{
///
/// A summary of the metrics of a trial component.
///
public partial class TrialComponentMetricSummary
{
private double? _avg;
private int? _count;
private double? _last;
private double? _max;
private string _metricName;
private double? _min;
private string _sourceArn;
private double? _stdDev;
private DateTime? _timeStamp;
///
/// Gets and sets the property Avg.
///
/// The average value of the metric.
///
///
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 samples used to generate the metric.
///
///
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 Last.
///
/// The most recent value of the metric.
///
///
public double Last
{
get { return this._last.GetValueOrDefault(); }
set { this._last = value; }
}
// Check to see if Last property is set
internal bool IsSetLast()
{
return this._last.HasValue;
}
///
/// Gets and sets the property Max.
///
/// The maximum value of the metric.
///
///
public double Max
{
get { return this._max.GetValueOrDefault(); }
set { this._max = value; }
}
// Check to see if Max property is set
internal bool IsSetMax()
{
return this._max.HasValue;
}
///
/// Gets and sets the property MetricName.
///
/// The name of the metric.
///
///
[AWSProperty(Min=1, Max=255)]
public string MetricName
{
get { return this._metricName; }
set { this._metricName = value; }
}
// Check to see if MetricName property is set
internal bool IsSetMetricName()
{
return this._metricName != null;
}
///
/// Gets and sets the property Min.
///
/// The minimum value of the metric.
///
///
public double Min
{
get { return this._min.GetValueOrDefault(); }
set { this._min = value; }
}
// Check to see if Min property is set
internal bool IsSetMin()
{
return this._min.HasValue;
}
///
/// Gets and sets the property SourceArn.
///
/// The Amazon Resource Name (ARN) of the source.
///
///
[AWSProperty(Max=256)]
public string SourceArn
{
get { return this._sourceArn; }
set { this._sourceArn = value; }
}
// Check to see if SourceArn property is set
internal bool IsSetSourceArn()
{
return this._sourceArn != null;
}
///
/// Gets and sets the property StdDev.
///
/// The standard deviation of the metric.
///
///
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;
}
///
/// Gets and sets the property TimeStamp.
///
/// When the metric was last updated.
///
///
public DateTime TimeStamp
{
get { return this._timeStamp.GetValueOrDefault(); }
set { this._timeStamp = value; }
}
// Check to see if TimeStamp property is set
internal bool IsSetTimeStamp()
{
return this._timeStamp.HasValue;
}
}
}