/*
* 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 elasticloadbalancing-2012-06-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.ElasticLoadBalancing.Model
{
///
/// The policies for a load balancer.
///
public partial class Policies
{
private List _appCookieStickinessPolicies = new List();
private List _lbCookieStickinessPolicies = new List();
private List _otherPolicies = new List();
///
/// Empty constructor used to set properties independently even when a simple constructor is available
///
public Policies() { }
///
/// Gets and sets the property AppCookieStickinessPolicies.
///
/// The stickiness policies created using CreateAppCookieStickinessPolicy.
///
///
public List AppCookieStickinessPolicies
{
get { return this._appCookieStickinessPolicies; }
set { this._appCookieStickinessPolicies = value; }
}
// Check to see if AppCookieStickinessPolicies property is set
internal bool IsSetAppCookieStickinessPolicies()
{
return this._appCookieStickinessPolicies != null && this._appCookieStickinessPolicies.Count > 0;
}
///
/// Gets and sets the property LBCookieStickinessPolicies.
///
/// The stickiness policies created using CreateLBCookieStickinessPolicy.
///
///
public List LBCookieStickinessPolicies
{
get { return this._lbCookieStickinessPolicies; }
set { this._lbCookieStickinessPolicies = value; }
}
// Check to see if LBCookieStickinessPolicies property is set
internal bool IsSetLBCookieStickinessPolicies()
{
return this._lbCookieStickinessPolicies != null && this._lbCookieStickinessPolicies.Count > 0;
}
///
/// Gets and sets the property OtherPolicies.
///
/// The policies other than the stickiness policies.
///
///
public List OtherPolicies
{
get { return this._otherPolicies; }
set { this._otherPolicies = value; }
}
// Check to see if OtherPolicies property is set
internal bool IsSetOtherPolicies()
{
return this._otherPolicies != null && this._otherPolicies.Count > 0;
}
}
}