Struct aws_sdk_auditmanager::operation::update_assessment_status::builders::UpdateAssessmentStatusInputBuilder
source · #[non_exhaustive]pub struct UpdateAssessmentStatusInputBuilder { /* private fields */ }Expand description
A builder for UpdateAssessmentStatusInput.
Implementations§
source§impl UpdateAssessmentStatusInputBuilder
impl UpdateAssessmentStatusInputBuilder
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 status(self, input: AssessmentStatus) -> Self
pub fn status(self, input: AssessmentStatus) -> Self
The current status of the assessment.
This field is required.sourcepub fn set_status(self, input: Option<AssessmentStatus>) -> Self
pub fn set_status(self, input: Option<AssessmentStatus>) -> Self
The current status of the assessment.
sourcepub fn get_status(&self) -> &Option<AssessmentStatus>
pub fn get_status(&self) -> &Option<AssessmentStatus>
The current status of the assessment.
sourcepub fn build(self) -> Result<UpdateAssessmentStatusInput, BuildError>
pub fn build(self) -> Result<UpdateAssessmentStatusInput, BuildError>
Consumes the builder and constructs a UpdateAssessmentStatusInput.
source§impl UpdateAssessmentStatusInputBuilder
impl UpdateAssessmentStatusInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAssessmentStatusOutput, SdkError<UpdateAssessmentStatusError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAssessmentStatusOutput, SdkError<UpdateAssessmentStatusError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAssessmentStatusInputBuilder
impl Clone for UpdateAssessmentStatusInputBuilder
source§fn clone(&self) -> UpdateAssessmentStatusInputBuilder
fn clone(&self) -> UpdateAssessmentStatusInputBuilder
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 UpdateAssessmentStatusInputBuilder
impl Default for UpdateAssessmentStatusInputBuilder
source§fn default() -> UpdateAssessmentStatusInputBuilder
fn default() -> UpdateAssessmentStatusInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateAssessmentStatusInputBuilder
impl PartialEq for UpdateAssessmentStatusInputBuilder
source§fn eq(&self, other: &UpdateAssessmentStatusInputBuilder) -> bool
fn eq(&self, other: &UpdateAssessmentStatusInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAssessmentStatusInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateAssessmentStatusInputBuilder
impl Send for UpdateAssessmentStatusInputBuilder
impl Sync for UpdateAssessmentStatusInputBuilder
impl Unpin for UpdateAssessmentStatusInputBuilder
impl UnwindSafe for UpdateAssessmentStatusInputBuilder
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.