Struct aws_sdk_forecast::operation::create_what_if_analysis::builders::CreateWhatIfAnalysisInputBuilder
source · #[non_exhaustive]pub struct CreateWhatIfAnalysisInputBuilder { /* private fields */ }
Expand description
A builder for CreateWhatIfAnalysisInput
.
Implementations§
source§impl CreateWhatIfAnalysisInputBuilder
impl CreateWhatIfAnalysisInputBuilder
sourcepub fn what_if_analysis_name(self, input: impl Into<String>) -> Self
pub fn what_if_analysis_name(self, input: impl Into<String>) -> Self
The name of the what-if analysis. Each name must be unique.
This field is required.sourcepub fn set_what_if_analysis_name(self, input: Option<String>) -> Self
pub fn set_what_if_analysis_name(self, input: Option<String>) -> Self
The name of the what-if analysis. Each name must be unique.
sourcepub fn get_what_if_analysis_name(&self) -> &Option<String>
pub fn get_what_if_analysis_name(&self) -> &Option<String>
The name of the what-if analysis. Each name must be unique.
sourcepub fn forecast_arn(self, input: impl Into<String>) -> Self
pub fn forecast_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the baseline forecast.
This field is required.sourcepub fn set_forecast_arn(self, input: Option<String>) -> Self
pub fn set_forecast_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the baseline forecast.
sourcepub fn get_forecast_arn(&self) -> &Option<String>
pub fn get_forecast_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the baseline forecast.
sourcepub fn time_series_selector(self, input: TimeSeriesSelector) -> Self
pub fn time_series_selector(self, input: TimeSeriesSelector) -> Self
Defines the set of time series that are used in the what-if analysis with a TimeSeriesIdentifiers
object. What-if analyses are performed only for the time series in this object.
The TimeSeriesIdentifiers
object needs the following information:
-
DataSource
-
Format
-
Schema
sourcepub fn set_time_series_selector(self, input: Option<TimeSeriesSelector>) -> Self
pub fn set_time_series_selector(self, input: Option<TimeSeriesSelector>) -> Self
Defines the set of time series that are used in the what-if analysis with a TimeSeriesIdentifiers
object. What-if analyses are performed only for the time series in this object.
The TimeSeriesIdentifiers
object needs the following information:
-
DataSource
-
Format
-
Schema
sourcepub fn get_time_series_selector(&self) -> &Option<TimeSeriesSelector>
pub fn get_time_series_selector(&self) -> &Option<TimeSeriesSelector>
Defines the set of time series that are used in the what-if analysis with a TimeSeriesIdentifiers
object. What-if analyses are performed only for the time series in this object.
The TimeSeriesIdentifiers
object needs the following information:
-
DataSource
-
Format
-
Schema
A list of tags to apply to the what if forecast.
A list of tags to apply to the what if forecast.
sourcepub fn build(self) -> Result<CreateWhatIfAnalysisInput, BuildError>
pub fn build(self) -> Result<CreateWhatIfAnalysisInput, BuildError>
Consumes the builder and constructs a CreateWhatIfAnalysisInput
.
source§impl CreateWhatIfAnalysisInputBuilder
impl CreateWhatIfAnalysisInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateWhatIfAnalysisOutput, SdkError<CreateWhatIfAnalysisError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateWhatIfAnalysisOutput, SdkError<CreateWhatIfAnalysisError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateWhatIfAnalysisInputBuilder
impl Clone for CreateWhatIfAnalysisInputBuilder
source§fn clone(&self) -> CreateWhatIfAnalysisInputBuilder
fn clone(&self) -> CreateWhatIfAnalysisInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateWhatIfAnalysisInputBuilder
impl Default for CreateWhatIfAnalysisInputBuilder
source§fn default() -> CreateWhatIfAnalysisInputBuilder
fn default() -> CreateWhatIfAnalysisInputBuilder
source§impl PartialEq for CreateWhatIfAnalysisInputBuilder
impl PartialEq for CreateWhatIfAnalysisInputBuilder
source§fn eq(&self, other: &CreateWhatIfAnalysisInputBuilder) -> bool
fn eq(&self, other: &CreateWhatIfAnalysisInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateWhatIfAnalysisInputBuilder
Auto Trait Implementations§
impl Freeze for CreateWhatIfAnalysisInputBuilder
impl RefUnwindSafe for CreateWhatIfAnalysisInputBuilder
impl Send for CreateWhatIfAnalysisInputBuilder
impl Sync for CreateWhatIfAnalysisInputBuilder
impl Unpin for CreateWhatIfAnalysisInputBuilder
impl UnwindSafe for CreateWhatIfAnalysisInputBuilder
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> 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