7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/TransitGatewayPolicyRule.h>
51 inline void SetPolicyRuleNumber(
const char* value) { m_policyRuleNumberHasBeenSet =
true; m_policyRuleNumber.assign(value); }
77 inline void SetTargetRouteTableId(
const char* value) { m_targetRouteTableIdHasBeenSet =
true; m_targetRouteTableId.assign(value); }
85 bool m_policyRuleNumberHasBeenSet =
false;
88 bool m_policyRuleHasBeenSet =
false;
91 bool m_targetRouteTableIdHasBeenSet =
false;
const Aws::String & GetPolicyRuleNumber() const
TransitGatewayPolicyTableEntry & WithPolicyRuleNumber(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TransitGatewayPolicyTableEntry & WithPolicyRule(const TransitGatewayPolicyRule &value)
void SetPolicyRuleNumber(const char *value)
TransitGatewayPolicyTableEntry & WithTargetRouteTableId(const Aws::String &value)
const Aws::String & GetTargetRouteTableId() const
bool PolicyRuleHasBeenSet() const
AWS_EC2_API TransitGatewayPolicyTableEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API TransitGatewayPolicyTableEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPolicyRuleNumber(const Aws::String &value)
void SetTargetRouteTableId(const char *value)
void SetPolicyRuleNumber(Aws::String &&value)
void SetTargetRouteTableId(Aws::String &&value)
bool TargetRouteTableIdHasBeenSet() const
void SetTargetRouteTableId(const Aws::String &value)
TransitGatewayPolicyTableEntry & WithTargetRouteTableId(Aws::String &&value)
void SetPolicyRule(const TransitGatewayPolicyRule &value)
AWS_EC2_API TransitGatewayPolicyTableEntry()
TransitGatewayPolicyTableEntry & WithPolicyRule(TransitGatewayPolicyRule &&value)
void SetPolicyRule(TransitGatewayPolicyRule &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayPolicyTableEntry & WithTargetRouteTableId(const char *value)
TransitGatewayPolicyTableEntry & WithPolicyRuleNumber(const Aws::String &value)
const TransitGatewayPolicyRule & GetPolicyRule() const
bool PolicyRuleNumberHasBeenSet() const
TransitGatewayPolicyTableEntry & WithPolicyRuleNumber(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream