/*
* 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 control mapping fields that represent the source for evidence collection, along
/// with related parameters and metadata. This doesn't contain mappingID
.
///
public partial class CreateControlMappingSource
{
private string _sourceDescription;
private SourceFrequency _sourceFrequency;
private SourceKeyword _sourceKeyword;
private string _sourceName;
private SourceSetUpOption _sourceSetUpOption;
private SourceType _sourceType;
private string _troubleshootingText;
///
/// Gets and sets the property SourceDescription.
///
/// The description of the data source that determines where Audit Manager collects evidence
/// from for the control.
///
///
[AWSProperty(Max=1000)]
public string SourceDescription
{
get { return this._sourceDescription; }
set { this._sourceDescription = value; }
}
// Check to see if SourceDescription property is set
internal bool IsSetSourceDescription()
{
return this._sourceDescription != null;
}
///
/// Gets and sets the property SourceFrequency.
///
/// Specifies how often evidence is collected from the control mapping source.
///
///
public SourceFrequency SourceFrequency
{
get { return this._sourceFrequency; }
set { this._sourceFrequency = value; }
}
// Check to see if SourceFrequency property is set
internal bool IsSetSourceFrequency()
{
return this._sourceFrequency != null;
}
///
/// Gets and sets the property SourceKeyword.
///
public SourceKeyword SourceKeyword
{
get { return this._sourceKeyword; }
set { this._sourceKeyword = value; }
}
// Check to see if SourceKeyword property is set
internal bool IsSetSourceKeyword()
{
return this._sourceKeyword != null;
}
///
/// Gets and sets the property SourceName.
///
/// The name of the control mapping data source.
///
///
[AWSProperty(Min=1, Max=100)]
public string SourceName
{
get { return this._sourceName; }
set { this._sourceName = value; }
}
// Check to see if SourceName property is set
internal bool IsSetSourceName()
{
return this._sourceName != null;
}
///
/// Gets and sets the property SourceSetUpOption.
///
/// The setup option for the data source, which reflects if the evidence collection is
/// automated or manual.
///
///
public SourceSetUpOption SourceSetUpOption
{
get { return this._sourceSetUpOption; }
set { this._sourceSetUpOption = value; }
}
// Check to see if SourceSetUpOption property is set
internal bool IsSetSourceSetUpOption()
{
return this._sourceSetUpOption != null;
}
///
/// Gets and sets the property SourceType.
///
/// Specifies one of the five types of data sources for evidence collection.
///
///
public SourceType SourceType
{
get { return this._sourceType; }
set { this._sourceType = value; }
}
// Check to see if SourceType property is set
internal bool IsSetSourceType()
{
return this._sourceType != null;
}
///
/// Gets and sets the property TroubleshootingText.
///
/// The instructions for troubleshooting the control.
///
///
[AWSProperty(Max=1000)]
public string TroubleshootingText
{
get { return this._troubleshootingText; }
set { this._troubleshootingText = value; }
}
// Check to see if TroubleshootingText property is set
internal bool IsSetTroubleshootingText()
{
return this._troubleshootingText != null;
}
}
}