Struct aws_sdk_ec2::model::AccessScopeAnalysisFinding
source · #[non_exhaustive]pub struct AccessScopeAnalysisFinding { /* private fields */ }
Expand description
Describes a finding for a Network Access Scope.
Implementations§
source§impl AccessScopeAnalysisFinding
impl AccessScopeAnalysisFinding
sourcepub fn network_insights_access_scope_analysis_id(&self) -> Option<&str>
pub fn network_insights_access_scope_analysis_id(&self) -> Option<&str>
The ID of the Network Access Scope analysis.
sourcepub fn network_insights_access_scope_id(&self) -> Option<&str>
pub fn network_insights_access_scope_id(&self) -> Option<&str>
The ID of the Network Access Scope.
sourcepub fn finding_id(&self) -> Option<&str>
pub fn finding_id(&self) -> Option<&str>
The ID of the finding.
sourcepub fn finding_components(&self) -> Option<&[PathComponent]>
pub fn finding_components(&self) -> Option<&[PathComponent]>
The finding components.
source§impl AccessScopeAnalysisFinding
impl AccessScopeAnalysisFinding
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AccessScopeAnalysisFinding
.
Examples found in repository?
src/xml_deser.rs (line 53647)
53643 53644 53645 53646 53647 53648 53649 53650 53651 53652 53653 53654 53655 53656 53657 53658 53659 53660 53661 53662 53663 53664 53665 53666 53667 53668 53669 53670 53671 53672 53673 53674 53675 53676 53677 53678 53679 53680 53681 53682 53683 53684 53685 53686 53687 53688 53689 53690 53691 53692 53693 53694 53695 53696 53697 53698 53699 53700 53701 53702 53703
pub fn deser_structure_crate_model_access_scope_analysis_finding(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::AccessScopeAnalysisFinding, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::AccessScopeAnalysisFinding::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("networkInsightsAccessScopeAnalysisId") /* NetworkInsightsAccessScopeAnalysisId com.amazonaws.ec2#AccessScopeAnalysisFinding$NetworkInsightsAccessScopeAnalysisId */ => {
let var_2568 =
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_network_insights_access_scope_analysis_id(var_2568);
}
,
s if s.matches("networkInsightsAccessScopeId") /* NetworkInsightsAccessScopeId com.amazonaws.ec2#AccessScopeAnalysisFinding$NetworkInsightsAccessScopeId */ => {
let var_2569 =
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_network_insights_access_scope_id(var_2569);
}
,
s if s.matches("findingId") /* FindingId com.amazonaws.ec2#AccessScopeAnalysisFinding$FindingId */ => {
let var_2570 =
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_finding_id(var_2570);
}
,
s if s.matches("findingComponentSet") /* FindingComponents com.amazonaws.ec2#AccessScopeAnalysisFinding$FindingComponents */ => {
let var_2571 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_path_component_list(&mut tag)
?
)
;
builder = builder.set_finding_components(var_2571);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for AccessScopeAnalysisFinding
impl Clone for AccessScopeAnalysisFinding
source§fn clone(&self) -> AccessScopeAnalysisFinding
fn clone(&self) -> AccessScopeAnalysisFinding
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