/*
* 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 ce-2017-10-25.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.CostExplorer.Model
{
///
/// This object continuously inspects your account's cost data for anomalies. It's based
/// on MonitorType
and MonitorSpecification
. The content consists
/// of detailed metadata and the current status of the monitor object.
///
public partial class AnomalyMonitor
{
private string _creationDate;
private int? _dimensionalValueCount;
private string _lastEvaluatedDate;
private string _lastUpdatedDate;
private string _monitorArn;
private MonitorDimension _monitorDimension;
private string _monitorName;
private Expression _monitorSpecification;
private MonitorType _monitorType;
///
/// Gets and sets the property CreationDate.
///
/// The date when the monitor was created.
///
///
[AWSProperty(Min=0, Max=40)]
public string CreationDate
{
get { return this._creationDate; }
set { this._creationDate = value; }
}
// Check to see if CreationDate property is set
internal bool IsSetCreationDate()
{
return this._creationDate != null;
}
///
/// Gets and sets the property DimensionalValueCount.
///
/// The value for evaluated dimensions.
///
///
[AWSProperty(Min=0)]
public int DimensionalValueCount
{
get { return this._dimensionalValueCount.GetValueOrDefault(); }
set { this._dimensionalValueCount = value; }
}
// Check to see if DimensionalValueCount property is set
internal bool IsSetDimensionalValueCount()
{
return this._dimensionalValueCount.HasValue;
}
///
/// Gets and sets the property LastEvaluatedDate.
///
/// The date when the monitor last evaluated for anomalies.
///
///
[AWSProperty(Min=0, Max=40)]
public string LastEvaluatedDate
{
get { return this._lastEvaluatedDate; }
set { this._lastEvaluatedDate = value; }
}
// Check to see if LastEvaluatedDate property is set
internal bool IsSetLastEvaluatedDate()
{
return this._lastEvaluatedDate != null;
}
///
/// Gets and sets the property LastUpdatedDate.
///
/// The date when the monitor was last updated.
///
///
[AWSProperty(Min=0, Max=40)]
public string LastUpdatedDate
{
get { return this._lastUpdatedDate; }
set { this._lastUpdatedDate = value; }
}
// Check to see if LastUpdatedDate property is set
internal bool IsSetLastUpdatedDate()
{
return this._lastUpdatedDate != null;
}
///
/// Gets and sets the property MonitorArn.
///
/// The Amazon Resource Name (ARN) value.
///
///
[AWSProperty(Min=0, Max=1024)]
public string MonitorArn
{
get { return this._monitorArn; }
set { this._monitorArn = value; }
}
// Check to see if MonitorArn property is set
internal bool IsSetMonitorArn()
{
return this._monitorArn != null;
}
///
/// Gets and sets the property MonitorDimension.
///
/// The dimensions to evaluate.
///
///
public MonitorDimension MonitorDimension
{
get { return this._monitorDimension; }
set { this._monitorDimension = value; }
}
// Check to see if MonitorDimension property is set
internal bool IsSetMonitorDimension()
{
return this._monitorDimension != null;
}
///
/// Gets and sets the property MonitorName.
///
/// The name of the monitor.
///
///
[AWSProperty(Required=true, Min=0, Max=1024)]
public string MonitorName
{
get { return this._monitorName; }
set { this._monitorName = value; }
}
// Check to see if MonitorName property is set
internal bool IsSetMonitorName()
{
return this._monitorName != null;
}
///
/// Gets and sets the property MonitorSpecification.
///
public Expression MonitorSpecification
{
get { return this._monitorSpecification; }
set { this._monitorSpecification = value; }
}
// Check to see if MonitorSpecification property is set
internal bool IsSetMonitorSpecification()
{
return this._monitorSpecification != null;
}
///
/// Gets and sets the property MonitorType.
///
/// The possible type values.
///
///
[AWSProperty(Required=true)]
public MonitorType MonitorType
{
get { return this._monitorType; }
set { this._monitorType = value; }
}
// Check to see if MonitorType property is set
internal bool IsSetMonitorType()
{
return this._monitorType != null;
}
}
}