Struct aws_sdk_auditmanager::types::AssessmentControlSet
source · #[non_exhaustive]pub struct AssessmentControlSet {
pub id: Option<String>,
pub description: Option<String>,
pub status: Option<ControlSetStatus>,
pub roles: Option<Vec<Role>>,
pub controls: Option<Vec<AssessmentControl>>,
pub delegations: Option<Vec<Delegation>>,
pub system_evidence_count: i32,
pub manual_evidence_count: i32,
}
Expand description
Represents a set of controls 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 of the control set in the assessment. This is the control set name in a plain string format.
description: Option<String>
The description for the control set.
status: Option<ControlSetStatus>
The current status of the control set.
roles: Option<Vec<Role>>
The roles that are associated with the control set.
controls: Option<Vec<AssessmentControl>>
The list of controls that's contained with the control set.
delegations: Option<Vec<Delegation>>
The delegations that are associated with the control set.
system_evidence_count: i32
The total number of evidence objects that are retrieved automatically for the control set.
manual_evidence_count: i32
The total number of evidence objects that are uploaded manually to the control set.
Implementations§
source§impl AssessmentControlSet
impl AssessmentControlSet
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The identifier of the control set in the assessment. This is the control set name in a plain string format.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the control set.
sourcepub fn status(&self) -> Option<&ControlSetStatus>
pub fn status(&self) -> Option<&ControlSetStatus>
The current status of the control set.
sourcepub fn roles(&self) -> &[Role]
pub fn roles(&self) -> &[Role]
The roles that are associated with the control set.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .roles.is_none()
.
sourcepub fn controls(&self) -> &[AssessmentControl]
pub fn controls(&self) -> &[AssessmentControl]
The list of controls that's contained with the control set.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .controls.is_none()
.
sourcepub fn delegations(&self) -> &[Delegation]
pub fn delegations(&self) -> &[Delegation]
The delegations that are associated with the control set.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .delegations.is_none()
.
sourcepub fn system_evidence_count(&self) -> i32
pub fn system_evidence_count(&self) -> i32
The total number of evidence objects that are retrieved automatically for the control set.
sourcepub fn manual_evidence_count(&self) -> i32
pub fn manual_evidence_count(&self) -> i32
The total number of evidence objects that are uploaded manually to the control set.
source§impl AssessmentControlSet
impl AssessmentControlSet
sourcepub fn builder() -> AssessmentControlSetBuilder
pub fn builder() -> AssessmentControlSetBuilder
Creates a new builder-style object to manufacture AssessmentControlSet
.
Trait Implementations§
source§impl Clone for AssessmentControlSet
impl Clone for AssessmentControlSet
source§fn clone(&self) -> AssessmentControlSet
fn clone(&self) -> AssessmentControlSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssessmentControlSet
impl Debug for AssessmentControlSet
source§impl PartialEq for AssessmentControlSet
impl PartialEq for AssessmentControlSet
source§fn eq(&self, other: &AssessmentControlSet) -> bool
fn eq(&self, other: &AssessmentControlSet) -> bool
self
and other
values to be equal, and is used
by ==
.