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/TransitGatewayPolicyRule.h>
43 template <
typename PolicyRuleNumberT = Aws::String>
45 m_policyRuleNumberHasBeenSet =
true;
46 m_policyRuleNumber = std::forward<PolicyRuleNumberT>(value);
48 template <
typename PolicyRuleNumberT = Aws::String>
61 template <
typename PolicyRuleT = TransitGatewayPolicyRule>
63 m_policyRuleHasBeenSet =
true;
64 m_policyRule = std::forward<PolicyRuleT>(value);
66 template <
typename PolicyRuleT = TransitGatewayPolicyRule>
79 template <
typename TargetRouteTableIdT = Aws::String>
81 m_targetRouteTableIdHasBeenSet =
true;
82 m_targetRouteTableId = std::forward<TargetRouteTableIdT>(value);
84 template <
typename TargetRouteTableIdT = Aws::String>
96 bool m_policyRuleNumberHasBeenSet =
false;
97 bool m_policyRuleHasBeenSet =
false;
98 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