AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RuleGroupDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/RuleGroupVariables.h>
9#include <aws/securityhub/model/RuleGroupSource.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYHUB_API RuleGroupDetails() = default;
36 AWS_SECURITYHUB_API RuleGroupDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API RuleGroupDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RuleGroupVariables& GetRuleVariables() const { return m_ruleVariables; }
46 inline bool RuleVariablesHasBeenSet() const { return m_ruleVariablesHasBeenSet; }
47 template<typename RuleVariablesT = RuleGroupVariables>
48 void SetRuleVariables(RuleVariablesT&& value) { m_ruleVariablesHasBeenSet = true; m_ruleVariables = std::forward<RuleVariablesT>(value); }
49 template<typename RuleVariablesT = RuleGroupVariables>
50 RuleGroupDetails& WithRuleVariables(RuleVariablesT&& value) { SetRuleVariables(std::forward<RuleVariablesT>(value)); return *this;}
52
54
60 inline const RuleGroupSource& GetRulesSource() const { return m_rulesSource; }
61 inline bool RulesSourceHasBeenSet() const { return m_rulesSourceHasBeenSet; }
62 template<typename RulesSourceT = RuleGroupSource>
63 void SetRulesSource(RulesSourceT&& value) { m_rulesSourceHasBeenSet = true; m_rulesSource = std::forward<RulesSourceT>(value); }
64 template<typename RulesSourceT = RuleGroupSource>
65 RuleGroupDetails& WithRulesSource(RulesSourceT&& value) { SetRulesSource(std::forward<RulesSourceT>(value)); return *this;}
67 private:
68
69 RuleGroupVariables m_ruleVariables;
70 bool m_ruleVariablesHasBeenSet = false;
71
72 RuleGroupSource m_rulesSource;
73 bool m_rulesSourceHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SecurityHub
78} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
RuleGroupDetails & WithRuleVariables(RuleVariablesT &&value)
const RuleGroupSource & GetRulesSource() const
AWS_SECURITYHUB_API RuleGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const RuleGroupVariables & GetRuleVariables() const
RuleGroupDetails & WithRulesSource(RulesSourceT &&value)
AWS_SECURITYHUB_API RuleGroupDetails()=default
void SetRuleVariables(RuleVariablesT &&value)
AWS_SECURITYHUB_API RuleGroupDetails(Aws::Utils::Json::JsonView jsonValue)
void SetRulesSource(RulesSourceT &&value)
Aws::Utils::Json::JsonValue JsonValue