/* * 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 storagegateway-2013-06-30.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.StorageGateway.Model { /// /// Container for the parameters to the UpdateMaintenanceStartTime operation. /// Updates a gateway's weekly maintenance start time information, including day and time /// of the week. The maintenance time is the time in your gateway's time zone. /// public partial class UpdateMaintenanceStartTimeRequest : AmazonStorageGatewayRequest { private int? _dayOfMonth; private int? _dayOfWeek; private string _gatewayARN; private int? _hourOfDay; private int? _minuteOfHour; /// /// Gets and sets the property DayOfMonth. /// /// The day of the month component of the maintenance start time represented as an ordinal /// number from 1 to 28, where 1 represents the first day of the month and 28 represents /// the last day of the month. /// /// [AWSProperty(Min=1, Max=28)] public int DayOfMonth { get { return this._dayOfMonth.GetValueOrDefault(); } set { this._dayOfMonth = value; } } // Check to see if DayOfMonth property is set internal bool IsSetDayOfMonth() { return this._dayOfMonth.HasValue; } /// /// Gets and sets the property DayOfWeek. /// /// The day of the week component of the maintenance start time week represented as an /// ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday. /// /// [AWSProperty(Min=0, Max=6)] public int DayOfWeek { get { return this._dayOfWeek.GetValueOrDefault(); } set { this._dayOfWeek = value; } } // Check to see if DayOfWeek property is set internal bool IsSetDayOfWeek() { return this._dayOfWeek.HasValue; } /// /// Gets and sets the property GatewayARN. /// [AWSProperty(Required=true, Min=50, Max=500)] public string GatewayARN { get { return this._gatewayARN; } set { this._gatewayARN = value; } } // Check to see if GatewayARN property is set internal bool IsSetGatewayARN() { return this._gatewayARN != null; } /// /// Gets and sets the property HourOfDay. /// /// The hour component of the maintenance start time represented as hh, where hh /// is the hour (00 to 23). The hour of the day is in the time zone of the gateway. /// /// [AWSProperty(Required=true, Min=0, Max=23)] public int HourOfDay { get { return this._hourOfDay.GetValueOrDefault(); } set { this._hourOfDay = value; } } // Check to see if HourOfDay property is set internal bool IsSetHourOfDay() { return this._hourOfDay.HasValue; } /// /// Gets and sets the property MinuteOfHour. /// /// The minute component of the maintenance start time represented as mm, where /// mm is the minute (00 to 59). The minute of the hour is in the time zone of /// the gateway. /// /// [AWSProperty(Required=true, Min=0, Max=59)] public int MinuteOfHour { get { return this._minuteOfHour.GetValueOrDefault(); } set { this._minuteOfHour = value; } } // Check to see if MinuteOfHour property is set internal bool IsSetMinuteOfHour() { return this._minuteOfHour.HasValue; } } }