#[non_exhaustive]pub struct GetAttachedFileInput {
pub instance_id: Option<String>,
pub file_id: Option<String>,
pub url_expiry_in_seconds: Option<i32>,
pub associated_resource_arn: Option<String>,
}
Expand description
Request to GetAttachedFile API.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The unique identifier of the Connect instance.
file_id: Option<String>
The unique identifier of the attached file resource.
url_expiry_in_seconds: Option<i32>
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
associated_resource_arn: Option<String>
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
Implementations§
source§impl GetAttachedFileInput
impl GetAttachedFileInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The unique identifier of the Connect instance.
sourcepub fn url_expiry_in_seconds(&self) -> Option<i32>
pub fn url_expiry_in_seconds(&self) -> Option<i32>
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
sourcepub fn associated_resource_arn(&self) -> Option<&str>
pub fn associated_resource_arn(&self) -> Option<&str>
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
source§impl GetAttachedFileInput
impl GetAttachedFileInput
sourcepub fn builder() -> GetAttachedFileInputBuilder
pub fn builder() -> GetAttachedFileInputBuilder
Creates a new builder-style object to manufacture GetAttachedFileInput
.
Trait Implementations§
source§impl Clone for GetAttachedFileInput
impl Clone for GetAttachedFileInput
source§fn clone(&self) -> GetAttachedFileInput
fn clone(&self) -> GetAttachedFileInput
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 Debug for GetAttachedFileInput
impl Debug for GetAttachedFileInput
source§impl PartialEq for GetAttachedFileInput
impl PartialEq for GetAttachedFileInput
source§fn eq(&self, other: &GetAttachedFileInput) -> bool
fn eq(&self, other: &GetAttachedFileInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetAttachedFileInput
Auto Trait Implementations§
impl Freeze for GetAttachedFileInput
impl RefUnwindSafe for GetAttachedFileInput
impl Send for GetAttachedFileInput
impl Sync for GetAttachedFileInput
impl Unpin for GetAttachedFileInput
impl UnwindSafe for GetAttachedFileInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.