/*
* 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 ec2-2016-11-15.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.EC2.Model
{
///
/// Describes Availability Zones, Local Zones, and Wavelength Zones.
///
public partial class AvailabilityZone
{
private string _groupName;
private List _messages = new List();
private string _networkBorderGroup;
private AvailabilityZoneOptInStatus _optInStatus;
private string _parentZoneId;
private string _parentZoneName;
private string _regionName;
private AvailabilityZoneState _state;
private string _zoneId;
private string _zoneName;
private string _zoneType;
///
/// Gets and sets the property GroupName.
///
/// For Availability Zones, this parameter has the same value as the Region name.
///
///
///
/// For Local Zones, the name of the associated group, for example us-west-2-lax-1
.
///
///
///
/// For Wavelength Zones, the name of the associated group, for example us-east-1-wl1-bos-wlz-1
.
///
///
public string GroupName
{
get { return this._groupName; }
set { this._groupName = value; }
}
// Check to see if GroupName property is set
internal bool IsSetGroupName()
{
return this._groupName != null;
}
///
/// Gets and sets the property Messages.
///
/// Any messages about the Availability Zone, Local Zone, or Wavelength Zone.
///
///
public List Messages
{
get { return this._messages; }
set { this._messages = value; }
}
// Check to see if Messages property is set
internal bool IsSetMessages()
{
return this._messages != null && this._messages.Count > 0;
}
///
/// Gets and sets the property NetworkBorderGroup.
///
/// The name of the network border group.
///
///
public string NetworkBorderGroup
{
get { return this._networkBorderGroup; }
set { this._networkBorderGroup = value; }
}
// Check to see if NetworkBorderGroup property is set
internal bool IsSetNetworkBorderGroup()
{
return this._networkBorderGroup != null;
}
///
/// Gets and sets the property OptInStatus.
///
/// For Availability Zones, this parameter always has the value of opt-in-not-required
.
///
///
///
/// For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible
/// values are opted-in
, and not-opted-in
.
///
///
public AvailabilityZoneOptInStatus OptInStatus
{
get { return this._optInStatus; }
set { this._optInStatus = value; }
}
// Check to see if OptInStatus property is set
internal bool IsSetOptInStatus()
{
return this._optInStatus != null;
}
///
/// Gets and sets the property ParentZoneId.
///
/// The ID of the zone that handles some of the Local Zone or Wavelength Zone control
/// plane operations, such as API calls.
///
///
public string ParentZoneId
{
get { return this._parentZoneId; }
set { this._parentZoneId = value; }
}
// Check to see if ParentZoneId property is set
internal bool IsSetParentZoneId()
{
return this._parentZoneId != null;
}
///
/// Gets and sets the property ParentZoneName.
///
/// The name of the zone that handles some of the Local Zone or Wavelength Zone control
/// plane operations, such as API calls.
///
///
public string ParentZoneName
{
get { return this._parentZoneName; }
set { this._parentZoneName = value; }
}
// Check to see if ParentZoneName property is set
internal bool IsSetParentZoneName()
{
return this._parentZoneName != null;
}
///
/// Gets and sets the property RegionName.
///
/// The name of the Region.
///
///
public string RegionName
{
get { return this._regionName; }
set { this._regionName = value; }
}
// Check to see if RegionName property is set
internal bool IsSetRegionName()
{
return this._regionName != null;
}
///
/// Gets and sets the property State.
///
/// The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is
/// always available
.
///
///
public AvailabilityZoneState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
///
/// Gets and sets the property ZoneId.
///
/// The ID of the Availability Zone, Local Zone, or Wavelength Zone.
///
///
public string ZoneId
{
get { return this._zoneId; }
set { this._zoneId = value; }
}
// Check to see if ZoneId property is set
internal bool IsSetZoneId()
{
return this._zoneId != null;
}
///
/// Gets and sets the property ZoneName.
///
/// The name of the Availability Zone, Local Zone, or Wavelength Zone.
///
///
public string ZoneName
{
get { return this._zoneName; }
set { this._zoneName = value; }
}
// Check to see if ZoneName property is set
internal bool IsSetZoneName()
{
return this._zoneName != null;
}
///
/// Gets and sets the property ZoneType.
///
/// The type of zone. The valid values are availability-zone
, local-zone
,
/// and wavelength-zone
.
///
///
public string ZoneType
{
get { return this._zoneType; }
set { this._zoneType = value; }
}
// Check to see if ZoneType property is set
internal bool IsSetZoneType()
{
return this._zoneType != null;
}
}
}