/* * 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 lightsail-2016-11-28.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.Lightsail.Model { /// /// Describes the Amazon Web Services Region. /// public partial class Region { private List _availabilityZones = new List(); private string _continentCode; private string _description; private string _displayName; private RegionName _name; private List _relationalDatabaseAvailabilityZones = new List(); /// /// Gets and sets the property AvailabilityZones. /// /// The Availability Zones. Follows the format us-east-2a (case-sensitive). /// /// public List AvailabilityZones { get { return this._availabilityZones; } set { this._availabilityZones = value; } } // Check to see if AvailabilityZones property is set internal bool IsSetAvailabilityZones() { return this._availabilityZones != null && this._availabilityZones.Count > 0; } /// /// Gets and sets the property ContinentCode. /// /// The continent code (e.g., NA, meaning North America). /// /// public string ContinentCode { get { return this._continentCode; } set { this._continentCode = value; } } // Check to see if ContinentCode property is set internal bool IsSetContinentCode() { return this._continentCode != null; } /// /// Gets and sets the property Description. /// /// The description of the Amazon Web Services Region (e.g., This region is recommended /// to serve users in the eastern United States and eastern Canada). /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property DisplayName. /// /// The display name (e.g., Ohio). /// /// public string DisplayName { get { return this._displayName; } set { this._displayName = value; } } // Check to see if DisplayName property is set internal bool IsSetDisplayName() { return this._displayName != null; } /// /// Gets and sets the property Name. /// /// The region name (e.g., us-east-2). /// /// public RegionName Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property RelationalDatabaseAvailabilityZones. /// /// The Availability Zones for databases. Follows the format us-east-2a (case-sensitive). /// /// public List RelationalDatabaseAvailabilityZones { get { return this._relationalDatabaseAvailabilityZones; } set { this._relationalDatabaseAvailabilityZones = value; } } // Check to see if RelationalDatabaseAvailabilityZones property is set internal bool IsSetRelationalDatabaseAvailabilityZones() { return this._relationalDatabaseAvailabilityZones != null && this._relationalDatabaseAvailabilityZones.Count > 0; } } }