AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkFirewallPolicyDescription.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fms/model/StatefulEngineOptions.h>
10#include <aws/fms/model/StatelessRuleGroup.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/fms/model/StatefulRuleGroup.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace FMS
26{
27namespace Model
28{
29
37 {
38 public:
43
44
46
50 inline const Aws::Vector<StatelessRuleGroup>& GetStatelessRuleGroups() const{ return m_statelessRuleGroups; }
51 inline bool StatelessRuleGroupsHasBeenSet() const { return m_statelessRuleGroupsHasBeenSet; }
52 inline void SetStatelessRuleGroups(const Aws::Vector<StatelessRuleGroup>& value) { m_statelessRuleGroupsHasBeenSet = true; m_statelessRuleGroups = value; }
53 inline void SetStatelessRuleGroups(Aws::Vector<StatelessRuleGroup>&& value) { m_statelessRuleGroupsHasBeenSet = true; m_statelessRuleGroups = std::move(value); }
56 inline NetworkFirewallPolicyDescription& AddStatelessRuleGroups(const StatelessRuleGroup& value) { m_statelessRuleGroupsHasBeenSet = true; m_statelessRuleGroups.push_back(value); return *this; }
57 inline NetworkFirewallPolicyDescription& AddStatelessRuleGroups(StatelessRuleGroup&& value) { m_statelessRuleGroupsHasBeenSet = true; m_statelessRuleGroups.push_back(std::move(value)); return *this; }
59
61
65 inline const Aws::Vector<Aws::String>& GetStatelessDefaultActions() const{ return m_statelessDefaultActions; }
66 inline bool StatelessDefaultActionsHasBeenSet() const { return m_statelessDefaultActionsHasBeenSet; }
67 inline void SetStatelessDefaultActions(const Aws::Vector<Aws::String>& value) { m_statelessDefaultActionsHasBeenSet = true; m_statelessDefaultActions = value; }
68 inline void SetStatelessDefaultActions(Aws::Vector<Aws::String>&& value) { m_statelessDefaultActionsHasBeenSet = true; m_statelessDefaultActions = std::move(value); }
71 inline NetworkFirewallPolicyDescription& AddStatelessDefaultActions(const Aws::String& value) { m_statelessDefaultActionsHasBeenSet = true; m_statelessDefaultActions.push_back(value); return *this; }
72 inline NetworkFirewallPolicyDescription& AddStatelessDefaultActions(Aws::String&& value) { m_statelessDefaultActionsHasBeenSet = true; m_statelessDefaultActions.push_back(std::move(value)); return *this; }
73 inline NetworkFirewallPolicyDescription& AddStatelessDefaultActions(const char* value) { m_statelessDefaultActionsHasBeenSet = true; m_statelessDefaultActions.push_back(value); return *this; }
75
77
81 inline const Aws::Vector<Aws::String>& GetStatelessFragmentDefaultActions() const{ return m_statelessFragmentDefaultActions; }
82 inline bool StatelessFragmentDefaultActionsHasBeenSet() const { return m_statelessFragmentDefaultActionsHasBeenSet; }
83 inline void SetStatelessFragmentDefaultActions(const Aws::Vector<Aws::String>& value) { m_statelessFragmentDefaultActionsHasBeenSet = true; m_statelessFragmentDefaultActions = value; }
84 inline void SetStatelessFragmentDefaultActions(Aws::Vector<Aws::String>&& value) { m_statelessFragmentDefaultActionsHasBeenSet = true; m_statelessFragmentDefaultActions = std::move(value); }
87 inline NetworkFirewallPolicyDescription& AddStatelessFragmentDefaultActions(const Aws::String& value) { m_statelessFragmentDefaultActionsHasBeenSet = true; m_statelessFragmentDefaultActions.push_back(value); return *this; }
88 inline NetworkFirewallPolicyDescription& AddStatelessFragmentDefaultActions(Aws::String&& value) { m_statelessFragmentDefaultActionsHasBeenSet = true; m_statelessFragmentDefaultActions.push_back(std::move(value)); return *this; }
89 inline NetworkFirewallPolicyDescription& AddStatelessFragmentDefaultActions(const char* value) { m_statelessFragmentDefaultActionsHasBeenSet = true; m_statelessFragmentDefaultActions.push_back(value); return *this; }
91
93
97 inline const Aws::Vector<Aws::String>& GetStatelessCustomActions() const{ return m_statelessCustomActions; }
98 inline bool StatelessCustomActionsHasBeenSet() const { return m_statelessCustomActionsHasBeenSet; }
99 inline void SetStatelessCustomActions(const Aws::Vector<Aws::String>& value) { m_statelessCustomActionsHasBeenSet = true; m_statelessCustomActions = value; }
100 inline void SetStatelessCustomActions(Aws::Vector<Aws::String>&& value) { m_statelessCustomActionsHasBeenSet = true; m_statelessCustomActions = std::move(value); }
103 inline NetworkFirewallPolicyDescription& AddStatelessCustomActions(const Aws::String& value) { m_statelessCustomActionsHasBeenSet = true; m_statelessCustomActions.push_back(value); return *this; }
104 inline NetworkFirewallPolicyDescription& AddStatelessCustomActions(Aws::String&& value) { m_statelessCustomActionsHasBeenSet = true; m_statelessCustomActions.push_back(std::move(value)); return *this; }
105 inline NetworkFirewallPolicyDescription& AddStatelessCustomActions(const char* value) { m_statelessCustomActionsHasBeenSet = true; m_statelessCustomActions.push_back(value); return *this; }
107
109
113 inline const Aws::Vector<StatefulRuleGroup>& GetStatefulRuleGroups() const{ return m_statefulRuleGroups; }
114 inline bool StatefulRuleGroupsHasBeenSet() const { return m_statefulRuleGroupsHasBeenSet; }
115 inline void SetStatefulRuleGroups(const Aws::Vector<StatefulRuleGroup>& value) { m_statefulRuleGroupsHasBeenSet = true; m_statefulRuleGroups = value; }
116 inline void SetStatefulRuleGroups(Aws::Vector<StatefulRuleGroup>&& value) { m_statefulRuleGroupsHasBeenSet = true; m_statefulRuleGroups = std::move(value); }
119 inline NetworkFirewallPolicyDescription& AddStatefulRuleGroups(const StatefulRuleGroup& value) { m_statefulRuleGroupsHasBeenSet = true; m_statefulRuleGroups.push_back(value); return *this; }
120 inline NetworkFirewallPolicyDescription& AddStatefulRuleGroups(StatefulRuleGroup&& value) { m_statefulRuleGroupsHasBeenSet = true; m_statefulRuleGroups.push_back(std::move(value)); return *this; }
122
124
131 inline const Aws::Vector<Aws::String>& GetStatefulDefaultActions() const{ return m_statefulDefaultActions; }
132 inline bool StatefulDefaultActionsHasBeenSet() const { return m_statefulDefaultActionsHasBeenSet; }
133 inline void SetStatefulDefaultActions(const Aws::Vector<Aws::String>& value) { m_statefulDefaultActionsHasBeenSet = true; m_statefulDefaultActions = value; }
134 inline void SetStatefulDefaultActions(Aws::Vector<Aws::String>&& value) { m_statefulDefaultActionsHasBeenSet = true; m_statefulDefaultActions = std::move(value); }
137 inline NetworkFirewallPolicyDescription& AddStatefulDefaultActions(const Aws::String& value) { m_statefulDefaultActionsHasBeenSet = true; m_statefulDefaultActions.push_back(value); return *this; }
138 inline NetworkFirewallPolicyDescription& AddStatefulDefaultActions(Aws::String&& value) { m_statefulDefaultActionsHasBeenSet = true; m_statefulDefaultActions.push_back(std::move(value)); return *this; }
139 inline NetworkFirewallPolicyDescription& AddStatefulDefaultActions(const char* value) { m_statefulDefaultActionsHasBeenSet = true; m_statefulDefaultActions.push_back(value); return *this; }
141
143
148 inline const StatefulEngineOptions& GetStatefulEngineOptions() const{ return m_statefulEngineOptions; }
149 inline bool StatefulEngineOptionsHasBeenSet() const { return m_statefulEngineOptionsHasBeenSet; }
150 inline void SetStatefulEngineOptions(const StatefulEngineOptions& value) { m_statefulEngineOptionsHasBeenSet = true; m_statefulEngineOptions = value; }
151 inline void SetStatefulEngineOptions(StatefulEngineOptions&& value) { m_statefulEngineOptionsHasBeenSet = true; m_statefulEngineOptions = std::move(value); }
155 private:
156
157 Aws::Vector<StatelessRuleGroup> m_statelessRuleGroups;
158 bool m_statelessRuleGroupsHasBeenSet = false;
159
160 Aws::Vector<Aws::String> m_statelessDefaultActions;
161 bool m_statelessDefaultActionsHasBeenSet = false;
162
163 Aws::Vector<Aws::String> m_statelessFragmentDefaultActions;
164 bool m_statelessFragmentDefaultActionsHasBeenSet = false;
165
166 Aws::Vector<Aws::String> m_statelessCustomActions;
167 bool m_statelessCustomActionsHasBeenSet = false;
168
169 Aws::Vector<StatefulRuleGroup> m_statefulRuleGroups;
170 bool m_statefulRuleGroupsHasBeenSet = false;
171
172 Aws::Vector<Aws::String> m_statefulDefaultActions;
173 bool m_statefulDefaultActionsHasBeenSet = false;
174
175 StatefulEngineOptions m_statefulEngineOptions;
176 bool m_statefulEngineOptionsHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace FMS
181} // namespace Aws
const Aws::Vector< Aws::String > & GetStatelessDefaultActions() const
NetworkFirewallPolicyDescription & WithStatelessFragmentDefaultActions(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetStatefulDefaultActions() const
NetworkFirewallPolicyDescription & AddStatelessFragmentDefaultActions(const Aws::String &value)
NetworkFirewallPolicyDescription & WithStatefulRuleGroups(Aws::Vector< StatefulRuleGroup > &&value)
NetworkFirewallPolicyDescription & AddStatefulRuleGroups(StatefulRuleGroup &&value)
NetworkFirewallPolicyDescription & AddStatefulRuleGroups(const StatefulRuleGroup &value)
void SetStatelessFragmentDefaultActions(Aws::Vector< Aws::String > &&value)
NetworkFirewallPolicyDescription & WithStatelessRuleGroups(Aws::Vector< StatelessRuleGroup > &&value)
NetworkFirewallPolicyDescription & AddStatelessFragmentDefaultActions(Aws::String &&value)
NetworkFirewallPolicyDescription & AddStatelessRuleGroups(const StatelessRuleGroup &value)
AWS_FMS_API NetworkFirewallPolicyDescription(Aws::Utils::Json::JsonView jsonValue)
void SetStatelessCustomActions(Aws::Vector< Aws::String > &&value)
NetworkFirewallPolicyDescription & WithStatelessFragmentDefaultActions(Aws::Vector< Aws::String > &&value)
NetworkFirewallPolicyDescription & WithStatefulEngineOptions(StatefulEngineOptions &&value)
NetworkFirewallPolicyDescription & AddStatefulDefaultActions(const Aws::String &value)
NetworkFirewallPolicyDescription & AddStatelessRuleGroups(StatelessRuleGroup &&value)
AWS_FMS_API NetworkFirewallPolicyDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkFirewallPolicyDescription & AddStatelessFragmentDefaultActions(const char *value)
const Aws::Vector< StatelessRuleGroup > & GetStatelessRuleGroups() const
void SetStatefulRuleGroups(const Aws::Vector< StatefulRuleGroup > &value)
void SetStatelessDefaultActions(const Aws::Vector< Aws::String > &value)
void SetStatelessRuleGroups(Aws::Vector< StatelessRuleGroup > &&value)
NetworkFirewallPolicyDescription & WithStatelessDefaultActions(const Aws::Vector< Aws::String > &value)
NetworkFirewallPolicyDescription & WithStatefulRuleGroups(const Aws::Vector< StatefulRuleGroup > &value)
void SetStatefulDefaultActions(const Aws::Vector< Aws::String > &value)
NetworkFirewallPolicyDescription & WithStatelessRuleGroups(const Aws::Vector< StatelessRuleGroup > &value)
void SetStatefulEngineOptions(const StatefulEngineOptions &value)
NetworkFirewallPolicyDescription & WithStatefulDefaultActions(const Aws::Vector< Aws::String > &value)
void SetStatefulDefaultActions(Aws::Vector< Aws::String > &&value)
NetworkFirewallPolicyDescription & WithStatefulEngineOptions(const StatefulEngineOptions &value)
void SetStatelessFragmentDefaultActions(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetStatelessCustomActions() const
const Aws::Vector< Aws::String > & GetStatelessFragmentDefaultActions() const
NetworkFirewallPolicyDescription & WithStatefulDefaultActions(Aws::Vector< Aws::String > &&value)
void SetStatelessCustomActions(const Aws::Vector< Aws::String > &value)
NetworkFirewallPolicyDescription & AddStatelessDefaultActions(Aws::String &&value)
NetworkFirewallPolicyDescription & AddStatelessDefaultActions(const char *value)
NetworkFirewallPolicyDescription & AddStatelessCustomActions(Aws::String &&value)
void SetStatelessRuleGroups(const Aws::Vector< StatelessRuleGroup > &value)
NetworkFirewallPolicyDescription & AddStatefulDefaultActions(const char *value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkFirewallPolicyDescription & AddStatelessDefaultActions(const Aws::String &value)
NetworkFirewallPolicyDescription & WithStatelessCustomActions(const Aws::Vector< Aws::String > &value)
const Aws::Vector< StatefulRuleGroup > & GetStatefulRuleGroups() const
NetworkFirewallPolicyDescription & WithStatelessDefaultActions(Aws::Vector< Aws::String > &&value)
void SetStatelessDefaultActions(Aws::Vector< Aws::String > &&value)
NetworkFirewallPolicyDescription & WithStatelessCustomActions(Aws::Vector< Aws::String > &&value)
NetworkFirewallPolicyDescription & AddStatelessCustomActions(const char *value)
NetworkFirewallPolicyDescription & AddStatefulDefaultActions(Aws::String &&value)
void SetStatefulRuleGroups(Aws::Vector< StatefulRuleGroup > &&value)
NetworkFirewallPolicyDescription & AddStatelessCustomActions(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue