/*
* 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 elasticbeanstalk-2010-12-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.ElasticBeanstalk.Model
{
///
/// Describes the AWS resources in use by this environment. This data is live.
///
public partial class EnvironmentResourceDescription
{
private List _autoScalingGroups = new List();
private string _environmentName;
private List _instances = new List();
private List _launchConfigurations = new List();
private List _launchTemplates = new List();
private List _loadBalancers = new List();
private List _queues = new List();
private List _triggers = new List();
///
/// Empty constructor used to set properties independently even when a simple constructor is available
///
public EnvironmentResourceDescription() { }
///
/// Gets and sets the property AutoScalingGroups.
///
/// The AutoScalingGroups
used by this environment.
///
///
public List AutoScalingGroups
{
get { return this._autoScalingGroups; }
set { this._autoScalingGroups = value; }
}
// Check to see if AutoScalingGroups property is set
internal bool IsSetAutoScalingGroups()
{
return this._autoScalingGroups != null && this._autoScalingGroups.Count > 0;
}
///
/// Gets and sets the property EnvironmentName.
///
/// The name of the environment.
///
///
[AWSProperty(Min=4, Max=40)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
///
/// Gets and sets the property Instances.
///
/// The Amazon EC2 instances used by this environment.
///
///
public List Instances
{
get { return this._instances; }
set { this._instances = value; }
}
// Check to see if Instances property is set
internal bool IsSetInstances()
{
return this._instances != null && this._instances.Count > 0;
}
///
/// Gets and sets the property LaunchConfigurations.
///
/// The Auto Scaling launch configurations in use by this environment.
///
///
public List LaunchConfigurations
{
get { return this._launchConfigurations; }
set { this._launchConfigurations = value; }
}
// Check to see if LaunchConfigurations property is set
internal bool IsSetLaunchConfigurations()
{
return this._launchConfigurations != null && this._launchConfigurations.Count > 0;
}
///
/// Gets and sets the property LaunchTemplates.
///
/// The Amazon EC2 launch templates in use by this environment.
///
///
public List LaunchTemplates
{
get { return this._launchTemplates; }
set { this._launchTemplates = value; }
}
// Check to see if LaunchTemplates property is set
internal bool IsSetLaunchTemplates()
{
return this._launchTemplates != null && this._launchTemplates.Count > 0;
}
///
/// Gets and sets the property LoadBalancers.
///
/// The LoadBalancers in use by this environment.
///
///
public List LoadBalancers
{
get { return this._loadBalancers; }
set { this._loadBalancers = value; }
}
// Check to see if LoadBalancers property is set
internal bool IsSetLoadBalancers()
{
return this._loadBalancers != null && this._loadBalancers.Count > 0;
}
///
/// Gets and sets the property Queues.
///
/// The queues used by this environment.
///
///
public List Queues
{
get { return this._queues; }
set { this._queues = value; }
}
// Check to see if Queues property is set
internal bool IsSetQueues()
{
return this._queues != null && this._queues.Count > 0;
}
///
/// Gets and sets the property Triggers.
///
/// The AutoScaling
triggers in use by this environment.
///
///
public List Triggers
{
get { return this._triggers; }
set { this._triggers = value; }
}
// Check to see if Triggers property is set
internal bool IsSetTriggers()
{
return this._triggers != null && this._triggers.Count > 0;
}
}
}