/*
* 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 opsworks-2013-02-18.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.OpsWorks.Model
{
///
/// Describes an Elastic Load Balancing instance.
///
public partial class ElasticLoadBalancer
{
private List _availabilityZones = new List();
private string _dnsName;
private List _ec2InstanceIds = new List();
private string _elasticLoadBalancerName;
private string _layerId;
private string _region;
private string _stackId;
private List _subnetIds = new List();
private string _vpcId;
///
/// Gets and sets the property AvailabilityZones.
///
/// A list of Availability Zones.
///
///
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 DnsName.
///
/// The instance's public DNS name.
///
///
public string DnsName
{
get { return this._dnsName; }
set { this._dnsName = value; }
}
// Check to see if DnsName property is set
internal bool IsSetDnsName()
{
return this._dnsName != null;
}
///
/// Gets and sets the property Ec2InstanceIds.
///
/// A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic
/// for.
///
///
public List Ec2InstanceIds
{
get { return this._ec2InstanceIds; }
set { this._ec2InstanceIds = value; }
}
// Check to see if Ec2InstanceIds property is set
internal bool IsSetEc2InstanceIds()
{
return this._ec2InstanceIds != null && this._ec2InstanceIds.Count > 0;
}
///
/// Gets and sets the property ElasticLoadBalancerName.
///
/// The Elastic Load Balancing instance's name.
///
///
public string ElasticLoadBalancerName
{
get { return this._elasticLoadBalancerName; }
set { this._elasticLoadBalancerName = value; }
}
// Check to see if ElasticLoadBalancerName property is set
internal bool IsSetElasticLoadBalancerName()
{
return this._elasticLoadBalancerName != null;
}
///
/// Gets and sets the property LayerId.
///
/// The ID of the layer that the instance is attached to.
///
///
public string LayerId
{
get { return this._layerId; }
set { this._layerId = value; }
}
// Check to see if LayerId property is set
internal bool IsSetLayerId()
{
return this._layerId != null;
}
///
/// Gets and sets the property Region.
///
/// The instance's AWS region.
///
///
public string 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 StackId.
///
/// The ID of the stack that the instance is associated with.
///
///
public string StackId
{
get { return this._stackId; }
set { this._stackId = value; }
}
// Check to see if StackId property is set
internal bool IsSetStackId()
{
return this._stackId != null;
}
///
/// Gets and sets the property SubnetIds.
///
/// A list of subnet IDs, if the stack is running in a VPC.
///
///
public List SubnetIds
{
get { return this._subnetIds; }
set { this._subnetIds = value; }
}
// Check to see if SubnetIds property is set
internal bool IsSetSubnetIds()
{
return this._subnetIds != null && this._subnetIds.Count > 0;
}
///
/// Gets and sets the property VpcId.
///
/// The VPC ID.
///
///
public string VpcId
{
get { return this._vpcId; }
set { this._vpcId = value; }
}
// Check to see if VpcId property is set
internal bool IsSetVpcId()
{
return this._vpcId != null;
}
}
}