7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/SourceSetUpOption.h>
10#include <aws/auditmanager/model/SourceType.h>
11#include <aws/auditmanager/model/SourceKeyword.h>
12#include <aws/auditmanager/model/SourceFrequency.h>
51 template<
typename SourceIdT = Aws::String>
52 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet =
true; m_sourceId = std::forward<SourceIdT>(value); }
53 template<
typename SourceIdT = Aws::String>
63 template<
typename SourceNameT = Aws::String>
64 void SetSourceName(SourceNameT&& value) { m_sourceNameHasBeenSet =
true; m_sourceName = std::forward<SourceNameT>(value); }
65 template<
typename SourceNameT = Aws::String>
75 template<
typename SourceDescriptionT = Aws::String>
76 void SetSourceDescription(SourceDescriptionT&& value) { m_sourceDescriptionHasBeenSet =
true; m_sourceDescription = std::forward<SourceDescriptionT>(value); }
77 template<
typename SourceDescriptionT = Aws::String>
114 template<
typename SourceKeywordT = SourceKeyword>
115 void SetSourceKeyword(SourceKeywordT&& value) { m_sourceKeywordHasBeenSet =
true; m_sourceKeyword = std::forward<SourceKeywordT>(value); }
116 template<
typename SourceKeywordT = SourceKeyword>
137 template<
typename TroubleshootingTextT = Aws::String>
138 void SetTroubleshootingText(TroubleshootingTextT&& value) { m_troubleshootingTextHasBeenSet =
true; m_troubleshootingText = std::forward<TroubleshootingTextT>(value); }
139 template<
typename TroubleshootingTextT = Aws::String>
145 bool m_sourceIdHasBeenSet =
false;
148 bool m_sourceNameHasBeenSet =
false;
151 bool m_sourceDescriptionHasBeenSet =
false;
154 bool m_sourceSetUpOptionHasBeenSet =
false;
157 bool m_sourceTypeHasBeenSet =
false;
159 SourceKeyword m_sourceKeyword;
160 bool m_sourceKeywordHasBeenSet =
false;
163 bool m_sourceFrequencyHasBeenSet =
false;
166 bool m_troubleshootingTextHasBeenSet =
false;
bool SourceIdHasBeenSet() const
AWS_AUDITMANAGER_API ControlMappingSource()=default
void SetSourceName(SourceNameT &&value)
AWS_AUDITMANAGER_API ControlMappingSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceDescription() const
void SetSourceFrequency(SourceFrequency value)
const Aws::String & GetSourceName() const
void SetSourceId(SourceIdT &&value)
ControlMappingSource & WithSourceSetUpOption(SourceSetUpOption value)
bool SourceTypeHasBeenSet() const
void SetSourceSetUpOption(SourceSetUpOption value)
ControlMappingSource & WithSourceKeyword(SourceKeywordT &&value)
SourceFrequency GetSourceFrequency() const
const SourceKeyword & GetSourceKeyword() const
const Aws::String & GetSourceId() const
bool SourceNameHasBeenSet() const
const Aws::String & GetTroubleshootingText() const
bool SourceFrequencyHasBeenSet() const
ControlMappingSource & WithSourceFrequency(SourceFrequency value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceDescriptionHasBeenSet() const
ControlMappingSource & WithSourceId(SourceIdT &&value)
AWS_AUDITMANAGER_API ControlMappingSource & operator=(Aws::Utils::Json::JsonView jsonValue)
ControlMappingSource & WithSourceType(SourceType value)
ControlMappingSource & WithSourceName(SourceNameT &&value)
bool SourceKeywordHasBeenSet() const
void SetSourceKeyword(SourceKeywordT &&value)
bool TroubleshootingTextHasBeenSet() const
bool SourceSetUpOptionHasBeenSet() const
void SetSourceDescription(SourceDescriptionT &&value)
ControlMappingSource & WithSourceDescription(SourceDescriptionT &&value)
SourceType GetSourceType() const
void SetTroubleshootingText(TroubleshootingTextT &&value)
SourceSetUpOption GetSourceSetUpOption() const
void SetSourceType(SourceType value)
ControlMappingSource & WithTroubleshootingText(TroubleshootingTextT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue