#[non_exhaustive]pub struct CreateFormInputBuilder { /* private fields */ }Expand description
A builder for CreateFormInput.
Implementations§
source§impl CreateFormInputBuilder
impl CreateFormInputBuilder
sourcepub fn app_id(self, input: impl Into<String>) -> Self
pub fn app_id(self, input: impl Into<String>) -> Self
The unique ID of the Amplify app to associate with the form.
This field is required.sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The unique ID of the Amplify app to associate with the form.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The unique ID of the Amplify app to associate with the form.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of the backend environment that is a part of the Amplify app.
This field is required.sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of the backend environment that is a part of the Amplify app.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of the backend environment that is a part of the Amplify app.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The unique client token.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The unique client token.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The unique client token.
sourcepub fn form_to_create(self, input: CreateFormData) -> Self
pub fn form_to_create(self, input: CreateFormData) -> Self
Represents the configuration of the form to create.
This field is required.sourcepub fn set_form_to_create(self, input: Option<CreateFormData>) -> Self
pub fn set_form_to_create(self, input: Option<CreateFormData>) -> Self
Represents the configuration of the form to create.
sourcepub fn get_form_to_create(&self) -> &Option<CreateFormData>
pub fn get_form_to_create(&self) -> &Option<CreateFormData>
Represents the configuration of the form to create.
sourcepub fn build(self) -> Result<CreateFormInput, BuildError>
pub fn build(self) -> Result<CreateFormInput, BuildError>
Consumes the builder and constructs a CreateFormInput.
source§impl CreateFormInputBuilder
impl CreateFormInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateFormOutput, SdkError<CreateFormError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateFormOutput, SdkError<CreateFormError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateFormInputBuilder
impl Clone for CreateFormInputBuilder
source§fn clone(&self) -> CreateFormInputBuilder
fn clone(&self) -> CreateFormInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateFormInputBuilder
impl Debug for CreateFormInputBuilder
source§impl Default for CreateFormInputBuilder
impl Default for CreateFormInputBuilder
source§fn default() -> CreateFormInputBuilder
fn default() -> CreateFormInputBuilder
source§impl PartialEq for CreateFormInputBuilder
impl PartialEq for CreateFormInputBuilder
source§fn eq(&self, other: &CreateFormInputBuilder) -> bool
fn eq(&self, other: &CreateFormInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateFormInputBuilder
Auto Trait Implementations§
impl Freeze for CreateFormInputBuilder
impl RefUnwindSafe for CreateFormInputBuilder
impl Send for CreateFormInputBuilder
impl Sync for CreateFormInputBuilder
impl Unpin for CreateFormInputBuilder
impl UnwindSafe for CreateFormInputBuilder
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