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/DetectionRuleSeverity.h>
12#include <aws/guardduty/model/RuleDefinition.h>
13#include <aws/guardduty/model/RuleLanguage.h>
14#include <aws/guardduty/model/RuleSchema.h>
47 template <
typename RuleIdT = Aws::String>
49 m_ruleIdHasBeenSet =
true;
50 m_ruleId = std::forward<RuleIdT>(value);
52 template <
typename RuleIdT = Aws::String>
65 template <
typename ArnT = Aws::String>
67 m_arnHasBeenSet =
true;
68 m_arn = std::forward<ArnT>(value);
70 template <
typename ArnT = Aws::String>
72 SetArn(std::forward<ArnT>(value));
83 template <
typename NameT = Aws::String>
85 m_nameHasBeenSet =
true;
86 m_name = std::forward<NameT>(value);
88 template <
typename NameT = Aws::String>
90 SetName(std::forward<NameT>(value));
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
120 m_severityHasBeenSet =
true;
136 m_dataSourceHasBeenSet =
true;
137 m_dataSource = value;
151 template <
typename TacticT = Aws::String>
153 m_tacticHasBeenSet =
true;
154 m_tactic = std::forward<TacticT>(value);
156 template <
typename TacticT = Aws::String>
169 template <
typename TechniqueT = Aws::String>
171 m_techniqueHasBeenSet =
true;
172 m_technique = std::forward<TechniqueT>(value);
174 template <
typename TechniqueT = Aws::String>
187 template <
typename ServiceT = Aws::String>
189 m_serviceHasBeenSet =
true;
190 m_service = std::forward<ServiceT>(value);
192 template <
typename ServiceT = Aws::String>
205 template <
typename DefinitionT = RuleDefinition>
207 m_definitionHasBeenSet =
true;
208 m_definition = std::forward<DefinitionT>(value);
210 template <
typename DefinitionT = RuleDefinition>
224 m_languageHasBeenSet =
true;
240 m_schemaHasBeenSet =
true;
255 template <
typename CreatedAtT = Aws::Utils::DateTime>
257 m_createdAtHasBeenSet =
true;
258 m_createdAt = std::forward<CreatedAtT>(value);
260 template <
typename CreatedAtT = Aws::Utils::DateTime>
273 template <
typename UpdatedAtT = Aws::Utils::DateTime>
275 m_updatedAtHasBeenSet =
true;
276 m_updatedAt = std::forward<UpdatedAtT>(value);
278 template <
typename UpdatedAtT = Aws::Utils::DateTime>
303 RuleDefinition m_definition;
312 bool m_ruleIdHasBeenSet =
false;
313 bool m_arnHasBeenSet =
false;
314 bool m_nameHasBeenSet =
false;
315 bool m_descriptionHasBeenSet =
false;
316 bool m_severityHasBeenSet =
false;
317 bool m_dataSourceHasBeenSet =
false;
318 bool m_tacticHasBeenSet =
false;
319 bool m_techniqueHasBeenSet =
false;
320 bool m_serviceHasBeenSet =
false;
321 bool m_definitionHasBeenSet =
false;
322 bool m_languageHasBeenSet =
false;
323 bool m_schemaHasBeenSet =
false;
324 bool m_createdAtHasBeenSet =
false;
325 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
void SetName(NameT &&value)
void SetDataSource(DetectionRuleDataSource value)
RuleDetail & WithRuleId(RuleIdT &&value)
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 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)
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