/*
* 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
{
///
/// Container for the parameters to the ListInferenceEvents operation.
/// Lists all inference events that have been found for the specified inference scheduler.
///
public partial class ListInferenceEventsRequest : AmazonLookoutEquipmentRequest
{
private string _inferenceSchedulerName;
private DateTime? _intervalEndTime;
private DateTime? _intervalStartTime;
private int? _maxResults;
private string _nextToken;
///
/// Gets and sets the property InferenceSchedulerName.
///
/// The name of the inference scheduler for the inference events listed.
///
///
[AWSProperty(Required=true, 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;
}
///
/// Gets and sets the property IntervalEndTime.
///
/// Returns all the inference events with an end start time equal to or greater than less
/// than the end time given
///
///
[AWSProperty(Required=true)]
public DateTime IntervalEndTime
{
get { return this._intervalEndTime.GetValueOrDefault(); }
set { this._intervalEndTime = value; }
}
// Check to see if IntervalEndTime property is set
internal bool IsSetIntervalEndTime()
{
return this._intervalEndTime.HasValue;
}
///
/// Gets and sets the property IntervalStartTime.
///
/// Lookout for Equipment will return all the inference events with an end time equal
/// to or greater than the start time given.
///
///
[AWSProperty(Required=true)]
public DateTime IntervalStartTime
{
get { return this._intervalStartTime.GetValueOrDefault(); }
set { this._intervalStartTime = value; }
}
// Check to see if IntervalStartTime property is set
internal bool IsSetIntervalStartTime()
{
return this._intervalStartTime.HasValue;
}
///
/// Gets and sets the property MaxResults.
///
/// Specifies the maximum number of inference events to list.
///
///
[AWSProperty(Min=1, Max=500)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
///
/// Gets and sets the property NextToken.
///
/// An opaque pagination token indicating where to continue the listing of inference events.
///
///
[AWSProperty(Max=8192)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}