AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SummaryConfiguration.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/network-firewall/model/SummaryRuleOption.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 NetworkFirewall
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_NETWORKFIREWALL_API SummaryConfiguration() = default;
42 AWS_NETWORKFIREWALL_API SummaryConfiguration(Aws::Utils::Json::JsonView jsonValue);
43 AWS_NETWORKFIREWALL_API SummaryConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::Vector<SummaryRuleOption>& GetRuleOptions() const { return m_ruleOptions; }
53 inline bool RuleOptionsHasBeenSet() const { return m_ruleOptionsHasBeenSet; }
54 template<typename RuleOptionsT = Aws::Vector<SummaryRuleOption>>
55 void SetRuleOptions(RuleOptionsT&& value) { m_ruleOptionsHasBeenSet = true; m_ruleOptions = std::forward<RuleOptionsT>(value); }
56 template<typename RuleOptionsT = Aws::Vector<SummaryRuleOption>>
57 SummaryConfiguration& WithRuleOptions(RuleOptionsT&& value) { SetRuleOptions(std::forward<RuleOptionsT>(value)); return *this;}
58 inline SummaryConfiguration& AddRuleOptions(SummaryRuleOption value) { m_ruleOptionsHasBeenSet = true; m_ruleOptions.push_back(value); return *this; }
60 private:
61
63 bool m_ruleOptionsHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace NetworkFirewall
68} // namespace Aws
SummaryConfiguration & WithRuleOptions(RuleOptionsT &&value)
AWS_NETWORKFIREWALL_API SummaryConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API SummaryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API SummaryConfiguration()=default
const Aws::Vector< SummaryRuleOption > & GetRuleOptions() const
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
SummaryConfiguration & AddRuleOptions(SummaryRuleOption value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue