Struct aws_sdk_auditmanager::operation::update_assessment_framework_share::builders::UpdateAssessmentFrameworkShareInputBuilder
source · #[non_exhaustive]pub struct UpdateAssessmentFrameworkShareInputBuilder { /* private fields */ }
Expand description
A builder for UpdateAssessmentFrameworkShareInput
.
Implementations§
sourcepub fn request_id(self, input: impl Into<String>) -> Self
pub fn request_id(self, input: impl Into<String>) -> Self
The unique identifier for the share request.
This field is required.sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
The unique identifier for the share request.
sourcepub fn get_request_id(&self) -> &Option<String>
pub fn get_request_id(&self) -> &Option<String>
The unique identifier for the share request.
sourcepub fn request_type(self, input: ShareRequestType) -> Self
pub fn request_type(self, input: ShareRequestType) -> Self
Specifies whether the share request is a sent request or a received request.
This field is required.sourcepub fn set_request_type(self, input: Option<ShareRequestType>) -> Self
pub fn set_request_type(self, input: Option<ShareRequestType>) -> Self
Specifies whether the share request is a sent request or a received request.
sourcepub fn get_request_type(&self) -> &Option<ShareRequestType>
pub fn get_request_type(&self) -> &Option<ShareRequestType>
Specifies whether the share request is a sent request or a received request.
sourcepub fn action(self, input: ShareRequestAction) -> Self
pub fn action(self, input: ShareRequestAction) -> Self
Specifies the update action for the share request.
This field is required.sourcepub fn set_action(self, input: Option<ShareRequestAction>) -> Self
pub fn set_action(self, input: Option<ShareRequestAction>) -> Self
Specifies the update action for the share request.
sourcepub fn get_action(&self) -> &Option<ShareRequestAction>
pub fn get_action(&self) -> &Option<ShareRequestAction>
Specifies the update action for the share request.
sourcepub fn build(self) -> Result<UpdateAssessmentFrameworkShareInput, BuildError>
pub fn build(self) -> Result<UpdateAssessmentFrameworkShareInput, BuildError>
Consumes the builder and constructs a UpdateAssessmentFrameworkShareInput
.
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAssessmentFrameworkShareOutput, SdkError<UpdateAssessmentFrameworkShareError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAssessmentFrameworkShareOutput, SdkError<UpdateAssessmentFrameworkShareError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§fn clone(&self) -> UpdateAssessmentFrameworkShareInputBuilder
fn clone(&self) -> UpdateAssessmentFrameworkShareInputBuilder
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§fn default() -> UpdateAssessmentFrameworkShareInputBuilder
fn default() -> UpdateAssessmentFrameworkShareInputBuilder
Returns the “default value” for a type. Read more
source§fn eq(&self, other: &UpdateAssessmentFrameworkShareInputBuilder) -> bool
fn eq(&self, other: &UpdateAssessmentFrameworkShareInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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.