Struct aws_sdk_quicksight::operation::update_account_settings::builders::UpdateAccountSettingsInputBuilder
source · #[non_exhaustive]pub struct UpdateAccountSettingsInputBuilder { /* private fields */ }
Expand description
A builder for UpdateAccountSettingsInput
.
Implementations§
source§impl UpdateAccountSettingsInputBuilder
impl UpdateAccountSettingsInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID for the Amazon Web Services account that contains the Amazon QuickSight settings that you want to list.
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 ID for the Amazon Web Services account that contains the Amazon QuickSight settings that you want to list.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID for the Amazon Web Services account that contains the Amazon QuickSight settings that you want to list.
sourcepub fn default_namespace(self, input: impl Into<String>) -> Self
pub fn default_namespace(self, input: impl Into<String>) -> Self
The default namespace for this Amazon Web Services account. Currently, the default is default
. IAM users that register for the first time with Amazon QuickSight provide an email address that becomes associated with the default namespace.
sourcepub fn set_default_namespace(self, input: Option<String>) -> Self
pub fn set_default_namespace(self, input: Option<String>) -> Self
The default namespace for this Amazon Web Services account. Currently, the default is default
. IAM users that register for the first time with Amazon QuickSight provide an email address that becomes associated with the default namespace.
sourcepub fn get_default_namespace(&self) -> &Option<String>
pub fn get_default_namespace(&self) -> &Option<String>
The default namespace for this Amazon Web Services account. Currently, the default is default
. IAM users that register for the first time with Amazon QuickSight provide an email address that becomes associated with the default namespace.
sourcepub fn notification_email(self, input: impl Into<String>) -> Self
pub fn notification_email(self, input: impl Into<String>) -> Self
The email address that you want Amazon QuickSight to send notifications to regarding your Amazon Web Services account or Amazon QuickSight subscription.
sourcepub fn set_notification_email(self, input: Option<String>) -> Self
pub fn set_notification_email(self, input: Option<String>) -> Self
The email address that you want Amazon QuickSight to send notifications to regarding your Amazon Web Services account or Amazon QuickSight subscription.
sourcepub fn get_notification_email(&self) -> &Option<String>
pub fn get_notification_email(&self) -> &Option<String>
The email address that you want Amazon QuickSight to send notifications to regarding your Amazon Web Services account or Amazon QuickSight subscription.
sourcepub fn termination_protection_enabled(self, input: bool) -> Self
pub fn termination_protection_enabled(self, input: bool) -> Self
A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True
value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription
request. A False
value will allow the account to be deleted.
sourcepub fn set_termination_protection_enabled(self, input: Option<bool>) -> Self
pub fn set_termination_protection_enabled(self, input: Option<bool>) -> Self
A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True
value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription
request. A False
value will allow the account to be deleted.
sourcepub fn get_termination_protection_enabled(&self) -> &Option<bool>
pub fn get_termination_protection_enabled(&self) -> &Option<bool>
A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True
value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription
request. A False
value will allow the account to be deleted.
sourcepub fn build(self) -> Result<UpdateAccountSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateAccountSettingsInput, BuildError>
Consumes the builder and constructs a UpdateAccountSettingsInput
.
source§impl UpdateAccountSettingsInputBuilder
impl UpdateAccountSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAccountSettingsOutput, SdkError<UpdateAccountSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAccountSettingsOutput, SdkError<UpdateAccountSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAccountSettingsInputBuilder
impl Clone for UpdateAccountSettingsInputBuilder
source§fn clone(&self) -> UpdateAccountSettingsInputBuilder
fn clone(&self) -> UpdateAccountSettingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateAccountSettingsInputBuilder
impl Default for UpdateAccountSettingsInputBuilder
source§fn default() -> UpdateAccountSettingsInputBuilder
fn default() -> UpdateAccountSettingsInputBuilder
source§impl PartialEq for UpdateAccountSettingsInputBuilder
impl PartialEq for UpdateAccountSettingsInputBuilder
source§fn eq(&self, other: &UpdateAccountSettingsInputBuilder) -> bool
fn eq(&self, other: &UpdateAccountSettingsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateAccountSettingsInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAccountSettingsInputBuilder
impl RefUnwindSafe for UpdateAccountSettingsInputBuilder
impl Send for UpdateAccountSettingsInputBuilder
impl Sync for UpdateAccountSettingsInputBuilder
impl Unpin for UpdateAccountSettingsInputBuilder
impl UnwindSafe for UpdateAccountSettingsInputBuilder
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
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>
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>
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 more