/*
* 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 macie2-2020-01-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.Macie2.Model
{
///
/// This is the response object from the GetSensitiveDataOccurrences operation.
///
public partial class GetSensitiveDataOccurrencesResponse : AmazonWebServiceResponse
{
private string _error;
private Dictionary> _sensitiveDataOccurrences = new Dictionary>();
private RevealRequestStatus _status;
///
/// Gets and sets the property Error.
///
/// If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive
/// data reported by the finding, a description of the error that occurred. This value
/// is null if the status (status) of the request is PROCESSING or SUCCESS.
///
///
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
///
/// Gets and sets the property SensitiveDataOccurrences.
///
/// A map that specifies 1-100 types of sensitive data reported by the finding and, for
/// each type, 1-10 occurrences of sensitive data.
///
///
public Dictionary> SensitiveDataOccurrences
{
get { return this._sensitiveDataOccurrences; }
set { this._sensitiveDataOccurrences = value; }
}
// Check to see if SensitiveDataOccurrences property is set
internal bool IsSetSensitiveDataOccurrences()
{
return this._sensitiveDataOccurrences != null && this._sensitiveDataOccurrences.Count > 0;
}
///
/// Gets and sets the property Status.
///
/// The status of the request to retrieve occurrences of sensitive data reported by the
/// finding. Possible values are:
///
/// -
///
/// ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt
/// the sensitive data. The error value indicates the nature of the error that occurred.
///
///
-
///
/// PROCESSING - Macie is processing the request.
///
///
-
///
/// SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
///
///
///
public RevealRequestStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}