pub use crate::operation::describe_matchmaking_configurations::_describe_matchmaking_configurations_output::DescribeMatchmakingConfigurationsOutputBuilder;
pub use crate::operation::describe_matchmaking_configurations::_describe_matchmaking_configurations_input::DescribeMatchmakingConfigurationsInputBuilder;
#[derive(std::clone::Clone, std::fmt::Debug)]
pub struct DescribeMatchmakingConfigurationsFluentBuilder {
handle: std::sync::Arc<crate::client::Handle>,
inner: crate::operation::describe_matchmaking_configurations::builders::DescribeMatchmakingConfigurationsInputBuilder
}
impl DescribeMatchmakingConfigurationsFluentBuilder {
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::describe_matchmaking_configurations::DescribeMatchmakingConfigurations, aws_http::retry::AwsResponseRetryClassifier,>,
aws_smithy_http::result::SdkError<crate::operation::describe_matchmaking_configurations::DescribeMatchmakingConfigurationsError>
>{
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::describe_matchmaking_configurations::DescribeMatchmakingConfigurationsOutput, aws_smithy_http::result::SdkError<crate::operation::describe_matchmaking_configurations::DescribeMatchmakingConfigurationsError>>
{
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::describe_matchmaking_configurations::paginator::DescribeMatchmakingConfigurationsPaginator{
crate::operation::describe_matchmaking_configurations::paginator::DescribeMatchmakingConfigurationsPaginator::new(self.handle, self.inner)
}
pub fn names(mut self, input: impl 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 rule_set_name(mut self, input: impl Into<std::string::String>) -> Self {
self.inner = self.inner.rule_set_name(input.into());
self
}
pub fn set_rule_set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
self.inner = self.inner.set_rule_set_name(input);
self
}
pub fn limit(mut self, input: i32) -> Self {
self.inner = self.inner.limit(input);
self
}
pub fn set_limit(mut self, input: std::option::Option<i32>) -> Self {
self.inner = self.inner.set_limit(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
}
}