Struct aws_sdk_ec2::model::TransitGatewayMulticastDomain
source · #[non_exhaustive]pub struct TransitGatewayMulticastDomain { /* private fields */ }
Expand description
Describes the transit gateway multicast domain.
Implementations§
source§impl TransitGatewayMulticastDomain
impl TransitGatewayMulticastDomain
sourcepub fn transit_gateway_multicast_domain_id(&self) -> Option<&str>
pub fn transit_gateway_multicast_domain_id(&self) -> Option<&str>
The ID of the transit gateway multicast domain.
sourcepub fn transit_gateway_id(&self) -> Option<&str>
pub fn transit_gateway_id(&self) -> Option<&str>
The ID of the transit gateway.
sourcepub fn transit_gateway_multicast_domain_arn(&self) -> Option<&str>
pub fn transit_gateway_multicast_domain_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the transit gateway multicast domain.
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 transit gateway multicast domain.
sourcepub fn options(&self) -> Option<&TransitGatewayMulticastDomainOptions>
pub fn options(&self) -> Option<&TransitGatewayMulticastDomainOptions>
The options for the transit gateway multicast domain.
sourcepub fn state(&self) -> Option<&TransitGatewayMulticastDomainState>
pub fn state(&self) -> Option<&TransitGatewayMulticastDomainState>
The state of the transit gateway multicast domain.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time the transit gateway multicast domain was created.
The tags for the transit gateway multicast domain.
source§impl TransitGatewayMulticastDomain
impl TransitGatewayMulticastDomain
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
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§
source§impl Clone for TransitGatewayMulticastDomain
impl Clone for TransitGatewayMulticastDomain
source§fn clone(&self) -> TransitGatewayMulticastDomain
fn clone(&self) -> TransitGatewayMulticastDomain
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