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 ==
.