/*
* 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
{
///
/// Details about a proactive insight. This object is returned by DescribeInsight.
///
public partial class ProactiveInsightSummary
{
private List _associatedResourceArns = new List();
private string _id;
private InsightTimeRange _insightTimeRange;
private string _name;
private PredictionTimeRange _predictionTimeRange;
private ResourceCollection _resourceCollection;
private ServiceCollection _serviceCollection;
private InsightSeverity _severity;
private InsightStatus _status;
///
/// Gets and sets the property AssociatedResourceArns.
///
/// The Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated
/// this insight.
///
///
public List AssociatedResourceArns
{
get { return this._associatedResourceArns; }
set { this._associatedResourceArns = value; }
}
// Check to see if AssociatedResourceArns property is set
internal bool IsSetAssociatedResourceArns()
{
return this._associatedResourceArns != null && this._associatedResourceArns.Count > 0;
}
///
/// Gets and sets the property Id.
///
/// The ID of the proactive 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 the proactive 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 PredictionTimeRange.
///
public PredictionTimeRange PredictionTimeRange
{
get { return this._predictionTimeRange; }
set { this._predictionTimeRange = value; }
}
// Check to see if PredictionTimeRange property is set
internal bool IsSetPredictionTimeRange()
{
return this._predictionTimeRange != 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 ServiceCollection.
///
/// A collection of the names of Amazon Web Services services.
///
///
public ServiceCollection ServiceCollection
{
get { return this._serviceCollection; }
set { this._serviceCollection = value; }
}
// Check to see if ServiceCollection property is set
internal bool IsSetServiceCollection()
{
return this._serviceCollection != 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 Status.
///
/// The status of the proactive 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;
}
}
}