Struct aws_sdk_auditmanager::types::AssessmentControl
source · #[non_exhaustive]pub struct AssessmentControl {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub status: Option<ControlStatus>,
pub response: Option<ControlResponse>,
pub comments: Option<Vec<ControlComment>>,
pub evidence_sources: Option<Vec<String>>,
pub evidence_count: i32,
pub assessment_report_evidence_count: i32,
}
Expand description
The control entity that represents a standard control or a custom control in an Audit Manager assessment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The identifier for the control.
name: Option<String>
The name of the control.
description: Option<String>
The description of the control.
status: Option<ControlStatus>
The status of the control.
response: Option<ControlResponse>
The response of the control.
comments: Option<Vec<ControlComment>>
The list of comments that's attached to the control.
evidence_sources: Option<Vec<String>>
The list of data sources for the evidence.
evidence_count: i32
The amount of evidence that's collected for the control.
assessment_report_evidence_count: i32
The amount of evidence in the assessment report.
Implementations§
source§impl AssessmentControl
impl AssessmentControl
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the control.
sourcepub fn status(&self) -> Option<&ControlStatus>
pub fn status(&self) -> Option<&ControlStatus>
The status of the control.
sourcepub fn response(&self) -> Option<&ControlResponse>
pub fn response(&self) -> Option<&ControlResponse>
The response of the control.
sourcepub fn comments(&self) -> &[ControlComment]
pub fn comments(&self) -> &[ControlComment]
The list of comments that's attached to the control.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .comments.is_none()
.
sourcepub fn evidence_sources(&self) -> &[String]
pub fn evidence_sources(&self) -> &[String]
The list of data sources for the evidence.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .evidence_sources.is_none()
.
sourcepub fn evidence_count(&self) -> i32
pub fn evidence_count(&self) -> i32
The amount of evidence that's collected for the control.
sourcepub fn assessment_report_evidence_count(&self) -> i32
pub fn assessment_report_evidence_count(&self) -> i32
The amount of evidence in the assessment report.
source§impl AssessmentControl
impl AssessmentControl
sourcepub fn builder() -> AssessmentControlBuilder
pub fn builder() -> AssessmentControlBuilder
Creates a new builder-style object to manufacture AssessmentControl
.
Trait Implementations§
source§impl Clone for AssessmentControl
impl Clone for AssessmentControl
source§fn clone(&self) -> AssessmentControl
fn clone(&self) -> AssessmentControl
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssessmentControl
impl Debug for AssessmentControl
source§impl PartialEq for AssessmentControl
impl PartialEq for AssessmentControl
source§fn eq(&self, other: &AssessmentControl) -> bool
fn eq(&self, other: &AssessmentControl) -> bool
self
and other
values to be equal, and is used
by ==
.