/* * 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 ProactiveOrganizationInsightSummary { private string _accountId; private string _id; private InsightTimeRange _insightTimeRange; private string _name; private string _organizationalUnitId; private PredictionTimeRange _predictionTimeRange; private ResourceCollection _resourceCollection; private ServiceCollection _serviceCollection; private InsightSeverity _severity; private InsightStatus _status; /// /// Gets and sets the property AccountId. /// /// The ID of the Amazon Web Services account. /// /// [AWSProperty(Min=12, Max=12)] public string AccountId { get { return this._accountId; } set { this._accountId = value; } } // Check to see if AccountId property is set internal bool IsSetAccountId() { return this._accountId != null; } /// /// Gets and sets the property Id. /// /// The ID of the insight summary. /// /// [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 insight summary. /// /// [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 OrganizationalUnitId. /// /// The ID of the organizational unit. /// /// [AWSProperty(Max=68)] public string OrganizationalUnitId { get { return this._organizationalUnitId; } set { this._organizationalUnitId = value; } } // Check to see if OrganizationalUnitId property is set internal bool IsSetOrganizationalUnitId() { return this._organizationalUnitId != 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. /// 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. /// /// An array of severity values used to search for insights. 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. /// /// An array of status values used to search for insights. /// /// 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; } } }