Struct aws_sdk_iotanalytics::operation::get_dataset_content::builders::GetDatasetContentInputBuilder
source · #[non_exhaustive]pub struct GetDatasetContentInputBuilder { /* private fields */ }
Expand description
A builder for GetDatasetContentInput
.
Implementations§
source§impl GetDatasetContentInputBuilder
impl GetDatasetContentInputBuilder
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 contents are retrieved.
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 contents are retrieved.
sourcepub fn get_dataset_name(&self) -> &Option<String>
pub fn get_dataset_name(&self) -> &Option<String>
The name of the dataset whose contents are retrieved.
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 contents are retrieved. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the latest or latest successfully completed dataset. 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 contents are retrieved. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the latest or latest successfully completed dataset. 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 contents are retrieved. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the latest or latest successfully completed dataset. If not specified, "$LATEST_SUCCEEDED" is the default.
sourcepub fn build(self) -> Result<GetDatasetContentInput, BuildError>
pub fn build(self) -> Result<GetDatasetContentInput, BuildError>
Consumes the builder and constructs a GetDatasetContentInput
.
source§impl GetDatasetContentInputBuilder
impl GetDatasetContentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDatasetContentOutput, SdkError<GetDatasetContentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDatasetContentOutput, SdkError<GetDatasetContentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDatasetContentInputBuilder
impl Clone for GetDatasetContentInputBuilder
source§fn clone(&self) -> GetDatasetContentInputBuilder
fn clone(&self) -> GetDatasetContentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetDatasetContentInputBuilder
impl Default for GetDatasetContentInputBuilder
source§fn default() -> GetDatasetContentInputBuilder
fn default() -> GetDatasetContentInputBuilder
source§impl PartialEq for GetDatasetContentInputBuilder
impl PartialEq for GetDatasetContentInputBuilder
source§fn eq(&self, other: &GetDatasetContentInputBuilder) -> bool
fn eq(&self, other: &GetDatasetContentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.