#[non_exhaustive]
pub struct TransitGatewayMulticastDomain { /* private fields */ }
Expand description

Describes the transit gateway multicast domain.

Implementations§

The ID of the transit gateway multicast domain.

The ID of the transit gateway.

The Amazon Resource Name (ARN) of the transit gateway multicast domain.

The ID of the Amazon Web Services account that owns the transit gateway multicast domain.

The options for the transit gateway multicast domain.

The state of the transit gateway multicast domain.

The time the transit gateway multicast domain was created.

The tags for the transit gateway multicast domain.

Creates a new builder-style object to manufacture TransitGatewayMulticastDomain.

Examples found in repository?
src/xml_deser.rs (line 30891)
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
pub fn deser_structure_crate_model_transit_gateway_multicast_domain(
    decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::TransitGatewayMulticastDomain, aws_smithy_xml::decode::XmlDecodeError> {
    #[allow(unused_mut)]
    let mut builder = crate::model::TransitGatewayMulticastDomain::builder();
    while let Some(mut tag) = decoder.next_tag() {
        match tag.start_el() {
            s if s.matches("transitGatewayMulticastDomainId") /* TransitGatewayMulticastDomainId com.amazonaws.ec2#TransitGatewayMulticastDomain$TransitGatewayMulticastDomainId */ =>  {
                let var_1352 =
                    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_transit_gateway_multicast_domain_id(var_1352);
            }
            ,
            s if s.matches("transitGatewayId") /* TransitGatewayId com.amazonaws.ec2#TransitGatewayMulticastDomain$TransitGatewayId */ =>  {
                let var_1353 =
                    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_transit_gateway_id(var_1353);
            }
            ,
            s if s.matches("transitGatewayMulticastDomainArn") /* TransitGatewayMulticastDomainArn com.amazonaws.ec2#TransitGatewayMulticastDomain$TransitGatewayMulticastDomainArn */ =>  {
                let var_1354 =
                    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_transit_gateway_multicast_domain_arn(var_1354);
            }
            ,
            s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#TransitGatewayMulticastDomain$OwnerId */ =>  {
                let var_1355 =
                    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_1355);
            }
            ,
            s if s.matches("options") /* Options com.amazonaws.ec2#TransitGatewayMulticastDomain$Options */ =>  {
                let var_1356 =
                    Some(
                        crate::xml_deser::deser_structure_crate_model_transit_gateway_multicast_domain_options(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_options(var_1356);
            }
            ,
            s if s.matches("state") /* State com.amazonaws.ec2#TransitGatewayMulticastDomain$State */ =>  {
                let var_1357 =
                    Some(
                        Result::<crate::model::TransitGatewayMulticastDomainState, aws_smithy_xml::decode::XmlDecodeError>::Ok(
                            crate::model::TransitGatewayMulticastDomainState::from(
                                aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            )
                        )
                        ?
                    )
                ;
                builder = builder.set_state(var_1357);
            }
            ,
            s if s.matches("creationTime") /* CreationTime com.amazonaws.ec2#TransitGatewayMulticastDomain$CreationTime */ =>  {
                let var_1358 =
                    Some(
                        aws_smithy_types::DateTime::from_str(
                            aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            , aws_smithy_types::date_time::Format::DateTime
                        )
                        .map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.ec2#DateTime`)"))
                        ?
                    )
                ;
                builder = builder.set_creation_time(var_1358);
            }
            ,
            s if s.matches("tagSet") /* Tags com.amazonaws.ec2#TransitGatewayMulticastDomain$Tags */ =>  {
                let var_1359 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_tags(var_1359);
            }
            ,
            _ => {}
        }
    }
    Ok(builder.build())
}

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more