7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/TransitGatewayNatRuleState.h>
46 m_ruleNumberHasBeenSet =
true;
61 template <
typename MatchSourceC
idrT = Aws::String>
63 m_matchSourceCidrHasBeenSet =
true;
64 m_matchSourceCidr = std::forward<MatchSourceCidrT>(value);
66 template <
typename MatchSourceC
idrT = Aws::String>
80 template <
typename NatC
idrT = Aws::String>
82 m_natCidrHasBeenSet =
true;
83 m_natCidr = std::forward<NatCidrT>(value);
85 template <
typename NatC
idrT = Aws::String>
104 m_stateHasBeenSet =
true;
120 bool m_ruleNumberHasBeenSet =
false;
121 bool m_matchSourceCidrHasBeenSet =
false;
122 bool m_natCidrHasBeenSet =
false;
123 bool m_stateHasBeenSet =
false;
void SetRuleNumber(int value)
const Aws::String & GetNatCidr() const
void SetState(TransitGatewayNatRuleState value)
bool NatCidrHasBeenSet() const
TransitGatewayNatRuleState GetState() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayNatRule & WithState(TransitGatewayNatRuleState value)
TransitGatewayNatRule & WithMatchSourceCidr(MatchSourceCidrT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool RuleNumberHasBeenSet() const
TransitGatewayNatRule & WithRuleNumber(int value)
int GetRuleNumber() const
AWS_EC2_API TransitGatewayNatRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetMatchSourceCidr() const
AWS_EC2_API TransitGatewayNatRule()=default
void SetNatCidr(NatCidrT &&value)
TransitGatewayNatRule & WithNatCidr(NatCidrT &&value)
bool MatchSourceCidrHasBeenSet() const
void SetMatchSourceCidr(MatchSourceCidrT &&value)
AWS_EC2_API TransitGatewayNatRule(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StateHasBeenSet() const
TransitGatewayNatRuleState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream