/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The data source that determines where Audit Manager collects evidence from
* for the control. See Also:
AWS
* API Reference
The unique identifier for the source.
*/ inline const Aws::String& GetSourceId() const{ return m_sourceId; } /** *The unique identifier for the source.
*/ inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; } /** *The unique identifier for the source.
*/ inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; } /** *The unique identifier for the source.
*/ inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); } /** *The unique identifier for the source.
*/ inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); } /** *The unique identifier for the source.
*/ inline ControlMappingSource& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;} /** *The unique identifier for the source.
*/ inline ControlMappingSource& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;} /** *The unique identifier for the source.
*/ inline ControlMappingSource& WithSourceId(const char* value) { SetSourceId(value); return *this;} /** *The name of the source.
*/ inline const Aws::String& GetSourceName() const{ return m_sourceName; } /** *The name of the source.
*/ inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; } /** *The name of the source.
*/ inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; } /** *The name of the source.
*/ inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); } /** *The name of the source.
*/ inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); } /** *The name of the source.
*/ inline ControlMappingSource& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;} /** *The name of the source.
*/ inline ControlMappingSource& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;} /** *The name of the source.
*/ inline ControlMappingSource& WithSourceName(const char* value) { SetSourceName(value); return *this;} /** *The description of the source.
*/ inline const Aws::String& GetSourceDescription() const{ return m_sourceDescription; } /** *The description of the source.
*/ inline bool SourceDescriptionHasBeenSet() const { return m_sourceDescriptionHasBeenSet; } /** *The description of the source.
*/ inline void SetSourceDescription(const Aws::String& value) { m_sourceDescriptionHasBeenSet = true; m_sourceDescription = value; } /** *The description of the source.
*/ inline void SetSourceDescription(Aws::String&& value) { m_sourceDescriptionHasBeenSet = true; m_sourceDescription = std::move(value); } /** *The description of the source.
*/ inline void SetSourceDescription(const char* value) { m_sourceDescriptionHasBeenSet = true; m_sourceDescription.assign(value); } /** *The description of the source.
*/ inline ControlMappingSource& WithSourceDescription(const Aws::String& value) { SetSourceDescription(value); return *this;} /** *The description of the source.
*/ inline ControlMappingSource& WithSourceDescription(Aws::String&& value) { SetSourceDescription(std::move(value)); return *this;} /** *The description of the source.
*/ inline ControlMappingSource& WithSourceDescription(const char* value) { SetSourceDescription(value); return *this;} /** *The setup option for the data source. This option reflects if the evidence * collection is automated or manual.
*/ inline const SourceSetUpOption& GetSourceSetUpOption() const{ return m_sourceSetUpOption; } /** *The setup option for the data source. This option reflects if the evidence * collection is automated or manual.
*/ inline bool SourceSetUpOptionHasBeenSet() const { return m_sourceSetUpOptionHasBeenSet; } /** *The setup option for the data source. This option reflects if the evidence * collection is automated or manual.
*/ inline void SetSourceSetUpOption(const SourceSetUpOption& value) { m_sourceSetUpOptionHasBeenSet = true; m_sourceSetUpOption = value; } /** *The setup option for the data source. This option reflects if the evidence * collection is automated or manual.
*/ inline void SetSourceSetUpOption(SourceSetUpOption&& value) { m_sourceSetUpOptionHasBeenSet = true; m_sourceSetUpOption = std::move(value); } /** *The setup option for the data source. This option reflects if the evidence * collection is automated or manual.
*/ inline ControlMappingSource& WithSourceSetUpOption(const SourceSetUpOption& value) { SetSourceSetUpOption(value); return *this;} /** *The setup option for the data source. This option reflects if the evidence * collection is automated or manual.
*/ inline ControlMappingSource& WithSourceSetUpOption(SourceSetUpOption&& value) { SetSourceSetUpOption(std::move(value)); return *this;} /** *Specifies one of the five data source types for evidence collection.
*/ inline const SourceType& GetSourceType() const{ return m_sourceType; } /** *Specifies one of the five data source types for evidence collection.
*/ inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; } /** *Specifies one of the five data source types for evidence collection.
*/ inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; } /** *Specifies one of the five data source types for evidence collection.
*/ inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); } /** *Specifies one of the five data source types for evidence collection.
*/ inline ControlMappingSource& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;} /** *Specifies one of the five data source types for evidence collection.
*/ inline ControlMappingSource& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;} inline const SourceKeyword& GetSourceKeyword() const{ return m_sourceKeyword; } inline bool SourceKeywordHasBeenSet() const { return m_sourceKeywordHasBeenSet; } inline void SetSourceKeyword(const SourceKeyword& value) { m_sourceKeywordHasBeenSet = true; m_sourceKeyword = value; } inline void SetSourceKeyword(SourceKeyword&& value) { m_sourceKeywordHasBeenSet = true; m_sourceKeyword = std::move(value); } inline ControlMappingSource& WithSourceKeyword(const SourceKeyword& value) { SetSourceKeyword(value); return *this;} inline ControlMappingSource& WithSourceKeyword(SourceKeyword&& value) { SetSourceKeyword(std::move(value)); return *this;} /** *Specifies how often evidence is collected from the control mapping source. *
*/ inline const SourceFrequency& GetSourceFrequency() const{ return m_sourceFrequency; } /** *Specifies how often evidence is collected from the control mapping source. *
*/ inline bool SourceFrequencyHasBeenSet() const { return m_sourceFrequencyHasBeenSet; } /** *Specifies how often evidence is collected from the control mapping source. *
*/ inline void SetSourceFrequency(const SourceFrequency& value) { m_sourceFrequencyHasBeenSet = true; m_sourceFrequency = value; } /** *Specifies how often evidence is collected from the control mapping source. *
*/ inline void SetSourceFrequency(SourceFrequency&& value) { m_sourceFrequencyHasBeenSet = true; m_sourceFrequency = std::move(value); } /** *Specifies how often evidence is collected from the control mapping source. *
*/ inline ControlMappingSource& WithSourceFrequency(const SourceFrequency& value) { SetSourceFrequency(value); return *this;} /** *Specifies how often evidence is collected from the control mapping source. *
*/ inline ControlMappingSource& WithSourceFrequency(SourceFrequency&& value) { SetSourceFrequency(std::move(value)); return *this;} /** *The instructions for troubleshooting the control.
*/ inline const Aws::String& GetTroubleshootingText() const{ return m_troubleshootingText; } /** *The instructions for troubleshooting the control.
*/ inline bool TroubleshootingTextHasBeenSet() const { return m_troubleshootingTextHasBeenSet; } /** *The instructions for troubleshooting the control.
*/ inline void SetTroubleshootingText(const Aws::String& value) { m_troubleshootingTextHasBeenSet = true; m_troubleshootingText = value; } /** *The instructions for troubleshooting the control.
*/ inline void SetTroubleshootingText(Aws::String&& value) { m_troubleshootingTextHasBeenSet = true; m_troubleshootingText = std::move(value); } /** *The instructions for troubleshooting the control.
*/ inline void SetTroubleshootingText(const char* value) { m_troubleshootingTextHasBeenSet = true; m_troubleshootingText.assign(value); } /** *The instructions for troubleshooting the control.
*/ inline ControlMappingSource& WithTroubleshootingText(const Aws::String& value) { SetTroubleshootingText(value); return *this;} /** *The instructions for troubleshooting the control.
*/ inline ControlMappingSource& WithTroubleshootingText(Aws::String&& value) { SetTroubleshootingText(std::move(value)); return *this;} /** *The instructions for troubleshooting the control.
*/ inline ControlMappingSource& WithTroubleshootingText(const char* value) { SetTroubleshootingText(value); return *this;} private: Aws::String m_sourceId; bool m_sourceIdHasBeenSet = false; Aws::String m_sourceName; bool m_sourceNameHasBeenSet = false; Aws::String m_sourceDescription; bool m_sourceDescriptionHasBeenSet = false; SourceSetUpOption m_sourceSetUpOption; bool m_sourceSetUpOptionHasBeenSet = false; SourceType m_sourceType; bool m_sourceTypeHasBeenSet = false; SourceKeyword m_sourceKeyword; bool m_sourceKeywordHasBeenSet = false; SourceFrequency m_sourceFrequency; bool m_sourceFrequencyHasBeenSet = false; Aws::String m_troubleshootingText; bool m_troubleshootingTextHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws