/* * 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 a time-based instance's auto scaling schedule. The schedule consists of /// a set of key-value pairs. /// /// /// /// The default setting for all time periods is off, so you use the following parameters /// primarily to specify the online periods. You don't have to explicitly specify offline /// periods unless you want to change an online period to an offline period. /// /// /// /// The following example specifies that the instance should be online for four hours, /// from UTC 1200 - 1600. It will be off for the remainder of the day. /// /// /// /// { "12":"on", "13":"on", "14":"on", "15":"on" } /// /// public partial class WeeklyAutoScalingSchedule { private Dictionary _friday = new Dictionary(); private Dictionary _monday = new Dictionary(); private Dictionary _saturday = new Dictionary(); private Dictionary _sunday = new Dictionary(); private Dictionary _thursday = new Dictionary(); private Dictionary _tuesday = new Dictionary(); private Dictionary _wednesday = new Dictionary(); /// /// Gets and sets the property Friday. /// /// The schedule for Friday. /// /// public Dictionary Friday { get { return this._friday; } set { this._friday = value; } } // Check to see if Friday property is set internal bool IsSetFriday() { return this._friday != null && this._friday.Count > 0; } /// /// Gets and sets the property Monday. /// /// The schedule for Monday. /// /// public Dictionary Monday { get { return this._monday; } set { this._monday = value; } } // Check to see if Monday property is set internal bool IsSetMonday() { return this._monday != null && this._monday.Count > 0; } /// /// Gets and sets the property Saturday. /// /// The schedule for Saturday. /// /// public Dictionary Saturday { get { return this._saturday; } set { this._saturday = value; } } // Check to see if Saturday property is set internal bool IsSetSaturday() { return this._saturday != null && this._saturday.Count > 0; } /// /// Gets and sets the property Sunday. /// /// The schedule for Sunday. /// /// public Dictionary Sunday { get { return this._sunday; } set { this._sunday = value; } } // Check to see if Sunday property is set internal bool IsSetSunday() { return this._sunday != null && this._sunday.Count > 0; } /// /// Gets and sets the property Thursday. /// /// The schedule for Thursday. /// /// public Dictionary Thursday { get { return this._thursday; } set { this._thursday = value; } } // Check to see if Thursday property is set internal bool IsSetThursday() { return this._thursday != null && this._thursday.Count > 0; } /// /// Gets and sets the property Tuesday. /// /// The schedule for Tuesday. /// /// public Dictionary Tuesday { get { return this._tuesday; } set { this._tuesday = value; } } // Check to see if Tuesday property is set internal bool IsSetTuesday() { return this._tuesday != null && this._tuesday.Count > 0; } /// /// Gets and sets the property Wednesday. /// /// The schedule for Wednesday. /// /// public Dictionary Wednesday { get { return this._wednesday; } set { this._wednesday = value; } } // Check to see if Wednesday property is set internal bool IsSetWednesday() { return this._wednesday != null && this._wednesday.Count > 0; } } }