Struct aws_sdk_quicksight::operation::update_public_sharing_settings::builders::UpdatePublicSharingSettingsInputBuilder
source · #[non_exhaustive]pub struct UpdatePublicSharingSettingsInputBuilder { /* private fields */ }Expand description
A builder for UpdatePublicSharingSettingsInput.
Implementations§
source§impl UpdatePublicSharingSettingsInputBuilder
impl UpdatePublicSharingSettingsInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID associated with your Amazon QuickSight subscription.
This field is required.sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID associated with your Amazon QuickSight subscription.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The Amazon Web Services account ID associated with your Amazon QuickSight subscription.
sourcepub fn public_sharing_enabled(self, input: bool) -> Self
pub fn public_sharing_enabled(self, input: bool) -> Self
A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account.
sourcepub fn set_public_sharing_enabled(self, input: Option<bool>) -> Self
pub fn set_public_sharing_enabled(self, input: Option<bool>) -> Self
A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account.
sourcepub fn get_public_sharing_enabled(&self) -> &Option<bool>
pub fn get_public_sharing_enabled(&self) -> &Option<bool>
A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account.
sourcepub fn build(self) -> Result<UpdatePublicSharingSettingsInput, BuildError>
pub fn build(self) -> Result<UpdatePublicSharingSettingsInput, BuildError>
Consumes the builder and constructs a UpdatePublicSharingSettingsInput.
source§impl UpdatePublicSharingSettingsInputBuilder
impl UpdatePublicSharingSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdatePublicSharingSettingsOutput, SdkError<UpdatePublicSharingSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdatePublicSharingSettingsOutput, SdkError<UpdatePublicSharingSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePublicSharingSettingsInputBuilder
impl Clone for UpdatePublicSharingSettingsInputBuilder
source§fn clone(&self) -> UpdatePublicSharingSettingsInputBuilder
fn clone(&self) -> UpdatePublicSharingSettingsInputBuilder
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 UpdatePublicSharingSettingsInputBuilder
impl Default for UpdatePublicSharingSettingsInputBuilder
source§fn default() -> UpdatePublicSharingSettingsInputBuilder
fn default() -> UpdatePublicSharingSettingsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdatePublicSharingSettingsInputBuilder
impl PartialEq for UpdatePublicSharingSettingsInputBuilder
source§fn eq(&self, other: &UpdatePublicSharingSettingsInputBuilder) -> bool
fn eq(&self, other: &UpdatePublicSharingSettingsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdatePublicSharingSettingsInputBuilder
Auto Trait Implementations§
impl Freeze for UpdatePublicSharingSettingsInputBuilder
impl RefUnwindSafe for UpdatePublicSharingSettingsInputBuilder
impl Send for UpdatePublicSharingSettingsInputBuilder
impl Sync for UpdatePublicSharingSettingsInputBuilder
impl Unpin for UpdatePublicSharingSettingsInputBuilder
impl UnwindSafe for UpdatePublicSharingSettingsInputBuilder
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.