7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetDestinationCidrBlock(
const char* value) { m_destinationCidrBlockHasBeenSet =
true; m_destinationCidrBlock.assign(value); }
62 inline void SetTransitGatewayRouteTableId(
const char* value) { m_transitGatewayRouteTableIdHasBeenSet =
true; m_transitGatewayRouteTableId.assign(value); }
76 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
88 inline void SetBlackhole(
bool value) { m_blackholeHasBeenSet =
true; m_blackhole = value; }
101 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
107 bool m_destinationCidrBlockHasBeenSet =
false;
110 bool m_transitGatewayRouteTableIdHasBeenSet =
false;
113 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
116 bool m_blackholeHasBeenSet =
false;
119 bool m_dryRunHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
void SetDryRun(bool value)
void SetDestinationCidrBlock(const Aws::String &value)
CreateTransitGatewayRouteRequest & WithDestinationCidrBlock(const char *value)
bool DryRunHasBeenSet() const
void SetTransitGatewayAttachmentId(Aws::String &&value)
CreateTransitGatewayRouteRequest & WithDestinationCidrBlock(Aws::String &&value)
void SetDestinationCidrBlock(const char *value)
void SetTransitGatewayRouteTableId(const Aws::String &value)
void SetTransitGatewayAttachmentId(const char *value)
void SetDestinationCidrBlock(Aws::String &&value)
AWS_EC2_API CreateTransitGatewayRouteRequest()
bool GetBlackhole() const
CreateTransitGatewayRouteRequest & WithTransitGatewayAttachmentId(const char *value)
const Aws::String & GetTransitGatewayRouteTableId() const
void SetTransitGatewayRouteTableId(const char *value)
CreateTransitGatewayRouteRequest & WithBlackhole(bool value)
CreateTransitGatewayRouteRequest & WithDryRun(bool value)
void SetTransitGatewayRouteTableId(Aws::String &&value)
CreateTransitGatewayRouteRequest & WithTransitGatewayRouteTableId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateTransitGatewayRouteRequest & WithTransitGatewayRouteTableId(Aws::String &&value)
void SetTransitGatewayAttachmentId(const Aws::String &value)
bool DestinationCidrBlockHasBeenSet() const
const Aws::String & GetDestinationCidrBlock() const
const Aws::String & GetTransitGatewayAttachmentId() const
CreateTransitGatewayRouteRequest & WithTransitGatewayAttachmentId(Aws::String &&value)
CreateTransitGatewayRouteRequest & WithDestinationCidrBlock(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateTransitGatewayRouteRequest & WithTransitGatewayAttachmentId(const Aws::String &value)
bool BlackholeHasBeenSet() const
CreateTransitGatewayRouteRequest & WithTransitGatewayRouteTableId(const Aws::String &value)
bool TransitGatewayAttachmentIdHasBeenSet() const
bool TransitGatewayRouteTableIdHasBeenSet() const
void SetBlackhole(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String