/* * 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 data source that determines where Audit Manager collects evidence from for the /// control. /// public partial class ControlMappingSource { private string _sourceDescription; private SourceFrequency _sourceFrequency; private string _sourceId; 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 source. /// /// [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 SourceId. /// /// The unique identifier for the source. /// /// [AWSProperty(Min=36, Max=36)] public string SourceId { get { return this._sourceId; } set { this._sourceId = value; } } // Check to see if SourceId property is set internal bool IsSetSourceId() { return this._sourceId != 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 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. This option 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 data source types 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; } } }