/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about the sensitive data that was detected on the
* resource.See Also:
AWS
* API Reference
The type of content that the finding applies to.
*/ inline const Aws::String& GetMimeType() const{ return m_mimeType; } /** *The type of content that the finding applies to.
*/ inline bool MimeTypeHasBeenSet() const { return m_mimeTypeHasBeenSet; } /** *The type of content that the finding applies to.
*/ inline void SetMimeType(const Aws::String& value) { m_mimeTypeHasBeenSet = true; m_mimeType = value; } /** *The type of content that the finding applies to.
*/ inline void SetMimeType(Aws::String&& value) { m_mimeTypeHasBeenSet = true; m_mimeType = std::move(value); } /** *The type of content that the finding applies to.
*/ inline void SetMimeType(const char* value) { m_mimeTypeHasBeenSet = true; m_mimeType.assign(value); } /** *The type of content that the finding applies to.
*/ inline ClassificationResult& WithMimeType(const Aws::String& value) { SetMimeType(value); return *this;} /** *The type of content that the finding applies to.
*/ inline ClassificationResult& WithMimeType(Aws::String&& value) { SetMimeType(std::move(value)); return *this;} /** *The type of content that the finding applies to.
*/ inline ClassificationResult& WithMimeType(const char* value) { SetMimeType(value); return *this;} /** *The total size in bytes of the affected data.
*/ inline long long GetSizeClassified() const{ return m_sizeClassified; } /** *The total size in bytes of the affected data.
*/ inline bool SizeClassifiedHasBeenSet() const { return m_sizeClassifiedHasBeenSet; } /** *The total size in bytes of the affected data.
*/ inline void SetSizeClassified(long long value) { m_sizeClassifiedHasBeenSet = true; m_sizeClassified = value; } /** *The total size in bytes of the affected data.
*/ inline ClassificationResult& WithSizeClassified(long long value) { SetSizeClassified(value); return *this;} /** *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.
*/ inline bool GetAdditionalOccurrences() const{ return m_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.
*/ inline bool AdditionalOccurrencesHasBeenSet() const { return m_additionalOccurrencesHasBeenSet; } /** *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.
*/ inline void SetAdditionalOccurrences(bool value) { m_additionalOccurrencesHasBeenSet = true; m_additionalOccurrences = value; } /** *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.
*/ inline ClassificationResult& WithAdditionalOccurrences(bool value) { SetAdditionalOccurrences(value); return *this;} /** *The current status of the sensitive data detection.
*/ inline const ClassificationStatus& GetStatus() const{ return m_status; } /** *The current status of the sensitive data detection.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the sensitive data detection.
*/ inline void SetStatus(const ClassificationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the sensitive data detection.
*/ inline void SetStatus(ClassificationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the sensitive data detection.
*/ inline ClassificationResult& WithStatus(const ClassificationStatus& value) { SetStatus(value); return *this;} /** *The current status of the sensitive data detection.
*/ inline ClassificationResult& WithStatus(ClassificationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *Provides details about sensitive data that was identified based on built-in * configuration.
*/ inline const Aws::VectorProvides details about sensitive data that was identified based on built-in * configuration.
*/ inline bool SensitiveDataHasBeenSet() const { return m_sensitiveDataHasBeenSet; } /** *Provides details about sensitive data that was identified based on built-in * configuration.
*/ inline void SetSensitiveData(const Aws::VectorProvides details about sensitive data that was identified based on built-in * configuration.
*/ inline void SetSensitiveData(Aws::VectorProvides details about sensitive data that was identified based on built-in * configuration.
*/ inline ClassificationResult& WithSensitiveData(const Aws::VectorProvides details about sensitive data that was identified based on built-in * configuration.
*/ inline ClassificationResult& WithSensitiveData(Aws::VectorProvides details about sensitive data that was identified based on built-in * configuration.
*/ inline ClassificationResult& AddSensitiveData(const SensitiveDataResult& value) { m_sensitiveDataHasBeenSet = true; m_sensitiveData.push_back(value); return *this; } /** *Provides details about sensitive data that was identified based on built-in * configuration.
*/ inline ClassificationResult& AddSensitiveData(SensitiveDataResult&& value) { m_sensitiveDataHasBeenSet = true; m_sensitiveData.push_back(std::move(value)); return *this; } /** *Provides details about sensitive data that was identified based on * customer-defined configuration.
*/ inline const CustomDataIdentifiersResult& GetCustomDataIdentifiers() const{ return m_customDataIdentifiers; } /** *Provides details about sensitive data that was identified based on * customer-defined configuration.
*/ inline bool CustomDataIdentifiersHasBeenSet() const { return m_customDataIdentifiersHasBeenSet; } /** *Provides details about sensitive data that was identified based on * customer-defined configuration.
*/ inline void SetCustomDataIdentifiers(const CustomDataIdentifiersResult& value) { m_customDataIdentifiersHasBeenSet = true; m_customDataIdentifiers = value; } /** *Provides details about sensitive data that was identified based on * customer-defined configuration.
*/ inline void SetCustomDataIdentifiers(CustomDataIdentifiersResult&& value) { m_customDataIdentifiersHasBeenSet = true; m_customDataIdentifiers = std::move(value); } /** *Provides details about sensitive data that was identified based on * customer-defined configuration.
*/ inline ClassificationResult& WithCustomDataIdentifiers(const CustomDataIdentifiersResult& value) { SetCustomDataIdentifiers(value); return *this;} /** *Provides details about sensitive data that was identified based on * customer-defined configuration.
*/ inline ClassificationResult& WithCustomDataIdentifiers(CustomDataIdentifiersResult&& value) { SetCustomDataIdentifiers(std::move(value)); return *this;} private: Aws::String m_mimeType; bool m_mimeTypeHasBeenSet = false; long long m_sizeClassified; bool m_sizeClassifiedHasBeenSet = false; bool m_additionalOccurrences; bool m_additionalOccurrencesHasBeenSet = false; ClassificationStatus m_status; bool m_statusHasBeenSet = false; Aws::Vector