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 ==.impl StructuralPartialEq for GetDatasetContentInputBuilder
Auto Trait Implementations§
impl Freeze for GetDatasetContentInputBuilder
impl RefUnwindSafe for GetDatasetContentInputBuilder
impl Send for GetDatasetContentInputBuilder
impl Sync for GetDatasetContentInputBuilder
impl Unpin for GetDatasetContentInputBuilder
impl UnwindSafe for GetDatasetContentInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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