AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleGroupVariables.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/RuleGroupVariablesIpSetsDetails.h>
9#include <aws/securityhub/model/RuleGroupVariablesPortSetsDetails.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
34 {
35 public:
36 AWS_SECURITYHUB_API RuleGroupVariables();
37 AWS_SECURITYHUB_API RuleGroupVariables(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RuleGroupVariablesIpSetsDetails& GetIpSets() const{ return m_ipSets; }
47 inline bool IpSetsHasBeenSet() const { return m_ipSetsHasBeenSet; }
48 inline void SetIpSets(const RuleGroupVariablesIpSetsDetails& value) { m_ipSetsHasBeenSet = true; m_ipSets = value; }
49 inline void SetIpSets(RuleGroupVariablesIpSetsDetails&& value) { m_ipSetsHasBeenSet = true; m_ipSets = std::move(value); }
50 inline RuleGroupVariables& WithIpSets(const RuleGroupVariablesIpSetsDetails& value) { SetIpSets(value); return *this;}
51 inline RuleGroupVariables& WithIpSets(RuleGroupVariablesIpSetsDetails&& value) { SetIpSets(std::move(value)); return *this;}
53
55
58 inline const RuleGroupVariablesPortSetsDetails& GetPortSets() const{ return m_portSets; }
59 inline bool PortSetsHasBeenSet() const { return m_portSetsHasBeenSet; }
60 inline void SetPortSets(const RuleGroupVariablesPortSetsDetails& value) { m_portSetsHasBeenSet = true; m_portSets = value; }
61 inline void SetPortSets(RuleGroupVariablesPortSetsDetails&& value) { m_portSetsHasBeenSet = true; m_portSets = std::move(value); }
63 inline RuleGroupVariables& WithPortSets(RuleGroupVariablesPortSetsDetails&& value) { SetPortSets(std::move(value)); return *this;}
65 private:
66
68 bool m_ipSetsHasBeenSet = false;
69
71 bool m_portSetsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SecurityHub
76} // namespace Aws
RuleGroupVariables & WithIpSets(RuleGroupVariablesIpSetsDetails &&value)
RuleGroupVariables & WithPortSets(const RuleGroupVariablesPortSetsDetails &value)
void SetIpSets(const RuleGroupVariablesIpSetsDetails &value)
AWS_SECURITYHUB_API RuleGroupVariables(Aws::Utils::Json::JsonView jsonValue)
void SetIpSets(RuleGroupVariablesIpSetsDetails &&value)
const RuleGroupVariablesIpSetsDetails & GetIpSets() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const RuleGroupVariablesPortSetsDetails & GetPortSets() const
void SetPortSets(const RuleGroupVariablesPortSetsDetails &value)
void SetPortSets(RuleGroupVariablesPortSetsDetails &&value)
RuleGroupVariables & WithPortSets(RuleGroupVariablesPortSetsDetails &&value)
RuleGroupVariables & WithIpSets(const RuleGroupVariablesIpSetsDetails &value)
AWS_SECURITYHUB_API RuleGroupVariables & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue