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>
43 template <
typename DestinationC
idrT = Aws::String>
45 m_destinationCidrHasBeenSet =
true;
46 m_destinationCidr = std::forward<DestinationCidrT>(value);
48 template <
typename DestinationC
idrT = Aws::String>
61 template <
typename StateT = Aws::String>
63 m_stateHasBeenSet =
true;
64 m_state = std::forward<StateT>(value);
66 template <
typename StateT = Aws::String>
68 SetState(std::forward<StateT>(value));
80 template <
typename RouteOriginT = Aws::String>
82 m_routeOriginHasBeenSet =
true;
83 m_routeOrigin = std::forward<RouteOriginT>(value);
85 template <
typename RouteOriginT = Aws::String>
98 template <
typename PrefixListIdT = Aws::String>
100 m_prefixListIdHasBeenSet =
true;
101 m_prefixListId = std::forward<PrefixListIdT>(value);
103 template <
typename PrefixListIdT = Aws::String>
116 template <
typename AttachmentIdT = Aws::String>
118 m_attachmentIdHasBeenSet =
true;
119 m_attachmentId = std::forward<AttachmentIdT>(value);
121 template <
typename AttachmentIdT = Aws::String>
134 template <
typename ResourceIdT = Aws::String>
136 m_resourceIdHasBeenSet =
true;
137 m_resourceId = std::forward<ResourceIdT>(value);
139 template <
typename ResourceIdT = Aws::String>
152 template <
typename ResourceTypeT = Aws::String>
154 m_resourceTypeHasBeenSet =
true;
155 m_resourceType = std::forward<ResourceTypeT>(value);
157 template <
typename ResourceTypeT = Aws::String>
177 bool m_destinationCidrHasBeenSet =
false;
178 bool m_stateHasBeenSet =
false;
179 bool m_routeOriginHasBeenSet =
false;
180 bool m_prefixListIdHasBeenSet =
false;
181 bool m_attachmentIdHasBeenSet =
false;
182 bool m_resourceIdHasBeenSet =
false;
183 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