Struct aws_sdk_auditmanager::operation::update_assessment_control_set_status::builders::UpdateAssessmentControlSetStatusInputBuilder
source · #[non_exhaustive]pub struct UpdateAssessmentControlSetStatusInputBuilder { /* private fields */ }
Expand description
A builder for UpdateAssessmentControlSetStatusInput
.
Implementations§
source§impl UpdateAssessmentControlSetStatusInputBuilder
impl UpdateAssessmentControlSetStatusInputBuilder
sourcepub fn assessment_id(self, input: impl Into<String>) -> Self
pub fn assessment_id(self, input: impl Into<String>) -> Self
The unique identifier for the assessment.
This field is required.sourcepub fn set_assessment_id(self, input: Option<String>) -> Self
pub fn set_assessment_id(self, input: Option<String>) -> Self
The unique identifier for the assessment.
sourcepub fn get_assessment_id(&self) -> &Option<String>
pub fn get_assessment_id(&self) -> &Option<String>
The unique identifier for the assessment.
sourcepub fn control_set_id(self, input: impl Into<String>) -> Self
pub fn control_set_id(self, input: impl Into<String>) -> Self
The unique identifier for the control set.
This field is required.sourcepub fn set_control_set_id(self, input: Option<String>) -> Self
pub fn set_control_set_id(self, input: Option<String>) -> Self
The unique identifier for the control set.
sourcepub fn get_control_set_id(&self) -> &Option<String>
pub fn get_control_set_id(&self) -> &Option<String>
The unique identifier for the control set.
sourcepub fn status(self, input: ControlSetStatus) -> Self
pub fn status(self, input: ControlSetStatus) -> Self
The status of the control set that's being updated.
This field is required.sourcepub fn set_status(self, input: Option<ControlSetStatus>) -> Self
pub fn set_status(self, input: Option<ControlSetStatus>) -> Self
The status of the control set that's being updated.
sourcepub fn get_status(&self) -> &Option<ControlSetStatus>
pub fn get_status(&self) -> &Option<ControlSetStatus>
The status of the control set that's being updated.
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
The comment that's related to the status update.
This field is required.sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
The comment that's related to the status update.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
The comment that's related to the status update.
sourcepub fn build(self) -> Result<UpdateAssessmentControlSetStatusInput, BuildError>
pub fn build(self) -> Result<UpdateAssessmentControlSetStatusInput, BuildError>
Consumes the builder and constructs a UpdateAssessmentControlSetStatusInput
.
source§impl UpdateAssessmentControlSetStatusInputBuilder
impl UpdateAssessmentControlSetStatusInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAssessmentControlSetStatusOutput, SdkError<UpdateAssessmentControlSetStatusError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAssessmentControlSetStatusOutput, SdkError<UpdateAssessmentControlSetStatusError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAssessmentControlSetStatusInputBuilder
impl Clone for UpdateAssessmentControlSetStatusInputBuilder
source§fn clone(&self) -> UpdateAssessmentControlSetStatusInputBuilder
fn clone(&self) -> UpdateAssessmentControlSetStatusInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateAssessmentControlSetStatusInputBuilder
impl Default for UpdateAssessmentControlSetStatusInputBuilder
source§fn default() -> UpdateAssessmentControlSetStatusInputBuilder
fn default() -> UpdateAssessmentControlSetStatusInputBuilder
source§impl PartialEq for UpdateAssessmentControlSetStatusInputBuilder
impl PartialEq for UpdateAssessmentControlSetStatusInputBuilder
source§fn eq(&self, other: &UpdateAssessmentControlSetStatusInputBuilder) -> bool
fn eq(&self, other: &UpdateAssessmentControlSetStatusInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.