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/RuleLanguage.h>
13#include <aws/guardduty/model/RuleSchema.h>
46 template <
typename RuleIdT = Aws::String>
48 m_ruleIdHasBeenSet =
true;
49 m_ruleId = std::forward<RuleIdT>(value);
51 template <
typename RuleIdT = Aws::String>
64 template <
typename ArnT = Aws::String>
66 m_arnHasBeenSet =
true;
67 m_arn = std::forward<ArnT>(value);
69 template <
typename ArnT = Aws::String>
71 SetArn(std::forward<ArnT>(value));
82 template <
typename NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
100 template <
typename DescriptionT = Aws::String>
102 m_descriptionHasBeenSet =
true;
103 m_description = std::forward<DescriptionT>(value);
105 template <
typename DescriptionT = Aws::String>
119 m_severityHasBeenSet =
true;
135 m_dataSourceHasBeenSet =
true;
136 m_dataSource = value;
150 template <
typename TacticT = Aws::String>
152 m_tacticHasBeenSet =
true;
153 m_tactic = std::forward<TacticT>(value);
155 template <
typename TacticT = Aws::String>
168 template <
typename TechniqueT = Aws::String>
170 m_techniqueHasBeenSet =
true;
171 m_technique = std::forward<TechniqueT>(value);
173 template <
typename TechniqueT = Aws::String>
186 template <
typename ServiceT = Aws::String>
188 m_serviceHasBeenSet =
true;
189 m_service = std::forward<ServiceT>(value);
191 template <
typename ServiceT = Aws::String>
205 m_languageHasBeenSet =
true;
221 m_schemaHasBeenSet =
true;
236 template <
typename CreatedAtT = Aws::Utils::DateTime>
238 m_createdAtHasBeenSet =
true;
239 m_createdAt = std::forward<CreatedAtT>(value);
241 template <
typename CreatedAtT = Aws::Utils::DateTime>
254 template <
typename UpdatedAtT = Aws::Utils::DateTime>
256 m_updatedAtHasBeenSet =
true;
257 m_updatedAt = std::forward<UpdatedAtT>(value);
259 template <
typename UpdatedAtT = Aws::Utils::DateTime>
291 bool m_ruleIdHasBeenSet =
false;
292 bool m_arnHasBeenSet =
false;
293 bool m_nameHasBeenSet =
false;
294 bool m_descriptionHasBeenSet =
false;
295 bool m_severityHasBeenSet =
false;
296 bool m_dataSourceHasBeenSet =
false;
297 bool m_tacticHasBeenSet =
false;
298 bool m_techniqueHasBeenSet =
false;
299 bool m_serviceHasBeenSet =
false;
300 bool m_languageHasBeenSet =
false;
301 bool m_schemaHasBeenSet =
false;
302 bool m_createdAtHasBeenSet =
false;
303 bool m_updatedAtHasBeenSet =
false;
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetSeverity(DetectionRuleSeverity value)
const Aws::String & GetDescription() const
void SetService(ServiceT &&value)
RuleSummary & WithDataSource(DetectionRuleDataSource value)
void SetRuleId(RuleIdT &&value)
void SetTactic(TacticT &&value)
const Aws::String & GetName() const
DetectionRuleSeverity GetSeverity() const
DetectionRuleDataSource GetDataSource() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetDataSource(DetectionRuleDataSource value)
bool LanguageHasBeenSet() const
void SetLanguage(RuleLanguage value)
const Aws::String & GetRuleId() const
bool TechniqueHasBeenSet() const
const Aws::String & GetTactic() const
AWS_GUARDDUTY_API RuleSummary()=default
void SetCreatedAt(CreatedAtT &&value)
bool ArnHasBeenSet() const
RuleSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_GUARDDUTY_API RuleSummary(Aws::Utils::Json::JsonView jsonValue)
RuleSummary & WithRuleId(RuleIdT &&value)
RuleSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
RuleSummary & WithTactic(TacticT &&value)
bool CreatedAtHasBeenSet() const
RuleSummary & WithService(ServiceT &&value)
bool RuleIdHasBeenSet() const
void SetTechnique(TechniqueT &&value)
RuleSummary & WithName(NameT &&value)
RuleSummary & WithLanguage(RuleLanguage value)
bool TacticHasBeenSet() const
RuleSummary & WithSchema(RuleSchema value)
void SetSchema(RuleSchema value)
RuleSummary & WithDescription(DescriptionT &&value)
RuleSummary & WithArn(ArnT &&value)
RuleSchema GetSchema() const
void SetArn(ArnT &&value)
bool NameHasBeenSet() const
const Aws::String & GetService() const
bool ServiceHasBeenSet() const
bool UpdatedAtHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
RuleSummary & WithSeverity(DetectionRuleSeverity value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetArn() const
bool DataSourceHasBeenSet() const
bool SchemaHasBeenSet() const
RuleLanguage GetLanguage() const
bool DescriptionHasBeenSet() const
AWS_GUARDDUTY_API RuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SeverityHasBeenSet() const
RuleSummary & WithTechnique(TechniqueT &&value)
const Aws::String & GetTechnique() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue