Struct aws_sdk_iotanalytics::operation::delete_dataset_content::builders::DeleteDatasetContentInputBuilder
source · #[non_exhaustive]pub struct DeleteDatasetContentInputBuilder { /* private fields */ }
Expand description
A builder for DeleteDatasetContentInput
.
Implementations§
source§impl DeleteDatasetContentInputBuilder
impl DeleteDatasetContentInputBuilder
sourcepub fn dataset_name(self, input: impl Into<String>) -> Self
pub fn dataset_name(self, input: impl Into<String>) -> Self
The name of the dataset whose content is deleted.
This field is required.sourcepub fn set_dataset_name(self, input: Option<String>) -> Self
pub fn set_dataset_name(self, input: Option<String>) -> Self
The name of the dataset whose content is deleted.
sourcepub fn get_dataset_name(&self) -> &Option<String>
pub fn get_dataset_name(&self) -> &Option<String>
The name of the dataset whose content is deleted.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The version of the dataset whose content is deleted. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
The version of the dataset whose content is deleted. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
The version of the dataset whose content is deleted. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.
sourcepub fn build(self) -> Result<DeleteDatasetContentInput, BuildError>
pub fn build(self) -> Result<DeleteDatasetContentInput, BuildError>
Consumes the builder and constructs a DeleteDatasetContentInput
.
source§impl DeleteDatasetContentInputBuilder
impl DeleteDatasetContentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteDatasetContentOutput, SdkError<DeleteDatasetContentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteDatasetContentOutput, SdkError<DeleteDatasetContentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteDatasetContentInputBuilder
impl Clone for DeleteDatasetContentInputBuilder
source§fn clone(&self) -> DeleteDatasetContentInputBuilder
fn clone(&self) -> DeleteDatasetContentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteDatasetContentInputBuilder
impl Default for DeleteDatasetContentInputBuilder
source§fn default() -> DeleteDatasetContentInputBuilder
fn default() -> DeleteDatasetContentInputBuilder
source§impl PartialEq for DeleteDatasetContentInputBuilder
impl PartialEq for DeleteDatasetContentInputBuilder
source§fn eq(&self, other: &DeleteDatasetContentInputBuilder) -> bool
fn eq(&self, other: &DeleteDatasetContentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteDatasetContentInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteDatasetContentInputBuilder
impl RefUnwindSafe for DeleteDatasetContentInputBuilder
impl Send for DeleteDatasetContentInputBuilder
impl Sync for DeleteDatasetContentInputBuilder
impl Unpin for DeleteDatasetContentInputBuilder
impl UnwindSafe for DeleteDatasetContentInputBuilder
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