/*
* 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 route53-2013-04-01.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.Route53.Model
{
///
/// A complex type that identifies the CloudWatch alarm that you want Amazon Route 53
/// health checkers to use to determine whether the specified health check is healthy.
///
public partial class AlarmIdentifier
{
private CloudWatchRegion _region;
private string _name;
///
/// Gets and sets the property Region.
///
/// For the CloudWatch alarm that you want Route 53 health checkers to use to determine
/// whether this health check is healthy, the region that the alarm was created in.
///
///
///
/// For the current list of CloudWatch regions, see Amazon
/// CloudWatch endpoints and quotas in the Amazon Web Services General Reference.
///
///
[AWSProperty(Required=true, Min=1, Max=64)]
public CloudWatchRegion Region
{
get { return this._region; }
set { this._region = value; }
}
// Check to see if Region property is set
internal bool IsSetRegion()
{
return this._region != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to
/// use to determine whether this health check is healthy.
///
///
///
/// Route 53 supports CloudWatch alarms with the following features:
///
/// -
///
/// Standard-resolution metrics. High-resolution metrics aren't supported. For more information,
/// see High-Resolution
/// Metrics in the Amazon CloudWatch User Guide.
///
///
-
///
/// Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended statistics aren't
/// supported.
///
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
}