/*
* 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 auditmanager-2017-07-25.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.AuditManager.Model
{
///
/// The settings object that specifies whether evidence finder is enabled. This object
/// also describes the related event data store, and the backfill status for populating
/// the event data store with evidence data.
///
public partial class EvidenceFinderEnablement
{
private EvidenceFinderBackfillStatus _backfillStatus;
private EvidenceFinderEnablementStatus _enablementStatus;
private string _error;
private string _eventDataStoreArn;
///
/// Gets and sets the property BackfillStatus.
///
/// The current status of the evidence data backfill process.
///
///
///
/// The backfill starts after you enable evidence finder. During this task, Audit Manager
/// populates an event data store with your past two years’ worth of evidence data so
/// that your evidence can be queried.
///
/// -
///
///
NOT_STARTED
means that the backfill hasn’t started yet.
///
/// -
///
///
IN_PROGRESS
means that the backfill is in progress. This can take up
/// to 7 days to complete, depending on the amount of evidence data.
///
/// -
///
///
COMPLETED
means that the backfill is complete. All of your past evidence
/// is now queryable.
///
///
///
public EvidenceFinderBackfillStatus BackfillStatus
{
get { return this._backfillStatus; }
set { this._backfillStatus = value; }
}
// Check to see if BackfillStatus property is set
internal bool IsSetBackfillStatus()
{
return this._backfillStatus != null;
}
///
/// Gets and sets the property EnablementStatus.
///
/// The current status of the evidence finder feature and the related event data store.
///
///
/// -
///
///
ENABLE_IN_PROGRESS
means that you requested to enable evidence finder.
/// An event data store is currently being created to support evidence finder queries.
///
/// -
///
///
ENABLED
means that an event data store was successfully created and
/// evidence finder is enabled. We recommend that you wait 7 days until the event data
/// store is backfilled with your past two years’ worth of evidence data. You can use
/// evidence finder in the meantime, but not all data might be available until the backfill
/// is complete.
///
/// -
///
///
DISABLE_IN_PROGRESS
means that you requested to disable evidence finder,
/// and your request is pending the deletion of the event data store.
///
/// -
///
///
DISABLED
means that you have permanently disabled evidence finder and
/// the event data store has been deleted. You can't re-enable evidence finder after this
/// point.
///
///
///
public EvidenceFinderEnablementStatus EnablementStatus
{
get { return this._enablementStatus; }
set { this._enablementStatus = value; }
}
// Check to see if EnablementStatus property is set
internal bool IsSetEnablementStatus()
{
return this._enablementStatus != null;
}
///
/// Gets and sets the property Error.
///
/// Represents any errors that occurred when enabling or disabling evidence finder.
///
///
[AWSProperty(Max=300)]
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 EventDataStoreArn.
///
/// The Amazon Resource Name (ARN) of the CloudTrail Lake event data store that’s used
/// by evidence finder. The event data store is the lake of evidence data that evidence
/// finder runs queries against.
///
///
[AWSProperty(Min=20, Max=2048)]
public string EventDataStoreArn
{
get { return this._eventDataStoreArn; }
set { this._eventDataStoreArn = value; }
}
// Check to see if EventDataStoreArn property is set
internal bool IsSetEventDataStoreArn()
{
return this._eventDataStoreArn != null;
}
}
}