Struct aws_sdk_ec2::model::target_network::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TargetNetwork
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The ID of the association.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The ID of the association.
Examples found in repository?
44114 44115 44116 44117 44118 44119 44120 44121 44122 44123 44124 44125 44126 44127 44128 44129 44130 44131 44132 44133 44134 44135 44136 44137 44138 44139 44140 44141 44142 44143 44144 44145 44146 44147 44148 44149 44150 44151 44152 44153 44154 44155 44156 44157 44158 44159 44160 44161 44162 44163 44164 44165 44166 44167 44168 44169 44170 44171 44172 44173 44174 44175 44176 44177 44178 44179 44180 44181 44182 44183 44184 44185 44186 44187 44188 44189 44190 44191 44192 44193 44194 44195 44196 44197
pub fn deser_structure_crate_model_target_network(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::TargetNetwork, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::TargetNetwork::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("associationId") /* AssociationId com.amazonaws.ec2#TargetNetwork$AssociationId */ => {
let var_1930 =
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_association_id(var_1930);
}
,
s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#TargetNetwork$VpcId */ => {
let var_1931 =
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_vpc_id(var_1931);
}
,
s if s.matches("targetNetworkId") /* TargetNetworkId com.amazonaws.ec2#TargetNetwork$TargetNetworkId */ => {
let var_1932 =
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_target_network_id(var_1932);
}
,
s if s.matches("clientVpnEndpointId") /* ClientVpnEndpointId com.amazonaws.ec2#TargetNetwork$ClientVpnEndpointId */ => {
let var_1933 =
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_client_vpn_endpoint_id(var_1933);
}
,
s if s.matches("status") /* Status com.amazonaws.ec2#TargetNetwork$Status */ => {
let var_1934 =
Some(
crate::xml_deser::deser_structure_crate_model_association_status(&mut tag)
?
)
;
builder = builder.set_status(var_1934);
}
,
s if s.matches("securityGroups") /* SecurityGroups com.amazonaws.ec2#TargetNetwork$SecurityGroups */ => {
let var_1935 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_security_groups(var_1935);
}
,
_ => {}
}
}
Ok(builder.build())
}
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The ID of the VPC in which the target network (subnet) is located.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC in which the target network (subnet) is located.
Examples found in repository?
44114 44115 44116 44117 44118 44119 44120 44121 44122 44123 44124 44125 44126 44127 44128 44129 44130 44131 44132 44133 44134 44135 44136 44137 44138 44139 44140 44141 44142 44143 44144 44145 44146 44147 44148 44149 44150 44151 44152 44153 44154 44155 44156 44157 44158 44159 44160 44161 44162 44163 44164 44165 44166 44167 44168 44169 44170 44171 44172 44173 44174 44175 44176 44177 44178 44179 44180 44181 44182 44183 44184 44185 44186 44187 44188 44189 44190 44191 44192 44193 44194 44195 44196 44197
pub fn deser_structure_crate_model_target_network(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::TargetNetwork, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::TargetNetwork::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("associationId") /* AssociationId com.amazonaws.ec2#TargetNetwork$AssociationId */ => {
let var_1930 =
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_association_id(var_1930);
}
,
s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#TargetNetwork$VpcId */ => {
let var_1931 =
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_vpc_id(var_1931);
}
,
s if s.matches("targetNetworkId") /* TargetNetworkId com.amazonaws.ec2#TargetNetwork$TargetNetworkId */ => {
let var_1932 =
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_target_network_id(var_1932);
}
,
s if s.matches("clientVpnEndpointId") /* ClientVpnEndpointId com.amazonaws.ec2#TargetNetwork$ClientVpnEndpointId */ => {
let var_1933 =
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_client_vpn_endpoint_id(var_1933);
}
,
s if s.matches("status") /* Status com.amazonaws.ec2#TargetNetwork$Status */ => {
let var_1934 =
Some(
crate::xml_deser::deser_structure_crate_model_association_status(&mut tag)
?
)
;
builder = builder.set_status(var_1934);
}
,
s if s.matches("securityGroups") /* SecurityGroups com.amazonaws.ec2#TargetNetwork$SecurityGroups */ => {
let var_1935 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_security_groups(var_1935);
}
,
_ => {}
}
}
Ok(builder.build())
}
sourcepub fn target_network_id(self, input: impl Into<String>) -> Self
pub fn target_network_id(self, input: impl Into<String>) -> Self
The ID of the subnet specified as the target network.
sourcepub fn set_target_network_id(self, input: Option<String>) -> Self
pub fn set_target_network_id(self, input: Option<String>) -> Self
The ID of the subnet specified as the target network.
Examples found in repository?
44114 44115 44116 44117 44118 44119 44120 44121 44122 44123 44124 44125 44126 44127 44128 44129 44130 44131 44132 44133 44134 44135 44136 44137 44138 44139 44140 44141 44142 44143 44144 44145 44146 44147 44148 44149 44150 44151 44152 44153 44154 44155 44156 44157 44158 44159 44160 44161 44162 44163 44164 44165 44166 44167 44168 44169 44170 44171 44172 44173 44174 44175 44176 44177 44178 44179 44180 44181 44182 44183 44184 44185 44186 44187 44188 44189 44190 44191 44192 44193 44194 44195 44196 44197
pub fn deser_structure_crate_model_target_network(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::TargetNetwork, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::TargetNetwork::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("associationId") /* AssociationId com.amazonaws.ec2#TargetNetwork$AssociationId */ => {
let var_1930 =
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_association_id(var_1930);
}
,
s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#TargetNetwork$VpcId */ => {
let var_1931 =
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_vpc_id(var_1931);
}
,
s if s.matches("targetNetworkId") /* TargetNetworkId com.amazonaws.ec2#TargetNetwork$TargetNetworkId */ => {
let var_1932 =
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_target_network_id(var_1932);
}
,
s if s.matches("clientVpnEndpointId") /* ClientVpnEndpointId com.amazonaws.ec2#TargetNetwork$ClientVpnEndpointId */ => {
let var_1933 =
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_client_vpn_endpoint_id(var_1933);
}
,
s if s.matches("status") /* Status com.amazonaws.ec2#TargetNetwork$Status */ => {
let var_1934 =
Some(
crate::xml_deser::deser_structure_crate_model_association_status(&mut tag)
?
)
;
builder = builder.set_status(var_1934);
}
,
s if s.matches("securityGroups") /* SecurityGroups com.amazonaws.ec2#TargetNetwork$SecurityGroups */ => {
let var_1935 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_security_groups(var_1935);
}
,
_ => {}
}
}
Ok(builder.build())
}
sourcepub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self
pub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the Client VPN endpoint with which the target network is associated.
sourcepub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self
pub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self
The ID of the Client VPN endpoint with which the target network is associated.
Examples found in repository?
44114 44115 44116 44117 44118 44119 44120 44121 44122 44123 44124 44125 44126 44127 44128 44129 44130 44131 44132 44133 44134 44135 44136 44137 44138 44139 44140 44141 44142 44143 44144 44145 44146 44147 44148 44149 44150 44151 44152 44153 44154 44155 44156 44157 44158 44159 44160 44161 44162 44163 44164 44165 44166 44167 44168 44169 44170 44171 44172 44173 44174 44175 44176 44177 44178 44179 44180 44181 44182 44183 44184 44185 44186 44187 44188 44189 44190 44191 44192 44193 44194 44195 44196 44197
pub fn deser_structure_crate_model_target_network(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::TargetNetwork, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::TargetNetwork::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("associationId") /* AssociationId com.amazonaws.ec2#TargetNetwork$AssociationId */ => {
let var_1930 =
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_association_id(var_1930);
}
,
s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#TargetNetwork$VpcId */ => {
let var_1931 =
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_vpc_id(var_1931);
}
,
s if s.matches("targetNetworkId") /* TargetNetworkId com.amazonaws.ec2#TargetNetwork$TargetNetworkId */ => {
let var_1932 =
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_target_network_id(var_1932);
}
,
s if s.matches("clientVpnEndpointId") /* ClientVpnEndpointId com.amazonaws.ec2#TargetNetwork$ClientVpnEndpointId */ => {
let var_1933 =
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_client_vpn_endpoint_id(var_1933);
}
,
s if s.matches("status") /* Status com.amazonaws.ec2#TargetNetwork$Status */ => {
let var_1934 =
Some(
crate::xml_deser::deser_structure_crate_model_association_status(&mut tag)
?
)
;
builder = builder.set_status(var_1934);
}
,
s if s.matches("securityGroups") /* SecurityGroups com.amazonaws.ec2#TargetNetwork$SecurityGroups */ => {
let var_1935 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_security_groups(var_1935);
}
,
_ => {}
}
}
Ok(builder.build())
}
sourcepub fn status(self, input: AssociationStatus) -> Self
pub fn status(self, input: AssociationStatus) -> Self
The current state of the target network association.
sourcepub fn set_status(self, input: Option<AssociationStatus>) -> Self
pub fn set_status(self, input: Option<AssociationStatus>) -> Self
The current state of the target network association.
Examples found in repository?
44114 44115 44116 44117 44118 44119 44120 44121 44122 44123 44124 44125 44126 44127 44128 44129 44130 44131 44132 44133 44134 44135 44136 44137 44138 44139 44140 44141 44142 44143 44144 44145 44146 44147 44148 44149 44150 44151 44152 44153 44154 44155 44156 44157 44158 44159 44160 44161 44162 44163 44164 44165 44166 44167 44168 44169 44170 44171 44172 44173 44174 44175 44176 44177 44178 44179 44180 44181 44182 44183 44184 44185 44186 44187 44188 44189 44190 44191 44192 44193 44194 44195 44196 44197
pub fn deser_structure_crate_model_target_network(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::TargetNetwork, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::TargetNetwork::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("associationId") /* AssociationId com.amazonaws.ec2#TargetNetwork$AssociationId */ => {
let var_1930 =
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_association_id(var_1930);
}
,
s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#TargetNetwork$VpcId */ => {
let var_1931 =
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_vpc_id(var_1931);
}
,
s if s.matches("targetNetworkId") /* TargetNetworkId com.amazonaws.ec2#TargetNetwork$TargetNetworkId */ => {
let var_1932 =
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_target_network_id(var_1932);
}
,
s if s.matches("clientVpnEndpointId") /* ClientVpnEndpointId com.amazonaws.ec2#TargetNetwork$ClientVpnEndpointId */ => {
let var_1933 =
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_client_vpn_endpoint_id(var_1933);
}
,
s if s.matches("status") /* Status com.amazonaws.ec2#TargetNetwork$Status */ => {
let var_1934 =
Some(
crate::xml_deser::deser_structure_crate_model_association_status(&mut tag)
?
)
;
builder = builder.set_status(var_1934);
}
,
s if s.matches("securityGroups") /* SecurityGroups com.amazonaws.ec2#TargetNetwork$SecurityGroups */ => {
let var_1935 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_security_groups(var_1935);
}
,
_ => {}
}
}
Ok(builder.build())
}
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
The IDs of the security groups applied to the target network association.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
The IDs of the security groups applied to the target network association.
Examples found in repository?
44114 44115 44116 44117 44118 44119 44120 44121 44122 44123 44124 44125 44126 44127 44128 44129 44130 44131 44132 44133 44134 44135 44136 44137 44138 44139 44140 44141 44142 44143 44144 44145 44146 44147 44148 44149 44150 44151 44152 44153 44154 44155 44156 44157 44158 44159 44160 44161 44162 44163 44164 44165 44166 44167 44168 44169 44170 44171 44172 44173 44174 44175 44176 44177 44178 44179 44180 44181 44182 44183 44184 44185 44186 44187 44188 44189 44190 44191 44192 44193 44194 44195 44196 44197
pub fn deser_structure_crate_model_target_network(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::TargetNetwork, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::TargetNetwork::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("associationId") /* AssociationId com.amazonaws.ec2#TargetNetwork$AssociationId */ => {
let var_1930 =
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_association_id(var_1930);
}
,
s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#TargetNetwork$VpcId */ => {
let var_1931 =
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_vpc_id(var_1931);
}
,
s if s.matches("targetNetworkId") /* TargetNetworkId com.amazonaws.ec2#TargetNetwork$TargetNetworkId */ => {
let var_1932 =
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_target_network_id(var_1932);
}
,
s if s.matches("clientVpnEndpointId") /* ClientVpnEndpointId com.amazonaws.ec2#TargetNetwork$ClientVpnEndpointId */ => {
let var_1933 =
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_client_vpn_endpoint_id(var_1933);
}
,
s if s.matches("status") /* Status com.amazonaws.ec2#TargetNetwork$Status */ => {
let var_1934 =
Some(
crate::xml_deser::deser_structure_crate_model_association_status(&mut tag)
?
)
;
builder = builder.set_status(var_1934);
}
,
s if s.matches("securityGroups") /* SecurityGroups com.amazonaws.ec2#TargetNetwork$SecurityGroups */ => {
let var_1935 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_security_groups(var_1935);
}
,
_ => {}
}
}
Ok(builder.build())
}
sourcepub fn build(self) -> TargetNetwork
pub fn build(self) -> TargetNetwork
Consumes the builder and constructs a TargetNetwork
.
Examples found in repository?
44114 44115 44116 44117 44118 44119 44120 44121 44122 44123 44124 44125 44126 44127 44128 44129 44130 44131 44132 44133 44134 44135 44136 44137 44138 44139 44140 44141 44142 44143 44144 44145 44146 44147 44148 44149 44150 44151 44152 44153 44154 44155 44156 44157 44158 44159 44160 44161 44162 44163 44164 44165 44166 44167 44168 44169 44170 44171 44172 44173 44174 44175 44176 44177 44178 44179 44180 44181 44182 44183 44184 44185 44186 44187 44188 44189 44190 44191 44192 44193 44194 44195 44196 44197
pub fn deser_structure_crate_model_target_network(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::TargetNetwork, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::TargetNetwork::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("associationId") /* AssociationId com.amazonaws.ec2#TargetNetwork$AssociationId */ => {
let var_1930 =
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_association_id(var_1930);
}
,
s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#TargetNetwork$VpcId */ => {
let var_1931 =
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_vpc_id(var_1931);
}
,
s if s.matches("targetNetworkId") /* TargetNetworkId com.amazonaws.ec2#TargetNetwork$TargetNetworkId */ => {
let var_1932 =
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_target_network_id(var_1932);
}
,
s if s.matches("clientVpnEndpointId") /* ClientVpnEndpointId com.amazonaws.ec2#TargetNetwork$ClientVpnEndpointId */ => {
let var_1933 =
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_client_vpn_endpoint_id(var_1933);
}
,
s if s.matches("status") /* Status com.amazonaws.ec2#TargetNetwork$Status */ => {
let var_1934 =
Some(
crate::xml_deser::deser_structure_crate_model_association_status(&mut tag)
?
)
;
builder = builder.set_status(var_1934);
}
,
s if s.matches("securityGroups") /* SecurityGroups com.amazonaws.ec2#TargetNetwork$SecurityGroups */ => {
let var_1935 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_value_string_list(&mut tag)
?
)
;
builder = builder.set_security_groups(var_1935);
}
,
_ => {}
}
}
Ok(builder.build())
}