/* * 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 { /// /// /// /// This object belongs to the CreatePredictor operation. If you created your predictor /// with CreateAutoPredictor, see AdditionalDataset. /// /// /// /// Describes a supplementary feature of a dataset group. This object is part of the InputDataConfig /// object. Forecast supports the Weather Index and Holidays built-in featurizations. /// /// /// /// Weather Index /// /// /// /// The Amazon Forecast Weather Index is a built-in featurization that incorporates historical /// and projected weather information into your model. The Weather Index supplements your /// datasets with over two years of historical weather data and up to 14 days of projected /// weather data. For more information, see Amazon /// Forecast Weather Index. /// /// /// /// Holidays /// /// /// /// Holidays is a built-in featurization that incorporates a feature-engineered dataset /// of national holiday information into your model. It provides native support for the /// holiday calendars of 66 countries. To view the holiday calendars, refer to the Jollyday library. For more information, /// see Holidays /// Featurization. /// /// public partial class SupplementaryFeature { private string _name; private string _value; /// /// Gets and sets the property Name. /// /// The name of the feature. Valid values: "holiday" and "weather". /// /// [AWSProperty(Required=true, Min=1, Max=63)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Value. /// /// Weather Index /// /// /// /// To enable the Weather Index, set the value to "true" /// /// /// /// Holidays /// /// /// /// To enable Holidays, specify a country with one of the following two-letter country /// codes: /// /// /// [AWSProperty(Required=true, Max=256)] public string Value { get { return this._value; } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value != null; } } }