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>
49 template<
typename DestinationC
idrT = Aws::String>
50 void SetDestinationCidr(DestinationCidrT&& value) { m_destinationCidrHasBeenSet =
true; m_destinationCidr = std::forward<DestinationCidrT>(value); }
51 template<
typename DestinationC
idrT = Aws::String>
61 template<
typename StateT = Aws::String>
62 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
63 template<
typename StateT = Aws::String>
74 template<
typename RouteOriginT = Aws::String>
75 void SetRouteOrigin(RouteOriginT&& value) { m_routeOriginHasBeenSet =
true; m_routeOrigin = std::forward<RouteOriginT>(value); }
76 template<
typename RouteOriginT = Aws::String>
86 template<
typename PrefixListIdT = Aws::String>
87 void SetPrefixListId(PrefixListIdT&& value) { m_prefixListIdHasBeenSet =
true; m_prefixListId = std::forward<PrefixListIdT>(value); }
88 template<
typename PrefixListIdT = Aws::String>
98 template<
typename AttachmentIdT = Aws::String>
99 void SetAttachmentId(AttachmentIdT&& value) { m_attachmentIdHasBeenSet =
true; m_attachmentId = std::forward<AttachmentIdT>(value); }
100 template<
typename AttachmentIdT = Aws::String>
110 template<
typename ResourceIdT = Aws::String>
111 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
112 template<
typename ResourceIdT = Aws::String>
122 template<
typename ResourceTypeT = Aws::String>
123 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
124 template<
typename ResourceTypeT = Aws::String>
130 bool m_destinationCidrHasBeenSet =
false;
133 bool m_stateHasBeenSet =
false;
136 bool m_routeOriginHasBeenSet =
false;
139 bool m_prefixListIdHasBeenSet =
false;
142 bool m_attachmentIdHasBeenSet =
false;
145 bool m_resourceIdHasBeenSet =
false;
148 bool m_resourceTypeHasBeenSet =
false;
void SetAttachmentId(AttachmentIdT &&value)
TransitGatewayRouteTableRoute & WithResourceId(ResourceIdT &&value)
TransitGatewayRouteTableRoute & WithResourceType(ResourceTypeT &&value)
const Aws::String & GetPrefixListId() const
bool DestinationCidrHasBeenSet() const
TransitGatewayRouteTableRoute & WithDestinationCidr(DestinationCidrT &&value)
const Aws::String & GetAttachmentId() const
TransitGatewayRouteTableRoute & WithPrefixListId(PrefixListIdT &&value)
const Aws::String & GetState() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPrefixListId(PrefixListIdT &&value)
AWS_EC2_API TransitGatewayRouteTableRoute(const Aws::Utils::Xml::XmlNode &xmlNode)
bool RouteOriginHasBeenSet() const
bool ResourceIdHasBeenSet() const
TransitGatewayRouteTableRoute & WithAttachmentId(AttachmentIdT &&value)
const Aws::String & GetRouteOrigin() const
TransitGatewayRouteTableRoute & WithState(StateT &&value)
void SetDestinationCidr(DestinationCidrT &&value)
AWS_EC2_API TransitGatewayRouteTableRoute()=default
const Aws::String & GetResourceId() const
void SetResourceId(ResourceIdT &&value)
bool ResourceTypeHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetDestinationCidr() const
void SetRouteOrigin(RouteOriginT &&value)
AWS_EC2_API TransitGatewayRouteTableRoute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayRouteTableRoute & WithRouteOrigin(RouteOriginT &&value)
void SetState(StateT &&value)
bool StateHasBeenSet() const
const Aws::String & GetResourceType() const
bool PrefixListIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AttachmentIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream