pub use crate::operation::get_property_value_history::_get_property_value_history_output::GetPropertyValueHistoryOutputBuilder;
pub use crate::operation::get_property_value_history::_get_property_value_history_input::GetPropertyValueHistoryInputBuilder;
impl GetPropertyValueHistoryInputBuilder {
pub async fn send_with(
self,
client: &crate::Client,
) -> ::std::result::Result<
crate::operation::get_property_value_history::GetPropertyValueHistoryOutput,
::aws_smithy_http::result::SdkError<
crate::operation::get_property_value_history::GetPropertyValueHistoryError,
::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
>,
> {
let mut fluent_builder = client.get_property_value_history();
fluent_builder.inner = self;
fluent_builder.send().await
}
}
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct GetPropertyValueHistoryFluentBuilder {
handle: ::std::sync::Arc<crate::client::Handle>,
inner: crate::operation::get_property_value_history::builders::GetPropertyValueHistoryInputBuilder,
config_override: ::std::option::Option<crate::config::Builder>,
}
impl GetPropertyValueHistoryFluentBuilder {
pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
Self {
handle,
inner: ::std::default::Default::default(),
config_override: ::std::option::Option::None,
}
}
pub fn as_input(&self) -> &crate::operation::get_property_value_history::builders::GetPropertyValueHistoryInputBuilder {
&self.inner
}
pub async fn send(
self,
) -> ::std::result::Result<
crate::operation::get_property_value_history::GetPropertyValueHistoryOutput,
::aws_smithy_http::result::SdkError<
crate::operation::get_property_value_history::GetPropertyValueHistoryError,
::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
>,
> {
let input = self.inner.build().map_err(::aws_smithy_http::result::SdkError::construction_failure)?;
let runtime_plugins = crate::operation::get_property_value_history::GetPropertyValueHistory::operation_runtime_plugins(
self.handle.runtime_plugins.clone(),
&self.handle.conf,
self.config_override,
);
crate::operation::get_property_value_history::GetPropertyValueHistory::orchestrate(&runtime_plugins, input).await
}
pub async fn customize(
self,
) -> ::std::result::Result<
crate::client::customize::orchestrator::CustomizableOperation<
crate::operation::get_property_value_history::GetPropertyValueHistoryOutput,
crate::operation::get_property_value_history::GetPropertyValueHistoryError,
>,
::aws_smithy_http::result::SdkError<crate::operation::get_property_value_history::GetPropertyValueHistoryError>,
> {
::std::result::Result::Ok(crate::client::customize::orchestrator::CustomizableOperation {
customizable_send: ::std::boxed::Box::new(move |config_override| {
::std::boxed::Box::pin(async { self.config_override(config_override).send().await })
}),
config_override: None,
interceptors: vec![],
runtime_plugins: vec![],
})
}
pub(crate) fn config_override(mut self, config_override: impl Into<crate::config::Builder>) -> Self {
self.set_config_override(Some(config_override.into()));
self
}
pub(crate) fn set_config_override(&mut self, config_override: Option<crate::config::Builder>) -> &mut Self {
self.config_override = config_override;
self
}
pub fn into_paginator(self) -> crate::operation::get_property_value_history::paginator::GetPropertyValueHistoryPaginator {
crate::operation::get_property_value_history::paginator::GetPropertyValueHistoryPaginator::new(self.handle, self.inner)
}
pub fn workspace_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.workspace_id(input.into());
self
}
pub fn set_workspace_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_workspace_id(input);
self
}
pub fn get_workspace_id(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_workspace_id()
}
pub fn entity_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.entity_id(input.into());
self
}
pub fn set_entity_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_entity_id(input);
self
}
pub fn get_entity_id(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_entity_id()
}
pub fn component_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.component_name(input.into());
self
}
pub fn set_component_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_component_name(input);
self
}
pub fn get_component_name(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_component_name()
}
pub fn component_type_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.component_type_id(input.into());
self
}
pub fn set_component_type_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_component_type_id(input);
self
}
pub fn get_component_type_id(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_component_type_id()
}
pub fn selected_properties(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.selected_properties(input.into());
self
}
pub fn set_selected_properties(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
self.inner = self.inner.set_selected_properties(input);
self
}
pub fn get_selected_properties(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
self.inner.get_selected_properties()
}
pub fn property_filters(mut self, input: crate::types::PropertyFilter) -> Self {
self.inner = self.inner.property_filters(input);
self
}
pub fn set_property_filters(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::PropertyFilter>>) -> Self {
self.inner = self.inner.set_property_filters(input);
self
}
pub fn get_property_filters(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::PropertyFilter>> {
self.inner.get_property_filters()
}
#[deprecated(note = "This field is deprecated and will throw an error in the future. Use startTime instead.")]
pub fn start_date_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
self.inner = self.inner.start_date_time(input);
self
}
#[deprecated(note = "This field is deprecated and will throw an error in the future. Use startTime instead.")]
pub fn set_start_date_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
self.inner = self.inner.set_start_date_time(input);
self
}
#[deprecated(note = "This field is deprecated and will throw an error in the future. Use startTime instead.")]
pub fn get_start_date_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
self.inner.get_start_date_time()
}
#[deprecated(note = "This field is deprecated and will throw an error in the future. Use endTime instead.")]
pub fn end_date_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
self.inner = self.inner.end_date_time(input);
self
}
#[deprecated(note = "This field is deprecated and will throw an error in the future. Use endTime instead.")]
pub fn set_end_date_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
self.inner = self.inner.set_end_date_time(input);
self
}
#[deprecated(note = "This field is deprecated and will throw an error in the future. Use endTime instead.")]
pub fn get_end_date_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
self.inner.get_end_date_time()
}
pub fn interpolation(mut self, input: crate::types::InterpolationParameters) -> Self {
self.inner = self.inner.interpolation(input);
self
}
pub fn set_interpolation(mut self, input: ::std::option::Option<crate::types::InterpolationParameters>) -> Self {
self.inner = self.inner.set_interpolation(input);
self
}
pub fn get_interpolation(&self) -> &::std::option::Option<crate::types::InterpolationParameters> {
self.inner.get_interpolation()
}
pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.next_token(input.into());
self
}
pub fn set_next_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_next_token(input);
self
}
pub fn get_next_token(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_next_token()
}
pub fn max_results(mut self, input: i32) -> Self {
self.inner = self.inner.max_results(input);
self
}
pub fn set_max_results(mut self, input: ::std::option::Option<i32>) -> Self {
self.inner = self.inner.set_max_results(input);
self
}
pub fn get_max_results(&self) -> &::std::option::Option<i32> {
self.inner.get_max_results()
}
pub fn order_by_time(mut self, input: crate::types::OrderByTime) -> Self {
self.inner = self.inner.order_by_time(input);
self
}
pub fn set_order_by_time(mut self, input: ::std::option::Option<crate::types::OrderByTime>) -> Self {
self.inner = self.inner.set_order_by_time(input);
self
}
pub fn get_order_by_time(&self) -> &::std::option::Option<crate::types::OrderByTime> {
self.inner.get_order_by_time()
}
pub fn start_time(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.start_time(input.into());
self
}
pub fn set_start_time(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_start_time(input);
self
}
pub fn get_start_time(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_start_time()
}
pub fn end_time(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.end_time(input.into());
self
}
pub fn set_end_time(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_end_time(input);
self
}
pub fn get_end_time(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_end_time()
}
}