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>
47 m_ruleNumberHasBeenSet =
true;
64 template <
typename MatchSourceC
idrT = Aws::String>
66 m_matchSourceCidrHasBeenSet =
true;
67 m_matchSourceCidr = std::forward<MatchSourceCidrT>(value);
69 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_EC2_API TransitGatewayNatRuleRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetMatchSourceCidr() const
AWS_EC2_API TransitGatewayNatRuleRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
bool RuleNumberHasBeenSet() const
void SetRuleNumber(int value)
void SetNatCidr(NatCidrT &&value)
AWS_EC2_API TransitGatewayNatRuleRequest()=default
void SetMatchSourceCidr(MatchSourceCidrT &&value)
bool MatchSourceCidrHasBeenSet() const
int GetRuleNumber() const
TransitGatewayNatRuleRequest & WithRuleNumber(int value)
TransitGatewayNatRuleRequest & WithNatCidr(NatCidrT &&value)
const Aws::String & GetNatCidr() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayNatRuleRequest & WithMatchSourceCidr(MatchSourceCidrT &&value)
bool NatCidrHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream