/* * 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 lookoutequipment-2020-12-15.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.LookoutEquipment.Model { /// /// Contains information about the specific inference event, including start and end time, /// diagnostics information, event duration and so on. /// public partial class InferenceEventSummary { private string _diagnostics; private long? _eventDurationInSeconds; private DateTime? _eventEndTime; private DateTime? _eventStartTime; private string _inferenceSchedulerArn; private string _inferenceSchedulerName; /// /// Gets and sets the property Diagnostics. /// /// An array which specifies the names and values of all sensors contributing to an inference /// event. /// /// [AWSProperty(Min=1, Max=50000)] public string Diagnostics { get { return this._diagnostics; } set { this._diagnostics = value; } } // Check to see if Diagnostics property is set internal bool IsSetDiagnostics() { return this._diagnostics != null; } /// /// Gets and sets the property EventDurationInSeconds. /// /// Indicates the size of an inference event in seconds. /// /// [AWSProperty(Min=0)] public long EventDurationInSeconds { get { return this._eventDurationInSeconds.GetValueOrDefault(); } set { this._eventDurationInSeconds = value; } } // Check to see if EventDurationInSeconds property is set internal bool IsSetEventDurationInSeconds() { return this._eventDurationInSeconds.HasValue; } /// /// Gets and sets the property EventEndTime. /// /// Indicates the ending time of an inference event. /// /// public DateTime EventEndTime { get { return this._eventEndTime.GetValueOrDefault(); } set { this._eventEndTime = value; } } // Check to see if EventEndTime property is set internal bool IsSetEventEndTime() { return this._eventEndTime.HasValue; } /// /// Gets and sets the property EventStartTime. /// /// Indicates the starting time of an inference event. /// /// public DateTime EventStartTime { get { return this._eventStartTime.GetValueOrDefault(); } set { this._eventStartTime = value; } } // Check to see if EventStartTime property is set internal bool IsSetEventStartTime() { return this._eventStartTime.HasValue; } /// /// Gets and sets the property InferenceSchedulerArn. /// /// The Amazon Resource Name (ARN) of the inference scheduler being used for the inference /// event. /// /// [AWSProperty(Min=20, Max=2048)] public string InferenceSchedulerArn { get { return this._inferenceSchedulerArn; } set { this._inferenceSchedulerArn = value; } } // Check to see if InferenceSchedulerArn property is set internal bool IsSetInferenceSchedulerArn() { return this._inferenceSchedulerArn != null; } /// /// Gets and sets the property InferenceSchedulerName. /// /// The name of the inference scheduler being used for the inference events. /// /// [AWSProperty(Min=1, Max=200)] public string InferenceSchedulerName { get { return this._inferenceSchedulerName; } set { this._inferenceSchedulerName = value; } } // Check to see if InferenceSchedulerName property is set internal bool IsSetInferenceSchedulerName() { return this._inferenceSchedulerName != null; } } }