/* * 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 iot-2015-05-28.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.IoT.Model { /// /// The summary of an ML Detect behavior model. /// public partial class BehaviorModelTrainingSummary { private string _behaviorName; private double? _datapointsCollectionPercentage; private DateTime? _lastModelRefreshDate; private ModelStatus _modelStatus; private string _securityProfileName; private DateTime? _trainingDataCollectionStartDate; /// /// Gets and sets the property BehaviorName. /// /// The name of the behavior. /// /// [AWSProperty(Min=1, Max=128)] public string BehaviorName { get { return this._behaviorName; } set { this._behaviorName = value; } } // Check to see if BehaviorName property is set internal bool IsSetBehaviorName() { return this._behaviorName != null; } /// /// Gets and sets the property DatapointsCollectionPercentage. /// /// The percentage of datapoints collected. /// /// [AWSProperty(Min=0, Max=100)] public double DatapointsCollectionPercentage { get { return this._datapointsCollectionPercentage.GetValueOrDefault(); } set { this._datapointsCollectionPercentage = value; } } // Check to see if DatapointsCollectionPercentage property is set internal bool IsSetDatapointsCollectionPercentage() { return this._datapointsCollectionPercentage.HasValue; } /// /// Gets and sets the property LastModelRefreshDate. /// /// The date the model was last refreshed. /// /// public DateTime LastModelRefreshDate { get { return this._lastModelRefreshDate.GetValueOrDefault(); } set { this._lastModelRefreshDate = value; } } // Check to see if LastModelRefreshDate property is set internal bool IsSetLastModelRefreshDate() { return this._lastModelRefreshDate.HasValue; } /// /// Gets and sets the property ModelStatus. /// /// The status of the behavior model. /// /// public ModelStatus ModelStatus { get { return this._modelStatus; } set { this._modelStatus = value; } } // Check to see if ModelStatus property is set internal bool IsSetModelStatus() { return this._modelStatus != null; } /// /// Gets and sets the property SecurityProfileName. /// /// The name of the security profile. /// /// [AWSProperty(Min=1, Max=128)] public string SecurityProfileName { get { return this._securityProfileName; } set { this._securityProfileName = value; } } // Check to see if SecurityProfileName property is set internal bool IsSetSecurityProfileName() { return this._securityProfileName != null; } /// /// Gets and sets the property TrainingDataCollectionStartDate. /// /// The date a training model started collecting data. /// /// public DateTime TrainingDataCollectionStartDate { get { return this._trainingDataCollectionStartDate.GetValueOrDefault(); } set { this._trainingDataCollectionStartDate = value; } } // Check to see if TrainingDataCollectionStartDate property is set internal bool IsSetTrainingDataCollectionStartDate() { return this._trainingDataCollectionStartDate.HasValue; } } }