#[non_exhaustive]pub struct AcceptInvitationInputBuilder { /* private fields */ }
Expand description
A builder for AcceptInvitationInput
.
Implementations§
source§impl AcceptInvitationInputBuilder
impl AcceptInvitationInputBuilder
sourcepub fn administrator_account_id(self, input: impl Into<String>) -> Self
pub fn administrator_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID for the account that sent the invitation.
sourcepub fn set_administrator_account_id(self, input: Option<String>) -> Self
pub fn set_administrator_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID for the account that sent the invitation.
sourcepub fn get_administrator_account_id(&self) -> &Option<String>
pub fn get_administrator_account_id(&self) -> &Option<String>
The Amazon Web Services account ID for the account that sent the invitation.
sourcepub fn invitation_id(self, input: impl Into<String>) -> Self
pub fn invitation_id(self, input: impl Into<String>) -> Self
The unique identifier for the invitation to accept.
This field is required.sourcepub fn set_invitation_id(self, input: Option<String>) -> Self
pub fn set_invitation_id(self, input: Option<String>) -> Self
The unique identifier for the invitation to accept.
sourcepub fn get_invitation_id(&self) -> &Option<String>
pub fn get_invitation_id(&self) -> &Option<String>
The unique identifier for the invitation to accept.
sourcepub fn master_account(self, input: impl Into<String>) -> Self
pub fn master_account(self, input: impl Into<String>) -> Self
(Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
sourcepub fn set_master_account(self, input: Option<String>) -> Self
pub fn set_master_account(self, input: Option<String>) -> Self
(Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
sourcepub fn get_master_account(&self) -> &Option<String>
pub fn get_master_account(&self) -> &Option<String>
(Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
sourcepub fn build(self) -> Result<AcceptInvitationInput, BuildError>
pub fn build(self) -> Result<AcceptInvitationInput, BuildError>
Consumes the builder and constructs a AcceptInvitationInput
.
source§impl AcceptInvitationInputBuilder
impl AcceptInvitationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AcceptInvitationOutput, SdkError<AcceptInvitationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AcceptInvitationOutput, SdkError<AcceptInvitationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AcceptInvitationInputBuilder
impl Clone for AcceptInvitationInputBuilder
source§fn clone(&self) -> AcceptInvitationInputBuilder
fn clone(&self) -> AcceptInvitationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AcceptInvitationInputBuilder
impl Debug for AcceptInvitationInputBuilder
source§impl Default for AcceptInvitationInputBuilder
impl Default for AcceptInvitationInputBuilder
source§fn default() -> AcceptInvitationInputBuilder
fn default() -> AcceptInvitationInputBuilder
source§impl PartialEq for AcceptInvitationInputBuilder
impl PartialEq for AcceptInvitationInputBuilder
source§fn eq(&self, other: &AcceptInvitationInputBuilder) -> bool
fn eq(&self, other: &AcceptInvitationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.