Struct aws_sdk_auditmanager::operation::update_assessment_control::builders::UpdateAssessmentControlInputBuilder
source · #[non_exhaustive]pub struct UpdateAssessmentControlInputBuilder { /* private fields */ }
Expand description
A builder for UpdateAssessmentControlInput
.
Implementations§
source§impl UpdateAssessmentControlInputBuilder
impl UpdateAssessmentControlInputBuilder
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 control_id(self, input: impl Into<String>) -> Self
pub fn control_id(self, input: impl Into<String>) -> Self
The unique identifier for the control.
This field is required.sourcepub fn set_control_id(self, input: Option<String>) -> Self
pub fn set_control_id(self, input: Option<String>) -> Self
The unique identifier for the control.
sourcepub fn get_control_id(&self) -> &Option<String>
pub fn get_control_id(&self) -> &Option<String>
The unique identifier for the control.
sourcepub fn control_status(self, input: ControlStatus) -> Self
pub fn control_status(self, input: ControlStatus) -> Self
The status of the control.
sourcepub fn set_control_status(self, input: Option<ControlStatus>) -> Self
pub fn set_control_status(self, input: Option<ControlStatus>) -> Self
The status of the control.
sourcepub fn get_control_status(&self) -> &Option<ControlStatus>
pub fn get_control_status(&self) -> &Option<ControlStatus>
The status of the control.
sourcepub fn comment_body(self, input: impl Into<String>) -> Self
pub fn comment_body(self, input: impl Into<String>) -> Self
The comment body text for the control.
sourcepub fn set_comment_body(self, input: Option<String>) -> Self
pub fn set_comment_body(self, input: Option<String>) -> Self
The comment body text for the control.
sourcepub fn get_comment_body(&self) -> &Option<String>
pub fn get_comment_body(&self) -> &Option<String>
The comment body text for the control.
sourcepub fn build(self) -> Result<UpdateAssessmentControlInput, BuildError>
pub fn build(self) -> Result<UpdateAssessmentControlInput, BuildError>
Consumes the builder and constructs a UpdateAssessmentControlInput
.
source§impl UpdateAssessmentControlInputBuilder
impl UpdateAssessmentControlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAssessmentControlOutput, SdkError<UpdateAssessmentControlError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAssessmentControlOutput, SdkError<UpdateAssessmentControlError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAssessmentControlInputBuilder
impl Clone for UpdateAssessmentControlInputBuilder
source§fn clone(&self) -> UpdateAssessmentControlInputBuilder
fn clone(&self) -> UpdateAssessmentControlInputBuilder
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 UpdateAssessmentControlInputBuilder
impl Default for UpdateAssessmentControlInputBuilder
source§fn default() -> UpdateAssessmentControlInputBuilder
fn default() -> UpdateAssessmentControlInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateAssessmentControlInputBuilder
impl PartialEq for UpdateAssessmentControlInputBuilder
source§fn eq(&self, other: &UpdateAssessmentControlInputBuilder) -> bool
fn eq(&self, other: &UpdateAssessmentControlInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateAssessmentControlInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAssessmentControlInputBuilder
impl RefUnwindSafe for UpdateAssessmentControlInputBuilder
impl Send for UpdateAssessmentControlInputBuilder
impl Sync for UpdateAssessmentControlInputBuilder
impl Unpin for UpdateAssessmentControlInputBuilder
impl UnwindSafe for UpdateAssessmentControlInputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.