Struct aws_sdk_iotanalytics::types::Variable
source · #[non_exhaustive]pub struct Variable {
pub name: String,
pub string_value: Option<String>,
pub double_value: Option<f64>,
pub dataset_content_version_value: Option<DatasetContentVersionValue>,
pub output_file_uri_value: Option<OutputFileUriValue>,
}
Expand description
An instance of a variable to be passed to the containerAction
execution. Each variable must have a name and a value given by one of stringValue
, datasetContentVersionValue
, or outputFileUriValue
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The name of the variable.
string_value: Option<String>
The value of the variable as a string.
double_value: Option<f64>
The value of the variable as a double (numeric).
dataset_content_version_value: Option<DatasetContentVersionValue>
The value of the variable as a structure that specifies a dataset content version.
output_file_uri_value: Option<OutputFileUriValue>
The value of the variable as a structure that specifies an output file URI.
Implementations§
source§impl Variable
impl Variable
sourcepub fn string_value(&self) -> Option<&str>
pub fn string_value(&self) -> Option<&str>
The value of the variable as a string.
sourcepub fn double_value(&self) -> Option<f64>
pub fn double_value(&self) -> Option<f64>
The value of the variable as a double (numeric).
sourcepub fn dataset_content_version_value(
&self
) -> Option<&DatasetContentVersionValue>
pub fn dataset_content_version_value( &self ) -> Option<&DatasetContentVersionValue>
The value of the variable as a structure that specifies a dataset content version.
sourcepub fn output_file_uri_value(&self) -> Option<&OutputFileUriValue>
pub fn output_file_uri_value(&self) -> Option<&OutputFileUriValue>
The value of the variable as a structure that specifies an output file URI.
Trait Implementations§
source§impl PartialEq for Variable
impl PartialEq for Variable
impl StructuralPartialEq for Variable
Auto Trait Implementations§
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.