/* * 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 { /// /// Metadata about the detection source that generates proactive anomalies. The anomaly /// is detected using analysis of the metric data
 over a period of time /// public partial class AnomalySourceMetadata { private string _source; private string _sourceResourceName; private string _sourceResourceType; /// /// Gets and sets the property Source. /// /// The source of the anomaly. /// /// public string Source { get { return this._source; } set { this._source = value; } } // Check to see if Source property is set internal bool IsSetSource() { return this._source != null; } /// /// Gets and sets the property SourceResourceName. /// /// The name of the anomaly's resource. /// /// public string SourceResourceName { get { return this._sourceResourceName; } set { this._sourceResourceName = value; } } // Check to see if SourceResourceName property is set internal bool IsSetSourceResourceName() { return this._sourceResourceName != null; } /// /// Gets and sets the property SourceResourceType. /// /// The anomaly's resource type. /// /// [AWSProperty(Min=1, Max=256)] public string SourceResourceType { get { return this._sourceResourceType; } set { this._sourceResourceType = value; } } // Check to see if SourceResourceType property is set internal bool IsSetSourceResourceType() { return this._sourceResourceType != null; } } }