7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/SourceFrequency.h>
9#include <aws/auditmanager/model/SourceKeyword.h>
10#include <aws/auditmanager/model/SourceSetUpOption.h>
11#include <aws/auditmanager/model/SourceType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
23namespace AuditManager {
46 template <
typename SourceNameT = Aws::String>
48 m_sourceNameHasBeenSet =
true;
49 m_sourceName = std::forward<SourceNameT>(value);
51 template <
typename SourceNameT = Aws::String>
65 template <
typename SourceDescriptionT = Aws::String>
67 m_sourceDescriptionHasBeenSet =
true;
68 m_sourceDescription = std::forward<SourceDescriptionT>(value);
70 template <
typename SourceDescriptionT = Aws::String>
87 m_sourceSetUpOptionHasBeenSet =
true;
88 m_sourceSetUpOption = value;
109 m_sourceTypeHasBeenSet =
true;
110 m_sourceType = value;
122 template <
typename SourceKeywordT = SourceKeyword>
124 m_sourceKeywordHasBeenSet =
true;
125 m_sourceKeyword = std::forward<SourceKeywordT>(value);
127 template <
typename SourceKeywordT = SourceKeyword>
142 m_sourceFrequencyHasBeenSet =
true;
143 m_sourceFrequency = value;
157 template <
typename TroubleshootingTextT = Aws::String>
159 m_troubleshootingTextHasBeenSet =
true;
160 m_troubleshootingText = std::forward<TroubleshootingTextT>(value);
162 template <
typename TroubleshootingTextT = Aws::String>
177 SourceKeyword m_sourceKeyword;
182 bool m_sourceNameHasBeenSet =
false;
183 bool m_sourceDescriptionHasBeenSet =
false;
184 bool m_sourceSetUpOptionHasBeenSet =
false;
185 bool m_sourceTypeHasBeenSet =
false;
186 bool m_sourceKeywordHasBeenSet =
false;
187 bool m_sourceFrequencyHasBeenSet =
false;
188 bool m_troubleshootingTextHasBeenSet =
false;
CreateControlMappingSource & WithSourceDescription(SourceDescriptionT &&value)
bool SourceKeywordHasBeenSet() const
const Aws::String & GetTroubleshootingText() const
bool TroubleshootingTextHasBeenSet() const
bool SourceDescriptionHasBeenSet() const
AWS_AUDITMANAGER_API CreateControlMappingSource(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API CreateControlMappingSource()=default
CreateControlMappingSource & WithSourceName(SourceNameT &&value)
CreateControlMappingSource & WithSourceFrequency(SourceFrequency value)
bool SourceSetUpOptionHasBeenSet() const
SourceType GetSourceType() const
CreateControlMappingSource & WithSourceKeyword(SourceKeywordT &&value)
void SetSourceDescription(SourceDescriptionT &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceSetUpOption(SourceSetUpOption value)
void SetSourceKeyword(SourceKeywordT &&value)
void SetSourceType(SourceType value)
CreateControlMappingSource & WithTroubleshootingText(TroubleshootingTextT &&value)
const Aws::String & GetSourceName() const
void SetSourceFrequency(SourceFrequency value)
void SetSourceName(SourceNameT &&value)
const SourceKeyword & GetSourceKeyword() const
bool SourceTypeHasBeenSet() const
void SetTroubleshootingText(TroubleshootingTextT &&value)
SourceSetUpOption GetSourceSetUpOption() const
CreateControlMappingSource & WithSourceSetUpOption(SourceSetUpOption value)
bool SourceNameHasBeenSet() const
bool SourceFrequencyHasBeenSet() const
CreateControlMappingSource & WithSourceType(SourceType value)
AWS_AUDITMANAGER_API CreateControlMappingSource & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceFrequency GetSourceFrequency() const
const Aws::String & GetSourceDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue