/* * 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 forecast-2018-06-26.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.ForecastService.Model { /// /// The time boundary Forecast uses to align and aggregate your data to match your forecast /// frequency. Provide the unit of time and the time boundary as a key value pair. If /// you don't provide a time boundary, Forecast uses a set of Default /// Time Boundaries. /// /// /// /// For more information about aggregation, see Data /// Aggregation for Different Forecast Frequencies. For more information setting a /// custom time boundary, see Specifying /// a Time Boundary. /// /// public partial class TimeAlignmentBoundary { private int? _dayOfMonth; private DayOfWeek _dayOfWeek; private int? _hour; private Month _month; /// /// Gets and sets the property DayOfMonth. /// /// The day of the month to use for time alignment during aggregation. /// /// [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 week to use for time alignment during aggregation. The day must be in uppercase. /// /// public DayOfWeek DayOfWeek { get { return this._dayOfWeek; } set { this._dayOfWeek = value; } } // Check to see if DayOfWeek property is set internal bool IsSetDayOfWeek() { return this._dayOfWeek != null; } /// /// Gets and sets the property Hour. /// /// The hour of day to use for time alignment during aggregation. /// /// [AWSProperty(Min=0, Max=23)] public int Hour { get { return this._hour.GetValueOrDefault(); } set { this._hour = value; } } // Check to see if Hour property is set internal bool IsSetHour() { return this._hour.HasValue; } /// /// Gets and sets the property Month. /// /// The month to use for time alignment during aggregation. The month must be in uppercase. /// /// public Month Month { get { return this._month; } set { this._month = value; } } // Check to see if Month property is set internal bool IsSetMonth() { return this._month != null; } } }