/* * 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 contains the last failure reason as reported by one Amazon Route /// 53 health checker. /// public partial class HealthCheckObservation { private HealthCheckRegion _region; private string _ipAddress; private StatusReport _statusReport; /// /// Gets and sets the property Region. /// /// The region of the Amazon Route 53 health checker that provided the status in StatusReport. /// /// [AWSProperty(Min=1, Max=64)] public HealthCheckRegion 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 IPAddress. /// /// The IP address of the Amazon Route 53 health checker that provided the failure reason /// in StatusReport. /// /// [AWSProperty(Max=45)] public string IPAddress { get { return this._ipAddress; } set { this._ipAddress = value; } } // Check to see if IPAddress property is set internal bool IsSetIPAddress() { return this._ipAddress != null; } /// /// Gets and sets the property StatusReport. /// /// A complex type that contains the last failure reason as reported by one Amazon Route /// 53 health checker and the time of the failed health check. /// /// public StatusReport StatusReport { get { return this._statusReport; } set { this._statusReport = value; } } // Check to see if StatusReport property is set internal bool IsSetStatusReport() { return this._statusReport != null; } } }