// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateAssets`](crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`asset_id(impl Into<String>)`](crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder::asset_id) / [`set_asset_id(Option<String>)`](crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder::set_asset_id):<br>required: **true**<br><p>The ID of the parent asset. This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references">Referencing objects with external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
/// - [`hierarchy_id(impl Into<String>)`](crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder::hierarchy_id) / [`set_hierarchy_id(Option<String>)`](crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder::set_hierarchy_id):<br>required: **true**<br><p>The ID of a hierarchy in the parent asset's model. (This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references">Referencing objects with external IDs</a> in the <i>IoT SiteWise User Guide</i>.) Hierarchies allow different groupings of assets to be formed that all come from the same asset model. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html">Asset hierarchies</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
/// - [`child_asset_id(impl Into<String>)`](crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder::child_asset_id) / [`set_child_asset_id(Option<String>)`](crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder::set_child_asset_id):<br>required: **true**<br><p>The ID of the child asset to be associated. This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references">Referencing objects with external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p><br>
/// - On success, responds with [`AssociateAssetsOutput`](crate::operation::associate_assets::AssociateAssetsOutput)
/// - On failure, responds with [`SdkError<AssociateAssetsError>`](crate::operation::associate_assets::AssociateAssetsError)
pub fn associate_assets(&self) -> crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder {
crate::operation::associate_assets::builders::AssociateAssetsFluentBuilder::new(self.handle.clone())
}
}