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>
51 inline void SetDestinationCidr(
const char* value) { m_destinationCidrHasBeenSet =
true; m_destinationCidr.assign(value); }
65 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
80 inline void SetRouteOrigin(
const char* value) { m_routeOriginHasBeenSet =
true; m_routeOrigin.assign(value); }
94 inline void SetPrefixListId(
const char* value) { m_prefixListIdHasBeenSet =
true; m_prefixListId.assign(value); }
108 inline void SetAttachmentId(
const char* value) { m_attachmentIdHasBeenSet =
true; m_attachmentId.assign(value); }
122 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
136 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
144 bool m_destinationCidrHasBeenSet =
false;
147 bool m_stateHasBeenSet =
false;
150 bool m_routeOriginHasBeenSet =
false;
153 bool m_prefixListIdHasBeenSet =
false;
156 bool m_attachmentIdHasBeenSet =
false;
159 bool m_resourceIdHasBeenSet =
false;
162 bool m_resourceTypeHasBeenSet =
false;
void SetResourceType(Aws::String &&value)
const Aws::String & GetPrefixListId() const
TransitGatewayRouteTableRoute & WithResourceId(const Aws::String &value)
void SetDestinationCidr(Aws::String &&value)
TransitGatewayRouteTableRoute & WithPrefixListId(const Aws::String &value)
void SetPrefixListId(const char *value)
TransitGatewayRouteTableRoute & WithAttachmentId(const char *value)
TransitGatewayRouteTableRoute & WithResourceType(const Aws::String &value)
TransitGatewayRouteTableRoute & WithRouteOrigin(const Aws::String &value)
bool DestinationCidrHasBeenSet() const
void SetRouteOrigin(const char *value)
TransitGatewayRouteTableRoute & WithResourceId(Aws::String &&value)
const Aws::String & GetAttachmentId() const
void SetPrefixListId(const Aws::String &value)
const Aws::String & GetState() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetState(Aws::String &&value)
AWS_EC2_API TransitGatewayRouteTableRoute(const Aws::Utils::Xml::XmlNode &xmlNode)
bool RouteOriginHasBeenSet() const
bool ResourceIdHasBeenSet() const
TransitGatewayRouteTableRoute & WithDestinationCidr(const Aws::String &value)
const Aws::String & GetRouteOrigin() const
void SetState(const Aws::String &value)
void SetAttachmentId(Aws::String &&value)
void SetResourceId(Aws::String &&value)
void SetDestinationCidr(const Aws::String &value)
TransitGatewayRouteTableRoute & WithPrefixListId(Aws::String &&value)
void SetAttachmentId(const Aws::String &value)
const Aws::String & GetResourceId() const
TransitGatewayRouteTableRoute & WithState(Aws::String &&value)
void SetAttachmentId(const char *value)
void SetRouteOrigin(const Aws::String &value)
TransitGatewayRouteTableRoute & WithPrefixListId(const char *value)
TransitGatewayRouteTableRoute & WithDestinationCidr(const char *value)
void SetState(const char *value)
TransitGatewayRouteTableRoute & WithState(const char *value)
bool ResourceTypeHasBeenSet() const
TransitGatewayRouteTableRoute & WithRouteOrigin(const char *value)
const Aws::String & GetDestinationCidr() const
TransitGatewayRouteTableRoute & WithResourceType(const char *value)
void SetResourceType(const char *value)
void SetResourceId(const char *value)
AWS_EC2_API TransitGatewayRouteTableRoute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResourceId(const Aws::String &value)
TransitGatewayRouteTableRoute & WithResourceType(Aws::String &&value)
AWS_EC2_API TransitGatewayRouteTableRoute()
TransitGatewayRouteTableRoute & WithState(const Aws::String &value)
void SetDestinationCidr(const char *value)
bool StateHasBeenSet() const
void SetResourceType(const Aws::String &value)
void SetPrefixListId(Aws::String &&value)
TransitGatewayRouteTableRoute & WithAttachmentId(const Aws::String &value)
const Aws::String & GetResourceType() const
TransitGatewayRouteTableRoute & WithResourceId(const char *value)
bool PrefixListIdHasBeenSet() const
void SetRouteOrigin(Aws::String &&value)
TransitGatewayRouteTableRoute & WithRouteOrigin(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayRouteTableRoute & WithAttachmentId(Aws::String &&value)
bool AttachmentIdHasBeenSet() const
TransitGatewayRouteTableRoute & WithDestinationCidr(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream