/*
* 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
{
///
/// This is the response object from the DescribeLabel operation.
///
public partial class DescribeLabelResponse : AmazonWebServiceResponse
{
private DateTime? _createdAt;
private DateTime? _endTime;
private string _equipment;
private string _faultCode;
private string _labelGroupArn;
private string _labelGroupName;
private string _labelId;
private string _notes;
private LabelRating _rating;
private DateTime? _startTime;
///
/// Gets and sets the property CreatedAt.
///
/// The time at which the label was created.
///
///
public DateTime CreatedAt
{
get { return this._createdAt.GetValueOrDefault(); }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt.HasValue;
}
///
/// Gets and sets the property EndTime.
///
/// The end time of the requested label.
///
///
public DateTime EndTime
{
get { return this._endTime.GetValueOrDefault(); }
set { this._endTime = value; }
}
// Check to see if EndTime property is set
internal bool IsSetEndTime()
{
return this._endTime.HasValue;
}
///
/// Gets and sets the property Equipment.
///
/// Indicates that a label pertains to a particular piece of equipment.
///
///
[AWSProperty(Min=1, Max=200)]
public string Equipment
{
get { return this._equipment; }
set { this._equipment = value; }
}
// Check to see if Equipment property is set
internal bool IsSetEquipment()
{
return this._equipment != null;
}
///
/// Gets and sets the property FaultCode.
///
/// Indicates the type of anomaly associated with the label.
///
///
///
/// Data in this field will be retained for service usage. Follow best practices for the
/// security of your data.
///
///
[AWSProperty(Min=1, Max=100)]
public string FaultCode
{
get { return this._faultCode; }
set { this._faultCode = value; }
}
// Check to see if FaultCode property is set
internal bool IsSetFaultCode()
{
return this._faultCode != null;
}
///
/// Gets and sets the property LabelGroupArn.
///
/// The ARN of the requested label group.
///
///
[AWSProperty(Min=20, Max=2048)]
public string LabelGroupArn
{
get { return this._labelGroupArn; }
set { this._labelGroupArn = value; }
}
// Check to see if LabelGroupArn property is set
internal bool IsSetLabelGroupArn()
{
return this._labelGroupArn != null;
}
///
/// Gets and sets the property LabelGroupName.
///
/// The name of the requested label group.
///
///
[AWSProperty(Min=1, Max=200)]
public string LabelGroupName
{
get { return this._labelGroupName; }
set { this._labelGroupName = value; }
}
// Check to see if LabelGroupName property is set
internal bool IsSetLabelGroupName()
{
return this._labelGroupName != null;
}
///
/// Gets and sets the property LabelId.
///
/// The ID of the requested label.
///
///
[AWSProperty(Max=32)]
public string LabelId
{
get { return this._labelId; }
set { this._labelId = value; }
}
// Check to see if LabelId property is set
internal bool IsSetLabelId()
{
return this._labelId != null;
}
///
/// Gets and sets the property Notes.
///
/// Metadata providing additional information about the label.
///
///
///
/// Data in this field will be retained for service usage. Follow best practices for the
/// security of your data.
///
///
[AWSProperty(Min=1, Max=2560)]
public string Notes
{
get { return this._notes; }
set { this._notes = value; }
}
// Check to see if Notes property is set
internal bool IsSetNotes()
{
return this._notes != null;
}
///
/// Gets and sets the property Rating.
///
/// Indicates whether a labeled event represents an anomaly.
///
///
public LabelRating Rating
{
get { return this._rating; }
set { this._rating = value; }
}
// Check to see if Rating property is set
internal bool IsSetRating()
{
return this._rating != null;
}
///
/// Gets and sets the property StartTime.
///
/// The start time of the requested label.
///
///
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
}
}