Struct aws_sdk_auditmanager::operation::batch_import_evidence_to_assessment_control::builders::BatchImportEvidenceToAssessmentControlInputBuilder
source · #[non_exhaustive]pub struct BatchImportEvidenceToAssessmentControlInputBuilder { /* private fields */ }
Expand description
A builder for BatchImportEvidenceToAssessmentControlInput
.
Implementations§
source§impl BatchImportEvidenceToAssessmentControlInputBuilder
impl BatchImportEvidenceToAssessmentControlInputBuilder
sourcepub fn assessment_id(self, input: impl Into<String>) -> Self
pub fn assessment_id(self, input: impl Into<String>) -> Self
The 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 identifier for the assessment.
sourcepub fn get_assessment_id(&self) -> &Option<String>
pub fn get_assessment_id(&self) -> &Option<String>
The 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 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 identifier for the control set.
sourcepub fn get_control_set_id(&self) -> &Option<String>
pub fn get_control_set_id(&self) -> &Option<String>
The 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 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 identifier for the control.
sourcepub fn get_control_id(&self) -> &Option<String>
pub fn get_control_id(&self) -> &Option<String>
The identifier for the control.
sourcepub fn manual_evidence(self, input: ManualEvidence) -> Self
pub fn manual_evidence(self, input: ManualEvidence) -> Self
Appends an item to manual_evidence
.
To override the contents of this collection use set_manual_evidence
.
The list of manual evidence objects.
sourcepub fn set_manual_evidence(self, input: Option<Vec<ManualEvidence>>) -> Self
pub fn set_manual_evidence(self, input: Option<Vec<ManualEvidence>>) -> Self
The list of manual evidence objects.
sourcepub fn get_manual_evidence(&self) -> &Option<Vec<ManualEvidence>>
pub fn get_manual_evidence(&self) -> &Option<Vec<ManualEvidence>>
The list of manual evidence objects.
sourcepub fn build(
self
) -> Result<BatchImportEvidenceToAssessmentControlInput, BuildError>
pub fn build( self ) -> Result<BatchImportEvidenceToAssessmentControlInput, BuildError>
Consumes the builder and constructs a BatchImportEvidenceToAssessmentControlInput
.
source§impl BatchImportEvidenceToAssessmentControlInputBuilder
impl BatchImportEvidenceToAssessmentControlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchImportEvidenceToAssessmentControlOutput, SdkError<BatchImportEvidenceToAssessmentControlError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchImportEvidenceToAssessmentControlOutput, SdkError<BatchImportEvidenceToAssessmentControlError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchImportEvidenceToAssessmentControlInputBuilder
impl Clone for BatchImportEvidenceToAssessmentControlInputBuilder
source§fn clone(&self) -> BatchImportEvidenceToAssessmentControlInputBuilder
fn clone(&self) -> BatchImportEvidenceToAssessmentControlInputBuilder
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 BatchImportEvidenceToAssessmentControlInputBuilder
impl Default for BatchImportEvidenceToAssessmentControlInputBuilder
source§fn default() -> BatchImportEvidenceToAssessmentControlInputBuilder
fn default() -> BatchImportEvidenceToAssessmentControlInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchImportEvidenceToAssessmentControlInputBuilder
impl PartialEq for BatchImportEvidenceToAssessmentControlInputBuilder
source§fn eq(&self, other: &BatchImportEvidenceToAssessmentControlInputBuilder) -> bool
fn eq(&self, other: &BatchImportEvidenceToAssessmentControlInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchImportEvidenceToAssessmentControlInputBuilder
Auto Trait Implementations§
impl Freeze for BatchImportEvidenceToAssessmentControlInputBuilder
impl RefUnwindSafe for BatchImportEvidenceToAssessmentControlInputBuilder
impl Send for BatchImportEvidenceToAssessmentControlInputBuilder
impl Sync for BatchImportEvidenceToAssessmentControlInputBuilder
impl Unpin for BatchImportEvidenceToAssessmentControlInputBuilder
impl UnwindSafe for BatchImportEvidenceToAssessmentControlInputBuilder
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.