/* * 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 { /// /// Details about the sensitive data that was detected on the resource. /// public partial class ClassificationResult { private bool? _additionalOccurrences; private CustomDataIdentifiersResult _customDataIdentifiers; private string _mimeType; private List _sensitiveData = new List(); private long? _sizeClassified; private ClassificationStatus _status; /// /// Gets and sets the property AdditionalOccurrences. /// /// Indicates whether there are additional occurrences of sensitive data that are not /// included in the finding. This occurs when the number of occurrences exceeds the maximum /// that can be included. /// /// public bool AdditionalOccurrences { get { return this._additionalOccurrences.GetValueOrDefault(); } set { this._additionalOccurrences = value; } } // Check to see if AdditionalOccurrences property is set internal bool IsSetAdditionalOccurrences() { return this._additionalOccurrences.HasValue; } /// /// Gets and sets the property CustomDataIdentifiers. /// /// Provides details about sensitive data that was identified based on customer-defined /// configuration. /// /// public CustomDataIdentifiersResult CustomDataIdentifiers { get { return this._customDataIdentifiers; } set { this._customDataIdentifiers = value; } } // Check to see if CustomDataIdentifiers property is set internal bool IsSetCustomDataIdentifiers() { return this._customDataIdentifiers != null; } /// /// Gets and sets the property MimeType. /// /// The type of content that the finding applies to. /// /// public string MimeType { get { return this._mimeType; } set { this._mimeType = value; } } // Check to see if MimeType property is set internal bool IsSetMimeType() { return this._mimeType != null; } /// /// Gets and sets the property SensitiveData. /// /// Provides details about sensitive data that was identified based on built-in configuration. /// /// public List SensitiveData { get { return this._sensitiveData; } set { this._sensitiveData = value; } } // Check to see if SensitiveData property is set internal bool IsSetSensitiveData() { return this._sensitiveData != null && this._sensitiveData.Count > 0; } /// /// Gets and sets the property SizeClassified. /// /// The total size in bytes of the affected data. /// /// public long SizeClassified { get { return this._sizeClassified.GetValueOrDefault(); } set { this._sizeClassified = value; } } // Check to see if SizeClassified property is set internal bool IsSetSizeClassified() { return this._sizeClassified.HasValue; } /// /// Gets and sets the property Status. /// /// The current status of the sensitive data detection. /// /// public ClassificationStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }