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
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 moresource§impl Default for UpdateAssessmentControlSetStatusInputBuilder
impl Default for UpdateAssessmentControlSetStatusInputBuilder
source§fn default() -> UpdateAssessmentControlSetStatusInputBuilder
fn default() -> UpdateAssessmentControlSetStatusInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateAssessmentControlSetStatusInputBuilder
impl PartialEq for UpdateAssessmentControlSetStatusInputBuilder
source§fn eq(&self, other: &UpdateAssessmentControlSetStatusInputBuilder) -> bool
fn eq(&self, other: &UpdateAssessmentControlSetStatusInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAssessmentControlSetStatusInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateAssessmentControlSetStatusInputBuilder
impl Send for UpdateAssessmentControlSetStatusInputBuilder
impl Sync for UpdateAssessmentControlSetStatusInputBuilder
impl Unpin for UpdateAssessmentControlSetStatusInputBuilder
impl UnwindSafe for UpdateAssessmentControlSetStatusInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.