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>
11#include <aws/ec2/model/TransitGatewayPolicyTableEntryState.h>
44 template <
typename PolicyRuleNumberT = Aws::String>
46 m_policyRuleNumberHasBeenSet =
true;
47 m_policyRuleNumber = std::forward<PolicyRuleNumberT>(value);
49 template <
typename PolicyRuleNumberT = Aws::String>
62 template <
typename PolicyRuleT = TransitGatewayPolicyRule>
64 m_policyRuleHasBeenSet =
true;
65 m_policyRule = std::forward<PolicyRuleT>(value);
67 template <
typename PolicyRuleT = TransitGatewayPolicyRule>
80 template <
typename TargetRouteTableIdT = Aws::String>
82 m_targetRouteTableIdHasBeenSet =
true;
83 m_targetRouteTableId = std::forward<TargetRouteTableIdT>(value);
85 template <
typename TargetRouteTableIdT = Aws::String>
99 m_stateHasBeenSet =
true;
115 bool m_policyRuleNumberHasBeenSet =
false;
116 bool m_policyRuleHasBeenSet =
false;
117 bool m_targetRouteTableIdHasBeenSet =
false;
118 bool m_stateHasBeenSet =
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
void SetState(TransitGatewayPolicyTableEntryState value)
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
TransitGatewayPolicyTableEntryState GetState() const
bool PolicyRuleNumberHasBeenSet() const
TransitGatewayPolicyTableEntry & WithState(TransitGatewayPolicyTableEntryState value)
bool StateHasBeenSet() const
TransitGatewayPolicyTableEntryState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream