AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleGroupSourceStatelessRulesDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/RuleGroupSourceStatelessRuleDefinition.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
32 {
33 public:
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline int GetPriority() const{ return m_priority; }
46 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
47 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
48 inline RuleGroupSourceStatelessRulesDetails& WithPriority(int value) { SetPriority(value); return *this;}
50
52
55 inline const RuleGroupSourceStatelessRuleDefinition& GetRuleDefinition() const{ return m_ruleDefinition; }
56 inline bool RuleDefinitionHasBeenSet() const { return m_ruleDefinitionHasBeenSet; }
57 inline void SetRuleDefinition(const RuleGroupSourceStatelessRuleDefinition& value) { m_ruleDefinitionHasBeenSet = true; m_ruleDefinition = value; }
58 inline void SetRuleDefinition(RuleGroupSourceStatelessRuleDefinition&& value) { m_ruleDefinitionHasBeenSet = true; m_ruleDefinition = std::move(value); }
62 private:
63
64 int m_priority;
65 bool m_priorityHasBeenSet = false;
66
68 bool m_ruleDefinitionHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SecurityHub
73} // namespace Aws
void SetRuleDefinition(const RuleGroupSourceStatelessRuleDefinition &value)
AWS_SECURITYHUB_API RuleGroupSourceStatelessRulesDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const RuleGroupSourceStatelessRuleDefinition & GetRuleDefinition() const
RuleGroupSourceStatelessRulesDetails & WithRuleDefinition(const RuleGroupSourceStatelessRuleDefinition &value)
RuleGroupSourceStatelessRulesDetails & WithRuleDefinition(RuleGroupSourceStatelessRuleDefinition &&value)
AWS_SECURITYHUB_API RuleGroupSourceStatelessRulesDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRuleDefinition(RuleGroupSourceStatelessRuleDefinition &&value)
Aws::Utils::Json::JsonValue JsonValue