7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/model/RuleAction.h>
10#include <aws/finspace/model/PortRange.h>
11#include <aws/finspace/model/IcmpTypeCode.h>
55 inline void SetRuleNumber(
int value) { m_ruleNumberHasBeenSet =
true; m_ruleNumber = value; }
67 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
120 inline void SetCidrBlock(
const char* value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock.assign(value); }
128 bool m_ruleNumberHasBeenSet =
false;
131 bool m_protocolHasBeenSet =
false;
134 bool m_ruleActionHasBeenSet =
false;
137 bool m_portRangeHasBeenSet =
false;
140 bool m_icmpTypeCodeHasBeenSet =
false;
143 bool m_cidrBlockHasBeenSet =
false;
bool CidrBlockHasBeenSet() const
void SetRuleAction(RuleAction &&value)
void SetCidrBlock(Aws::String &&value)
void SetRuleNumber(int value)
NetworkACLEntry & WithIcmpTypeCode(IcmpTypeCode &&value)
NetworkACLEntry & WithPortRange(PortRange &&value)
void SetPortRange(const PortRange &value)
void SetCidrBlock(const Aws::String &value)
AWS_FINSPACE_API NetworkACLEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProtocol(const Aws::String &value)
NetworkACLEntry & WithPortRange(const PortRange &value)
void SetIcmpTypeCode(IcmpTypeCode &&value)
bool RuleActionHasBeenSet() const
bool ProtocolHasBeenSet() const
NetworkACLEntry & WithCidrBlock(const char *value)
int GetRuleNumber() const
NetworkACLEntry & WithRuleNumber(int value)
void SetCidrBlock(const char *value)
const Aws::String & GetCidrBlock() const
NetworkACLEntry & WithCidrBlock(const Aws::String &value)
bool PortRangeHasBeenSet() const
NetworkACLEntry & WithIcmpTypeCode(const IcmpTypeCode &value)
NetworkACLEntry & WithProtocol(Aws::String &&value)
AWS_FINSPACE_API NetworkACLEntry(Aws::Utils::Json::JsonView jsonValue)
NetworkACLEntry & WithCidrBlock(Aws::String &&value)
bool IcmpTypeCodeHasBeenSet() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkACLEntry & WithProtocol(const char *value)
NetworkACLEntry & WithRuleAction(RuleAction &&value)
AWS_FINSPACE_API NetworkACLEntry()
NetworkACLEntry & WithProtocol(const Aws::String &value)
bool RuleNumberHasBeenSet() const
const IcmpTypeCode & GetIcmpTypeCode() const
const RuleAction & GetRuleAction() const
void SetPortRange(PortRange &&value)
void SetProtocol(Aws::String &&value)
void SetRuleAction(const RuleAction &value)
const Aws::String & GetProtocol() const
NetworkACLEntry & WithRuleAction(const RuleAction &value)
void SetProtocol(const char *value)
void SetIcmpTypeCode(const IcmpTypeCode &value)
const PortRange & GetPortRange() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue