AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRuleVariables(const RuleGroupVariables& value) { m_ruleVariablesHasBeenSet = true; m_ruleVariables = value; }
48 inline void SetRuleVariables(RuleGroupVariables&& value) { m_ruleVariablesHasBeenSet = true; m_ruleVariables = std::move(value); }
49 inline RuleGroupDetails& WithRuleVariables(const RuleGroupVariables& value) { SetRuleVariables(value); return *this;}
50 inline RuleGroupDetails& WithRuleVariables(RuleGroupVariables&& value) { SetRuleVariables(std::move(value)); return *this;}
52
54
60 inline const RuleGroupSource& GetRulesSource() const{ return m_rulesSource; }
61 inline bool RulesSourceHasBeenSet() const { return m_rulesSourceHasBeenSet; }
62 inline void SetRulesSource(const RuleGroupSource& value) { m_rulesSourceHasBeenSet = true; m_rulesSource = value; }
63 inline void SetRulesSource(RuleGroupSource&& value) { m_rulesSourceHasBeenSet = true; m_rulesSource = std::move(value); }
64 inline RuleGroupDetails& WithRulesSource(const RuleGroupSource& value) { SetRulesSource(value); return *this;}
65 inline RuleGroupDetails& WithRulesSource(RuleGroupSource&& value) { SetRulesSource(std::move(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
const RuleGroupSource & GetRulesSource() const
AWS_SECURITYHUB_API RuleGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const RuleGroupVariables & GetRuleVariables() const
RuleGroupDetails & WithRuleVariables(RuleGroupVariables &&value)
RuleGroupDetails & WithRulesSource(const RuleGroupSource &value)
RuleGroupDetails & WithRuleVariables(const RuleGroupVariables &value)
AWS_SECURITYHUB_API RuleGroupDetails(Aws::Utils::Json::JsonView jsonValue)
void SetRulesSource(RuleGroupSource &&value)
void SetRulesSource(const RuleGroupSource &value)
void SetRuleVariables(RuleGroupVariables &&value)
RuleGroupDetails & WithRulesSource(RuleGroupSource &&value)
void SetRuleVariables(const RuleGroupVariables &value)
Aws::Utils::Json::JsonValue JsonValue