Struct aws_sdk_forecast::model::TimeSeriesCondition
source · #[non_exhaustive]pub struct TimeSeriesCondition { /* private fields */ }Expand description
Creates a subset of items within an attribute that are modified. For example, you can use this operation to create a subset of items that cost $5 or less. To do this, you specify "AttributeName": "price", "AttributeValue": "5", and "Condition": "LESS_THAN". Pair this operation with the Action operation within the CreateWhatIfForecastRequest$TimeSeriesTransformations operation to define how the attribute is modified.
Implementations§
source§impl TimeSeriesCondition
impl TimeSeriesCondition
sourcepub fn attribute_name(&self) -> Option<&str>
pub fn attribute_name(&self) -> Option<&str>
The item_id, dimension name, IM name, or timestamp that you are modifying.
sourcepub fn attribute_value(&self) -> Option<&str>
pub fn attribute_value(&self) -> Option<&str>
The value that is applied for the chosen Condition.
source§impl TimeSeriesCondition
impl TimeSeriesCondition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TimeSeriesCondition.
Trait Implementations§
source§impl Clone for TimeSeriesCondition
impl Clone for TimeSeriesCondition
source§fn clone(&self) -> TimeSeriesCondition
fn clone(&self) -> TimeSeriesCondition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TimeSeriesCondition
impl Debug for TimeSeriesCondition
source§impl PartialEq<TimeSeriesCondition> for TimeSeriesCondition
impl PartialEq<TimeSeriesCondition> for TimeSeriesCondition
source§fn eq(&self, other: &TimeSeriesCondition) -> bool
fn eq(&self, other: &TimeSeriesCondition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.