7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9#include <aws/securityagent/model/NetworkTrafficRuleEffect.h>
10#include <aws/securityagent/model/NetworkTrafficRuleType.h>
21namespace SecurityAgent {
43 m_effectHasBeenSet =
true;
58 template <
typename PatternT = Aws::String>
60 m_patternHasBeenSet =
true;
61 m_pattern = std::forward<PatternT>(value);
63 template <
typename PatternT = Aws::String>
77 m_networkTrafficRuleTypeHasBeenSet =
true;
78 m_networkTrafficRuleType = value;
91 bool m_effectHasBeenSet =
false;
92 bool m_patternHasBeenSet =
false;
93 bool m_networkTrafficRuleTypeHasBeenSet =
false;
NetworkTrafficRule & WithNetworkTrafficRuleType(NetworkTrafficRuleType value)
const Aws::String & GetPattern() const
void SetPattern(PatternT &&value)
NetworkTrafficRuleEffect GetEffect() const
AWS_SECURITYAGENT_API NetworkTrafficRule & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EffectHasBeenSet() const
void SetNetworkTrafficRuleType(NetworkTrafficRuleType value)
AWS_SECURITYAGENT_API NetworkTrafficRule()=default
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEffect(NetworkTrafficRuleEffect value)
bool PatternHasBeenSet() const
NetworkTrafficRule & WithEffect(NetworkTrafficRuleEffect value)
bool NetworkTrafficRuleTypeHasBeenSet() const
NetworkTrafficRule & WithPattern(PatternT &&value)
NetworkTrafficRuleType GetNetworkTrafficRuleType() const
AWS_SECURITYAGENT_API NetworkTrafficRule(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue