Struct aws_sdk_connect::operation::describe_agent_status::builders::DescribeAgentStatusInputBuilder
source · #[non_exhaustive]pub struct DescribeAgentStatusInputBuilder { /* private fields */ }
Expand description
A builder for DescribeAgentStatusInput
.
Implementations§
source§impl DescribeAgentStatusInputBuilder
impl DescribeAgentStatusInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn agent_status_id(self, input: impl Into<String>) -> Self
pub fn agent_status_id(self, input: impl Into<String>) -> Self
The identifier for the agent status.
sourcepub fn set_agent_status_id(self, input: Option<String>) -> Self
pub fn set_agent_status_id(self, input: Option<String>) -> Self
The identifier for the agent status.
sourcepub fn get_agent_status_id(&self) -> &Option<String>
pub fn get_agent_status_id(&self) -> &Option<String>
The identifier for the agent status.
sourcepub fn build(self) -> Result<DescribeAgentStatusInput, BuildError>
pub fn build(self) -> Result<DescribeAgentStatusInput, BuildError>
Consumes the builder and constructs a DescribeAgentStatusInput
.
source§impl DescribeAgentStatusInputBuilder
impl DescribeAgentStatusInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeAgentStatusOutput, SdkError<DescribeAgentStatusError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeAgentStatusOutput, SdkError<DescribeAgentStatusError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeAgentStatusInputBuilder
impl Clone for DescribeAgentStatusInputBuilder
source§fn clone(&self) -> DescribeAgentStatusInputBuilder
fn clone(&self) -> DescribeAgentStatusInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DescribeAgentStatusInputBuilder
impl Default for DescribeAgentStatusInputBuilder
source§fn default() -> DescribeAgentStatusInputBuilder
fn default() -> DescribeAgentStatusInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DescribeAgentStatusInputBuilder> for DescribeAgentStatusInputBuilder
impl PartialEq<DescribeAgentStatusInputBuilder> for DescribeAgentStatusInputBuilder
source§fn eq(&self, other: &DescribeAgentStatusInputBuilder) -> bool
fn eq(&self, other: &DescribeAgentStatusInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeAgentStatusInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeAgentStatusInputBuilder
impl Send for DescribeAgentStatusInputBuilder
impl Sync for DescribeAgentStatusInputBuilder
impl Unpin for DescribeAgentStatusInputBuilder
impl UnwindSafe for DescribeAgentStatusInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more