#[non_exhaustive]pub struct LocalGatewayRouteTableVirtualInterfaceGroupAssociation { /* private fields */ }
Expand description
Describes an association between a local gateway route table and a virtual interface group.
Implementations§
source§impl LocalGatewayRouteTableVirtualInterfaceGroupAssociation
impl LocalGatewayRouteTableVirtualInterfaceGroupAssociation
sourcepub fn local_gateway_route_table_virtual_interface_group_association_id(
&self
) -> Option<&str>
pub fn local_gateway_route_table_virtual_interface_group_association_id(
&self
) -> Option<&str>
The ID of the association.
sourcepub fn local_gateway_virtual_interface_group_id(&self) -> Option<&str>
pub fn local_gateway_virtual_interface_group_id(&self) -> Option<&str>
The ID of the virtual interface group.
sourcepub fn local_gateway_id(&self) -> Option<&str>
pub fn local_gateway_id(&self) -> Option<&str>
The ID of the local gateway.
sourcepub fn local_gateway_route_table_id(&self) -> Option<&str>
pub fn local_gateway_route_table_id(&self) -> Option<&str>
The ID of the local gateway route table.
sourcepub fn local_gateway_route_table_arn(&self) -> Option<&str>
pub fn local_gateway_route_table_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the local gateway route table for the virtual interface group.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the local gateway virtual interface group association.
The tags assigned to the association.
source§impl LocalGatewayRouteTableVirtualInterfaceGroupAssociation
impl LocalGatewayRouteTableVirtualInterfaceGroupAssociation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LocalGatewayRouteTableVirtualInterfaceGroupAssociation
.
Examples found in repository?
src/xml_deser.rs (line 28267)
28259 28260 28261 28262 28263 28264 28265 28266 28267 28268 28269 28270 28271 28272 28273 28274 28275 28276 28277 28278 28279 28280 28281 28282 28283 28284 28285 28286 28287 28288 28289 28290 28291 28292 28293 28294 28295 28296 28297 28298 28299 28300 28301 28302 28303 28304 28305 28306 28307 28308 28309 28310 28311 28312 28313 28314 28315 28316 28317 28318 28319 28320 28321 28322 28323 28324 28325 28326 28327 28328 28329 28330 28331 28332 28333 28334 28335 28336 28337 28338 28339 28340 28341 28342 28343 28344 28345 28346 28347 28348 28349 28350 28351 28352 28353 28354 28355 28356 28357 28358 28359 28360 28361 28362 28363 28364 28365 28366 28367 28368 28369 28370 28371 28372 28373 28374 28375
pub fn deser_structure_crate_model_local_gateway_route_table_virtual_interface_group_association(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<
crate::model::LocalGatewayRouteTableVirtualInterfaceGroupAssociation,
aws_smithy_xml::decode::XmlDecodeError,
> {
#[allow(unused_mut)]
let mut builder =
crate::model::LocalGatewayRouteTableVirtualInterfaceGroupAssociation::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("localGatewayRouteTableVirtualInterfaceGroupAssociationId") /* LocalGatewayRouteTableVirtualInterfaceGroupAssociationId com.amazonaws.ec2#LocalGatewayRouteTableVirtualInterfaceGroupAssociation$LocalGatewayRouteTableVirtualInterfaceGroupAssociationId */ => {
let var_1168 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_local_gateway_route_table_virtual_interface_group_association_id(var_1168);
}
,
s if s.matches("localGatewayVirtualInterfaceGroupId") /* LocalGatewayVirtualInterfaceGroupId com.amazonaws.ec2#LocalGatewayRouteTableVirtualInterfaceGroupAssociation$LocalGatewayVirtualInterfaceGroupId */ => {
let var_1169 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_local_gateway_virtual_interface_group_id(var_1169);
}
,
s if s.matches("localGatewayId") /* LocalGatewayId com.amazonaws.ec2#LocalGatewayRouteTableVirtualInterfaceGroupAssociation$LocalGatewayId */ => {
let var_1170 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_local_gateway_id(var_1170);
}
,
s if s.matches("localGatewayRouteTableId") /* LocalGatewayRouteTableId com.amazonaws.ec2#LocalGatewayRouteTableVirtualInterfaceGroupAssociation$LocalGatewayRouteTableId */ => {
let var_1171 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_local_gateway_route_table_id(var_1171);
}
,
s if s.matches("localGatewayRouteTableArn") /* LocalGatewayRouteTableArn com.amazonaws.ec2#LocalGatewayRouteTableVirtualInterfaceGroupAssociation$LocalGatewayRouteTableArn */ => {
let var_1172 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_local_gateway_route_table_arn(var_1172);
}
,
s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#LocalGatewayRouteTableVirtualInterfaceGroupAssociation$OwnerId */ => {
let var_1173 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_owner_id(var_1173);
}
,
s if s.matches("state") /* State com.amazonaws.ec2#LocalGatewayRouteTableVirtualInterfaceGroupAssociation$State */ => {
let var_1174 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_state(var_1174);
}
,
s if s.matches("tagSet") /* Tags com.amazonaws.ec2#LocalGatewayRouteTableVirtualInterfaceGroupAssociation$Tags */ => {
let var_1175 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
?
)
;
builder = builder.set_tags(var_1175);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for LocalGatewayRouteTableVirtualInterfaceGroupAssociation
impl Clone for LocalGatewayRouteTableVirtualInterfaceGroupAssociation
source§fn clone(&self) -> LocalGatewayRouteTableVirtualInterfaceGroupAssociation
fn clone(&self) -> LocalGatewayRouteTableVirtualInterfaceGroupAssociation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more