/* * 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 personalize-2018-05-22.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.Personalize.Model { /// /// Specifies the hyperparameters and their default ranges. Hyperparameters can be categorical, /// continuous, or integer-valued. /// public partial class DefaultHyperParameterRanges { private List _categoricalHyperParameterRanges = new List(); private List _continuousHyperParameterRanges = new List(); private List _integerHyperParameterRanges = new List(); /// /// Gets and sets the property CategoricalHyperParameterRanges. /// /// The categorical hyperparameters and their default ranges. /// /// [AWSProperty(Max=100)] public List CategoricalHyperParameterRanges { get { return this._categoricalHyperParameterRanges; } set { this._categoricalHyperParameterRanges = value; } } // Check to see if CategoricalHyperParameterRanges property is set internal bool IsSetCategoricalHyperParameterRanges() { return this._categoricalHyperParameterRanges != null && this._categoricalHyperParameterRanges.Count > 0; } /// /// Gets and sets the property ContinuousHyperParameterRanges. /// /// The continuous hyperparameters and their default ranges. /// /// [AWSProperty(Max=100)] public List ContinuousHyperParameterRanges { get { return this._continuousHyperParameterRanges; } set { this._continuousHyperParameterRanges = value; } } // Check to see if ContinuousHyperParameterRanges property is set internal bool IsSetContinuousHyperParameterRanges() { return this._continuousHyperParameterRanges != null && this._continuousHyperParameterRanges.Count > 0; } /// /// Gets and sets the property IntegerHyperParameterRanges. /// /// The integer-valued hyperparameters and their default ranges. /// /// [AWSProperty(Max=100)] public List IntegerHyperParameterRanges { get { return this._integerHyperParameterRanges; } set { this._integerHyperParameterRanges = value; } } // Check to see if IntegerHyperParameterRanges property is set internal bool IsSetIntegerHyperParameterRanges() { return this._integerHyperParameterRanges != null && this._integerHyperParameterRanges.Count > 0; } } }