pub use crate::operation::get_property_value::_get_property_value_output::GetPropertyValueOutputBuilder;
pub use crate::operation::get_property_value::_get_property_value_input::GetPropertyValueInputBuilder;
#[derive(std::clone::Clone, std::fmt::Debug)]
pub struct GetPropertyValueFluentBuilder {
handle: std::sync::Arc<crate::client::Handle>,
inner: crate::operation::get_property_value::builders::GetPropertyValueInputBuilder,
}
impl GetPropertyValueFluentBuilder {
pub(crate) fn new(handle: std::sync::Arc<crate::client::Handle>) -> Self {
Self {
handle,
inner: Default::default(),
}
}
pub async fn customize(
self,
) -> std::result::Result<
crate::client::customize::CustomizableOperation<
crate::operation::get_property_value::GetPropertyValue,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::operation::get_property_value::GetPropertyValueError,
>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::client::customize::CustomizableOperation { handle, operation })
}
pub async fn send(
self,
) -> std::result::Result<
crate::operation::get_property_value::GetPropertyValueOutput,
aws_smithy_http::result::SdkError<
crate::operation::get_property_value::GetPropertyValueError,
>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
pub fn into_paginator(
self,
) -> crate::operation::get_property_value::paginator::GetPropertyValuePaginator {
crate::operation::get_property_value::paginator::GetPropertyValuePaginator::new(
self.handle,
self.inner,
)
}
pub fn component_name(mut self, input: impl 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 component_type_id(mut self, input: impl 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 entity_id(mut self, input: impl 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 selected_properties(mut self, input: impl 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 workspace_id(mut self, input: impl 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 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 next_token(mut self, input: impl 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 property_group_name(mut self, input: impl Into<std::string::String>) -> Self {
self.inner = self.inner.property_group_name(input.into());
self
}
pub fn set_property_group_name(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.inner = self.inner.set_property_group_name(input);
self
}
pub fn tabular_conditions(mut self, input: crate::types::TabularConditions) -> Self {
self.inner = self.inner.tabular_conditions(input);
self
}
pub fn set_tabular_conditions(
mut self,
input: std::option::Option<crate::types::TabularConditions>,
) -> Self {
self.inner = self.inner.set_tabular_conditions(input);
self
}
}