7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/DetectionRuleDataSource.h>
11#include <aws/guardduty/model/DetectionRuleRuntimeMonitoringDetails.h>
12#include <aws/guardduty/model/DetectionRuleSeverity.h>
13#include <aws/guardduty/model/RuleDefinition.h>
14#include <aws/guardduty/model/RuleLanguage.h>
15#include <aws/guardduty/model/RuleSchema.h>
48 template <
typename RuleIdT = Aws::String>
50 m_ruleIdHasBeenSet =
true;
51 m_ruleId = std::forward<RuleIdT>(value);
53 template <
typename RuleIdT = Aws::String>
66 template <
typename ArnT = Aws::String>
68 m_arnHasBeenSet =
true;
69 m_arn = std::forward<ArnT>(value);
71 template <
typename ArnT = Aws::String>
73 SetArn(std::forward<ArnT>(value));
84 template <
typename NameT = Aws::String>
86 m_nameHasBeenSet =
true;
87 m_name = std::forward<NameT>(value);
89 template <
typename NameT = Aws::String>
91 SetName(std::forward<NameT>(value));
102 template <
typename DescriptionT = Aws::String>
104 m_descriptionHasBeenSet =
true;
105 m_description = std::forward<DescriptionT>(value);
107 template <
typename DescriptionT = Aws::String>
121 m_severityHasBeenSet =
true;
137 m_dataSourceHasBeenSet =
true;
138 m_dataSource = value;
152 template <
typename TacticT = Aws::String>
154 m_tacticHasBeenSet =
true;
155 m_tactic = std::forward<TacticT>(value);
157 template <
typename TacticT = Aws::String>
170 template <
typename TechniqueT = Aws::String>
172 m_techniqueHasBeenSet =
true;
173 m_technique = std::forward<TechniqueT>(value);
175 template <
typename TechniqueT = Aws::String>
188 template <
typename ServiceT = Aws::String>
190 m_serviceHasBeenSet =
true;
191 m_service = std::forward<ServiceT>(value);
193 template <
typename ServiceT = Aws::String>
206 template <
typename DefinitionT = RuleDefinition>
208 m_definitionHasBeenSet =
true;
209 m_definition = std::forward<DefinitionT>(value);
211 template <
typename DefinitionT = RuleDefinition>
225 m_languageHasBeenSet =
true;
241 m_schemaHasBeenSet =
true;
258 template <
typename RuntimeMonitoringDetailsT = DetectionRuleRuntimeMonitoringDetails>
260 m_runtimeMonitoringDetailsHasBeenSet =
true;
261 m_runtimeMonitoringDetails = std::forward<RuntimeMonitoringDetailsT>(value);
263 template <
typename RuntimeMonitoringDetailsT = DetectionRuleRuntimeMonitoringDetails>
276 template <
typename CreatedAtT = Aws::Utils::DateTime>
278 m_createdAtHasBeenSet =
true;
279 m_createdAt = std::forward<CreatedAtT>(value);
281 template <
typename CreatedAtT = Aws::Utils::DateTime>
294 template <
typename UpdatedAtT = Aws::Utils::DateTime>
296 m_updatedAtHasBeenSet =
true;
297 m_updatedAt = std::forward<UpdatedAtT>(value);
299 template <
typename UpdatedAtT = Aws::Utils::DateTime>
324 RuleDefinition m_definition;
330 DetectionRuleRuntimeMonitoringDetails m_runtimeMonitoringDetails;
335 bool m_ruleIdHasBeenSet =
false;
336 bool m_arnHasBeenSet =
false;
337 bool m_nameHasBeenSet =
false;
338 bool m_descriptionHasBeenSet =
false;
339 bool m_severityHasBeenSet =
false;
340 bool m_dataSourceHasBeenSet =
false;
341 bool m_tacticHasBeenSet =
false;
342 bool m_techniqueHasBeenSet =
false;
343 bool m_serviceHasBeenSet =
false;
344 bool m_definitionHasBeenSet =
false;
345 bool m_languageHasBeenSet =
false;
346 bool m_schemaHasBeenSet =
false;
347 bool m_runtimeMonitoringDetailsHasBeenSet =
false;
348 bool m_createdAtHasBeenSet =
false;
349 bool m_updatedAtHasBeenSet =
false;
void SetService(ServiceT &&value)
bool TacticHasBeenSet() const
RuleDetail & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetTactic() const
AWS_GUARDDUTY_API RuleDetail(Aws::Utils::Json::JsonView jsonValue)
RuleDetail & WithTechnique(TechniqueT &&value)
RuleDetail & WithCreatedAt(CreatedAtT &&value)
DetectionRuleDataSource GetDataSource() const
DetectionRuleSeverity GetSeverity() const
bool RuntimeMonitoringDetailsHasBeenSet() const
void SetName(NameT &&value)
void SetDataSource(DetectionRuleDataSource value)
RuleDetail & WithRuleId(RuleIdT &&value)
const DetectionRuleRuntimeMonitoringDetails & GetRuntimeMonitoringDetails() const
RuleDetail & WithArn(ArnT &&value)
RuleDetail & WithSchema(RuleSchema value)
bool DescriptionHasBeenSet() const
void SetLanguage(RuleLanguage value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool LanguageHasBeenSet() const
const RuleDefinition & GetDefinition() const
bool ArnHasBeenSet() const
void SetDefinition(DefinitionT &&value)
RuleDetail & WithUpdatedAt(UpdatedAtT &&value)
bool SeverityHasBeenSet() const
bool UpdatedAtHasBeenSet() const
bool DataSourceHasBeenSet() const
AWS_GUARDDUTY_API RuleDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&value)
bool SchemaHasBeenSet() const
bool ServiceHasBeenSet() const
AWS_GUARDDUTY_API RuleDetail()=default
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSeverity(DetectionRuleSeverity value)
bool DefinitionHasBeenSet() const
bool CreatedAtHasBeenSet() const
RuleDetail & WithLanguage(RuleLanguage value)
void SetRuleId(RuleIdT &&value)
bool RuleIdHasBeenSet() const
const Aws::String & GetName() const
RuleSchema GetSchema() const
void SetUpdatedAt(UpdatedAtT &&value)
bool TechniqueHasBeenSet() const
RuleDetail & WithDefinition(DefinitionT &&value)
const Aws::String & GetTechnique() const
RuleLanguage GetLanguage() const
void SetRuntimeMonitoringDetails(RuntimeMonitoringDetailsT &&value)
void SetSchema(RuleSchema value)
RuleDetail & WithName(NameT &&value)
void SetTechnique(TechniqueT &&value)
void SetArn(ArnT &&value)
RuleDetail & WithTactic(TacticT &&value)
bool NameHasBeenSet() const
void SetTactic(TacticT &&value)
RuleDetail & WithRuntimeMonitoringDetails(RuntimeMonitoringDetailsT &&value)
const Aws::String & GetRuleId() const
const Aws::String & GetService() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetArn() const
RuleDetail & WithDataSource(DetectionRuleDataSource value)
RuleDetail & WithSeverity(DetectionRuleSeverity value)
const Aws::String & GetDescription() const
RuleDetail & WithService(ServiceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue