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>
49 template<
typename PolicyRuleNumberT = Aws::String>
50 void SetPolicyRuleNumber(PolicyRuleNumberT&& value) { m_policyRuleNumberHasBeenSet =
true; m_policyRuleNumber = std::forward<PolicyRuleNumberT>(value); }
51 template<
typename PolicyRuleNumberT = Aws::String>
61 template<
typename PolicyRuleT = TransitGatewayPolicyRule>
62 void SetPolicyRule(PolicyRuleT&& value) { m_policyRuleHasBeenSet =
true; m_policyRule = std::forward<PolicyRuleT>(value); }
63 template<
typename PolicyRuleT = TransitGatewayPolicyRule>
73 template<
typename TargetRouteTableIdT = Aws::String>
74 void SetTargetRouteTableId(TargetRouteTableIdT&& value) { m_targetRouteTableIdHasBeenSet =
true; m_targetRouteTableId = std::forward<TargetRouteTableIdT>(value); }
75 template<
typename TargetRouteTableIdT = Aws::String>
81 bool m_policyRuleNumberHasBeenSet =
false;
84 bool m_policyRuleHasBeenSet =
false;
87 bool m_targetRouteTableIdHasBeenSet =
false;
const Aws::String & GetPolicyRuleNumber() const
AWS_EC2_API TransitGatewayPolicyTableEntry()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
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 SetTargetRouteTableId(TargetRouteTableIdT &&value)
TransitGatewayPolicyTableEntry & WithPolicyRule(PolicyRuleT &&value)
bool TargetRouteTableIdHasBeenSet() const
TransitGatewayPolicyTableEntry & WithTargetRouteTableId(TargetRouteTableIdT &&value)
void SetPolicyRule(PolicyRuleT &&value)
TransitGatewayPolicyTableEntry & WithPolicyRuleNumber(PolicyRuleNumberT &&value)
void SetPolicyRuleNumber(PolicyRuleNumberT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const TransitGatewayPolicyRule & GetPolicyRule() const
bool PolicyRuleNumberHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream