aws_sdk_medicalimaging/client/copy_image_set.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CopyImageSet`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`datastore_id(impl Into<String>)`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::datastore_id) / [`set_datastore_id(Option<String>)`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::set_datastore_id):<br>required: **true**<br><p>The data store identifier.</p><br>
7 /// - [`source_image_set_id(impl Into<String>)`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::source_image_set_id) / [`set_source_image_set_id(Option<String>)`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::set_source_image_set_id):<br>required: **true**<br><p>The source image set identifier.</p><br>
8 /// - [`copy_image_set_information(CopyImageSetInformation)`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::copy_image_set_information) / [`set_copy_image_set_information(Option<CopyImageSetInformation>)`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::set_copy_image_set_information):<br>required: **true**<br><p>Copy image set information.</p><br>
9 /// - [`force(bool)`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::force) / [`set_force(Option<bool>)`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::set_force):<br>required: **false**<br><p>Providing this parameter will force completion of the <code>CopyImageSet</code> operation, even if there are inconsistent Patient, Study, and/or Series level metadata elements between the <code>sourceImageSet</code> and <code>destinationImageSet</code>.</p><br>
10 /// - [`promote_to_primary(bool)`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::promote_to_primary) / [`set_promote_to_primary(Option<bool>)`](crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::set_promote_to_primary):<br>required: **false**<br><p>Providing this parameter will configure the <code>CopyImageSet</code> operation to promote the given image set to the primary DICOM hierarchy. If successful, a new primary image set ID will be returned as the destination image set.</p><br>
11 /// - On success, responds with [`CopyImageSetOutput`](crate::operation::copy_image_set::CopyImageSetOutput) with field(s):
12 /// - [`datastore_id(String)`](crate::operation::copy_image_set::CopyImageSetOutput::datastore_id): <p>The data store identifier.</p>
13 /// - [`source_image_set_properties(Option<CopySourceImageSetProperties>)`](crate::operation::copy_image_set::CopyImageSetOutput::source_image_set_properties): <p>The properties of the source image set.</p>
14 /// - [`destination_image_set_properties(Option<CopyDestinationImageSetProperties>)`](crate::operation::copy_image_set::CopyImageSetOutput::destination_image_set_properties): <p>The properties of the destination image set.</p>
15 /// - On failure, responds with [`SdkError<CopyImageSetError>`](crate::operation::copy_image_set::CopyImageSetError)
16 pub fn copy_image_set(&self) -> crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder {
17 crate::operation::copy_image_set::builders::CopyImageSetFluentBuilder::new(self.handle.clone())
18 }
19}