/*
* 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 holds all supported Audit Manager settings.
///
public partial class Settings
{
private AssessmentReportsDestination _defaultAssessmentReportsDestination;
private DefaultExportDestination _defaultExportDestination;
private List _defaultProcessOwners = new List();
private DeregistrationPolicy _deregistrationPolicy;
private EvidenceFinderEnablement _evidenceFinderEnablement;
private bool? _isAwsOrgEnabled;
private string _kmsKey;
private string _snsTopic;
///
/// Gets and sets the property DefaultAssessmentReportsDestination.
///
/// The default S3 destination bucket for storing assessment reports.
///
///
public AssessmentReportsDestination DefaultAssessmentReportsDestination
{
get { return this._defaultAssessmentReportsDestination; }
set { this._defaultAssessmentReportsDestination = value; }
}
// Check to see if DefaultAssessmentReportsDestination property is set
internal bool IsSetDefaultAssessmentReportsDestination()
{
return this._defaultAssessmentReportsDestination != null;
}
///
/// Gets and sets the property DefaultExportDestination.
///
/// The default S3 destination bucket for storing evidence finder exports.
///
///
public DefaultExportDestination DefaultExportDestination
{
get { return this._defaultExportDestination; }
set { this._defaultExportDestination = value; }
}
// Check to see if DefaultExportDestination property is set
internal bool IsSetDefaultExportDestination()
{
return this._defaultExportDestination != null;
}
///
/// Gets and sets the property DefaultProcessOwners.
///
/// The designated default audit owners.
///
///
public List DefaultProcessOwners
{
get { return this._defaultProcessOwners; }
set { this._defaultProcessOwners = value; }
}
// Check to see if DefaultProcessOwners property is set
internal bool IsSetDefaultProcessOwners()
{
return this._defaultProcessOwners != null && this._defaultProcessOwners.Count > 0;
}
///
/// Gets and sets the property DeregistrationPolicy.
///
/// The deregistration policy for your Audit Manager data. You can use this attribute
/// to determine how your data is handled when you deregister Audit Manager.
///
///
public DeregistrationPolicy DeregistrationPolicy
{
get { return this._deregistrationPolicy; }
set { this._deregistrationPolicy = value; }
}
// Check to see if DeregistrationPolicy property is set
internal bool IsSetDeregistrationPolicy()
{
return this._deregistrationPolicy != null;
}
///
/// Gets and sets the property EvidenceFinderEnablement.
///
/// The current evidence finder status and event data store details.
///
///
public EvidenceFinderEnablement EvidenceFinderEnablement
{
get { return this._evidenceFinderEnablement; }
set { this._evidenceFinderEnablement = value; }
}
// Check to see if EvidenceFinderEnablement property is set
internal bool IsSetEvidenceFinderEnablement()
{
return this._evidenceFinderEnablement != null;
}
///
/// Gets and sets the property IsAwsOrgEnabled.
///
/// Specifies whether Organizations is enabled.
///
///
public bool IsAwsOrgEnabled
{
get { return this._isAwsOrgEnabled.GetValueOrDefault(); }
set { this._isAwsOrgEnabled = value; }
}
// Check to see if IsAwsOrgEnabled property is set
internal bool IsSetIsAwsOrgEnabled()
{
return this._isAwsOrgEnabled.HasValue;
}
///
/// Gets and sets the property KmsKey.
///
/// The KMS key details.
///
///
[AWSProperty(Min=7, Max=2048)]
public string KmsKey
{
get { return this._kmsKey; }
set { this._kmsKey = value; }
}
// Check to see if KmsKey property is set
internal bool IsSetKmsKey()
{
return this._kmsKey != null;
}
///
/// Gets and sets the property SnsTopic.
///
/// The designated Amazon Simple Notification Service (Amazon SNS) topic.
///
///
[AWSProperty(Min=1, Max=255)]
public string SnsTopic
{
get { return this._snsTopic; }
set { this._snsTopic = value; }
}
// Check to see if SnsTopic property is set
internal bool IsSetSnsTopic()
{
return this._snsTopic != null;
}
}
}