aws_sdk_securityir/client/get_case_attachment_download_url.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetCaseAttachmentDownloadUrl`](crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`case_id(impl Into<String>)`](crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder::case_id) / [`set_case_id(Option<String>)`](crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder::set_case_id):<br>required: **true**<br><p>Required element for GetCaseAttachmentDownloadUrl to identify the case ID for downloading an attachment from.</p><br>
/// - [`attachment_id(impl Into<String>)`](crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder::attachment_id) / [`set_attachment_id(Option<String>)`](crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder::set_attachment_id):<br>required: **true**<br><p>Required element for GetCaseAttachmentDownloadUrl to identify the attachment ID for downloading an attachment.</p><br>
/// - On success, responds with [`GetCaseAttachmentDownloadUrlOutput`](crate::operation::get_case_attachment_download_url::GetCaseAttachmentDownloadUrlOutput) with field(s):
/// - [`attachment_presigned_url(String)`](crate::operation::get_case_attachment_download_url::GetCaseAttachmentDownloadUrlOutput::attachment_presigned_url): <p>Response element providing the Amazon S3 presigned URL to download an attachment.</p>
/// - On failure, responds with [`SdkError<GetCaseAttachmentDownloadUrlError>`](crate::operation::get_case_attachment_download_url::GetCaseAttachmentDownloadUrlError)
pub fn get_case_attachment_download_url(
&self,
) -> crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder {
crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder::new(self.handle.clone())
}
}