/* * 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 securityhub-2018-10-26.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.SecurityHub.Model { /// /// Updates to the severity information for a finding. /// public partial class SeverityUpdate { private SeverityLabel _label; private int? _normalized; private double? _product; /// /// Gets and sets the property Label. /// /// The severity value of the finding. The allowed values are the following. /// /// /// public SeverityLabel Label { get { return this._label; } set { this._label = value; } } // Check to see if Label property is set internal bool IsSetLabel() { return this._label != null; } /// /// Gets and sets the property Normalized. /// /// The normalized severity for the finding. This attribute is to be deprecated in favor /// of Label. /// /// /// /// If you provide Normalized and do not provide Label, Label /// is set automatically as follows. /// /// /// [AWSProperty(Min=0, Max=100)] public int Normalized { get { return this._normalized.GetValueOrDefault(); } set { this._normalized = value; } } // Check to see if Normalized property is set internal bool IsSetNormalized() { return this._normalized.HasValue; } /// /// Gets and sets the property Product. /// /// The native severity as defined by the Amazon Web Services service or integrated partner /// product that generated the finding. /// /// public double Product { get { return this._product.GetValueOrDefault(); } set { this._product = value; } } // Check to see if Product property is set internal bool IsSetProduct() { return this._product.HasValue; } } }