7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/LocalGatewayRouteState.h>
11#include <aws/ec2/model/LocalGatewayRouteType.h>
45 template <
typename DestinationC
idrBlockT = Aws::String>
47 m_destinationCidrBlockHasBeenSet =
true;
48 m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value);
50 template <
typename DestinationC
idrBlockT = Aws::String>
63 template <
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
65 m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
true;
66 m_localGatewayVirtualInterfaceGroupId = std::forward<LocalGatewayVirtualInterfaceGroupIdT>(value);
68 template <
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
82 m_typeHasBeenSet =
true;
98 m_stateHasBeenSet =
true;
113 template <
typename LocalGatewayRouteTableIdT = Aws::String>
115 m_localGatewayRouteTableIdHasBeenSet =
true;
116 m_localGatewayRouteTableId = std::forward<LocalGatewayRouteTableIdT>(value);
118 template <
typename LocalGatewayRouteTableIdT = Aws::String>
131 template <
typename LocalGatewayRouteTableArnT = Aws::String>
133 m_localGatewayRouteTableArnHasBeenSet =
true;
134 m_localGatewayRouteTableArn = std::forward<LocalGatewayRouteTableArnT>(value);
136 template <
typename LocalGatewayRouteTableArnT = Aws::String>
150 template <
typename OwnerIdT = Aws::String>
152 m_ownerIdHasBeenSet =
true;
153 m_ownerId = std::forward<OwnerIdT>(value);
155 template <
typename OwnerIdT = Aws::String>
168 template <
typename SubnetIdT = Aws::String>
170 m_subnetIdHasBeenSet =
true;
171 m_subnetId = std::forward<SubnetIdT>(value);
173 template <
typename SubnetIdT = Aws::String>
186 template <
typename CoipPoolIdT = Aws::String>
188 m_coipPoolIdHasBeenSet =
true;
189 m_coipPoolId = std::forward<CoipPoolIdT>(value);
191 template <
typename CoipPoolIdT = Aws::String>
204 template <
typename NetworkInterfaceIdT = Aws::String>
206 m_networkInterfaceIdHasBeenSet =
true;
207 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
209 template <
typename NetworkInterfaceIdT = Aws::String>
222 template <
typename DestinationPrefixListIdT = Aws::String>
224 m_destinationPrefixListIdHasBeenSet =
true;
225 m_destinationPrefixListId = std::forward<DestinationPrefixListIdT>(value);
227 template <
typename DestinationPrefixListIdT = Aws::String>
255 bool m_destinationCidrBlockHasBeenSet =
false;
256 bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
false;
257 bool m_typeHasBeenSet =
false;
258 bool m_stateHasBeenSet =
false;
259 bool m_localGatewayRouteTableIdHasBeenSet =
false;
260 bool m_localGatewayRouteTableArnHasBeenSet =
false;
261 bool m_ownerIdHasBeenSet =
false;
262 bool m_subnetIdHasBeenSet =
false;
263 bool m_coipPoolIdHasBeenSet =
false;
264 bool m_networkInterfaceIdHasBeenSet =
false;
265 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