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>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TransitGatewayRouteType.h>
12#include <aws/ec2/model/TransitGatewayRouteState.h>
13#include <aws/ec2/model/TransitGatewayRouteAttachment.h>
55 inline void SetDestinationCidrBlock(
const char* value) { m_destinationCidrBlockHasBeenSet =
true; m_destinationCidrBlock.assign(value); }
69 inline void SetPrefixListId(
const char* value) { m_prefixListIdHasBeenSet =
true; m_prefixListId.assign(value); }
129 bool m_destinationCidrBlockHasBeenSet =
false;
132 bool m_prefixListIdHasBeenSet =
false;
134 Aws::String m_transitGatewayRouteTableAnnouncementId;
135 bool m_transitGatewayRouteTableAnnouncementIdHasBeenSet =
false;
138 bool m_transitGatewayAttachmentsHasBeenSet =
false;
141 bool m_typeHasBeenSet =
false;
144 bool m_stateHasBeenSet =
false;
bool TransitGatewayAttachmentsHasBeenSet() const
AWS_EC2_API TransitGatewayRoute(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayRoute & WithDestinationCidrBlock(const Aws::String &value)
bool StateHasBeenSet() const
AWS_EC2_API TransitGatewayRoute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDestinationCidrBlock(Aws::String &&value)
void SetPrefixListId(const char *value)
TransitGatewayRoute & WithPrefixListId(const Aws::String &value)
void SetDestinationCidrBlock(const char *value)
TransitGatewayRoute & WithState(TransitGatewayRouteState &&value)
void SetState(TransitGatewayRouteState &&value)
TransitGatewayRoute & WithType(TransitGatewayRouteType &&value)
bool DestinationCidrBlockHasBeenSet() const
void SetTransitGatewayAttachments(const Aws::Vector< TransitGatewayRouteAttachment > &value)
TransitGatewayRoute & AddTransitGatewayAttachments(TransitGatewayRouteAttachment &&value)
TransitGatewayRoute & WithTransitGatewayAttachments(const Aws::Vector< TransitGatewayRouteAttachment > &value)
void SetTransitGatewayAttachments(Aws::Vector< TransitGatewayRouteAttachment > &&value)
TransitGatewayRoute & WithTransitGatewayAttachments(Aws::Vector< TransitGatewayRouteAttachment > &&value)
TransitGatewayRoute & WithType(const TransitGatewayRouteType &value)
const Aws::Vector< TransitGatewayRouteAttachment > & GetTransitGatewayAttachments() const
AWS_EC2_API TransitGatewayRoute()
TransitGatewayRoute & WithDestinationCidrBlock(const char *value)
void SetState(const TransitGatewayRouteState &value)
TransitGatewayRoute & WithPrefixListId(Aws::String &&value)
TransitGatewayRoute & AddTransitGatewayAttachments(const TransitGatewayRouteAttachment &value)
TransitGatewayRoute & WithTransitGatewayRouteTableAnnouncementId(Aws::String &&value)
TransitGatewayRoute & WithTransitGatewayRouteTableAnnouncementId(const char *value)
void SetPrefixListId(Aws::String &&value)
const Aws::String & GetTransitGatewayRouteTableAnnouncementId() const
bool TypeHasBeenSet() const
TransitGatewayRoute & WithTransitGatewayRouteTableAnnouncementId(const Aws::String &value)
const Aws::String & GetPrefixListId() const
void SetType(TransitGatewayRouteType &&value)
const Aws::String & GetDestinationCidrBlock() const
TransitGatewayRoute & WithState(const TransitGatewayRouteState &value)
void SetTransitGatewayRouteTableAnnouncementId(Aws::String &&value)
const TransitGatewayRouteState & GetState() const
void SetPrefixListId(const Aws::String &value)
TransitGatewayRoute & WithPrefixListId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTransitGatewayRouteTableAnnouncementId(const char *value)
bool TransitGatewayRouteTableAnnouncementIdHasBeenSet() const
void SetDestinationCidrBlock(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool PrefixListIdHasBeenSet() const
TransitGatewayRoute & WithDestinationCidrBlock(Aws::String &&value)
void SetType(const TransitGatewayRouteType &value)
const TransitGatewayRouteType & GetType() const
void SetTransitGatewayRouteTableAnnouncementId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream