/*
* 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 securitylake-2018-05-10.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.SecurityLake.Model
{
///
/// The details for an Amazon Security Lake exception.
///
public partial class DataLakeException
{
private string _exception;
private string _region;
private string _remediation;
private DateTime? _timestamp;
///
/// Gets and sets the property Exception.
///
/// The underlying exception of a Security Lake exception.
///
///
public string Exception
{
get { return this._exception; }
set { this._exception = value; }
}
// Check to see if Exception property is set
internal bool IsSetException()
{
return this._exception != null;
}
///
/// Gets and sets the property Region.
///
/// The Amazon Web Services Regions where the exception occurred.
///
///
public string Region
{
get { return this._region; }
set { this._region = value; }
}
// Check to see if Region property is set
internal bool IsSetRegion()
{
return this._region != null;
}
///
/// Gets and sets the property Remediation.
///
/// List of all remediation steps for a Security Lake exception.
///
///
public string Remediation
{
get { return this._remediation; }
set { this._remediation = value; }
}
// Check to see if Remediation property is set
internal bool IsSetRemediation()
{
return this._remediation != null;
}
///
/// Gets and sets the property Timestamp.
///
/// This error can occur if you configure the wrong timestamp format, or if the subset
/// of entries used for validation had errors or missing values.
///
///
public DateTime Timestamp
{
get { return this._timestamp.GetValueOrDefault(); }
set { this._timestamp = value; }
}
// Check to see if Timestamp property is set
internal bool IsSetTimestamp()
{
return this._timestamp.HasValue;
}
}
}