7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/networkmanager/NetworkManager_EXPORTS.h>
19namespace NetworkManager {
46 m_ruleNumberHasBeenSet =
true;
63 template <
typename MatchSourceC
idrT = Aws::String>
65 m_matchSourceCidrHasBeenSet =
true;
66 m_matchSourceCidr = std::forward<MatchSourceCidrT>(value);
68 template <
typename MatchSourceC
idrT = Aws::String>
85 template <
typename NatC
idrT = Aws::String>
87 m_natCidrHasBeenSet =
true;
88 m_natCidr = std::forward<NatCidrT>(value);
90 template <
typename NatC
idrT = Aws::String>
102 bool m_ruleNumberHasBeenSet =
false;
103 bool m_matchSourceCidrHasBeenSet =
false;
104 bool m_natCidrHasBeenSet =
false;
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKMANAGER_API NatRuleRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API NatRuleRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMatchSourceCidr(MatchSourceCidrT &&value)
NatRuleRequest & WithNatCidr(NatCidrT &&value)
void SetRuleNumber(int value)
AWS_NETWORKMANAGER_API NatRuleRequest()=default
bool NatCidrHasBeenSet() const
int GetRuleNumber() const
NatRuleRequest & WithMatchSourceCidr(MatchSourceCidrT &&value)
void SetNatCidr(NatCidrT &&value)
const Aws::String & GetMatchSourceCidr() const
bool MatchSourceCidrHasBeenSet() const
const Aws::String & GetNatCidr() const
NatRuleRequest & WithRuleNumber(int value)
bool RuleNumberHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue