aws_sdk_databasemigration/operation/describe_applicable_individual_assessments/
builders.rspub use crate::operation::describe_applicable_individual_assessments::_describe_applicable_individual_assessments_output::DescribeApplicableIndividualAssessmentsOutputBuilder;
pub use crate::operation::describe_applicable_individual_assessments::_describe_applicable_individual_assessments_input::DescribeApplicableIndividualAssessmentsInputBuilder;
impl crate::operation::describe_applicable_individual_assessments::builders::DescribeApplicableIndividualAssessmentsInputBuilder {
pub async fn send_with(
self,
client: &crate::Client,
) -> ::std::result::Result<
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessmentsOutput,
::aws_smithy_runtime_api::client::result::SdkError<
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessmentsError,
::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
>,
> {
let mut fluent_builder = client.describe_applicable_individual_assessments();
fluent_builder.inner = self;
fluent_builder.send().await
}
}
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct DescribeApplicableIndividualAssessmentsFluentBuilder {
handle: ::std::sync::Arc<crate::client::Handle>,
inner: crate::operation::describe_applicable_individual_assessments::builders::DescribeApplicableIndividualAssessmentsInputBuilder,
config_override: ::std::option::Option<crate::config::Builder>,
}
impl
crate::client::customize::internal::CustomizableSend<
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessmentsOutput,
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessmentsError,
> for DescribeApplicableIndividualAssessmentsFluentBuilder
{
fn send(
self,
config_override: crate::config::Builder,
) -> crate::client::customize::internal::BoxFuture<
crate::client::customize::internal::SendResult<
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessmentsOutput,
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessmentsError,
>,
> {
::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
}
}
impl DescribeApplicableIndividualAssessmentsFluentBuilder {
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::describe_applicable_individual_assessments::builders::DescribeApplicableIndividualAssessmentsInputBuilder {
&self.inner
}
pub async fn send(
self,
) -> ::std::result::Result<
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessmentsOutput,
::aws_smithy_runtime_api::client::result::SdkError<
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessmentsError,
::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
>,
> {
let input = self
.inner
.build()
.map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
let runtime_plugins =
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessments::operation_runtime_plugins(
self.handle.runtime_plugins.clone(),
&self.handle.conf,
self.config_override,
);
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessments::orchestrate(&runtime_plugins, input)
.await
}
pub fn customize(
self,
) -> crate::client::customize::CustomizableOperation<
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessmentsOutput,
crate::operation::describe_applicable_individual_assessments::DescribeApplicableIndividualAssessmentsError,
Self,
> {
crate::client::customize::CustomizableOperation::new(self)
}
pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
self.set_config_override(::std::option::Option::Some(config_override.into()));
self
}
pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
self.config_override = config_override;
self
}
pub fn into_paginator(
self,
) -> crate::operation::describe_applicable_individual_assessments::paginator::DescribeApplicableIndividualAssessmentsPaginator {
crate::operation::describe_applicable_individual_assessments::paginator::DescribeApplicableIndividualAssessmentsPaginator::new(
self.handle,
self.inner,
)
}
pub fn replication_task_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.replication_task_arn(input.into());
self
}
pub fn set_replication_task_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_replication_task_arn(input);
self
}
pub fn get_replication_task_arn(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_replication_task_arn()
}
pub fn replication_instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.replication_instance_arn(input.into());
self
}
pub fn set_replication_instance_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_replication_instance_arn(input);
self
}
pub fn get_replication_instance_arn(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_replication_instance_arn()
}
pub fn source_engine_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.source_engine_name(input.into());
self
}
pub fn set_source_engine_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_source_engine_name(input);
self
}
pub fn get_source_engine_name(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_source_engine_name()
}
pub fn target_engine_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.target_engine_name(input.into());
self
}
pub fn set_target_engine_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_target_engine_name(input);
self
}
pub fn get_target_engine_name(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_target_engine_name()
}
pub fn migration_type(mut self, input: crate::types::MigrationTypeValue) -> Self {
self.inner = self.inner.migration_type(input);
self
}
pub fn set_migration_type(mut self, input: ::std::option::Option<crate::types::MigrationTypeValue>) -> Self {
self.inner = self.inner.set_migration_type(input);
self
}
pub fn get_migration_type(&self) -> &::std::option::Option<crate::types::MigrationTypeValue> {
self.inner.get_migration_type()
}
pub fn max_records(mut self, input: i32) -> Self {
self.inner = self.inner.max_records(input);
self
}
pub fn set_max_records(mut self, input: ::std::option::Option<i32>) -> Self {
self.inner = self.inner.set_max_records(input);
self
}
pub fn get_max_records(&self) -> &::std::option::Option<i32> {
self.inner.get_max_records()
}
pub fn marker(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.marker(input.into());
self
}
pub fn set_marker(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_marker(input);
self
}
pub fn get_marker(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_marker()
}
}