7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/networkmanager/NetworkManager_EXPORTS.h>
9#include <aws/networkmanager/model/NatRuleState.h>
20namespace NetworkManager {
30 AWS_NETWORKMANAGER_API
NatRule() =
default;
43 m_ruleNumberHasBeenSet =
true;
59 template <
typename MatchSourceC
idrT = Aws::String>
61 m_matchSourceCidrHasBeenSet =
true;
62 m_matchSourceCidr = std::forward<MatchSourceCidrT>(value);
64 template <
typename MatchSourceC
idrT = Aws::String>
77 template <
typename NatC
idrT = Aws::String>
79 m_natCidrHasBeenSet =
true;
80 m_natCidr = std::forward<NatCidrT>(value);
82 template <
typename NatC
idrT = Aws::String>
109 m_stateHasBeenSet =
true;
125 bool m_ruleNumberHasBeenSet =
false;
126 bool m_matchSourceCidrHasBeenSet =
false;
127 bool m_natCidrHasBeenSet =
false;
128 bool m_stateHasBeenSet =
false;
NatRule & WithMatchSourceCidr(MatchSourceCidrT &&value)
AWS_NETWORKMANAGER_API NatRule()=default
NatRule & WithRuleNumber(int value)
bool RuleNumberHasBeenSet() const
void SetRuleNumber(int value)
int GetRuleNumber() const
const Aws::String & GetNatCidr() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool MatchSourceCidrHasBeenSet() const
NatRule & WithNatCidr(NatCidrT &&value)
NatRuleState GetState() const
void SetState(NatRuleState value)
AWS_NETWORKMANAGER_API NatRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMatchSourceCidr(MatchSourceCidrT &&value)
bool NatCidrHasBeenSet() const
void SetNatCidr(NatCidrT &&value)
bool StateHasBeenSet() const
AWS_NETWORKMANAGER_API NatRule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMatchSourceCidr() const
NatRule & WithState(NatRuleState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue