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>
51 template<
typename DestinationC
idrBlockT = Aws::String>
52 void SetDestinationCidrBlock(DestinationCidrBlockT&& value) { m_destinationCidrBlockHasBeenSet =
true; m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value); }
53 template<
typename DestinationC
idrBlockT = Aws::String>
63 template<
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
64 void SetLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT&& value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
true; m_localGatewayVirtualInterfaceGroupId = std::forward<LocalGatewayVirtualInterfaceGroupIdT>(value); }
65 template<
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
95 template<
typename LocalGatewayRouteTableIdT = Aws::String>
96 void SetLocalGatewayRouteTableId(LocalGatewayRouteTableIdT&& value) { m_localGatewayRouteTableIdHasBeenSet =
true; m_localGatewayRouteTableId = std::forward<LocalGatewayRouteTableIdT>(value); }
97 template<
typename LocalGatewayRouteTableIdT = Aws::String>
107 template<
typename LocalGatewayRouteTableArnT = Aws::String>
108 void SetLocalGatewayRouteTableArn(LocalGatewayRouteTableArnT&& value) { m_localGatewayRouteTableArnHasBeenSet =
true; m_localGatewayRouteTableArn = std::forward<LocalGatewayRouteTableArnT>(value); }
109 template<
typename LocalGatewayRouteTableArnT = Aws::String>
120 template<
typename OwnerIdT = Aws::String>
121 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
122 template<
typename OwnerIdT = Aws::String>
132 template<
typename SubnetIdT = Aws::String>
133 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
134 template<
typename SubnetIdT = Aws::String>
144 template<
typename CoipPoolIdT = Aws::String>
145 void SetCoipPoolId(CoipPoolIdT&& value) { m_coipPoolIdHasBeenSet =
true; m_coipPoolId = std::forward<CoipPoolIdT>(value); }
146 template<
typename CoipPoolIdT = Aws::String>
156 template<
typename NetworkInterfaceIdT = Aws::String>
157 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
158 template<
typename NetworkInterfaceIdT = Aws::String>
168 template<
typename DestinationPrefixListIdT = Aws::String>
169 void SetDestinationPrefixListId(DestinationPrefixListIdT&& value) { m_destinationPrefixListIdHasBeenSet =
true; m_destinationPrefixListId = std::forward<DestinationPrefixListIdT>(value); }
170 template<
typename DestinationPrefixListIdT = Aws::String>
176 bool m_destinationCidrBlockHasBeenSet =
false;
179 bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
false;
182 bool m_typeHasBeenSet =
false;
185 bool m_stateHasBeenSet =
false;
188 bool m_localGatewayRouteTableIdHasBeenSet =
false;
191 bool m_localGatewayRouteTableArnHasBeenSet =
false;
194 bool m_ownerIdHasBeenSet =
false;
197 bool m_subnetIdHasBeenSet =
false;
200 bool m_coipPoolIdHasBeenSet =
false;
203 bool m_networkInterfaceIdHasBeenSet =
false;
206 bool m_destinationPrefixListIdHasBeenSet =
false;
LocalGatewayRouteState GetState() const
LocalGatewayRouteType GetType() const
const Aws::String & GetCoipPoolId() const
LocalGatewayRoute & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
LocalGatewayRoute & WithCoipPoolId(CoipPoolIdT &&value)
const Aws::String & GetSubnetId() const
AWS_EC2_API LocalGatewayRoute()=default
bool NetworkInterfaceIdHasBeenSet() const
bool LocalGatewayVirtualInterfaceGroupIdHasBeenSet() const
LocalGatewayRoute & WithType(LocalGatewayRouteType value)
const Aws::String & GetLocalGatewayVirtualInterfaceGroupId() const
LocalGatewayRoute & WithSubnetId(SubnetIdT &&value)
bool SubnetIdHasBeenSet() const
bool LocalGatewayRouteTableIdHasBeenSet() const
void SetSubnetId(SubnetIdT &&value)
bool DestinationPrefixListIdHasBeenSet() const
LocalGatewayRoute & WithLocalGatewayRouteTableId(LocalGatewayRouteTableIdT &&value)
void SetLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT &&value)
const Aws::String & GetLocalGatewayRouteTableId() const
LocalGatewayRoute & WithLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT &&value)
void SetCoipPoolId(CoipPoolIdT &&value)
const Aws::String & GetOwnerId() const
void SetLocalGatewayRouteTableId(LocalGatewayRouteTableIdT &&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 SetOwnerId(OwnerIdT &&value)
void SetDestinationPrefixListId(DestinationPrefixListIdT &&value)
LocalGatewayRoute & WithOwnerId(OwnerIdT &&value)
void SetType(LocalGatewayRouteType value)
AWS_EC2_API LocalGatewayRoute(const Aws::Utils::Xml::XmlNode &xmlNode)
LocalGatewayRoute & WithState(LocalGatewayRouteState value)
const Aws::String & GetDestinationCidrBlock() const
LocalGatewayRoute & WithLocalGatewayRouteTableArn(LocalGatewayRouteTableArnT &&value)
void SetLocalGatewayRouteTableArn(LocalGatewayRouteTableArnT &&value)
bool DestinationCidrBlockHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDestinationCidrBlock(DestinationCidrBlockT &&value)
LocalGatewayRoute & WithDestinationCidrBlock(DestinationCidrBlockT &&value)
LocalGatewayRoute & WithDestinationPrefixListId(DestinationPrefixListIdT &&value)
const Aws::String & GetDestinationPrefixListId() const
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
bool LocalGatewayRouteTableArnHasBeenSet() const
bool OwnerIdHasBeenSet() const
bool StateHasBeenSet() const
void SetState(LocalGatewayRouteState value)
const Aws::String & GetLocalGatewayRouteTableArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream