#[non_exhaustive]pub struct DeleteTemplateInputBuilder { /* private fields */ }Expand description
A builder for DeleteTemplateInput.
Implementations§
source§impl DeleteTemplateInputBuilder
impl DeleteTemplateInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that contains the template that you're deleting.
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 of the Amazon Web Services account that contains the template that you're deleting.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that contains the template that you're deleting.
sourcepub fn template_id(self, input: impl Into<String>) -> Self
pub fn template_id(self, input: impl Into<String>) -> Self
An ID for the template you want to delete.
This field is required.sourcepub fn set_template_id(self, input: Option<String>) -> Self
pub fn set_template_id(self, input: Option<String>) -> Self
An ID for the template you want to delete.
sourcepub fn get_template_id(&self) -> &Option<String>
pub fn get_template_id(&self) -> &Option<String>
An ID for the template you want to delete.
sourcepub fn version_number(self, input: i64) -> Self
pub fn version_number(self, input: i64) -> Self
Specifies the version of the template that you want to delete. If you don't provide a version number, DeleteTemplate deletes all versions of the template.
sourcepub fn set_version_number(self, input: Option<i64>) -> Self
pub fn set_version_number(self, input: Option<i64>) -> Self
Specifies the version of the template that you want to delete. If you don't provide a version number, DeleteTemplate deletes all versions of the template.
sourcepub fn get_version_number(&self) -> &Option<i64>
pub fn get_version_number(&self) -> &Option<i64>
Specifies the version of the template that you want to delete. If you don't provide a version number, DeleteTemplate deletes all versions of the template.
sourcepub fn build(self) -> Result<DeleteTemplateInput, BuildError>
pub fn build(self) -> Result<DeleteTemplateInput, BuildError>
Consumes the builder and constructs a DeleteTemplateInput.
source§impl DeleteTemplateInputBuilder
impl DeleteTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteTemplateOutput, SdkError<DeleteTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteTemplateOutput, SdkError<DeleteTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteTemplateInputBuilder
impl Clone for DeleteTemplateInputBuilder
source§fn clone(&self) -> DeleteTemplateInputBuilder
fn clone(&self) -> DeleteTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeleteTemplateInputBuilder
impl Debug for DeleteTemplateInputBuilder
source§impl Default for DeleteTemplateInputBuilder
impl Default for DeleteTemplateInputBuilder
source§fn default() -> DeleteTemplateInputBuilder
fn default() -> DeleteTemplateInputBuilder
source§impl PartialEq for DeleteTemplateInputBuilder
impl PartialEq for DeleteTemplateInputBuilder
source§fn eq(&self, other: &DeleteTemplateInputBuilder) -> bool
fn eq(&self, other: &DeleteTemplateInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteTemplateInputBuilder
impl RefUnwindSafe for DeleteTemplateInputBuilder
impl Send for DeleteTemplateInputBuilder
impl Sync for DeleteTemplateInputBuilder
impl Unpin for DeleteTemplateInputBuilder
impl UnwindSafe for DeleteTemplateInputBuilder
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