/*
* 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 devops-guru-2020-12-01.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.DevOpsGuru.Model
{
///
/// Information about a reactive insight. This object is returned by ListInsights
.
///
public partial class ReactiveInsight
{
private string _description;
private string _id;
private InsightTimeRange _insightTimeRange;
private string _name;
private ResourceCollection _resourceCollection;
private InsightSeverity _severity;
private string _ssmOpsItemId;
private InsightStatus _status;
///
/// Gets and sets the property Description.
///
/// Describes the reactive insight.
///
///
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Id.
///
/// The ID of a reactive insight.
///
///
[AWSProperty(Min=1, Max=100)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property InsightTimeRange.
///
public InsightTimeRange InsightTimeRange
{
get { return this._insightTimeRange; }
set { this._insightTimeRange = value; }
}
// Check to see if InsightTimeRange property is set
internal bool IsSetInsightTimeRange()
{
return this._insightTimeRange != null;
}
///
/// Gets and sets the property Name.
///
/// The name of a reactive insight.
///
///
[AWSProperty(Min=1, Max=530)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property ResourceCollection.
///
public ResourceCollection ResourceCollection
{
get { return this._resourceCollection; }
set { this._resourceCollection = value; }
}
// Check to see if ResourceCollection property is set
internal bool IsSetResourceCollection()
{
return this._resourceCollection != null;
}
///
/// Gets and sets the property Severity.
///
/// The severity of the insight. For more information, see Understanding
/// insight severities in the Amazon DevOps Guru User Guide.
///
///
public InsightSeverity Severity
{
get { return this._severity; }
set { this._severity = value; }
}
// Check to see if Severity property is set
internal bool IsSetSeverity()
{
return this._severity != null;
}
///
/// Gets and sets the property SsmOpsItemId.
///
/// The ID of the Amazon Web Services System Manager OpsItem created for this insight.
/// You must enable the creation of OpstItems insights before they are created for each
/// insight.
///
///
[AWSProperty(Min=1, Max=100)]
public string SsmOpsItemId
{
get { return this._ssmOpsItemId; }
set { this._ssmOpsItemId = value; }
}
// Check to see if SsmOpsItemId property is set
internal bool IsSetSsmOpsItemId()
{
return this._ssmOpsItemId != null;
}
///
/// Gets and sets the property Status.
///
/// The status of a reactive insight.
///
///
public InsightStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}