pub use crate::operation::describe_ssl_policies::_describe_ssl_policies_output::DescribeSslPoliciesOutputBuilder;
pub use crate::operation::describe_ssl_policies::_describe_ssl_policies_input::DescribeSslPoliciesInputBuilder;
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct DescribeSSLPoliciesFluentBuilder {
handle: ::std::sync::Arc<crate::client::Handle>,
inner: crate::operation::describe_ssl_policies::builders::DescribeSslPoliciesInputBuilder,
}
impl DescribeSSLPoliciesFluentBuilder {
pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
Self {
handle,
inner: ::std::default::Default::default(),
}
}
#[doc(hidden)]
pub async fn customize_middleware(
self,
) -> ::std::result::Result<
crate::client::customize::CustomizableOperation<
crate::operation::describe_ssl_policies::DescribeSSLPolicies,
::aws_http::retry::AwsResponseRetryClassifier,
>,
::aws_smithy_http::result::SdkError<
crate::operation::describe_ssl_policies::DescribeSSLPoliciesError,
>,
> {
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)?;
::std::result::Result::Ok(crate::client::customize::CustomizableOperation {
handle,
operation,
})
}
#[doc(hidden)]
pub async fn send_middleware(
self,
) -> ::std::result::Result<
crate::operation::describe_ssl_policies::DescribeSslPoliciesOutput,
::aws_smithy_http::result::SdkError<
crate::operation::describe_ssl_policies::DescribeSSLPoliciesError,
>,
> {
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 async fn send(
self,
) -> ::std::result::Result<
crate::operation::describe_ssl_policies::DescribeSslPoliciesOutput,
::aws_smithy_http::result::SdkError<
crate::operation::describe_ssl_policies::DescribeSSLPoliciesError,
>,
> {
self.send_middleware().await
}
pub async fn customize(
self,
) -> ::std::result::Result<
crate::client::customize::CustomizableOperation<
crate::operation::describe_ssl_policies::DescribeSSLPolicies,
::aws_http::retry::AwsResponseRetryClassifier,
>,
::aws_smithy_http::result::SdkError<
crate::operation::describe_ssl_policies::DescribeSSLPoliciesError,
>,
> {
self.customize_middleware().await
}
pub fn names(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.names(input.into());
self
}
pub fn set_names(
mut self,
input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
) -> Self {
self.inner = self.inner.set_names(input);
self
}
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 page_size(mut self, input: i32) -> Self {
self.inner = self.inner.page_size(input);
self
}
pub fn set_page_size(mut self, input: ::std::option::Option<i32>) -> Self {
self.inner = self.inner.set_page_size(input);
self
}
pub fn load_balancer_type(mut self, input: crate::types::LoadBalancerTypeEnum) -> Self {
self.inner = self.inner.load_balancer_type(input);
self
}
pub fn set_load_balancer_type(
mut self,
input: ::std::option::Option<crate::types::LoadBalancerTypeEnum>,
) -> Self {
self.inner = self.inner.set_load_balancer_type(input);
self
}
}