Struct aws_sdk_workmail::operation::delete_organization::builders::DeleteOrganizationInputBuilder
source · #[non_exhaustive]pub struct DeleteOrganizationInputBuilder { /* private fields */ }
Expand description
A builder for DeleteOrganizationInput
.
Implementations§
source§impl DeleteOrganizationInputBuilder
impl DeleteOrganizationInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The idempotency token associated with the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The idempotency token associated with the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The idempotency token associated with the request.
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The organization ID.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The organization ID.
sourcepub fn get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
The organization ID.
sourcepub fn delete_directory(self, input: bool) -> Self
pub fn delete_directory(self, input: bool) -> Self
If true, deletes the AWS Directory Service directory associated with the organization.
sourcepub fn set_delete_directory(self, input: Option<bool>) -> Self
pub fn set_delete_directory(self, input: Option<bool>) -> Self
If true, deletes the AWS Directory Service directory associated with the organization.
sourcepub fn get_delete_directory(&self) -> &Option<bool>
pub fn get_delete_directory(&self) -> &Option<bool>
If true, deletes the AWS Directory Service directory associated with the organization.
sourcepub fn build(self) -> Result<DeleteOrganizationInput, BuildError>
pub fn build(self) -> Result<DeleteOrganizationInput, BuildError>
Consumes the builder and constructs a DeleteOrganizationInput
.
source§impl DeleteOrganizationInputBuilder
impl DeleteOrganizationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteOrganizationOutput, SdkError<DeleteOrganizationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteOrganizationOutput, SdkError<DeleteOrganizationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteOrganizationInputBuilder
impl Clone for DeleteOrganizationInputBuilder
source§fn clone(&self) -> DeleteOrganizationInputBuilder
fn clone(&self) -> DeleteOrganizationInputBuilder
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 DeleteOrganizationInputBuilder
impl Default for DeleteOrganizationInputBuilder
source§fn default() -> DeleteOrganizationInputBuilder
fn default() -> DeleteOrganizationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeleteOrganizationInputBuilder> for DeleteOrganizationInputBuilder
impl PartialEq<DeleteOrganizationInputBuilder> for DeleteOrganizationInputBuilder
source§fn eq(&self, other: &DeleteOrganizationInputBuilder) -> bool
fn eq(&self, other: &DeleteOrganizationInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteOrganizationInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteOrganizationInputBuilder
impl Send for DeleteOrganizationInputBuilder
impl Sync for DeleteOrganizationInputBuilder
impl Unpin for DeleteOrganizationInputBuilder
impl UnwindSafe for DeleteOrganizationInputBuilder
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