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/ec2/model/LocalGatewayRouteType.h>
11#include <aws/ec2/model/LocalGatewayRouteState.h>
53 inline void SetDestinationCidrBlock(
const char* value) { m_destinationCidrBlockHasBeenSet =
true; m_destinationCidrBlock.assign(value); }
105 inline void SetLocalGatewayRouteTableId(
const char* value) { m_localGatewayRouteTableIdHasBeenSet =
true; m_localGatewayRouteTableId.assign(value); }
119 inline void SetLocalGatewayRouteTableArn(
const char* value) { m_localGatewayRouteTableArnHasBeenSet =
true; m_localGatewayRouteTableArn.assign(value); }
134 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
148 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
162 inline void SetCoipPoolId(
const char* value) { m_coipPoolIdHasBeenSet =
true; m_coipPoolId.assign(value); }
176 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
190 inline void SetDestinationPrefixListId(
const char* value) { m_destinationPrefixListIdHasBeenSet =
true; m_destinationPrefixListId.assign(value); }
198 bool m_destinationCidrBlockHasBeenSet =
false;
201 bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
false;
204 bool m_typeHasBeenSet =
false;
207 bool m_stateHasBeenSet =
false;
210 bool m_localGatewayRouteTableIdHasBeenSet =
false;
213 bool m_localGatewayRouteTableArnHasBeenSet =
false;
216 bool m_ownerIdHasBeenSet =
false;
219 bool m_subnetIdHasBeenSet =
false;
222 bool m_coipPoolIdHasBeenSet =
false;
225 bool m_networkInterfaceIdHasBeenSet =
false;
228 bool m_destinationPrefixListIdHasBeenSet =
false;
LocalGatewayRoute & WithType(LocalGatewayRouteType &&value)
LocalGatewayRoute & WithLocalGatewayVirtualInterfaceGroupId(Aws::String &&value)
void SetDestinationCidrBlock(const Aws::String &value)
LocalGatewayRoute & WithNetworkInterfaceId(const char *value)
const Aws::String & GetCoipPoolId() const
AWS_EC2_API LocalGatewayRoute()
void SetLocalGatewayVirtualInterfaceGroupId(const char *value)
LocalGatewayRoute & WithCoipPoolId(const char *value)
void SetLocalGatewayRouteTableId(const char *value)
LocalGatewayRoute & WithNetworkInterfaceId(Aws::String &&value)
void SetDestinationPrefixListId(const char *value)
LocalGatewayRoute & WithLocalGatewayVirtualInterfaceGroupId(const Aws::String &value)
void SetDestinationPrefixListId(Aws::String &&value)
LocalGatewayRoute & WithSubnetId(const Aws::String &value)
const Aws::String & GetSubnetId() const
LocalGatewayRoute & WithLocalGatewayVirtualInterfaceGroupId(const char *value)
const LocalGatewayRouteState & GetState() const
bool NetworkInterfaceIdHasBeenSet() const
LocalGatewayRoute & WithNetworkInterfaceId(const Aws::String &value)
bool LocalGatewayVirtualInterfaceGroupIdHasBeenSet() const
void SetOwnerId(const Aws::String &value)
const Aws::String & GetLocalGatewayVirtualInterfaceGroupId() const
void SetLocalGatewayVirtualInterfaceGroupId(Aws::String &&value)
LocalGatewayRoute & WithCoipPoolId(Aws::String &&value)
LocalGatewayRoute & WithDestinationCidrBlock(const Aws::String &value)
bool SubnetIdHasBeenSet() const
LocalGatewayRoute & WithOwnerId(const char *value)
bool LocalGatewayRouteTableIdHasBeenSet() const
void SetLocalGatewayRouteTableArn(const char *value)
void SetOwnerId(const char *value)
LocalGatewayRoute & WithLocalGatewayRouteTableId(Aws::String &&value)
LocalGatewayRoute & WithType(const LocalGatewayRouteType &value)
void SetSubnetId(const Aws::String &value)
void SetCoipPoolId(Aws::String &&value)
bool DestinationPrefixListIdHasBeenSet() const
LocalGatewayRoute & WithDestinationCidrBlock(const char *value)
const Aws::String & GetLocalGatewayRouteTableId() const
void SetDestinationCidrBlock(const char *value)
void SetState(LocalGatewayRouteState &&value)
const Aws::String & GetOwnerId() const
LocalGatewayRoute & WithLocalGatewayRouteTableId(const Aws::String &value)
bool CoipPoolIdHasBeenSet() const
AWS_EC2_API LocalGatewayRoute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TypeHasBeenSet() const
const Aws::String & GetNetworkInterfaceId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetType(const LocalGatewayRouteType &value)
LocalGatewayRoute & WithState(LocalGatewayRouteState &&value)
void SetNetworkInterfaceId(const char *value)
LocalGatewayRoute & WithDestinationPrefixListId(Aws::String &&value)
void SetLocalGatewayRouteTableId(Aws::String &&value)
LocalGatewayRoute & WithLocalGatewayRouteTableArn(const Aws::String &value)
void SetSubnetId(Aws::String &&value)
void SetLocalGatewayVirtualInterfaceGroupId(const Aws::String &value)
AWS_EC2_API LocalGatewayRoute(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLocalGatewayRouteTableId(const Aws::String &value)
const Aws::String & GetDestinationCidrBlock() const
void SetType(LocalGatewayRouteType &&value)
void SetCoipPoolId(const Aws::String &value)
void SetNetworkInterfaceId(Aws::String &&value)
void SetSubnetId(const char *value)
void SetLocalGatewayRouteTableArn(const Aws::String &value)
LocalGatewayRoute & WithSubnetId(Aws::String &&value)
bool DestinationCidrBlockHasBeenSet() const
void SetCoipPoolId(const char *value)
const LocalGatewayRouteType & GetType() const
void SetDestinationCidrBlock(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LocalGatewayRoute & WithOwnerId(const Aws::String &value)
LocalGatewayRoute & WithSubnetId(const char *value)
const Aws::String & GetDestinationPrefixListId() const
LocalGatewayRoute & WithDestinationPrefixListId(const Aws::String &value)
void SetState(const LocalGatewayRouteState &value)
void SetLocalGatewayRouteTableArn(Aws::String &&value)
LocalGatewayRoute & WithState(const LocalGatewayRouteState &value)
LocalGatewayRoute & WithDestinationPrefixListId(const char *value)
bool LocalGatewayRouteTableArnHasBeenSet() const
bool OwnerIdHasBeenSet() const
bool StateHasBeenSet() const
LocalGatewayRoute & WithLocalGatewayRouteTableArn(const char *value)
LocalGatewayRoute & WithOwnerId(Aws::String &&value)
void SetNetworkInterfaceId(const Aws::String &value)
void SetOwnerId(Aws::String &&value)
LocalGatewayRoute & WithLocalGatewayRouteTableId(const char *value)
LocalGatewayRoute & WithLocalGatewayRouteTableArn(Aws::String &&value)
const Aws::String & GetLocalGatewayRouteTableArn() const
LocalGatewayRoute & WithDestinationCidrBlock(Aws::String &&value)
LocalGatewayRoute & WithCoipPoolId(const Aws::String &value)
void SetDestinationPrefixListId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream